Documentation ¶
Index ¶
- func PossibleValuesForBlobEventTypes() []string
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForDaysOfWeek() []string
- func PossibleValuesForEventSubscriptionStatus() []string
- func PossibleValuesForPipelineReferenceType() []string
- func PossibleValuesForRecurrenceFrequency() []string
- func PossibleValuesForTriggerReferenceType() []string
- func PossibleValuesForTriggerRuntimeState() []string
- func PossibleValuesForTumblingWindowFrequency() []string
- func PossibleValuesForType() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- type BaseDependencyReferenceImpl
- type BaseTriggerImpl
- type BlobEventTypes
- type BlobEventsTrigger
- type BlobEventsTriggerTypeProperties
- type BlobTrigger
- type BlobTriggerTypeProperties
- type ChainingTrigger
- type ChainingTriggerTypeProperties
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type CustomEventsTrigger
- type CustomEventsTriggerTypeProperties
- type DayOfWeek
- type DaysOfWeek
- type DeleteOperationResponse
- type DependencyReference
- type EventSubscriptionStatus
- type FactoryId
- type GetEventSubscriptionStatusOperationResponse
- type LinkedServiceReference
- type ListByFactoryCompleteResult
- type ListByFactoryCustomPager
- type ListByFactoryOperationResponse
- type MultiplePipelineTrigger
- type PipelineReference
- type PipelineReferenceType
- type QueryByFactoryOperationResponse
- type RawDependencyReferenceImpl
- type RawTriggerImpl
- type RecurrenceFrequency
- type RecurrenceSchedule
- type RecurrenceScheduleOccurrence
- type RerunTumblingWindowTrigger
- type RerunTumblingWindowTriggerTypeProperties
- func (o *RerunTumblingWindowTriggerTypeProperties) GetRequestedEndTimeAsTime() (*time.Time, error)
- func (o *RerunTumblingWindowTriggerTypeProperties) GetRequestedStartTimeAsTime() (*time.Time, error)
- func (o *RerunTumblingWindowTriggerTypeProperties) SetRequestedEndTimeAsTime(input time.Time)
- func (o *RerunTumblingWindowTriggerTypeProperties) SetRequestedStartTimeAsTime(input time.Time)
- type RetryPolicy
- type ScheduleTrigger
- type ScheduleTriggerRecurrence
- type ScheduleTriggerTypeProperties
- type SelfDependencyTumblingWindowTriggerReference
- type StartOperationResponse
- type StopOperationResponse
- type SubscribeToEventsOperationResponse
- type Trigger
- type TriggerDependencyReference
- type TriggerFilterParameters
- type TriggerId
- type TriggerPipelineReference
- type TriggerQueryResponse
- type TriggerReference
- type TriggerReferenceType
- type TriggerResource
- type TriggerResourceOperationPredicate
- type TriggerRuntimeState
- type TriggerSubscriptionOperationStatus
- type TriggersClient
- func (c TriggersClient) CreateOrUpdate(ctx context.Context, id TriggerId, input TriggerResource, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c TriggersClient) Delete(ctx context.Context, id TriggerId) (result DeleteOperationResponse, err error)
- func (c TriggersClient) GetEventSubscriptionStatus(ctx context.Context, id TriggerId) (result GetEventSubscriptionStatusOperationResponse, err error)
- func (c TriggersClient) ListByFactory(ctx context.Context, id FactoryId) (result ListByFactoryOperationResponse, err error)
- func (c TriggersClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
- func (c TriggersClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate TriggerResourceOperationPredicate) (result ListByFactoryCompleteResult, err error)
- func (c TriggersClient) QueryByFactory(ctx context.Context, id FactoryId, input TriggerFilterParameters) (result QueryByFactoryOperationResponse, err error)
- func (c TriggersClient) Start(ctx context.Context, id TriggerId) (result StartOperationResponse, err error)
- func (c TriggersClient) StartThenPoll(ctx context.Context, id TriggerId) error
- func (c TriggersClient) Stop(ctx context.Context, id TriggerId) (result StopOperationResponse, err error)
- func (c TriggersClient) StopThenPoll(ctx context.Context, id TriggerId) error
- func (c TriggersClient) SubscribeToEvents(ctx context.Context, id TriggerId) (result SubscribeToEventsOperationResponse, err error)
- func (c TriggersClient) SubscribeToEventsThenPoll(ctx context.Context, id TriggerId) error
- func (c TriggersClient) UnsubscribeFromEvents(ctx context.Context, id TriggerId) (result UnsubscribeFromEventsOperationResponse, err error)
- func (c TriggersClient) UnsubscribeFromEventsThenPoll(ctx context.Context, id TriggerId) error
- type TumblingWindowFrequency
- type TumblingWindowTrigger
- type TumblingWindowTriggerDependencyReference
- type TumblingWindowTriggerTypeProperties
- func (o *TumblingWindowTriggerTypeProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *TumblingWindowTriggerTypeProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *TumblingWindowTriggerTypeProperties) SetEndTimeAsTime(input time.Time)
- func (o *TumblingWindowTriggerTypeProperties) SetStartTimeAsTime(input time.Time)
- func (s *TumblingWindowTriggerTypeProperties) UnmarshalJSON(bytes []byte) error
- type Type
- type UnsubscribeFromEventsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBlobEventTypes ¶
func PossibleValuesForBlobEventTypes() []string
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForDaysOfWeek ¶
func PossibleValuesForDaysOfWeek() []string
func PossibleValuesForEventSubscriptionStatus ¶
func PossibleValuesForEventSubscriptionStatus() []string
func PossibleValuesForPipelineReferenceType ¶
func PossibleValuesForPipelineReferenceType() []string
func PossibleValuesForRecurrenceFrequency ¶
func PossibleValuesForRecurrenceFrequency() []string
func PossibleValuesForTriggerReferenceType ¶
func PossibleValuesForTriggerReferenceType() []string
func PossibleValuesForTriggerRuntimeState ¶
func PossibleValuesForTriggerRuntimeState() []string
func PossibleValuesForTumblingWindowFrequency ¶
func PossibleValuesForTumblingWindowFrequency() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
Types ¶
type BaseDependencyReferenceImpl ¶
type BaseDependencyReferenceImpl struct {
Type string `json:"type"`
}
func (BaseDependencyReferenceImpl) DependencyReference ¶
func (s BaseDependencyReferenceImpl) DependencyReference() BaseDependencyReferenceImpl
type BaseTriggerImpl ¶
type BaseTriggerImpl struct { Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (BaseTriggerImpl) Trigger ¶
func (s BaseTriggerImpl) Trigger() BaseTriggerImpl
type BlobEventTypes ¶
type BlobEventTypes string
const ( BlobEventTypesMicrosoftPointStoragePointBlobCreated BlobEventTypes = "Microsoft.Storage.BlobCreated" BlobEventTypesMicrosoftPointStoragePointBlobDeleted BlobEventTypes = "Microsoft.Storage.BlobDeleted" )
func (*BlobEventTypes) UnmarshalJSON ¶
func (s *BlobEventTypes) UnmarshalJSON(bytes []byte) error
type BlobEventsTrigger ¶
type BlobEventsTrigger struct { Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` TypeProperties BlobEventsTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (BlobEventsTrigger) MarshalJSON ¶
func (s BlobEventsTrigger) MarshalJSON() ([]byte, error)
func (BlobEventsTrigger) Trigger ¶
func (s BlobEventsTrigger) Trigger() BaseTriggerImpl
type BlobEventsTriggerTypeProperties ¶
type BlobEventsTriggerTypeProperties struct { BlobPathBeginsWith *string `json:"blobPathBeginsWith,omitempty"` BlobPathEndsWith *string `json:"blobPathEndsWith,omitempty"` Events []BlobEventTypes `json:"events"` IgnoreEmptyBlobs *bool `json:"ignoreEmptyBlobs,omitempty"` Scope string `json:"scope"` }
type BlobTrigger ¶
type BlobTrigger struct { Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` TypeProperties BlobTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (BlobTrigger) MarshalJSON ¶
func (s BlobTrigger) MarshalJSON() ([]byte, error)
func (BlobTrigger) Trigger ¶
func (s BlobTrigger) Trigger() BaseTriggerImpl
type BlobTriggerTypeProperties ¶
type BlobTriggerTypeProperties struct { FolderPath string `json:"folderPath"` LinkedService LinkedServiceReference `json:"linkedService"` MaxConcurrency int64 `json:"maxConcurrency"` }
type ChainingTrigger ¶
type ChainingTrigger struct { Pipeline TriggerPipelineReference `json:"pipeline"` TypeProperties ChainingTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (ChainingTrigger) MarshalJSON ¶
func (s ChainingTrigger) MarshalJSON() ([]byte, error)
func (ChainingTrigger) Trigger ¶
func (s ChainingTrigger) Trigger() BaseTriggerImpl
type ChainingTriggerTypeProperties ¶
type ChainingTriggerTypeProperties struct { DependsOn []PipelineReference `json:"dependsOn"` RunDimension string `json:"runDimension"` }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TriggerResource }
type CustomEventsTrigger ¶
type CustomEventsTrigger struct { Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` TypeProperties CustomEventsTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (CustomEventsTrigger) MarshalJSON ¶
func (s CustomEventsTrigger) MarshalJSON() ([]byte, error)
func (CustomEventsTrigger) Trigger ¶
func (s CustomEventsTrigger) Trigger() BaseTriggerImpl
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 DeleteOperationResponse ¶
type DependencyReference ¶
type DependencyReference interface {
DependencyReference() BaseDependencyReferenceImpl
}
func UnmarshalDependencyReferenceImplementation ¶
func UnmarshalDependencyReferenceImplementation(input []byte) (DependencyReference, error)
type EventSubscriptionStatus ¶
type EventSubscriptionStatus string
const ( EventSubscriptionStatusDeprovisioning EventSubscriptionStatus = "Deprovisioning" EventSubscriptionStatusDisabled EventSubscriptionStatus = "Disabled" EventSubscriptionStatusEnabled EventSubscriptionStatus = "Enabled" EventSubscriptionStatusProvisioning EventSubscriptionStatus = "Provisioning" EventSubscriptionStatusUnknown EventSubscriptionStatus = "Unknown" )
func (*EventSubscriptionStatus) UnmarshalJSON ¶
func (s *EventSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type FactoryId ¶
FactoryId is a struct representing the Resource ID for a Factory
func NewFactoryID ¶
NewFactoryID returns a new FactoryId struct
func ParseFactoryID ¶
ParseFactoryID parses 'input' into a FactoryId
func ParseFactoryIDInsensitively ¶
ParseFactoryIDInsensitively parses 'input' case-insensitively into a FactoryId note: this method should only be used for API response data and not user input
func (*FactoryId) FromParseResult ¶
func (id *FactoryId) FromParseResult(input resourceids.ParseResult) error
func (FactoryId) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type GetEventSubscriptionStatusOperationResponse ¶
type GetEventSubscriptionStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TriggerSubscriptionOperationStatus }
type LinkedServiceReference ¶
type ListByFactoryCompleteResult ¶
type ListByFactoryCompleteResult struct { LatestHttpResponse *http.Response Items []TriggerResource }
type ListByFactoryCustomPager ¶
func (*ListByFactoryCustomPager) NextPageLink ¶
func (p *ListByFactoryCustomPager) NextPageLink() *odata.Link
type ListByFactoryOperationResponse ¶
type ListByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TriggerResource }
type MultiplePipelineTrigger ¶
type MultiplePipelineTrigger struct { Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (MultiplePipelineTrigger) MarshalJSON ¶
func (s MultiplePipelineTrigger) MarshalJSON() ([]byte, error)
func (MultiplePipelineTrigger) Trigger ¶
func (s MultiplePipelineTrigger) Trigger() BaseTriggerImpl
type PipelineReference ¶
type PipelineReference struct { Name *string `json:"name,omitempty"` ReferenceName string `json:"referenceName"` Type PipelineReferenceType `json:"type"` }
type PipelineReferenceType ¶
type PipelineReferenceType string
const (
PipelineReferenceTypePipelineReference PipelineReferenceType = "PipelineReference"
)
func (*PipelineReferenceType) UnmarshalJSON ¶
func (s *PipelineReferenceType) UnmarshalJSON(bytes []byte) error
type QueryByFactoryOperationResponse ¶
type QueryByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TriggerQueryResponse }
type RawDependencyReferenceImpl ¶
type RawDependencyReferenceImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawDependencyReferenceImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawDependencyReferenceImpl) DependencyReference ¶
func (s RawDependencyReferenceImpl) DependencyReference() BaseDependencyReferenceImpl
type RawTriggerImpl ¶
type RawTriggerImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawTriggerImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawTriggerImpl) Trigger ¶
func (s RawTriggerImpl) Trigger() BaseTriggerImpl
type RecurrenceFrequency ¶
type RecurrenceFrequency string
const ( RecurrenceFrequencyDay RecurrenceFrequency = "Day" RecurrenceFrequencyHour RecurrenceFrequency = "Hour" RecurrenceFrequencyMinute RecurrenceFrequency = "Minute" RecurrenceFrequencyMonth RecurrenceFrequency = "Month" RecurrenceFrequencyNotSpecified RecurrenceFrequency = "NotSpecified" 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 RerunTumblingWindowTrigger ¶
type RerunTumblingWindowTrigger struct { TypeProperties RerunTumblingWindowTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (RerunTumblingWindowTrigger) MarshalJSON ¶
func (s RerunTumblingWindowTrigger) MarshalJSON() ([]byte, error)
func (RerunTumblingWindowTrigger) Trigger ¶
func (s RerunTumblingWindowTrigger) Trigger() BaseTriggerImpl
type RerunTumblingWindowTriggerTypeProperties ¶
type RerunTumblingWindowTriggerTypeProperties struct { ParentTrigger interface{} `json:"parentTrigger"` RequestedEndTime string `json:"requestedEndTime"` RequestedStartTime string `json:"requestedStartTime"` RerunConcurrency int64 `json:"rerunConcurrency"` }
func (*RerunTumblingWindowTriggerTypeProperties) GetRequestedEndTimeAsTime ¶
func (o *RerunTumblingWindowTriggerTypeProperties) GetRequestedEndTimeAsTime() (*time.Time, error)
func (*RerunTumblingWindowTriggerTypeProperties) GetRequestedStartTimeAsTime ¶
func (o *RerunTumblingWindowTriggerTypeProperties) GetRequestedStartTimeAsTime() (*time.Time, error)
func (*RerunTumblingWindowTriggerTypeProperties) SetRequestedEndTimeAsTime ¶
func (o *RerunTumblingWindowTriggerTypeProperties) SetRequestedEndTimeAsTime(input time.Time)
func (*RerunTumblingWindowTriggerTypeProperties) SetRequestedStartTimeAsTime ¶
func (o *RerunTumblingWindowTriggerTypeProperties) SetRequestedStartTimeAsTime(input time.Time)
type RetryPolicy ¶
type ScheduleTrigger ¶
type ScheduleTrigger struct { Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` TypeProperties ScheduleTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (ScheduleTrigger) MarshalJSON ¶
func (s ScheduleTrigger) MarshalJSON() ([]byte, error)
func (ScheduleTrigger) Trigger ¶
func (s ScheduleTrigger) Trigger() BaseTriggerImpl
type ScheduleTriggerRecurrence ¶
type ScheduleTriggerRecurrence 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"` }
func (*ScheduleTriggerRecurrence) GetEndTimeAsTime ¶
func (o *ScheduleTriggerRecurrence) GetEndTimeAsTime() (*time.Time, error)
func (*ScheduleTriggerRecurrence) GetStartTimeAsTime ¶
func (o *ScheduleTriggerRecurrence) GetStartTimeAsTime() (*time.Time, error)
func (*ScheduleTriggerRecurrence) SetEndTimeAsTime ¶
func (o *ScheduleTriggerRecurrence) SetEndTimeAsTime(input time.Time)
func (*ScheduleTriggerRecurrence) SetStartTimeAsTime ¶
func (o *ScheduleTriggerRecurrence) SetStartTimeAsTime(input time.Time)
type ScheduleTriggerTypeProperties ¶
type ScheduleTriggerTypeProperties struct {
Recurrence ScheduleTriggerRecurrence `json:"recurrence"`
}
type SelfDependencyTumblingWindowTriggerReference ¶
type SelfDependencyTumblingWindowTriggerReference struct { Offset string `json:"offset"` Size *string `json:"size,omitempty"` Type string `json:"type"` }
func (SelfDependencyTumblingWindowTriggerReference) DependencyReference ¶
func (s SelfDependencyTumblingWindowTriggerReference) DependencyReference() BaseDependencyReferenceImpl
func (SelfDependencyTumblingWindowTriggerReference) MarshalJSON ¶
func (s SelfDependencyTumblingWindowTriggerReference) MarshalJSON() ([]byte, error)
type StartOperationResponse ¶
type StopOperationResponse ¶
type Trigger ¶
type Trigger interface {
Trigger() BaseTriggerImpl
}
type TriggerDependencyReference ¶
type TriggerDependencyReference struct { ReferenceTrigger TriggerReference `json:"referenceTrigger"` Type string `json:"type"` }
func (TriggerDependencyReference) DependencyReference ¶
func (s TriggerDependencyReference) DependencyReference() BaseDependencyReferenceImpl
func (TriggerDependencyReference) MarshalJSON ¶
func (s TriggerDependencyReference) MarshalJSON() ([]byte, error)
type TriggerFilterParameters ¶
type TriggerId ¶
type TriggerId struct { SubscriptionId string ResourceGroupName string FactoryName string TriggerName string }
TriggerId is a struct representing the Resource ID for a Trigger
func NewTriggerID ¶
func NewTriggerID(subscriptionId string, resourceGroupName string, factoryName 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 TriggerPipelineReference ¶
type TriggerPipelineReference struct { Parameters *map[string]interface{} `json:"parameters,omitempty"` PipelineReference *PipelineReference `json:"pipelineReference,omitempty"` }
type TriggerQueryResponse ¶
type TriggerQueryResponse struct { ContinuationToken *string `json:"continuationToken,omitempty"` Value []TriggerResource `json:"value"` }
type TriggerReference ¶
type TriggerReference struct { ReferenceName string `json:"referenceName"` Type TriggerReferenceType `json:"type"` }
type TriggerReferenceType ¶
type TriggerReferenceType string
const (
TriggerReferenceTypeTriggerReference TriggerReferenceType = "TriggerReference"
)
func (*TriggerReferenceType) UnmarshalJSON ¶
func (s *TriggerReferenceType) UnmarshalJSON(bytes []byte) error
type TriggerResource ¶
type TriggerResource struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties Trigger `json:"properties"` Type *string `json:"type,omitempty"` }
func (*TriggerResource) UnmarshalJSON ¶
func (s *TriggerResource) UnmarshalJSON(bytes []byte) error
type TriggerResourceOperationPredicate ¶
func (TriggerResourceOperationPredicate) Matches ¶
func (p TriggerResourceOperationPredicate) Matches(input TriggerResource) bool
type TriggerRuntimeState ¶
type TriggerRuntimeState string
const ( TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled" TriggerRuntimeStateStarted TriggerRuntimeState = "Started" TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped" )
func (*TriggerRuntimeState) UnmarshalJSON ¶
func (s *TriggerRuntimeState) UnmarshalJSON(bytes []byte) error
type TriggerSubscriptionOperationStatus ¶
type TriggerSubscriptionOperationStatus struct { Status *EventSubscriptionStatus `json:"status,omitempty"` TriggerName *string `json:"triggerName,omitempty"` }
type TriggersClient ¶
type TriggersClient struct {
Client *resourcemanager.Client
}
func NewTriggersClientWithBaseURI ¶
func NewTriggersClientWithBaseURI(sdkApi sdkEnv.Api) (*TriggersClient, error)
func (TriggersClient) CreateOrUpdate ¶
func (c TriggersClient) CreateOrUpdate(ctx context.Context, id TriggerId, input TriggerResource, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TriggersClient) Delete ¶
func (c TriggersClient) Delete(ctx context.Context, id TriggerId) (result DeleteOperationResponse, err error)
Delete ...
func (TriggersClient) GetEventSubscriptionStatus ¶
func (c TriggersClient) GetEventSubscriptionStatus(ctx context.Context, id TriggerId) (result GetEventSubscriptionStatusOperationResponse, err error)
GetEventSubscriptionStatus ...
func (TriggersClient) ListByFactory ¶
func (c TriggersClient) ListByFactory(ctx context.Context, id FactoryId) (result ListByFactoryOperationResponse, err error)
ListByFactory ...
func (TriggersClient) ListByFactoryComplete ¶
func (c TriggersClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
ListByFactoryComplete retrieves all the results into a single object
func (TriggersClient) ListByFactoryCompleteMatchingPredicate ¶
func (c TriggersClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate TriggerResourceOperationPredicate) (result ListByFactoryCompleteResult, err error)
ListByFactoryCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TriggersClient) QueryByFactory ¶
func (c TriggersClient) QueryByFactory(ctx context.Context, id FactoryId, input TriggerFilterParameters) (result QueryByFactoryOperationResponse, err error)
QueryByFactory ...
func (TriggersClient) Start ¶
func (c TriggersClient) Start(ctx context.Context, id TriggerId) (result StartOperationResponse, err error)
Start ...
func (TriggersClient) StartThenPoll ¶
func (c TriggersClient) StartThenPoll(ctx context.Context, id TriggerId) error
StartThenPoll performs Start then polls until it's completed
func (TriggersClient) Stop ¶
func (c TriggersClient) Stop(ctx context.Context, id TriggerId) (result StopOperationResponse, err error)
Stop ...
func (TriggersClient) StopThenPoll ¶
func (c TriggersClient) StopThenPoll(ctx context.Context, id TriggerId) error
StopThenPoll performs Stop then polls until it's completed
func (TriggersClient) SubscribeToEvents ¶
func (c TriggersClient) SubscribeToEvents(ctx context.Context, id TriggerId) (result SubscribeToEventsOperationResponse, err error)
SubscribeToEvents ...
func (TriggersClient) SubscribeToEventsThenPoll ¶
func (c TriggersClient) SubscribeToEventsThenPoll(ctx context.Context, id TriggerId) error
SubscribeToEventsThenPoll performs SubscribeToEvents then polls until it's completed
func (TriggersClient) UnsubscribeFromEvents ¶
func (c TriggersClient) UnsubscribeFromEvents(ctx context.Context, id TriggerId) (result UnsubscribeFromEventsOperationResponse, err error)
UnsubscribeFromEvents ...
func (TriggersClient) UnsubscribeFromEventsThenPoll ¶
func (c TriggersClient) UnsubscribeFromEventsThenPoll(ctx context.Context, id TriggerId) error
UnsubscribeFromEventsThenPoll performs UnsubscribeFromEvents then polls until it's completed
type TumblingWindowFrequency ¶
type TumblingWindowFrequency string
const ( TumblingWindowFrequencyHour TumblingWindowFrequency = "Hour" TumblingWindowFrequencyMinute TumblingWindowFrequency = "Minute" TumblingWindowFrequencyMonth TumblingWindowFrequency = "Month" )
func (*TumblingWindowFrequency) UnmarshalJSON ¶
func (s *TumblingWindowFrequency) UnmarshalJSON(bytes []byte) error
type TumblingWindowTrigger ¶
type TumblingWindowTrigger struct { Pipeline TriggerPipelineReference `json:"pipeline"` TypeProperties TumblingWindowTriggerTypeProperties `json:"typeProperties"` Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
func (TumblingWindowTrigger) MarshalJSON ¶
func (s TumblingWindowTrigger) MarshalJSON() ([]byte, error)
func (TumblingWindowTrigger) Trigger ¶
func (s TumblingWindowTrigger) Trigger() BaseTriggerImpl
type TumblingWindowTriggerDependencyReference ¶
type TumblingWindowTriggerDependencyReference struct { Offset *string `json:"offset,omitempty"` ReferenceTrigger TriggerReference `json:"referenceTrigger"` Size *string `json:"size,omitempty"` Type string `json:"type"` }
func (TumblingWindowTriggerDependencyReference) DependencyReference ¶
func (s TumblingWindowTriggerDependencyReference) DependencyReference() BaseDependencyReferenceImpl
func (TumblingWindowTriggerDependencyReference) MarshalJSON ¶
func (s TumblingWindowTriggerDependencyReference) MarshalJSON() ([]byte, error)
type TumblingWindowTriggerTypeProperties ¶
type TumblingWindowTriggerTypeProperties struct { Delay *string `json:"delay,omitempty"` DependsOn *[]DependencyReference `json:"dependsOn,omitempty"` EndTime *string `json:"endTime,omitempty"` Frequency TumblingWindowFrequency `json:"frequency"` Interval int64 `json:"interval"` MaxConcurrency int64 `json:"maxConcurrency"` RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"` StartTime string `json:"startTime"` }
func (*TumblingWindowTriggerTypeProperties) GetEndTimeAsTime ¶
func (o *TumblingWindowTriggerTypeProperties) GetEndTimeAsTime() (*time.Time, error)
func (*TumblingWindowTriggerTypeProperties) GetStartTimeAsTime ¶
func (o *TumblingWindowTriggerTypeProperties) GetStartTimeAsTime() (*time.Time, error)
func (*TumblingWindowTriggerTypeProperties) SetEndTimeAsTime ¶
func (o *TumblingWindowTriggerTypeProperties) SetEndTimeAsTime(input time.Time)
func (*TumblingWindowTriggerTypeProperties) SetStartTimeAsTime ¶
func (o *TumblingWindowTriggerTypeProperties) SetStartTimeAsTime(input time.Time)
func (*TumblingWindowTriggerTypeProperties) UnmarshalJSON ¶
func (s *TumblingWindowTriggerTypeProperties) UnmarshalJSON(bytes []byte) error
type Type ¶
type Type string
const (
TypeLinkedServiceReference Type = "LinkedServiceReference"
)
func (*Type) UnmarshalJSON ¶
Source Files ¶
- client.go
- constants.go
- id_factory.go
- id_trigger.go
- method_createorupdate.go
- method_delete.go
- method_geteventsubscriptionstatus.go
- method_listbyfactory.go
- method_querybyfactory.go
- method_start.go
- method_stop.go
- method_subscribetoevents.go
- method_unsubscribefromevents.go
- model_blobeventstrigger.go
- model_blobeventstriggertypeproperties.go
- model_blobtrigger.go
- model_blobtriggertypeproperties.go
- model_chainingtrigger.go
- model_chainingtriggertypeproperties.go
- model_customeventstrigger.go
- model_customeventstriggertypeproperties.go
- model_dependencyreference.go
- model_linkedservicereference.go
- model_multiplepipelinetrigger.go
- model_pipelinereference.go
- model_recurrenceschedule.go
- model_recurrencescheduleoccurrence.go
- model_reruntumblingwindowtrigger.go
- model_reruntumblingwindowtriggertypeproperties.go
- model_retrypolicy.go
- model_scheduletrigger.go
- model_scheduletriggerrecurrence.go
- model_scheduletriggertypeproperties.go
- model_selfdependencytumblingwindowtriggerreference.go
- model_trigger.go
- model_triggerdependencyreference.go
- model_triggerfilterparameters.go
- model_triggerpipelinereference.go
- model_triggerqueryresponse.go
- model_triggerreference.go
- model_triggerresource.go
- model_triggersubscriptionoperationstatus.go
- model_tumblingwindowtrigger.go
- model_tumblingwindowtriggerdependencyreference.go
- model_tumblingwindowtriggertypeproperties.go
- predicates.go
- version.go