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, ...) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c GlobalSchedulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result 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, ...) (result 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 ListByResourceGroupCustomPager
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- 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" )
func (*EnableStatus) UnmarshalJSON ¶
func (s *EnableStatus) UnmarshalJSON(bytes []byte) error
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GlobalSchedulesClient ¶
type GlobalSchedulesClient struct {
Client *resourcemanager.Client
}
func NewGlobalSchedulesClientWithBaseURI ¶
func NewGlobalSchedulesClientWithBaseURI(sdkApi sdkEnv.Api) (*GlobalSchedulesClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (GlobalSchedulesClient) ListByResourceGroupComplete ¶
func (c GlobalSchedulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (GlobalSchedulesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c GlobalSchedulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate ScheduleOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GlobalSchedulesClient) ListBySubscription ¶
func (c GlobalSchedulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (GlobalSchedulesClient) ListBySubscriptionComplete ¶
func (c GlobalSchedulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (GlobalSchedulesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c GlobalSchedulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate ScheduleOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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 ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct { Expand *string Filter *string Orderby *string Top *int64 }
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct { Expand *string Filter *string Orderby *string Top *int64 }
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
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 ScheduleId ¶
ScheduleId is a struct representing the Resource ID for a Schedule
func NewScheduleID ¶
func NewScheduleID(subscriptionId string, resourceGroupName string, scheduleName 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) FromParseResult ¶
func (id *ScheduleId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_delete.go
- method_execute.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_retarget.go
- method_update.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