Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTriggerRuntimeState ¶
func PossibleValuesForTriggerRuntimeState() []string
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
Types ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
IfNoneMatch *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TriggerResource }
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 TriggerClient ¶
type TriggerClient struct {
Client *resourcemanager.Client
}
func NewTriggerClientWithBaseURI ¶
func NewTriggerClientWithBaseURI(sdkApi sdkEnv.Api) (*TriggerClient, error)
func (TriggerClient) Get ¶
func (c TriggerClient) Get(ctx context.Context, id TriggerId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
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 TriggerResource ¶
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
Click to show internal directories.
Click to hide internal directories.