Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForDaysOfWeek() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForRecurrenceFrequency() []string
- func PossibleValuesForWorkflowState() []string
- func PossibleValuesForWorkflowStatus() []string
- func PossibleValuesForWorkflowTriggerProvisioningState() []string
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionTriggerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkflowID(input interface{}, key string) (warnings []string, errors []error)
- type DayOfWeek
- type DaysOfWeek
- type GetCallbackUrlParameters
- type GetOperationResponse
- type GetSchemaJsonOperationResponse
- type JsonSchema
- type KeyType
- type ListCallbackUrlOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type RecurrenceFrequency
- type RecurrenceSchedule
- type RecurrenceScheduleOccurrence
- type ResetOperationResponse
- type ResourceReference
- type RunOperationResponse
- type SetStateOperationResponse
- type SetTriggerStateActionDefinition
- type TriggerId
- type VersionTriggerId
- type WorkflowId
- 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 WorkflowTriggerReference
- 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 WorkflowId, 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 WorkflowId, options ListOperationOptions) (ListCompleteResult, error)
- func (c WorkflowTriggersClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkflowId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c WorkflowTriggersClient) Reset(ctx context.Context, id TriggerId) (result ResetOperationResponse, err error)
- func (c WorkflowTriggersClient) Run(ctx context.Context, id TriggerId) (result RunOperationResponse, err error)
- func (c WorkflowTriggersClient) SetState(ctx context.Context, id TriggerId, input SetTriggerStateActionDefinition) (result SetStateOperationResponse, err error)
- func (c WorkflowTriggersClient) WorkflowVersionTriggersListCallbackUrl(ctx context.Context, id VersionTriggerId, input GetCallbackUrlParameters) (result WorkflowVersionTriggersListCallbackUrlOperationResponse, err error)
- type WorkflowVersionTriggersListCallbackUrlOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForDaysOfWeek ¶
func PossibleValuesForDaysOfWeek() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForRecurrenceFrequency ¶
func PossibleValuesForRecurrenceFrequency() []string
func PossibleValuesForWorkflowState ¶
func PossibleValuesForWorkflowState() []string
func PossibleValuesForWorkflowStatus ¶
func PossibleValuesForWorkflowStatus() []string
func PossibleValuesForWorkflowTriggerProvisioningState ¶
func PossibleValuesForWorkflowTriggerProvisioningState() []string
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
func ValidateVersionTriggerID ¶
ValidateVersionTriggerID checks that 'input' can be parsed as a Version Trigger ID
func ValidateWorkflowID ¶
ValidateWorkflowID checks that 'input' can be parsed as a Workflow ID
Types ¶
type DayOfWeek ¶
type DayOfWeek string
func (*DayOfWeek) UnmarshalJSON ¶ added in v0.20230712.1163130
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.20230712.1163130
func (s *DaysOfWeek) UnmarshalJSON(bytes []byte) error
type GetCallbackUrlParameters ¶
type GetCallbackUrlParameters struct { KeyType *KeyType `json:"keyType,omitempty"` NotAfter *string `json:"notAfter,omitempty"` }
func (*GetCallbackUrlParameters) GetNotAfterAsTime ¶
func (o *GetCallbackUrlParameters) GetNotAfterAsTime() (*time.Time, error)
func (*GetCallbackUrlParameters) SetNotAfterAsTime ¶
func (o *GetCallbackUrlParameters) SetNotAfterAsTime(input time.Time)
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 ¶
type ListCallbackUrlOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkflowTriggerCallbackUrl }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []WorkflowTrigger
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkflowTrigger }
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 ¶ added in v0.20230712.1163130
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 ResetOperationResponse ¶
type ResourceReference ¶
type RunOperationResponse ¶
type SetTriggerStateActionDefinition ¶
type SetTriggerStateActionDefinition struct {
Source WorkflowTriggerReference `json:"source"`
}
type TriggerId ¶
type TriggerId struct { SubscriptionId string ResourceGroupName string WorkflowName string TriggerName string }
TriggerId is a struct representing the Resource ID for a Trigger
func NewTriggerID ¶
func NewTriggerID(subscriptionId string, resourceGroupName 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) Segments ¶
func (id TriggerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Trigger ID
type VersionTriggerId ¶
type VersionTriggerId struct { SubscriptionId string ResourceGroupName string WorkflowName string VersionId string TriggerName string }
VersionTriggerId is a struct representing the Resource ID for a Version Trigger
func NewVersionTriggerID ¶
func NewVersionTriggerID(subscriptionId string, resourceGroupName string, workflowName string, versionId string, triggerName string) VersionTriggerId
NewVersionTriggerID returns a new VersionTriggerId struct
func ParseVersionTriggerID ¶
func ParseVersionTriggerID(input string) (*VersionTriggerId, error)
ParseVersionTriggerID parses 'input' into a VersionTriggerId
func ParseVersionTriggerIDInsensitively ¶
func ParseVersionTriggerIDInsensitively(input string) (*VersionTriggerId, error)
ParseVersionTriggerIDInsensitively parses 'input' case-insensitively into a VersionTriggerId note: this method should only be used for API response data and not user input
func (VersionTriggerId) ID ¶
func (id VersionTriggerId) ID() string
ID returns the formatted Version Trigger ID
func (VersionTriggerId) Segments ¶
func (id VersionTriggerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version Trigger ID
func (VersionTriggerId) String ¶
func (id VersionTriggerId) String() string
String returns a human-readable description of this Version Trigger ID
type WorkflowId ¶
WorkflowId is a struct representing the Resource ID for a Workflow
func NewWorkflowID ¶
func NewWorkflowID(subscriptionId string, resourceGroupName string, workflowName string) WorkflowId
NewWorkflowID returns a new WorkflowId struct
func ParseWorkflowID ¶
func ParseWorkflowID(input string) (*WorkflowId, error)
ParseWorkflowID parses 'input' into a WorkflowId
func ParseWorkflowIDInsensitively ¶
func ParseWorkflowIDInsensitively(input string) (*WorkflowId, error)
ParseWorkflowIDInsensitively parses 'input' case-insensitively into a WorkflowId note: this method should only be used for API response data and not user input
func (WorkflowId) Segments ¶
func (id WorkflowId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workflow ID
func (WorkflowId) String ¶
func (id WorkflowId) String() string
String returns a human-readable description of this Workflow 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 ¶ added in v0.20230712.1163130
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 ¶ added in v0.20230712.1163130
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 ¶
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 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 ¶ added in v0.20230712.1163130
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 WorkflowId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (WorkflowTriggersClient) ListCallbackUrl ¶
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 WorkflowId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (WorkflowTriggersClient) ListCompleteMatchingPredicate ¶
func (c WorkflowTriggersClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkflowId, options ListOperationOptions, predicate WorkflowTriggerOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkflowTriggersClient) Reset ¶
func (c WorkflowTriggersClient) Reset(ctx context.Context, id TriggerId) (result ResetOperationResponse, err error)
Reset ...
func (WorkflowTriggersClient) Run ¶
func (c WorkflowTriggersClient) Run(ctx context.Context, id TriggerId) (result RunOperationResponse, err error)
Run ...
func (WorkflowTriggersClient) SetState ¶
func (c WorkflowTriggersClient) SetState(ctx context.Context, id TriggerId, input SetTriggerStateActionDefinition) (result SetStateOperationResponse, err error)
SetState ...
func (WorkflowTriggersClient) WorkflowVersionTriggersListCallbackUrl ¶
func (c WorkflowTriggersClient) WorkflowVersionTriggersListCallbackUrl(ctx context.Context, id VersionTriggerId, input GetCallbackUrlParameters) (result WorkflowVersionTriggersListCallbackUrlOperationResponse, err error)
WorkflowVersionTriggersListCallbackUrl ...
type WorkflowVersionTriggersListCallbackUrlOperationResponse ¶
type WorkflowVersionTriggersListCallbackUrlOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkflowTriggerCallbackUrl }
Source Files ¶
- client.go
- constants.go
- id_trigger.go
- id_versiontrigger.go
- id_workflow.go
- method_get.go
- method_getschemajson.go
- method_list.go
- method_listcallbackurl.go
- method_reset.go
- method_run.go
- method_setstate.go
- method_workflowversiontriggerslistcallbackurl.go
- model_getcallbackurlparameters.go
- model_jsonschema.go
- model_recurrenceschedule.go
- model_recurrencescheduleoccurrence.go
- model_resourcereference.go
- model_settriggerstateactiondefinition.go
- model_workflowtrigger.go
- model_workflowtriggercallbackurl.go
- model_workflowtriggerlistcallbackurlqueries.go
- model_workflowtriggerproperties.go
- model_workflowtriggerrecurrence.go
- model_workflowtriggerreference.go
- predicates.go
- version.go