Documentation ¶
Index ¶
- func PossibleValuesForEventSubscriptionStatus() []string
- func PossibleValuesForTriggerRuntimeState() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EventSubscriptionStatus
- type FactoryId
- type GetEventSubscriptionStatusOperationResponse
- type ListByFactoryCompleteResult
- type ListByFactoryOperationResponse
- type QueryByFactoryOperationResponse
- type StartOperationResponse
- type StopOperationResponse
- type SubscribeToEventsOperationResponse
- type Trigger
- type TriggerFilterParameters
- type TriggerId
- type TriggerQueryResponse
- 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) (resp 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) (resp 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 UnsubscribeFromEventsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEventSubscriptionStatus ¶
func PossibleValuesForEventSubscriptionStatus() []string
func PossibleValuesForTriggerRuntimeState ¶
func PossibleValuesForTriggerRuntimeState() []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 CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *TriggerResource }
type DeleteOperationResponse ¶
type EventSubscriptionStatus ¶
type EventSubscriptionStatus string
const ( EventSubscriptionStatusDeprovisioning EventSubscriptionStatus = "Deprovisioning" EventSubscriptionStatusDisabled EventSubscriptionStatus = "Disabled" EventSubscriptionStatusEnabled EventSubscriptionStatus = "Enabled" EventSubscriptionStatusProvisioning EventSubscriptionStatus = "Provisioning" EventSubscriptionStatusUnknown EventSubscriptionStatus = "Unknown" )
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) 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 Model *TriggerSubscriptionOperationStatus }
type ListByFactoryCompleteResult ¶
type ListByFactoryCompleteResult struct {
Items []TriggerResource
}
type ListByFactoryOperationResponse ¶
type ListByFactoryOperationResponse struct { HttpResponse *http.Response Model *[]TriggerResource // contains filtered or unexported fields }
func (ListByFactoryOperationResponse) HasMore ¶
func (r ListByFactoryOperationResponse) HasMore() bool
func (ListByFactoryOperationResponse) LoadMore ¶
func (r ListByFactoryOperationResponse) LoadMore(ctx context.Context) (resp ListByFactoryOperationResponse, err error)
type QueryByFactoryOperationResponse ¶
type QueryByFactoryOperationResponse struct { HttpResponse *http.Response Model *TriggerQueryResponse }
type StartOperationResponse ¶
type StartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StopOperationResponse ¶
type StopOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SubscribeToEventsOperationResponse ¶
type SubscribeToEventsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Trigger ¶
type Trigger struct { Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` RuntimeState *TriggerRuntimeState `json:"runtimeState,omitempty"` Type string `json:"type"` }
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) Segments ¶
func (id TriggerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Trigger ID
type TriggerQueryResponse ¶
type TriggerQueryResponse struct { ContinuationToken *string `json:"continuationToken,omitempty"` Value []TriggerResource `json:"value"` }
type TriggerResource ¶
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" )
type TriggerSubscriptionOperationStatus ¶
type TriggerSubscriptionOperationStatus struct { Status *EventSubscriptionStatus `json:"status,omitempty"` TriggerName *string `json:"triggerName,omitempty"` }
type TriggersClient ¶
func NewTriggersClientWithBaseURI ¶
func NewTriggersClientWithBaseURI(endpoint string) TriggersClient
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) (resp ListByFactoryOperationResponse, err error)
ListByFactory ...
func (TriggersClient) ListByFactoryComplete ¶
func (c TriggersClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
ListByFactoryComplete retrieves all of the results into a single object
func (TriggersClient) ListByFactoryCompleteMatchingPredicate ¶
func (c TriggersClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate TriggerResourceOperationPredicate) (resp ListByFactoryCompleteResult, err error)
ListByFactoryCompleteMatchingPredicate retrieves all of the results and then applied 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 UnsubscribeFromEventsOperationResponse ¶
type UnsubscribeFromEventsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_factory.go
- id_trigger.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_geteventsubscriptionstatus_autorest.go
- method_listbyfactory_autorest.go
- method_querybyfactory_autorest.go
- method_start_autorest.go
- method_stop_autorest.go
- method_subscribetoevents_autorest.go
- method_unsubscribefromevents_autorest.go
- model_trigger.go
- model_triggerfilterparameters.go
- model_triggerqueryresponse.go
- model_triggerresource.go
- model_triggersubscriptionoperationstatus.go
- predicates.go
- version.go