Documentation ¶
Index ¶
- func PossibleValuesForEnableStatus() []string
- func ValidateScheduleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DayDetails
- type DeleteOperationResponse
- type EnableStatus
- type ExecuteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type GlobalSchedulesClient
- func (c GlobalSchedulesClient) CreateOrUpdate(ctx context.Context, id ScheduleId, input Schedule) (result CreateOrUpdateOperationResponse, err error)
- func (c GlobalSchedulesClient) Delete(ctx context.Context, id ScheduleId) (result DeleteOperationResponse, err error)
- func (c GlobalSchedulesClient) Execute(ctx context.Context, id ScheduleId) (result ExecuteOperationResponse, err error)
- func (c GlobalSchedulesClient) ExecuteThenPoll(ctx context.Context, id ScheduleId) error
- func (c GlobalSchedulesClient) Get(ctx context.Context, id ScheduleId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c GlobalSchedulesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupOperationResponse, err error)
- func (c GlobalSchedulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c GlobalSchedulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c GlobalSchedulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionOperationResponse, err error)
- func (c GlobalSchedulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c GlobalSchedulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c GlobalSchedulesClient) Retarget(ctx context.Context, id ScheduleId, input RetargetScheduleProperties) (result RetargetOperationResponse, err error)
- func (c GlobalSchedulesClient) RetargetThenPoll(ctx context.Context, id ScheduleId, input RetargetScheduleProperties) error
- func (c GlobalSchedulesClient) Update(ctx context.Context, id ScheduleId, input UpdateResource) (result UpdateOperationResponse, err error)
- type HourDetails
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type NotificationSettings
- type RetargetOperationResponse
- type RetargetScheduleProperties
- type Schedule
- type ScheduleId
- type ScheduleOperationPredicate
- type ScheduleProperties
- type UpdateOperationResponse
- type UpdateResource
- type WeekDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnableStatus ¶
func PossibleValuesForEnableStatus() []string
func ValidateScheduleID ¶
ValidateScheduleID checks that 'input' can be parsed as a Schedule ID
Types ¶
type DayDetails ¶
type DayDetails struct {
Time *string `json:"time,omitempty"`
}
type DeleteOperationResponse ¶
type EnableStatus ¶
type EnableStatus string
const ( EnableStatusDisabled EnableStatus = "Disabled" EnableStatusEnabled EnableStatus = "Enabled" )
type ExecuteOperationResponse ¶
type ExecuteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GlobalSchedulesClient ¶
type GlobalSchedulesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewGlobalSchedulesClientWithBaseURI ¶
func NewGlobalSchedulesClientWithBaseURI(endpoint string) GlobalSchedulesClient
func (GlobalSchedulesClient) CreateOrUpdate ¶
func (c GlobalSchedulesClient) CreateOrUpdate(ctx context.Context, id ScheduleId, input Schedule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GlobalSchedulesClient) Delete ¶
func (c GlobalSchedulesClient) Delete(ctx context.Context, id ScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (GlobalSchedulesClient) Execute ¶
func (c GlobalSchedulesClient) Execute(ctx context.Context, id ScheduleId) (result ExecuteOperationResponse, err error)
Execute ...
func (GlobalSchedulesClient) ExecuteThenPoll ¶
func (c GlobalSchedulesClient) ExecuteThenPoll(ctx context.Context, id ScheduleId) error
ExecuteThenPoll performs Execute then polls until it's completed
func (GlobalSchedulesClient) Get ¶
func (c GlobalSchedulesClient) Get(ctx context.Context, id ScheduleId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GlobalSchedulesClient) ListByResourceGroup ¶
func (c GlobalSchedulesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (GlobalSchedulesClient) ListByResourceGroupComplete ¶
func (c GlobalSchedulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (GlobalSchedulesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c GlobalSchedulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate ScheduleOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GlobalSchedulesClient) ListBySubscription ¶
func (c GlobalSchedulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (GlobalSchedulesClient) ListBySubscriptionComplete ¶
func (c GlobalSchedulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (GlobalSchedulesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c GlobalSchedulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate ScheduleOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GlobalSchedulesClient) Retarget ¶
func (c GlobalSchedulesClient) Retarget(ctx context.Context, id ScheduleId, input RetargetScheduleProperties) (result RetargetOperationResponse, err error)
Retarget ...
func (GlobalSchedulesClient) RetargetThenPoll ¶
func (c GlobalSchedulesClient) RetargetThenPoll(ctx context.Context, id ScheduleId, input RetargetScheduleProperties) error
RetargetThenPoll performs Retarget then polls until it's completed
func (GlobalSchedulesClient) Update ¶
func (c GlobalSchedulesClient) Update(ctx context.Context, id ScheduleId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type HourDetails ¶
type HourDetails struct {
Minute *int64 `json:"minute,omitempty"`
}
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Schedule
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct { Expand *string Filter *string Orderby *string Top *int64 }
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Schedule // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Schedule
}
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct { Expand *string Filter *string Orderby *string Top *int64 }
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Schedule // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type NotificationSettings ¶
type NotificationSettings struct { EmailRecipient *string `json:"emailRecipient,omitempty"` NotificationLocale *string `json:"notificationLocale,omitempty"` Status *EnableStatus `json:"status,omitempty"` TimeInMinutes *int64 `json:"timeInMinutes,omitempty"` WebhookUrl *string `json:"webhookUrl,omitempty"` }
type RetargetOperationResponse ¶
type RetargetOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ScheduleId ¶
ScheduleId is a struct representing the Resource ID for a Schedule
func NewScheduleID ¶
func NewScheduleID(subscriptionId string, resourceGroupName string, name string) ScheduleId
NewScheduleID returns a new ScheduleId struct
func ParseScheduleID ¶
func ParseScheduleID(input string) (*ScheduleId, error)
ParseScheduleID parses 'input' into a ScheduleId
func ParseScheduleIDInsensitively ¶
func ParseScheduleIDInsensitively(input string) (*ScheduleId, error)
ParseScheduleIDInsensitively parses 'input' case-insensitively into a ScheduleId note: this method should only be used for API response data and not user input
func (ScheduleId) Segments ¶
func (id ScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schedule ID
func (ScheduleId) String ¶
func (id ScheduleId) String() string
String returns a human-readable description of this Schedule ID
type ScheduleOperationPredicate ¶
func (ScheduleOperationPredicate) Matches ¶
func (p ScheduleOperationPredicate) Matches(input Schedule) bool
type ScheduleProperties ¶
type ScheduleProperties struct { CreatedDate *string `json:"createdDate,omitempty"` DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"` HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"` NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Status *EnableStatus `json:"status,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` TaskType *string `json:"taskType,omitempty"` TimeZoneId *string `json:"timeZoneId,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"` }
func (*ScheduleProperties) GetCreatedDateAsTime ¶
func (o *ScheduleProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ScheduleProperties) SetCreatedDateAsTime ¶
func (o *ScheduleProperties) SetCreatedDateAsTime(input time.Time)
type UpdateOperationResponse ¶
type UpdateResource ¶
type WeekDetails ¶
Source Files ¶
- client.go
- constants.go
- id_schedule.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_execute_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_retarget_autorest.go
- method_update_autorest.go
- model_daydetails.go
- model_hourdetails.go
- model_notificationsettings.go
- model_retargetscheduleproperties.go
- model_schedule.go
- model_scheduleproperties.go
- model_updateresource.go
- model_weekdetails.go
- predicates.go
- version.go