Documentation ¶
Index ¶
- func PossibleValuesForScheduleDay() []string
- func PossibleValuesForScheduleFrequency() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScheduleID(input interface{}, key string) (warnings []string, errors []error)
- type AdvancedSchedule
- type AdvancedScheduleMonthlyOccurrence
- type AutomationAccountId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountCustomPager
- type ListByAutomationAccountOperationResponse
- type Schedule
- type ScheduleClient
- func (c ScheduleClient) CreateOrUpdate(ctx context.Context, id ScheduleId, input ScheduleCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c ScheduleClient) Delete(ctx context.Context, id ScheduleId) (result DeleteOperationResponse, err error)
- func (c ScheduleClient) Get(ctx context.Context, id ScheduleId) (result GetOperationResponse, err error)
- func (c ScheduleClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
- func (c ScheduleClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c ScheduleClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c ScheduleClient) Update(ctx context.Context, id ScheduleId, input ScheduleUpdateParameters) (result UpdateOperationResponse, err error)
- type ScheduleCreateOrUpdateParameters
- type ScheduleCreateOrUpdateProperties
- func (o *ScheduleCreateOrUpdateProperties) GetExpiryTimeAsTime() (*time.Time, error)
- func (o *ScheduleCreateOrUpdateProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *ScheduleCreateOrUpdateProperties) SetExpiryTimeAsTime(input time.Time)
- func (o *ScheduleCreateOrUpdateProperties) SetStartTimeAsTime(input time.Time)
- type ScheduleDay
- type ScheduleFrequency
- type ScheduleId
- type ScheduleOperationPredicate
- type ScheduleProperties
- func (o *ScheduleProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *ScheduleProperties) GetExpiryTimeAsTime() (*time.Time, error)
- func (o *ScheduleProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *ScheduleProperties) GetNextRunAsTime() (*time.Time, error)
- func (o *ScheduleProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *ScheduleProperties) SetCreationTimeAsTime(input time.Time)
- func (o *ScheduleProperties) SetExpiryTimeAsTime(input time.Time)
- func (o *ScheduleProperties) SetLastModifiedTimeAsTime(input time.Time)
- func (o *ScheduleProperties) SetNextRunAsTime(input time.Time)
- func (o *ScheduleProperties) SetStartTimeAsTime(input time.Time)
- type ScheduleUpdateParameters
- type ScheduleUpdateProperties
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForScheduleDay ¶
func PossibleValuesForScheduleDay() []string
func PossibleValuesForScheduleFrequency ¶
func PossibleValuesForScheduleFrequency() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateScheduleID ¶
ValidateScheduleID checks that 'input' can be parsed as a Schedule ID
Types ¶
type AdvancedSchedule ¶
type AdvancedSchedule struct { MonthDays *[]int64 `json:"monthDays,omitempty"` MonthlyOccurrences *[]AdvancedScheduleMonthlyOccurrence `json:"monthlyOccurrences,omitempty"` WeekDays *[]string `json:"weekDays,omitempty"` }
type AdvancedScheduleMonthlyOccurrence ¶
type AdvancedScheduleMonthlyOccurrence struct { Day *ScheduleDay `json:"day,omitempty"` Occurrence *int64 `json:"occurrence,omitempty"` }
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (*AutomationAccountId) FromParseResult ¶
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByAutomationAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByAutomationAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByAutomationAccountCustomPager) NextPageLink() *odata.Link
type Schedule ¶
type Schedule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScheduleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ScheduleClient ¶
type ScheduleClient struct {
Client *resourcemanager.Client
}
func NewScheduleClientWithBaseURI ¶
func NewScheduleClientWithBaseURI(sdkApi sdkEnv.Api) (*ScheduleClient, error)
func (ScheduleClient) CreateOrUpdate ¶
func (c ScheduleClient) CreateOrUpdate(ctx context.Context, id ScheduleId, input ScheduleCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ScheduleClient) Delete ¶
func (c ScheduleClient) Delete(ctx context.Context, id ScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (ScheduleClient) Get ¶
func (c ScheduleClient) Get(ctx context.Context, id ScheduleId) (result GetOperationResponse, err error)
Get ...
func (ScheduleClient) ListByAutomationAccount ¶
func (c ScheduleClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (ScheduleClient) ListByAutomationAccountComplete ¶
func (c ScheduleClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (ScheduleClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c ScheduleClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate ScheduleOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ScheduleClient) Update ¶
func (c ScheduleClient) Update(ctx context.Context, id ScheduleId, input ScheduleUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type ScheduleCreateOrUpdateParameters ¶
type ScheduleCreateOrUpdateParameters struct { Name string `json:"name"` Properties ScheduleCreateOrUpdateProperties `json:"properties"` }
type ScheduleCreateOrUpdateProperties ¶
type ScheduleCreateOrUpdateProperties struct { AdvancedSchedule *AdvancedSchedule `json:"advancedSchedule,omitempty"` Description *string `json:"description,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Frequency ScheduleFrequency `json:"frequency"` Interval *interface{} `json:"interval,omitempty"` StartTime string `json:"startTime"` TimeZone *string `json:"timeZone,omitempty"` }
func (*ScheduleCreateOrUpdateProperties) GetExpiryTimeAsTime ¶
func (o *ScheduleCreateOrUpdateProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (*ScheduleCreateOrUpdateProperties) GetStartTimeAsTime ¶
func (o *ScheduleCreateOrUpdateProperties) GetStartTimeAsTime() (*time.Time, error)
func (*ScheduleCreateOrUpdateProperties) SetExpiryTimeAsTime ¶
func (o *ScheduleCreateOrUpdateProperties) SetExpiryTimeAsTime(input time.Time)
func (*ScheduleCreateOrUpdateProperties) SetStartTimeAsTime ¶
func (o *ScheduleCreateOrUpdateProperties) SetStartTimeAsTime(input time.Time)
type ScheduleDay ¶
type ScheduleDay string
const ( ScheduleDayFriday ScheduleDay = "Friday" ScheduleDayMonday ScheduleDay = "Monday" ScheduleDaySaturday ScheduleDay = "Saturday" ScheduleDaySunday ScheduleDay = "Sunday" ScheduleDayThursday ScheduleDay = "Thursday" ScheduleDayTuesday ScheduleDay = "Tuesday" ScheduleDayWednesday ScheduleDay = "Wednesday" )
func (*ScheduleDay) UnmarshalJSON ¶
func (s *ScheduleDay) UnmarshalJSON(bytes []byte) error
type ScheduleFrequency ¶
type ScheduleFrequency string
const ( ScheduleFrequencyDay ScheduleFrequency = "Day" ScheduleFrequencyHour ScheduleFrequency = "Hour" ScheduleFrequencyMinute ScheduleFrequency = "Minute" ScheduleFrequencyMonth ScheduleFrequency = "Month" ScheduleFrequencyOneTime ScheduleFrequency = "OneTime" ScheduleFrequencyWeek ScheduleFrequency = "Week" )
func (*ScheduleFrequency) UnmarshalJSON ¶
func (s *ScheduleFrequency) UnmarshalJSON(bytes []byte) error
type ScheduleId ¶
type ScheduleId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string ScheduleName string }
ScheduleId is a struct representing the Resource ID for a Schedule
func NewScheduleID ¶
func NewScheduleID(subscriptionId string, resourceGroupName string, automationAccountName 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 { AdvancedSchedule *AdvancedSchedule `json:"advancedSchedule,omitempty"` CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` ExpiryTimeOffsetMinutes *float64 `json:"expiryTimeOffsetMinutes,omitempty"` Frequency *ScheduleFrequency `json:"frequency,omitempty"` Interval *interface{} `json:"interval,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` NextRun *string `json:"nextRun,omitempty"` NextRunOffsetMinutes *float64 `json:"nextRunOffsetMinutes,omitempty"` StartTime *string `json:"startTime,omitempty"` StartTimeOffsetMinutes *float64 `json:"startTimeOffsetMinutes,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
func (*ScheduleProperties) GetCreationTimeAsTime ¶
func (o *ScheduleProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ScheduleProperties) GetExpiryTimeAsTime ¶
func (o *ScheduleProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (*ScheduleProperties) GetLastModifiedTimeAsTime ¶
func (o *ScheduleProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*ScheduleProperties) GetNextRunAsTime ¶
func (o *ScheduleProperties) GetNextRunAsTime() (*time.Time, error)
func (*ScheduleProperties) GetStartTimeAsTime ¶
func (o *ScheduleProperties) GetStartTimeAsTime() (*time.Time, error)
func (*ScheduleProperties) SetCreationTimeAsTime ¶
func (o *ScheduleProperties) SetCreationTimeAsTime(input time.Time)
func (*ScheduleProperties) SetExpiryTimeAsTime ¶
func (o *ScheduleProperties) SetExpiryTimeAsTime(input time.Time)
func (*ScheduleProperties) SetLastModifiedTimeAsTime ¶
func (o *ScheduleProperties) SetLastModifiedTimeAsTime(input time.Time)
func (*ScheduleProperties) SetNextRunAsTime ¶
func (o *ScheduleProperties) SetNextRunAsTime(input time.Time)
func (*ScheduleProperties) SetStartTimeAsTime ¶
func (o *ScheduleProperties) SetStartTimeAsTime(input time.Time)
type ScheduleUpdateParameters ¶
type ScheduleUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *ScheduleUpdateProperties `json:"properties,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_schedule.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_advancedschedule.go
- model_advancedschedulemonthlyoccurrence.go
- model_schedule.go
- model_schedulecreateorupdateparameters.go
- model_schedulecreateorupdateproperties.go
- model_scheduleproperties.go
- model_scheduleupdateparameters.go
- model_scheduleupdateproperties.go
- predicates.go
- version.go