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 ListCustomPager
- 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 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 GetCallbackURLParameters ¶ added in v0.20241009.1142232
type GetCallbackURLParameters struct { KeyType *KeyType `json:"keyType,omitempty"` NotAfter *string `json:"notAfter,omitempty"` }
func (*GetCallbackURLParameters) GetNotAfterAsTime ¶ added in v0.20241009.1142232
func (o *GetCallbackURLParameters) GetNotAfterAsTime() (*time.Time, error)
func (*GetCallbackURLParameters) SetNotAfterAsTime ¶ added in v0.20241009.1142232
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 ¶ 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 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 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) 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 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) FromParseResult ¶
func (id *VersionTriggerId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *WorkflowId) FromParseResult(input resourceids.ParseResult) error
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 ¶
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 WorkflowId, 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 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 ¶ added in v0.20241009.1142232
func (c WorkflowTriggersClient) WorkflowVersionTriggersListCallbackURL(ctx context.Context, id VersionTriggerId, input GetCallbackURLParameters) (result WorkflowVersionTriggersListCallbackURLOperationResponse, err error)
WorkflowVersionTriggersListCallbackURL ...
type WorkflowVersionTriggersListCallbackURLOperationResponse ¶ added in v0.20241009.1142232
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