Documentation ¶
Index ¶
- func PossibleValuesForCheckNameAvailabilityReason() []string
- func PossibleValuesForDaysOfWeek() []string
- func PossibleValuesForFileFormat() []string
- func PossibleValuesForScheduleFrequency() []string
- func PossibleValuesForScheduledActionKind() []string
- func PossibleValuesForScheduledActionStatus() []string
- func PossibleValuesForWeeksOfMonth() []string
- func ValidateScheduledActionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopedScheduledActionID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityByScopeOperationResponse
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type CreateOrUpdateByScopeOperationOptions
- type CreateOrUpdateByScopeOperationResponse
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DaysOfWeek
- type DeleteByScopeOperationResponse
- type DeleteOperationResponse
- type FileDestination
- type FileFormat
- type GetByScopeOperationResponse
- type GetOperationResponse
- type ListByScopeCompleteResult
- type ListByScopeCustomPager
- type ListByScopeOperationOptions
- type ListByScopeOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type NotificationProperties
- type RunByScopeOperationResponse
- type RunOperationResponse
- type ScheduleFrequency
- type ScheduleProperties
- type ScheduledAction
- type ScheduledActionId
- type ScheduledActionKind
- type ScheduledActionOperationPredicate
- type ScheduledActionProperties
- type ScheduledActionStatus
- type ScheduledActionsClient
- func (c ScheduledActionsClient) CheckNameAvailability(ctx context.Context, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
- func (c ScheduledActionsClient) CheckNameAvailabilityByScope(ctx context.Context, id commonids.ScopeId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityByScopeOperationResponse, err error)
- func (c ScheduledActionsClient) CreateOrUpdate(ctx context.Context, id ScheduledActionId, input ScheduledAction, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ScheduledActionsClient) CreateOrUpdateByScope(ctx context.Context, id ScopedScheduledActionId, input ScheduledAction, ...) (result CreateOrUpdateByScopeOperationResponse, err error)
- func (c ScheduledActionsClient) Delete(ctx context.Context, id ScheduledActionId) (result DeleteOperationResponse, err error)
- func (c ScheduledActionsClient) DeleteByScope(ctx context.Context, id ScopedScheduledActionId) (result DeleteByScopeOperationResponse, err error)
- func (c ScheduledActionsClient) Get(ctx context.Context, id ScheduledActionId) (result GetOperationResponse, err error)
- func (c ScheduledActionsClient) GetByScope(ctx context.Context, id ScopedScheduledActionId) (result GetByScopeOperationResponse, err error)
- func (c ScheduledActionsClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ScheduledActionsClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (result ListByScopeOperationResponse, err error)
- func (c ScheduledActionsClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (ListByScopeCompleteResult, error)
- func (c ScheduledActionsClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions, ...) (result ListByScopeCompleteResult, err error)
- func (c ScheduledActionsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
- func (c ScheduledActionsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ScheduledActionsClient) Run(ctx context.Context, id ScheduledActionId) (result RunOperationResponse, err error)
- func (c ScheduledActionsClient) RunByScope(ctx context.Context, id ScopedScheduledActionId) (result RunByScopeOperationResponse, err error)
- type ScopedScheduledActionId
- type WeeksOfMonth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCheckNameAvailabilityReason ¶
func PossibleValuesForCheckNameAvailabilityReason() []string
func PossibleValuesForDaysOfWeek ¶
func PossibleValuesForDaysOfWeek() []string
func PossibleValuesForFileFormat ¶
func PossibleValuesForFileFormat() []string
func PossibleValuesForScheduleFrequency ¶
func PossibleValuesForScheduleFrequency() []string
func PossibleValuesForScheduledActionKind ¶
func PossibleValuesForScheduledActionKind() []string
func PossibleValuesForScheduledActionStatus ¶
func PossibleValuesForScheduledActionStatus() []string
func PossibleValuesForWeeksOfMonth ¶
func PossibleValuesForWeeksOfMonth() []string
func ValidateScheduledActionID ¶
ValidateScheduledActionID checks that 'input' can be parsed as a Scheduled Action ID
func ValidateScopedScheduledActionID ¶
func ValidateScopedScheduledActionID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedScheduledActionID checks that 'input' can be parsed as a Scoped Scheduled Action ID
Types ¶
type CheckNameAvailabilityByScopeOperationResponse ¶
type CheckNameAvailabilityByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
const ( CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
func (*CheckNameAvailabilityReason) UnmarshalJSON ¶
func (s *CheckNameAvailabilityReason) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *CheckNameAvailabilityReason `json:"reason,omitempty"` }
type CreateOrUpdateByScopeOperationOptions ¶
type CreateOrUpdateByScopeOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateByScopeOperationOptions ¶
func DefaultCreateOrUpdateByScopeOperationOptions() CreateOrUpdateByScopeOperationOptions
func (CreateOrUpdateByScopeOperationOptions) ToHeaders ¶
func (o CreateOrUpdateByScopeOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateByScopeOperationOptions) ToOData ¶
func (o CreateOrUpdateByScopeOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateByScopeOperationOptions) ToQuery ¶
func (o CreateOrUpdateByScopeOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateByScopeOperationResponse ¶
type CreateOrUpdateByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScheduledAction }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScheduledAction }
type DaysOfWeek ¶
type DaysOfWeek string
const ( DaysOfWeekFriday DaysOfWeek = "Friday" DaysOfWeekMonday DaysOfWeek = "Monday" DaysOfWeekSaturday DaysOfWeek = "Saturday" DaysOfWeekSunday DaysOfWeek = "Sunday" DaysOfWeekThursday DaysOfWeek = "Thursday" DaysOfWeekTuesday DaysOfWeek = "Tuesday" DaysOfWeekWednesday DaysOfWeek = "Wednesday" )
func (*DaysOfWeek) UnmarshalJSON ¶
func (s *DaysOfWeek) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type FileDestination ¶
type FileDestination struct {
FileFormats *[]FileFormat `json:"fileFormats,omitempty"`
}
type FileFormat ¶
type FileFormat string
const (
FileFormatCsv FileFormat = "Csv"
)
func (*FileFormat) UnmarshalJSON ¶
func (s *FileFormat) UnmarshalJSON(bytes []byte) error
type GetByScopeOperationResponse ¶
type GetByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScheduledAction }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScheduledAction }
type ListByScopeCompleteResult ¶
type ListByScopeCompleteResult struct { LatestHttpResponse *http.Response Items []ScheduledAction }
type ListByScopeCustomPager ¶ added in v0.20240628.1153531
func (*ListByScopeCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByScopeCustomPager) NextPageLink() *odata.Link
type ListByScopeOperationOptions ¶
type ListByScopeOperationOptions struct {
Filter *string
}
func DefaultListByScopeOperationOptions ¶
func DefaultListByScopeOperationOptions() ListByScopeOperationOptions
func (ListByScopeOperationOptions) ToHeaders ¶
func (o ListByScopeOperationOptions) ToHeaders() *client.Headers
func (ListByScopeOperationOptions) ToOData ¶
func (o ListByScopeOperationOptions) ToOData() *odata.Query
func (ListByScopeOperationOptions) ToQuery ¶
func (o ListByScopeOperationOptions) ToQuery() *client.QueryParams
type ListByScopeOperationResponse ¶
type ListByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ScheduledAction }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScheduledAction }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ScheduledAction }
type NotificationProperties ¶
type RunOperationResponse ¶
type ScheduleFrequency ¶
type ScheduleFrequency string
const ( ScheduleFrequencyDaily ScheduleFrequency = "Daily" ScheduleFrequencyMonthly ScheduleFrequency = "Monthly" ScheduleFrequencyWeekly ScheduleFrequency = "Weekly" )
func (*ScheduleFrequency) UnmarshalJSON ¶
func (s *ScheduleFrequency) UnmarshalJSON(bytes []byte) error
type ScheduleProperties ¶
type ScheduleProperties struct { DayOfMonth *int64 `json:"dayOfMonth,omitempty"` DaysOfWeek *[]DaysOfWeek `json:"daysOfWeek,omitempty"` EndDate string `json:"endDate"` Frequency ScheduleFrequency `json:"frequency"` HourOfDay *int64 `json:"hourOfDay,omitempty"` StartDate string `json:"startDate"` WeeksOfMonth *[]WeeksOfMonth `json:"weeksOfMonth,omitempty"` }
func (*ScheduleProperties) GetEndDateAsTime ¶
func (o *ScheduleProperties) GetEndDateAsTime() (*time.Time, error)
func (*ScheduleProperties) GetStartDateAsTime ¶
func (o *ScheduleProperties) GetStartDateAsTime() (*time.Time, error)
func (*ScheduleProperties) SetEndDateAsTime ¶
func (o *ScheduleProperties) SetEndDateAsTime(input time.Time)
func (*ScheduleProperties) SetStartDateAsTime ¶
func (o *ScheduleProperties) SetStartDateAsTime(input time.Time)
type ScheduledAction ¶
type ScheduledAction struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Kind *ScheduledActionKind `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *ScheduledActionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScheduledActionId ¶
type ScheduledActionId struct {
ScheduledActionName string
}
ScheduledActionId is a struct representing the Resource ID for a Scheduled Action
func NewScheduledActionID ¶
func NewScheduledActionID(scheduledActionName string) ScheduledActionId
NewScheduledActionID returns a new ScheduledActionId struct
func ParseScheduledActionID ¶
func ParseScheduledActionID(input string) (*ScheduledActionId, error)
ParseScheduledActionID parses 'input' into a ScheduledActionId
func ParseScheduledActionIDInsensitively ¶
func ParseScheduledActionIDInsensitively(input string) (*ScheduledActionId, error)
ParseScheduledActionIDInsensitively parses 'input' case-insensitively into a ScheduledActionId note: this method should only be used for API response data and not user input
func (*ScheduledActionId) FromParseResult ¶
func (id *ScheduledActionId) FromParseResult(input resourceids.ParseResult) error
func (ScheduledActionId) ID ¶
func (id ScheduledActionId) ID() string
ID returns the formatted Scheduled Action ID
func (ScheduledActionId) Segments ¶
func (id ScheduledActionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scheduled Action ID
func (ScheduledActionId) String ¶
func (id ScheduledActionId) String() string
String returns a human-readable description of this Scheduled Action ID
type ScheduledActionKind ¶
type ScheduledActionKind string
const ( ScheduledActionKindEmail ScheduledActionKind = "Email" ScheduledActionKindInsightAlert ScheduledActionKind = "InsightAlert" )
func (*ScheduledActionKind) UnmarshalJSON ¶
func (s *ScheduledActionKind) UnmarshalJSON(bytes []byte) error
type ScheduledActionOperationPredicate ¶
func (ScheduledActionOperationPredicate) Matches ¶
func (p ScheduledActionOperationPredicate) Matches(input ScheduledAction) bool
type ScheduledActionProperties ¶
type ScheduledActionProperties struct { DisplayName string `json:"displayName"` FileDestination *FileDestination `json:"fileDestination,omitempty"` Notification NotificationProperties `json:"notification"` NotificationEmail *string `json:"notificationEmail,omitempty"` Schedule ScheduleProperties `json:"schedule"` Scope *string `json:"scope,omitempty"` Status ScheduledActionStatus `json:"status"` ViewId string `json:"viewId"` }
type ScheduledActionStatus ¶
type ScheduledActionStatus string
const ( ScheduledActionStatusDisabled ScheduledActionStatus = "Disabled" ScheduledActionStatusEnabled ScheduledActionStatus = "Enabled" ScheduledActionStatusExpired ScheduledActionStatus = "Expired" )
func (*ScheduledActionStatus) UnmarshalJSON ¶
func (s *ScheduledActionStatus) UnmarshalJSON(bytes []byte) error
type ScheduledActionsClient ¶
type ScheduledActionsClient struct {
Client *resourcemanager.Client
}
func NewScheduledActionsClientWithBaseURI ¶
func NewScheduledActionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScheduledActionsClient, error)
func (ScheduledActionsClient) CheckNameAvailability ¶
func (c ScheduledActionsClient) CheckNameAvailability(ctx context.Context, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (ScheduledActionsClient) CheckNameAvailabilityByScope ¶
func (c ScheduledActionsClient) CheckNameAvailabilityByScope(ctx context.Context, id commonids.ScopeId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityByScopeOperationResponse, err error)
CheckNameAvailabilityByScope ...
func (ScheduledActionsClient) CreateOrUpdate ¶
func (c ScheduledActionsClient) CreateOrUpdate(ctx context.Context, id ScheduledActionId, input ScheduledAction, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ScheduledActionsClient) CreateOrUpdateByScope ¶
func (c ScheduledActionsClient) CreateOrUpdateByScope(ctx context.Context, id ScopedScheduledActionId, input ScheduledAction, options CreateOrUpdateByScopeOperationOptions) (result CreateOrUpdateByScopeOperationResponse, err error)
CreateOrUpdateByScope ...
func (ScheduledActionsClient) Delete ¶
func (c ScheduledActionsClient) Delete(ctx context.Context, id ScheduledActionId) (result DeleteOperationResponse, err error)
Delete ...
func (ScheduledActionsClient) DeleteByScope ¶
func (c ScheduledActionsClient) DeleteByScope(ctx context.Context, id ScopedScheduledActionId) (result DeleteByScopeOperationResponse, err error)
DeleteByScope ...
func (ScheduledActionsClient) Get ¶
func (c ScheduledActionsClient) Get(ctx context.Context, id ScheduledActionId) (result GetOperationResponse, err error)
Get ...
func (ScheduledActionsClient) GetByScope ¶
func (c ScheduledActionsClient) GetByScope(ctx context.Context, id ScopedScheduledActionId) (result GetByScopeOperationResponse, err error)
GetByScope ...
func (ScheduledActionsClient) List ¶
func (c ScheduledActionsClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ScheduledActionsClient) ListByScope ¶
func (c ScheduledActionsClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (result ListByScopeOperationResponse, err error)
ListByScope ...
func (ScheduledActionsClient) ListByScopeComplete ¶
func (c ScheduledActionsClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (ListByScopeCompleteResult, error)
ListByScopeComplete retrieves all the results into a single object
func (ScheduledActionsClient) ListByScopeCompleteMatchingPredicate ¶
func (c ScheduledActionsClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions, predicate ScheduledActionOperationPredicate) (result ListByScopeCompleteResult, err error)
ListByScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ScheduledActionsClient) ListComplete ¶
func (c ScheduledActionsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScheduledActionsClient) ListCompleteMatchingPredicate ¶
func (c ScheduledActionsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate ScheduledActionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ScheduledActionsClient) Run ¶
func (c ScheduledActionsClient) Run(ctx context.Context, id ScheduledActionId) (result RunOperationResponse, err error)
Run ...
func (ScheduledActionsClient) RunByScope ¶
func (c ScheduledActionsClient) RunByScope(ctx context.Context, id ScopedScheduledActionId) (result RunByScopeOperationResponse, err error)
RunByScope ...
type ScopedScheduledActionId ¶
ScopedScheduledActionId is a struct representing the Resource ID for a Scoped Scheduled Action
func NewScopedScheduledActionID ¶
func NewScopedScheduledActionID(scope string, scheduledActionName string) ScopedScheduledActionId
NewScopedScheduledActionID returns a new ScopedScheduledActionId struct
func ParseScopedScheduledActionID ¶
func ParseScopedScheduledActionID(input string) (*ScopedScheduledActionId, error)
ParseScopedScheduledActionID parses 'input' into a ScopedScheduledActionId
func ParseScopedScheduledActionIDInsensitively ¶
func ParseScopedScheduledActionIDInsensitively(input string) (*ScopedScheduledActionId, error)
ParseScopedScheduledActionIDInsensitively parses 'input' case-insensitively into a ScopedScheduledActionId note: this method should only be used for API response data and not user input
func (*ScopedScheduledActionId) FromParseResult ¶
func (id *ScopedScheduledActionId) FromParseResult(input resourceids.ParseResult) error
func (ScopedScheduledActionId) ID ¶
func (id ScopedScheduledActionId) ID() string
ID returns the formatted Scoped Scheduled Action ID
func (ScopedScheduledActionId) Segments ¶
func (id ScopedScheduledActionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Scheduled Action ID
func (ScopedScheduledActionId) String ¶
func (id ScopedScheduledActionId) String() string
String returns a human-readable description of this Scoped Scheduled Action ID
type WeeksOfMonth ¶
type WeeksOfMonth string
const ( WeeksOfMonthFirst WeeksOfMonth = "First" WeeksOfMonthFourth WeeksOfMonth = "Fourth" WeeksOfMonthLast WeeksOfMonth = "Last" WeeksOfMonthSecond WeeksOfMonth = "Second" WeeksOfMonthThird WeeksOfMonth = "Third" )
func (*WeeksOfMonth) UnmarshalJSON ¶
func (s *WeeksOfMonth) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_scheduledaction.go
- id_scopedscheduledaction.go
- method_checknameavailability.go
- method_checknameavailabilitybyscope.go
- method_createorupdate.go
- method_createorupdatebyscope.go
- method_delete.go
- method_deletebyscope.go
- method_get.go
- method_getbyscope.go
- method_list.go
- method_listbyscope.go
- method_run.go
- method_runbyscope.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresponse.go
- model_filedestination.go
- model_notificationproperties.go
- model_scheduledaction.go
- model_scheduledactionproperties.go
- model_scheduleproperties.go
- predicates.go
- version.go