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 CreateOrUpdateByScopeOperationResponse
- type CreateOrUpdateOperationResponse
- type DaysOfWeek
- type DeleteByScopeOperationResponse
- type DeleteOperationResponse
- type ExecuteByScopeOperationResponse
- type ExecuteOperationResponse
- type FileDestination
- type FileFormat
- type GetByScopeOperationResponse
- type GetOperationResponse
- type ListByScopeCompleteResult
- type ListByScopeOperationOptions
- type ListByScopeOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NotificationProperties
- 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) Execute(ctx context.Context, id ScheduledActionId) (result ExecuteOperationResponse, err error)
- func (c ScheduledActionsClient) ExecuteByScope(ctx context.Context, id ScopedScheduledActionId) (result ExecuteByScopeOperationResponse, 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)
- 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 ¶ added in v0.20230411.1183115
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 CreateOrUpdateByScopeOperationResponse ¶
type CreateOrUpdateByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScheduledAction }
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 ¶ added in v0.20230411.1183115
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 ¶ added in v0.20230411.1183115
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 ListByScopeOperationOptions ¶
type ListByScopeOperationOptions struct {
Filter *string
}
func DefaultListByScopeOperationOptions ¶
func DefaultListByScopeOperationOptions() ListByScopeOperationOptions
func (ListByScopeOperationOptions) ToHeaders ¶ added in v0.20230411.1183115
func (o ListByScopeOperationOptions) ToHeaders() *client.Headers
func (ListByScopeOperationOptions) ToOData ¶ added in v0.20230411.1183115
func (o ListByScopeOperationOptions) ToOData() *odata.Query
func (ListByScopeOperationOptions) ToQuery ¶ added in v0.20230411.1183115
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 ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230411.1183115
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230411.1183115
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230411.1183115
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ScheduledAction }
type NotificationProperties ¶
type ScheduleFrequency ¶
type ScheduleFrequency string
const ( ScheduleFrequencyDaily ScheduleFrequency = "Daily" ScheduleFrequencyMonthly ScheduleFrequency = "Monthly" ScheduleFrequencyWeekly ScheduleFrequency = "Weekly" )
func (*ScheduleFrequency) UnmarshalJSON ¶ added in v0.20230411.1183115
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 ¶ added in v0.20231127.1171502
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 ¶ added in v0.20230411.1183115
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"` 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" )
func (*ScheduledActionStatus) UnmarshalJSON ¶ added in v0.20230411.1183115
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) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ScheduledActionsClient) CreateOrUpdateByScope ¶
func (c ScheduledActionsClient) CreateOrUpdateByScope(ctx context.Context, id ScopedScheduledActionId, input ScheduledAction) (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) Execute ¶
func (c ScheduledActionsClient) Execute(ctx context.Context, id ScheduledActionId) (result ExecuteOperationResponse, err error)
Execute ...
func (ScheduledActionsClient) ExecuteByScope ¶
func (c ScheduledActionsClient) ExecuteByScope(ctx context.Context, id ScopedScheduledActionId) (result ExecuteByScopeOperationResponse, err error)
ExecuteByScope ...
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
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 ¶ added in v0.20231127.1171502
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 ¶ added in v0.20230411.1183115
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_execute.go
- method_executebyscope.go
- method_get.go
- method_getbyscope.go
- method_list.go
- method_listbyscope.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