Documentation ¶
Index ¶
- func PossibleValuesForTriggerEventType() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataBoxEdgeDeviceId
- type DeleteOperationResponse
- type FileEventTrigger
- type FileSourceInfo
- type FileTriggerProperties
- type GetOperationResponse
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceOperationOptions
- type ListByDataBoxEdgeDeviceOperationResponse
- type PeriodicTimerEventTrigger
- type PeriodicTimerProperties
- type PeriodicTimerSourceInfo
- type RawTriggerImpl
- type RoleSinkInfo
- type Trigger
- type TriggerEventType
- type TriggerId
- type TriggerOperationPredicate
- type TriggersClient
- func (c TriggersClient) CreateOrUpdate(ctx context.Context, id TriggerId, input Trigger) (result CreateOrUpdateOperationResponse, err error)
- func (c TriggersClient) CreateOrUpdateThenPoll(ctx context.Context, id TriggerId, input Trigger) error
- func (c TriggersClient) Delete(ctx context.Context, id TriggerId) (result DeleteOperationResponse, err error)
- func (c TriggersClient) DeleteThenPoll(ctx context.Context, id TriggerId) error
- func (c TriggersClient) Get(ctx context.Context, id TriggerId) (result GetOperationResponse, err error)
- func (c TriggersClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c TriggersClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId, ...) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c TriggersClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTriggerEventType ¶
func PossibleValuesForTriggerEventType() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
Types ¶
type DataBoxEdgeDeviceId ¶
type DataBoxEdgeDeviceId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string }
DataBoxEdgeDeviceId is a struct representing the Resource ID for a Data Box Edge Device
func NewDataBoxEdgeDeviceID ¶
func NewDataBoxEdgeDeviceID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string) DataBoxEdgeDeviceId
NewDataBoxEdgeDeviceID returns a new DataBoxEdgeDeviceId struct
func ParseDataBoxEdgeDeviceID ¶
func ParseDataBoxEdgeDeviceID(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceID parses 'input' into a DataBoxEdgeDeviceId
func ParseDataBoxEdgeDeviceIDInsensitively ¶
func ParseDataBoxEdgeDeviceIDInsensitively(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceIDInsensitively parses 'input' case-insensitively into a DataBoxEdgeDeviceId note: this method should only be used for API response data and not user input
func (DataBoxEdgeDeviceId) ID ¶
func (id DataBoxEdgeDeviceId) ID() string
ID returns the formatted Data Box Edge Device ID
func (DataBoxEdgeDeviceId) Segments ¶
func (id DataBoxEdgeDeviceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Box Edge Device ID
func (DataBoxEdgeDeviceId) String ¶
func (id DataBoxEdgeDeviceId) String() string
String returns a human-readable description of this Data Box Edge Device ID
type DeleteOperationResponse ¶
type FileEventTrigger ¶
type FileEventTrigger struct { Properties FileTriggerProperties `json:"properties"` // Fields inherited from Trigger Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (FileEventTrigger) MarshalJSON ¶
func (s FileEventTrigger) MarshalJSON() ([]byte, error)
type FileSourceInfo ¶
type FileSourceInfo struct {
}type FileTriggerProperties ¶
type FileTriggerProperties struct { CustomContextTag *string `json:"customContextTag,omitempty"` SinkInfo RoleSinkInfo `json:"sinkInfo"` SourceInfo FileSourceInfo `json:"sourceInfo"` }
type GetOperationResponse ¶
type ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct {
Items []Trigger
}
type ListByDataBoxEdgeDeviceOperationOptions ¶
type ListByDataBoxEdgeDeviceOperationOptions struct {
Filter *string
}
func DefaultListByDataBoxEdgeDeviceOperationOptions ¶
func DefaultListByDataBoxEdgeDeviceOperationOptions() ListByDataBoxEdgeDeviceOperationOptions
func (ListByDataBoxEdgeDeviceOperationOptions) ToHeaders ¶
func (o ListByDataBoxEdgeDeviceOperationOptions) ToHeaders() *client.Headers
func (ListByDataBoxEdgeDeviceOperationOptions) ToOData ¶
func (o ListByDataBoxEdgeDeviceOperationOptions) ToOData() *odata.Query
func (ListByDataBoxEdgeDeviceOperationOptions) ToQuery ¶
func (o ListByDataBoxEdgeDeviceOperationOptions) ToQuery() *client.QueryParams
type PeriodicTimerEventTrigger ¶
type PeriodicTimerEventTrigger struct { Properties PeriodicTimerProperties `json:"properties"` // Fields inherited from Trigger Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (PeriodicTimerEventTrigger) MarshalJSON ¶
func (s PeriodicTimerEventTrigger) MarshalJSON() ([]byte, error)
type PeriodicTimerProperties ¶
type PeriodicTimerProperties struct { CustomContextTag *string `json:"customContextTag,omitempty"` SinkInfo RoleSinkInfo `json:"sinkInfo"` SourceInfo PeriodicTimerSourceInfo `json:"sourceInfo"` }
type PeriodicTimerSourceInfo ¶
type PeriodicTimerSourceInfo struct { Schedule string `json:"schedule"` StartTime string `json:"startTime"` Topic *string `json:"topic,omitempty"` }
func (*PeriodicTimerSourceInfo) GetStartTimeAsTime ¶
func (o *PeriodicTimerSourceInfo) GetStartTimeAsTime() (*time.Time, error)
func (*PeriodicTimerSourceInfo) SetStartTimeAsTime ¶
func (o *PeriodicTimerSourceInfo) SetStartTimeAsTime(input time.Time)
type RawTriggerImpl ¶ added in v0.20230807.1063129
RawModeOfTransitImpl 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).
type RoleSinkInfo ¶
type RoleSinkInfo struct {
RoleId string `json:"roleId"`
}
type TriggerEventType ¶
type TriggerEventType string
const ( TriggerEventTypeFileEvent TriggerEventType = "FileEvent" TriggerEventTypePeriodicTimerEvent TriggerEventType = "PeriodicTimerEvent" )
func (*TriggerEventType) UnmarshalJSON ¶
func (s *TriggerEventType) UnmarshalJSON(bytes []byte) error
type TriggerId ¶
type TriggerId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string TriggerName string }
TriggerId is a struct representing the Resource ID for a Trigger
func NewTriggerID ¶
func NewTriggerID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName 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 TriggerOperationPredicate ¶
type TriggerOperationPredicate struct { }
func (TriggerOperationPredicate) Matches ¶
func (p TriggerOperationPredicate) Matches(input Trigger) bool
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 Trigger) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TriggersClient) CreateOrUpdateThenPoll ¶
func (c TriggersClient) CreateOrUpdateThenPoll(ctx context.Context, id TriggerId, input Trigger) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (TriggersClient) Delete ¶
func (c TriggersClient) Delete(ctx context.Context, id TriggerId) (result DeleteOperationResponse, err error)
Delete ...
func (TriggersClient) DeleteThenPoll ¶
func (c TriggersClient) DeleteThenPoll(ctx context.Context, id TriggerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TriggersClient) Get ¶
func (c TriggersClient) Get(ctx context.Context, id TriggerId) (result GetOperationResponse, err error)
Get ...
func (TriggersClient) ListByDataBoxEdgeDevice ¶
func (c TriggersClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId, options ListByDataBoxEdgeDeviceOperationOptions) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (TriggersClient) ListByDataBoxEdgeDeviceComplete ¶
func (c TriggersClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId, options ListByDataBoxEdgeDeviceOperationOptions) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (TriggersClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c TriggersClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, options ListByDataBoxEdgeDeviceOperationOptions, predicate TriggerOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_databoxedgedevice.go
- id_trigger.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbydataboxedgedevice.go
- model_fileeventtrigger.go
- model_filesourceinfo.go
- model_filetriggerproperties.go
- model_periodictimereventtrigger.go
- model_periodictimerproperties.go
- model_periodictimersourceinfo.go
- model_rolesinkinfo.go
- model_trigger.go
- predicates.go
- version.go