Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForDaysOfWeek() []string
- func PossibleValuesForRecurrenceFrequency() []string
- func PossibleValuesForWorkflowState() []string
- func PossibleValuesForWorkflowStatus() []string
- func PossibleValuesForWorkflowTriggerProvisioningState() []string
- func ValidateManagementWorkflowID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- type DayOfWeek
- type DaysOfWeek
- type GetOperationResponse
- type GetSchemaJsonOperationResponse
- type JsonSchema
- type ListCallbackURLOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ManagementWorkflowId
- type RecurrenceFrequency
- type RecurrenceSchedule
- type RecurrenceScheduleOccurrence
- type ResourceReference
- type RunOperationResponse
- type TriggerId
- type WorkflowState
- type WorkflowStatus
- type WorkflowTrigger
- type WorkflowTriggerCallbackURL
- type WorkflowTriggerListCallbackURLQueries
- type WorkflowTriggerOperationPredicate
- type WorkflowTriggerProperties
- func (o *WorkflowTriggerProperties) GetChangedTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerProperties) GetCreatedTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerProperties) GetLastExecutionTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerProperties) GetNextExecutionTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerProperties) SetChangedTimeAsTime(input time.Time)
- func (o *WorkflowTriggerProperties) SetCreatedTimeAsTime(input time.Time)
- func (o *WorkflowTriggerProperties) SetLastExecutionTimeAsTime(input time.Time)
- func (o *WorkflowTriggerProperties) SetNextExecutionTimeAsTime(input time.Time)
- type WorkflowTriggerProvisioningState
- type WorkflowTriggerRecurrence
- type WorkflowTriggersClient
- func (c WorkflowTriggersClient) Get(ctx context.Context, id TriggerId) (result GetOperationResponse, err error)
- func (c WorkflowTriggersClient) GetSchemaJson(ctx context.Context, id TriggerId) (result GetSchemaJsonOperationResponse, err error)
- func (c WorkflowTriggersClient) List(ctx context.Context, id ManagementWorkflowId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c WorkflowTriggersClient) ListCallbackURL(ctx context.Context, id TriggerId) (result ListCallbackURLOperationResponse, err error)
- func (c WorkflowTriggersClient) ListComplete(ctx context.Context, id ManagementWorkflowId, options ListOperationOptions) (ListCompleteResult, error)
- func (c WorkflowTriggersClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagementWorkflowId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c WorkflowTriggersClient) Run(ctx context.Context, id TriggerId) (result RunOperationResponse, err error)
- func (c WorkflowTriggersClient) RunThenPoll(ctx context.Context, id TriggerId) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForDaysOfWeek ¶
func PossibleValuesForDaysOfWeek() []string
func PossibleValuesForRecurrenceFrequency ¶
func PossibleValuesForRecurrenceFrequency() []string
func PossibleValuesForWorkflowState ¶
func PossibleValuesForWorkflowState() []string
func PossibleValuesForWorkflowStatus ¶
func PossibleValuesForWorkflowStatus() []string
func PossibleValuesForWorkflowTriggerProvisioningState ¶
func PossibleValuesForWorkflowTriggerProvisioningState() []string
func ValidateManagementWorkflowID ¶
func ValidateManagementWorkflowID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagementWorkflowID checks that 'input' can be parsed as a Management Workflow ID
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
Types ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkflowTrigger }
type GetSchemaJsonOperationResponse ¶
type GetSchemaJsonOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *JsonSchema }
type JsonSchema ¶
type ListCallbackURLOperationResponse ¶ added in v0.20241009.1142232
type ListCallbackURLOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkflowTriggerCallbackURL }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkflowTrigger }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
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 *[]WorkflowTrigger }
type ManagementWorkflowId ¶
type ManagementWorkflowId struct { SubscriptionId string ResourceGroupName string SiteName string WorkflowName string }
ManagementWorkflowId is a struct representing the Resource ID for a Management Workflow
func NewManagementWorkflowID ¶
func NewManagementWorkflowID(subscriptionId string, resourceGroupName string, siteName string, workflowName string) ManagementWorkflowId
NewManagementWorkflowID returns a new ManagementWorkflowId struct
func ParseManagementWorkflowID ¶
func ParseManagementWorkflowID(input string) (*ManagementWorkflowId, error)
ParseManagementWorkflowID parses 'input' into a ManagementWorkflowId
func ParseManagementWorkflowIDInsensitively ¶
func ParseManagementWorkflowIDInsensitively(input string) (*ManagementWorkflowId, error)
ParseManagementWorkflowIDInsensitively parses 'input' case-insensitively into a ManagementWorkflowId note: this method should only be used for API response data and not user input
func (*ManagementWorkflowId) FromParseResult ¶
func (id *ManagementWorkflowId) FromParseResult(input resourceids.ParseResult) error
func (ManagementWorkflowId) ID ¶
func (id ManagementWorkflowId) ID() string
ID returns the formatted Management Workflow ID
func (ManagementWorkflowId) Segments ¶
func (id ManagementWorkflowId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Management Workflow ID
func (ManagementWorkflowId) String ¶
func (id ManagementWorkflowId) String() string
String returns a human-readable description of this Management Workflow ID
type RecurrenceFrequency ¶
type RecurrenceFrequency string
const ( RecurrenceFrequencyDay RecurrenceFrequency = "Day" RecurrenceFrequencyHour RecurrenceFrequency = "Hour" RecurrenceFrequencyMinute RecurrenceFrequency = "Minute" RecurrenceFrequencyMonth RecurrenceFrequency = "Month" RecurrenceFrequencyNotSpecified RecurrenceFrequency = "NotSpecified" RecurrenceFrequencySecond RecurrenceFrequency = "Second" RecurrenceFrequencyWeek RecurrenceFrequency = "Week" RecurrenceFrequencyYear RecurrenceFrequency = "Year" )
func (*RecurrenceFrequency) UnmarshalJSON ¶
func (s *RecurrenceFrequency) UnmarshalJSON(bytes []byte) error
type RecurrenceSchedule ¶
type RecurrenceSchedule struct { Hours *[]int64 `json:"hours,omitempty"` Minutes *[]int64 `json:"minutes,omitempty"` MonthDays *[]int64 `json:"monthDays,omitempty"` MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"` WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"` }
type ResourceReference ¶
type RunOperationResponse ¶
type TriggerId ¶
type TriggerId struct { SubscriptionId string ResourceGroupName string SiteName string WorkflowName string TriggerName string }
TriggerId is a struct representing the Resource ID for a Trigger
func NewTriggerID ¶
func NewTriggerID(subscriptionId string, resourceGroupName string, siteName string, workflowName string, triggerName string) TriggerId
NewTriggerID returns a new TriggerId struct
func ParseTriggerID ¶
ParseTriggerID parses 'input' into a TriggerId
func ParseTriggerIDInsensitively ¶
ParseTriggerIDInsensitively parses 'input' case-insensitively into a TriggerId note: this method should only be used for API response data and not user input
func (*TriggerId) FromParseResult ¶
func (id *TriggerId) FromParseResult(input resourceids.ParseResult) error
func (TriggerId) Segments ¶
func (id TriggerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Trigger ID
type WorkflowState ¶
type WorkflowState string
const ( WorkflowStateCompleted WorkflowState = "Completed" WorkflowStateDeleted WorkflowState = "Deleted" WorkflowStateDisabled WorkflowState = "Disabled" WorkflowStateEnabled WorkflowState = "Enabled" WorkflowStateNotSpecified WorkflowState = "NotSpecified" WorkflowStateSuspended WorkflowState = "Suspended" )
func (*WorkflowState) UnmarshalJSON ¶
func (s *WorkflowState) UnmarshalJSON(bytes []byte) error
type WorkflowStatus ¶
type WorkflowStatus string
const ( WorkflowStatusAborted WorkflowStatus = "Aborted" WorkflowStatusCancelled WorkflowStatus = "Cancelled" WorkflowStatusFailed WorkflowStatus = "Failed" WorkflowStatusFaulted WorkflowStatus = "Faulted" WorkflowStatusIgnored WorkflowStatus = "Ignored" WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified" WorkflowStatusPaused WorkflowStatus = "Paused" WorkflowStatusRunning WorkflowStatus = "Running" WorkflowStatusSkipped WorkflowStatus = "Skipped" WorkflowStatusSucceeded WorkflowStatus = "Succeeded" WorkflowStatusSuspended WorkflowStatus = "Suspended" WorkflowStatusTimedOut WorkflowStatus = "TimedOut" WorkflowStatusWaiting WorkflowStatus = "Waiting" )
func (*WorkflowStatus) UnmarshalJSON ¶
func (s *WorkflowStatus) UnmarshalJSON(bytes []byte) error
type WorkflowTrigger ¶
type WorkflowTrigger struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkflowTriggerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WorkflowTriggerCallbackURL ¶ added in v0.20241009.1142232
type WorkflowTriggerCallbackURL struct { BasePath *string `json:"basePath,omitempty"` Method *string `json:"method,omitempty"` Queries *WorkflowTriggerListCallbackURLQueries `json:"queries,omitempty"` RelativePath *string `json:"relativePath,omitempty"` RelativePathParameters *[]string `json:"relativePathParameters,omitempty"` Value *string `json:"value,omitempty"` }
type WorkflowTriggerListCallbackURLQueries ¶ added in v0.20241009.1142232
type WorkflowTriggerOperationPredicate ¶
func (WorkflowTriggerOperationPredicate) Matches ¶
func (p WorkflowTriggerOperationPredicate) Matches(input WorkflowTrigger) bool
type WorkflowTriggerProperties ¶
type WorkflowTriggerProperties struct { ChangedTime *string `json:"changedTime,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` LastExecutionTime *string `json:"lastExecutionTime,omitempty"` NextExecutionTime *string `json:"nextExecutionTime,omitempty"` ProvisioningState *WorkflowTriggerProvisioningState `json:"provisioningState,omitempty"` Recurrence *WorkflowTriggerRecurrence `json:"recurrence,omitempty"` State *WorkflowState `json:"state,omitempty"` Status *WorkflowStatus `json:"status,omitempty"` Workflow *ResourceReference `json:"workflow,omitempty"` }
func (*WorkflowTriggerProperties) GetChangedTimeAsTime ¶
func (o *WorkflowTriggerProperties) GetChangedTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerProperties) GetCreatedTimeAsTime ¶
func (o *WorkflowTriggerProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerProperties) GetLastExecutionTimeAsTime ¶
func (o *WorkflowTriggerProperties) GetLastExecutionTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerProperties) GetNextExecutionTimeAsTime ¶
func (o *WorkflowTriggerProperties) GetNextExecutionTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerProperties) SetChangedTimeAsTime ¶
func (o *WorkflowTriggerProperties) SetChangedTimeAsTime(input time.Time)
func (*WorkflowTriggerProperties) SetCreatedTimeAsTime ¶
func (o *WorkflowTriggerProperties) SetCreatedTimeAsTime(input time.Time)
func (*WorkflowTriggerProperties) SetLastExecutionTimeAsTime ¶
func (o *WorkflowTriggerProperties) SetLastExecutionTimeAsTime(input time.Time)
func (*WorkflowTriggerProperties) SetNextExecutionTimeAsTime ¶
func (o *WorkflowTriggerProperties) SetNextExecutionTimeAsTime(input time.Time)
type WorkflowTriggerProvisioningState ¶
type WorkflowTriggerProvisioningState string
const ( WorkflowTriggerProvisioningStateAccepted WorkflowTriggerProvisioningState = "Accepted" WorkflowTriggerProvisioningStateCanceled WorkflowTriggerProvisioningState = "Canceled" WorkflowTriggerProvisioningStateCompleted WorkflowTriggerProvisioningState = "Completed" WorkflowTriggerProvisioningStateCreated WorkflowTriggerProvisioningState = "Created" WorkflowTriggerProvisioningStateCreating WorkflowTriggerProvisioningState = "Creating" WorkflowTriggerProvisioningStateDeleted WorkflowTriggerProvisioningState = "Deleted" WorkflowTriggerProvisioningStateDeleting WorkflowTriggerProvisioningState = "Deleting" WorkflowTriggerProvisioningStateFailed WorkflowTriggerProvisioningState = "Failed" WorkflowTriggerProvisioningStateMoving WorkflowTriggerProvisioningState = "Moving" WorkflowTriggerProvisioningStateNotSpecified WorkflowTriggerProvisioningState = "NotSpecified" WorkflowTriggerProvisioningStateReady WorkflowTriggerProvisioningState = "Ready" WorkflowTriggerProvisioningStateRegistered WorkflowTriggerProvisioningState = "Registered" WorkflowTriggerProvisioningStateRegistering WorkflowTriggerProvisioningState = "Registering" WorkflowTriggerProvisioningStateRunning WorkflowTriggerProvisioningState = "Running" WorkflowTriggerProvisioningStateSucceeded WorkflowTriggerProvisioningState = "Succeeded" WorkflowTriggerProvisioningStateUnregistered WorkflowTriggerProvisioningState = "Unregistered" WorkflowTriggerProvisioningStateUnregistering WorkflowTriggerProvisioningState = "Unregistering" WorkflowTriggerProvisioningStateUpdating WorkflowTriggerProvisioningState = "Updating" )
func (*WorkflowTriggerProvisioningState) UnmarshalJSON ¶
func (s *WorkflowTriggerProvisioningState) UnmarshalJSON(bytes []byte) error
type WorkflowTriggerRecurrence ¶
type WorkflowTriggerRecurrence struct { EndTime *string `json:"endTime,omitempty"` Frequency *RecurrenceFrequency `json:"frequency,omitempty"` Interval *int64 `json:"interval,omitempty"` Schedule *RecurrenceSchedule `json:"schedule,omitempty"` StartTime *string `json:"startTime,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
type WorkflowTriggersClient ¶
type WorkflowTriggersClient struct {
Client *resourcemanager.Client
}
func NewWorkflowTriggersClientWithBaseURI ¶
func NewWorkflowTriggersClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkflowTriggersClient, error)
func (WorkflowTriggersClient) Get ¶
func (c WorkflowTriggersClient) Get(ctx context.Context, id TriggerId) (result GetOperationResponse, err error)
Get ...
func (WorkflowTriggersClient) GetSchemaJson ¶
func (c WorkflowTriggersClient) GetSchemaJson(ctx context.Context, id TriggerId) (result GetSchemaJsonOperationResponse, err error)
GetSchemaJson ...
func (WorkflowTriggersClient) List ¶
func (c WorkflowTriggersClient) List(ctx context.Context, id ManagementWorkflowId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (WorkflowTriggersClient) ListCallbackURL ¶ added in v0.20241009.1142232
func (c WorkflowTriggersClient) ListCallbackURL(ctx context.Context, id TriggerId) (result ListCallbackURLOperationResponse, err error)
ListCallbackURL ...
func (WorkflowTriggersClient) ListComplete ¶
func (c WorkflowTriggersClient) ListComplete(ctx context.Context, id ManagementWorkflowId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (WorkflowTriggersClient) ListCompleteMatchingPredicate ¶
func (c WorkflowTriggersClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagementWorkflowId, options ListOperationOptions, predicate WorkflowTriggerOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkflowTriggersClient) Run ¶
func (c WorkflowTriggersClient) Run(ctx context.Context, id TriggerId) (result RunOperationResponse, err error)
Run ...
func (WorkflowTriggersClient) RunThenPoll ¶
func (c WorkflowTriggersClient) RunThenPoll(ctx context.Context, id TriggerId) error
RunThenPoll performs Run then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_managementworkflow.go
- id_trigger.go
- method_get.go
- method_getschemajson.go
- method_list.go
- method_listcallbackurl.go
- method_run.go
- model_jsonschema.go
- model_recurrenceschedule.go
- model_recurrencescheduleoccurrence.go
- model_resourcereference.go
- model_workflowtrigger.go
- model_workflowtriggercallbackurl.go
- model_workflowtriggerlistcallbackurlqueries.go
- model_workflowtriggerproperties.go
- model_workflowtriggerrecurrence.go
- predicates.go
- version.go