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) (resp ListOperationResponse, err error)
- func (c ScheduledActionsClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (resp 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, ...) (resp ListByScopeCompleteResult, err error)
- func (c ScheduledActionsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
- func (c ScheduledActionsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (resp 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 Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
const ( CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
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 Model *ScheduledAction }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response 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" )
type DeleteOperationResponse ¶
type FileDestination ¶
type FileDestination struct {
FileFormats *[]FileFormat `json:"fileFormats,omitempty"`
}
type GetByScopeOperationResponse ¶
type GetByScopeOperationResponse struct { HttpResponse *http.Response Model *ScheduledAction }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ScheduledAction }
type ListByScopeCompleteResult ¶
type ListByScopeCompleteResult struct {
Items []ScheduledAction
}
type ListByScopeOperationOptions ¶
type ListByScopeOperationOptions struct {
Filter *string
}
func DefaultListByScopeOperationOptions ¶
func DefaultListByScopeOperationOptions() ListByScopeOperationOptions
type ListByScopeOperationResponse ¶
type ListByScopeOperationResponse struct { HttpResponse *http.Response Model *[]ScheduledAction // contains filtered or unexported fields }
func (ListByScopeOperationResponse) HasMore ¶
func (r ListByScopeOperationResponse) HasMore() bool
func (ListByScopeOperationResponse) LoadMore ¶
func (r ListByScopeOperationResponse) LoadMore(ctx context.Context) (resp ListByScopeOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ScheduledAction
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ScheduledAction // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type NotificationProperties ¶
type ScheduleFrequency ¶
type ScheduleFrequency string
const ( ScheduleFrequencyDaily ScheduleFrequency = "Daily" ScheduleFrequencyMonthly ScheduleFrequency = "Monthly" ScheduleFrequencyWeekly ScheduleFrequency = "Weekly" )
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) 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" )
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" )
type ScheduledActionsClient ¶
type ScheduledActionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewScheduledActionsClientWithBaseURI ¶
func NewScheduledActionsClientWithBaseURI(endpoint string) ScheduledActionsClient
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) (resp ListOperationResponse, err error)
List ...
func (ScheduledActionsClient) ListByScope ¶
func (c ScheduledActionsClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (resp ListByScopeOperationResponse, err error)
ListByScope ...
func (ScheduledActionsClient) ListByScopeComplete ¶
func (c ScheduledActionsClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (ListByScopeCompleteResult, error)
ListByScopeComplete retrieves all of the results into a single object
func (ScheduledActionsClient) ListByScopeCompleteMatchingPredicate ¶
func (c ScheduledActionsClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions, predicate ScheduledActionOperationPredicate) (resp ListByScopeCompleteResult, err error)
ListByScopeCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ScheduledActionsClient) ListComplete ¶
func (c ScheduledActionsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ScheduledActionsClient) ListCompleteMatchingPredicate ¶
func (c ScheduledActionsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate ScheduledActionOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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) 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" )
Source Files ¶
- client.go
- constants.go
- id_scheduledaction.go
- id_scopedscheduledaction.go
- method_checknameavailability_autorest.go
- method_checknameavailabilitybyscope_autorest.go
- method_createorupdate_autorest.go
- method_createorupdatebyscope_autorest.go
- method_delete_autorest.go
- method_deletebyscope_autorest.go
- method_execute_autorest.go
- method_executebyscope_autorest.go
- method_get_autorest.go
- method_getbyscope_autorest.go
- method_list_autorest.go
- method_listbyscope_autorest.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