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 CreateOperationResponse
- type DataShareErrorInfo
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByShareSubscriptionCompleteResult
- type ListByShareSubscriptionOperationResponse
- type OperationResponse
- type ProvisioningState
- 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) (resp ListByShareSubscriptionOperationResponse, err error)
- func (c TriggerClient) ListByShareSubscriptionComplete(ctx context.Context, id ShareSubscriptionId) (ListByShareSubscriptionCompleteResult, error)
- func (c TriggerClient) ListByShareSubscriptionCompleteMatchingPredicate(ctx context.Context, id ShareSubscriptionId, ...) (resp 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 CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataShareErrorInfo ¶
type DataShareErrorInfo struct {}
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByShareSubscriptionCompleteResult ¶
type ListByShareSubscriptionCompleteResult struct {
}type ListByShareSubscriptionOperationResponse ¶
type ListByShareSubscriptionOperationResponse struct { // contains filtered or unexported fields }
func (ListByShareSubscriptionOperationResponse) HasMore ¶
func (r ListByShareSubscriptionOperationResponse) HasMore() bool
func (ListByShareSubscriptionOperationResponse) LoadMore ¶
func (r ListByShareSubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListByShareSubscriptionOperationResponse, err error)
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" )
type RecurrenceInterval ¶
type RecurrenceInterval string
const ( RecurrenceIntervalDay RecurrenceInterval = "Day" RecurrenceIntervalHour RecurrenceInterval = "Hour" )
type ScheduledTrigger ¶
type ScheduledTrigger struct { Properties ScheduledTriggerProperties `json:"properties"` // Fields inherited from Trigger Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (ScheduledTrigger) MarshalJSON ¶
func (s ScheduledTrigger) MarshalJSON() ([]byte, error)
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) 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" )
type TriggerClient ¶
func NewTriggerClientWithBaseURI ¶
func NewTriggerClientWithBaseURI(endpoint string) TriggerClient
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) (resp ListByShareSubscriptionOperationResponse, err error)
ListByShareSubscription ...
func (TriggerClient) ListByShareSubscriptionComplete ¶
func (c TriggerClient) ListByShareSubscriptionComplete(ctx context.Context, id ShareSubscriptionId) (ListByShareSubscriptionCompleteResult, error)
ListByShareSubscriptionComplete retrieves all of the results into a single object
func (TriggerClient) ListByShareSubscriptionCompleteMatchingPredicate ¶
func (c TriggerClient) ListByShareSubscriptionCompleteMatchingPredicate(ctx context.Context, id ShareSubscriptionId, predicate TriggerOperationPredicate) (resp ListByShareSubscriptionCompleteResult, err error)
ListByShareSubscriptionCompleteMatchingPredicate retrieves all of the results and then applied 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) 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"
)
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" )
Source Files ¶
- client.go
- constants.go
- id_sharesubscription.go
- id_trigger.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbysharesubscription_autorest.go
- model_datashareerrorinfo.go
- model_operationresponse.go
- model_scheduledtrigger.go
- model_scheduledtriggerproperties.go
- model_trigger.go
- predicates.go
- version.go