Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func ValidateManagedInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DayOfWeek
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByInstanceCompleteResult
- type ListByInstanceOperationResponse
- type ManagedInstanceId
- type ScheduleItem
- type StartStopManagedInstanceSchedule
- type StartStopManagedInstanceScheduleOperationPredicate
- type StartStopManagedInstanceScheduleProperties
- type StartStopManagedInstanceSchedulesClient
- func (c StartStopManagedInstanceSchedulesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c StartStopManagedInstanceSchedulesClient) Delete(ctx context.Context, id ManagedInstanceId) (result DeleteOperationResponse, err error)
- func (c StartStopManagedInstanceSchedulesClient) Get(ctx context.Context, id ManagedInstanceId) (result GetOperationResponse, err error)
- func (c StartStopManagedInstanceSchedulesClient) ListByInstance(ctx context.Context, id ManagedInstanceId) (result ListByInstanceOperationResponse, err error)
- func (c StartStopManagedInstanceSchedulesClient) ListByInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListByInstanceCompleteResult, error)
- func (c StartStopManagedInstanceSchedulesClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, ...) (result ListByInstanceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func ValidateManagedInstanceID ¶
ValidateManagedInstanceID checks that 'input' can be parsed as a Managed Instance ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StartStopManagedInstanceSchedule }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StartStopManagedInstanceSchedule }
type ListByInstanceCompleteResult ¶
type ListByInstanceCompleteResult struct {
Items []StartStopManagedInstanceSchedule
}
type ListByInstanceOperationResponse ¶
type ListByInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StartStopManagedInstanceSchedule }
type ManagedInstanceId ¶
type ManagedInstanceId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string }
ManagedInstanceId is a struct representing the Resource ID for a Managed Instance
func NewManagedInstanceID ¶
func NewManagedInstanceID(subscriptionId string, resourceGroupName string, managedInstanceName string) ManagedInstanceId
NewManagedInstanceID returns a new ManagedInstanceId struct
func ParseManagedInstanceID ¶
func ParseManagedInstanceID(input string) (*ManagedInstanceId, error)
ParseManagedInstanceID parses 'input' into a ManagedInstanceId
func ParseManagedInstanceIDInsensitively ¶
func ParseManagedInstanceIDInsensitively(input string) (*ManagedInstanceId, error)
ParseManagedInstanceIDInsensitively parses 'input' case-insensitively into a ManagedInstanceId note: this method should only be used for API response data and not user input
func (ManagedInstanceId) ID ¶
func (id ManagedInstanceId) ID() string
ID returns the formatted Managed Instance ID
func (ManagedInstanceId) Segments ¶
func (id ManagedInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance ID
func (ManagedInstanceId) String ¶
func (id ManagedInstanceId) String() string
String returns a human-readable description of this Managed Instance ID
type ScheduleItem ¶
type StartStopManagedInstanceSchedule ¶
type StartStopManagedInstanceSchedule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StartStopManagedInstanceScheduleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type StartStopManagedInstanceScheduleOperationPredicate ¶
type StartStopManagedInstanceScheduleOperationPredicate struct { Id *string Name *string Type *string }
func (StartStopManagedInstanceScheduleOperationPredicate) Matches ¶
func (p StartStopManagedInstanceScheduleOperationPredicate) Matches(input StartStopManagedInstanceSchedule) bool
type StartStopManagedInstanceScheduleProperties ¶
type StartStopManagedInstanceScheduleProperties struct { Description *string `json:"description,omitempty"` NextExecutionTime *string `json:"nextExecutionTime,omitempty"` NextRunAction *string `json:"nextRunAction,omitempty"` ScheduleList []ScheduleItem `json:"scheduleList"` TimeZoneId *string `json:"timeZoneId,omitempty"` }
type StartStopManagedInstanceSchedulesClient ¶
type StartStopManagedInstanceSchedulesClient struct {
Client *resourcemanager.Client
}
func NewStartStopManagedInstanceSchedulesClientWithBaseURI ¶
func NewStartStopManagedInstanceSchedulesClientWithBaseURI(api environments.Api) (*StartStopManagedInstanceSchedulesClient, error)
func (StartStopManagedInstanceSchedulesClient) CreateOrUpdate ¶
func (c StartStopManagedInstanceSchedulesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceId, input StartStopManagedInstanceSchedule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (StartStopManagedInstanceSchedulesClient) Delete ¶
func (c StartStopManagedInstanceSchedulesClient) Delete(ctx context.Context, id ManagedInstanceId) (result DeleteOperationResponse, err error)
Delete ...
func (StartStopManagedInstanceSchedulesClient) Get ¶
func (c StartStopManagedInstanceSchedulesClient) Get(ctx context.Context, id ManagedInstanceId) (result GetOperationResponse, err error)
Get ...
func (StartStopManagedInstanceSchedulesClient) ListByInstance ¶
func (c StartStopManagedInstanceSchedulesClient) ListByInstance(ctx context.Context, id ManagedInstanceId) (result ListByInstanceOperationResponse, err error)
ListByInstance ...
func (StartStopManagedInstanceSchedulesClient) ListByInstanceComplete ¶
func (c StartStopManagedInstanceSchedulesClient) ListByInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListByInstanceCompleteResult, error)
ListByInstanceComplete retrieves all the results into a single object
func (StartStopManagedInstanceSchedulesClient) ListByInstanceCompleteMatchingPredicate ¶
func (c StartStopManagedInstanceSchedulesClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, predicate StartStopManagedInstanceScheduleOperationPredicate) (result ListByInstanceCompleteResult, err error)
ListByInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate