Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRecurrenceInterval() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForSynchronizationMode() []string
- func PossibleValuesForTriggerKind() []string
- func PossibleValuesForTriggerStatus() []string
- func ValidateShareSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- type BaseTriggerImpl
- type CreateOperationResponse
- type DataShareErrorInfo
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByShareSubscriptionCompleteResult
- type ListByShareSubscriptionCustomPager
- type ListByShareSubscriptionOperationResponse
- type OperationResponse
- type ProvisioningState
- type RawTriggerImpl
- type RecurrenceInterval
- type ScheduledTrigger
- type ScheduledTriggerProperties
- func (o *ScheduledTriggerProperties) GetCreatedAtAsTime() (*time.Time, error)
- func (o *ScheduledTriggerProperties) GetSynchronizationTimeAsTime() (*time.Time, error)
- func (o *ScheduledTriggerProperties) SetCreatedAtAsTime(input time.Time)
- func (o *ScheduledTriggerProperties) SetSynchronizationTimeAsTime(input time.Time)
- type ShareSubscriptionId
- type Status
- type SynchronizationMode
- type Trigger
- type TriggerClient
- func (c TriggerClient) Create(ctx context.Context, id TriggerId, input Trigger) (result CreateOperationResponse, err error)
- func (c TriggerClient) CreateThenPoll(ctx context.Context, id TriggerId, input Trigger) error
- func (c TriggerClient) Delete(ctx context.Context, id TriggerId) (result DeleteOperationResponse, err error)
- func (c TriggerClient) DeleteThenPoll(ctx context.Context, id TriggerId) error
- func (c TriggerClient) Get(ctx context.Context, id TriggerId) (result GetOperationResponse, err error)
- func (c TriggerClient) ListByShareSubscription(ctx context.Context, id ShareSubscriptionId) (result ListByShareSubscriptionOperationResponse, err error)
- func (c TriggerClient) ListByShareSubscriptionComplete(ctx context.Context, id ShareSubscriptionId) (ListByShareSubscriptionCompleteResult, error)
- func (c TriggerClient) ListByShareSubscriptionCompleteMatchingPredicate(ctx context.Context, id ShareSubscriptionId, ...) (result ListByShareSubscriptionCompleteResult, err error)
- type TriggerId
- type TriggerKind
- type TriggerOperationPredicate
- type TriggerStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRecurrenceInterval ¶
func PossibleValuesForRecurrenceInterval() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForSynchronizationMode ¶
func PossibleValuesForSynchronizationMode() []string
func PossibleValuesForTriggerKind ¶
func PossibleValuesForTriggerKind() []string
func PossibleValuesForTriggerStatus ¶
func PossibleValuesForTriggerStatus() []string
func ValidateShareSubscriptionID ¶
ValidateShareSubscriptionID checks that 'input' can be parsed as a Share Subscription ID
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
Types ¶
type BaseTriggerImpl ¶ added in v0.20240920.1135249
type BaseTriggerImpl struct { Id *string `json:"id,omitempty"` Kind TriggerKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseTriggerImpl) Trigger ¶ added in v0.20240920.1135249
func (s BaseTriggerImpl) Trigger() BaseTriggerImpl
type CreateOperationResponse ¶
type DataShareErrorInfo ¶
type DataShareErrorInfo struct {}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByShareSubscriptionCompleteResult ¶
type ListByShareSubscriptionCompleteResult struct {}
type ListByShareSubscriptionCustomPager ¶ added in v0.20240628.1153531
type ListByShareSubscriptionCustomPager struct {
}func (*ListByShareSubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByShareSubscriptionCustomPager) NextPageLink() *odata.Link
type ListByShareSubscriptionOperationResponse ¶
type ListByShareSubscriptionOperationResponse struct {}
type OperationResponse ¶
type OperationResponse struct { EndTime *string `json:"endTime,omitempty"` Error *DataShareErrorInfo `json:"error,omitempty"` StartTime *string `json:"startTime,omitempty"` Status Status `json:"status"` }
func (*OperationResponse) GetEndTimeAsTime ¶
func (o *OperationResponse) GetEndTimeAsTime() (*time.Time, error)
func (*OperationResponse) GetStartTimeAsTime ¶
func (o *OperationResponse) GetStartTimeAsTime() (*time.Time, error)
func (*OperationResponse) SetEndTimeAsTime ¶
func (o *OperationResponse) SetEndTimeAsTime(input time.Time)
func (*OperationResponse) SetStartTimeAsTime ¶
func (o *OperationResponse) SetStartTimeAsTime(input time.Time)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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 ¶ added in v0.20240920.1135249
func (s RawTriggerImpl) Trigger() BaseTriggerImpl
type RecurrenceInterval ¶
type RecurrenceInterval string
const ( RecurrenceIntervalDay RecurrenceInterval = "Day" RecurrenceIntervalHour RecurrenceInterval = "Hour" )
func (*RecurrenceInterval) UnmarshalJSON ¶
func (s *RecurrenceInterval) UnmarshalJSON(bytes []byte) error
type ScheduledTrigger ¶
type ScheduledTrigger struct { Properties ScheduledTriggerProperties `json:"properties"` Id *string `json:"id,omitempty"` Kind TriggerKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (ScheduledTrigger) MarshalJSON ¶
func (s ScheduledTrigger) MarshalJSON() ([]byte, error)
func (ScheduledTrigger) Trigger ¶ added in v0.20240920.1135249
func (s ScheduledTrigger) Trigger() BaseTriggerImpl
type ScheduledTriggerProperties ¶
type ScheduledTriggerProperties struct { CreatedAt *string `json:"createdAt,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RecurrenceInterval RecurrenceInterval `json:"recurrenceInterval"` SynchronizationMode *SynchronizationMode `json:"synchronizationMode,omitempty"` SynchronizationTime string `json:"synchronizationTime"` TriggerStatus *TriggerStatus `json:"triggerStatus,omitempty"` UserName *string `json:"userName,omitempty"` }
func (*ScheduledTriggerProperties) GetCreatedAtAsTime ¶
func (o *ScheduledTriggerProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*ScheduledTriggerProperties) GetSynchronizationTimeAsTime ¶
func (o *ScheduledTriggerProperties) GetSynchronizationTimeAsTime() (*time.Time, error)
func (*ScheduledTriggerProperties) SetCreatedAtAsTime ¶
func (o *ScheduledTriggerProperties) SetCreatedAtAsTime(input time.Time)
func (*ScheduledTriggerProperties) SetSynchronizationTimeAsTime ¶
func (o *ScheduledTriggerProperties) SetSynchronizationTimeAsTime(input time.Time)
type ShareSubscriptionId ¶
type ShareSubscriptionId struct {}
ShareSubscriptionId is a struct representing the Resource ID for a Share Subscription
func NewShareSubscriptionID ¶
func NewShareSubscriptionID(subscriptionId string, resourceGroupName string, accountName string, shareSubscriptionName string) ShareSubscriptionId
NewShareSubscriptionID returns a new ShareSubscriptionId struct
func ParseShareSubscriptionID ¶
func ParseShareSubscriptionID(input string) (*ShareSubscriptionId, error)
ParseShareSubscriptionID parses 'input' into a ShareSubscriptionId
func ParseShareSubscriptionIDInsensitively ¶
func ParseShareSubscriptionIDInsensitively(input string) (*ShareSubscriptionId, error)
ParseShareSubscriptionIDInsensitively parses 'input' case-insensitively into a ShareSubscriptionId note: this method should only be used for API response data and not user input
func (*ShareSubscriptionId) FromParseResult ¶
func (id *ShareSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (ShareSubscriptionId) ID ¶
func (id ShareSubscriptionId) ID() string
ID returns the formatted Share Subscription ID
func (ShareSubscriptionId) Segments ¶
func (id ShareSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Share Subscription ID
func (ShareSubscriptionId) String ¶
func (id ShareSubscriptionId) String() string
String returns a human-readable description of this Share Subscription ID
type SynchronizationMode ¶
type SynchronizationMode string
const ( SynchronizationModeFullSync SynchronizationMode = "FullSync" SynchronizationModeIncremental SynchronizationMode = "Incremental" )
func (*SynchronizationMode) UnmarshalJSON ¶
func (s *SynchronizationMode) UnmarshalJSON(bytes []byte) error
type Trigger ¶
type Trigger interface {
Trigger() BaseTriggerImpl
}
func UnmarshalTriggerImplementation ¶ added in v0.20240920.1135249
type TriggerClient ¶
type TriggerClient struct {
Client *resourcemanager.Client
}
func NewTriggerClientWithBaseURI ¶
func NewTriggerClientWithBaseURI(sdkApi sdkEnv.Api) (*TriggerClient, error)
func (TriggerClient) Create ¶
func (c TriggerClient) Create(ctx context.Context, id TriggerId, input Trigger) (result CreateOperationResponse, err error)
Create ...
func (TriggerClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (TriggerClient) Delete ¶
func (c TriggerClient) Delete(ctx context.Context, id TriggerId) (result DeleteOperationResponse, err error)
Delete ...
func (TriggerClient) DeleteThenPoll ¶
func (c TriggerClient) DeleteThenPoll(ctx context.Context, id TriggerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TriggerClient) Get ¶
func (c TriggerClient) Get(ctx context.Context, id TriggerId) (result GetOperationResponse, err error)
Get ...
func (TriggerClient) ListByShareSubscription ¶
func (c TriggerClient) ListByShareSubscription(ctx context.Context, id ShareSubscriptionId) (result ListByShareSubscriptionOperationResponse, err error)
ListByShareSubscription ...
func (TriggerClient) ListByShareSubscriptionComplete ¶
func (c TriggerClient) ListByShareSubscriptionComplete(ctx context.Context, id ShareSubscriptionId) (ListByShareSubscriptionCompleteResult, error)
ListByShareSubscriptionComplete retrieves all the results into a single object
func (TriggerClient) ListByShareSubscriptionCompleteMatchingPredicate ¶
func (c TriggerClient) ListByShareSubscriptionCompleteMatchingPredicate(ctx context.Context, id ShareSubscriptionId, predicate TriggerOperationPredicate) (result ListByShareSubscriptionCompleteResult, err error)
ListByShareSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TriggerId ¶
type TriggerId struct { SubscriptionId string ResourceGroupName string AccountName string TriggerName string }
TriggerId is a struct representing the Resource ID for a Trigger
func NewTriggerID ¶
func NewTriggerID(subscriptionId string, resourceGroupName string, accountName string, shareSubscriptionName 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 TriggerKind ¶
type TriggerKind string
const (
TriggerKindScheduleBased TriggerKind = "ScheduleBased"
)
func (*TriggerKind) UnmarshalJSON ¶
func (s *TriggerKind) UnmarshalJSON(bytes []byte) error
type TriggerOperationPredicate ¶
type TriggerOperationPredicate struct { }
func (TriggerOperationPredicate) Matches ¶
func (p TriggerOperationPredicate) Matches(input Trigger) bool
type TriggerStatus ¶
type TriggerStatus string
const ( TriggerStatusActive TriggerStatus = "Active" TriggerStatusInactive TriggerStatus = "Inactive" TriggerStatusSourceSynchronizationSettingDeleted TriggerStatus = "SourceSynchronizationSettingDeleted" )
func (*TriggerStatus) UnmarshalJSON ¶
func (s *TriggerStatus) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_sharesubscription.go
- id_trigger.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbysharesubscription.go
- model_datashareerrorinfo.go
- model_operationresponse.go
- model_scheduledtrigger.go
- model_scheduledtriggerproperties.go
- model_trigger.go
- predicates.go
- version.go