Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRecurrenceInterval() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForSynchronizationSettingKind() []string
- func ValidateShareID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSynchronizationSettingID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DataShareErrorInfo
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByShareCompleteResult
- type ListByShareOperationResponse
- type OperationResponse
- type ProvisioningState
- type RawSynchronizationSettingImpl
- type RecurrenceInterval
- type ScheduledSynchronizationSetting
- type ScheduledSynchronizationSettingProperties
- func (o *ScheduledSynchronizationSettingProperties) GetCreatedAtAsTime() (*time.Time, error)
- func (o *ScheduledSynchronizationSettingProperties) GetSynchronizationTimeAsTime() (*time.Time, error)
- func (o *ScheduledSynchronizationSettingProperties) SetCreatedAtAsTime(input time.Time)
- func (o *ScheduledSynchronizationSettingProperties) SetSynchronizationTimeAsTime(input time.Time)
- type ShareId
- type Status
- type SynchronizationSetting
- type SynchronizationSettingClient
- func (c SynchronizationSettingClient) Create(ctx context.Context, id SynchronizationSettingId, input SynchronizationSetting) (result CreateOperationResponse, err error)
- func (c SynchronizationSettingClient) Delete(ctx context.Context, id SynchronizationSettingId) (result DeleteOperationResponse, err error)
- func (c SynchronizationSettingClient) DeleteThenPoll(ctx context.Context, id SynchronizationSettingId) error
- func (c SynchronizationSettingClient) Get(ctx context.Context, id SynchronizationSettingId) (result GetOperationResponse, err error)
- func (c SynchronizationSettingClient) ListByShare(ctx context.Context, id ShareId) (result ListByShareOperationResponse, err error)
- func (c SynchronizationSettingClient) ListByShareComplete(ctx context.Context, id ShareId) (ListByShareCompleteResult, error)
- func (c SynchronizationSettingClient) ListByShareCompleteMatchingPredicate(ctx context.Context, id ShareId, ...) (result ListByShareCompleteResult, err error)
- type SynchronizationSettingId
- func NewSynchronizationSettingID(subscriptionId string, resourceGroupName string, accountName string, ...) SynchronizationSettingId
- func ParseSynchronizationSettingID(input string) (*SynchronizationSettingId, error)
- func ParseSynchronizationSettingIDInsensitively(input string) (*SynchronizationSettingId, error)
- type SynchronizationSettingKind
- type SynchronizationSettingOperationPredicate
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 PossibleValuesForSynchronizationSettingKind ¶
func PossibleValuesForSynchronizationSettingKind() []string
func ValidateShareID ¶
ValidateShareID checks that 'input' can be parsed as a Share ID
func ValidateSynchronizationSettingID ¶
func ValidateSynchronizationSettingID(input interface{}, key string) (warnings []string, errors []error)
ValidateSynchronizationSettingID checks that 'input' can be parsed as a Synchronization Setting ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SynchronizationSetting }
type DataShareErrorInfo ¶
type DataShareErrorInfo struct {}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SynchronizationSetting }
type ListByShareCompleteResult ¶
type ListByShareCompleteResult struct {}
type ListByShareOperationResponse ¶
type ListByShareOperationResponse 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 RawSynchronizationSettingImpl ¶
RawSynchronizationSettingImpl 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 RecurrenceInterval ¶
type RecurrenceInterval string
const ( RecurrenceIntervalDay RecurrenceInterval = "Day" RecurrenceIntervalHour RecurrenceInterval = "Hour" )
func (*RecurrenceInterval) UnmarshalJSON ¶
func (s *RecurrenceInterval) UnmarshalJSON(bytes []byte) error
type ScheduledSynchronizationSetting ¶
type ScheduledSynchronizationSetting struct { Properties ScheduledSynchronizationSettingProperties `json:"properties"` // Fields inherited from SynchronizationSetting Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (ScheduledSynchronizationSetting) MarshalJSON ¶
func (s ScheduledSynchronizationSetting) MarshalJSON() ([]byte, error)
type ScheduledSynchronizationSettingProperties ¶
type ScheduledSynchronizationSettingProperties struct { CreatedAt *string `json:"createdAt,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RecurrenceInterval RecurrenceInterval `json:"recurrenceInterval"` SynchronizationTime string `json:"synchronizationTime"` UserName *string `json:"userName,omitempty"` }
func (*ScheduledSynchronizationSettingProperties) GetCreatedAtAsTime ¶
func (o *ScheduledSynchronizationSettingProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*ScheduledSynchronizationSettingProperties) GetSynchronizationTimeAsTime ¶
func (o *ScheduledSynchronizationSettingProperties) GetSynchronizationTimeAsTime() (*time.Time, error)
func (*ScheduledSynchronizationSettingProperties) SetCreatedAtAsTime ¶
func (o *ScheduledSynchronizationSettingProperties) SetCreatedAtAsTime(input time.Time)
func (*ScheduledSynchronizationSettingProperties) SetSynchronizationTimeAsTime ¶
func (o *ScheduledSynchronizationSettingProperties) SetSynchronizationTimeAsTime(input time.Time)
type ShareId ¶
type ShareId struct {}
ShareId is a struct representing the Resource ID for a Share
func NewShareID ¶
func NewShareID(subscriptionId string, resourceGroupName string, accountName string, shareName string) ShareId
NewShareID returns a new ShareId struct
func ParseShareID ¶
ParseShareID parses 'input' into a ShareId
func ParseShareIDInsensitively ¶
ParseShareIDInsensitively parses 'input' case-insensitively into a ShareId note: this method should only be used for API response data and not user input
func (*ShareId) FromParseResult ¶
func (id *ShareId) FromParseResult(input resourceids.ParseResult) error
func (ShareId) Segments ¶
func (id ShareId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Share ID
type SynchronizationSetting ¶
type SynchronizationSetting interface { }
type SynchronizationSettingClient ¶
type SynchronizationSettingClient struct {
Client *resourcemanager.Client
}
func NewSynchronizationSettingClientWithBaseURI ¶
func NewSynchronizationSettingClientWithBaseURI(sdkApi sdkEnv.Api) (*SynchronizationSettingClient, error)
func (SynchronizationSettingClient) Create ¶
func (c SynchronizationSettingClient) Create(ctx context.Context, id SynchronizationSettingId, input SynchronizationSetting) (result CreateOperationResponse, err error)
Create ...
func (SynchronizationSettingClient) Delete ¶
func (c SynchronizationSettingClient) Delete(ctx context.Context, id SynchronizationSettingId) (result DeleteOperationResponse, err error)
Delete ...
func (SynchronizationSettingClient) DeleteThenPoll ¶
func (c SynchronizationSettingClient) DeleteThenPoll(ctx context.Context, id SynchronizationSettingId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SynchronizationSettingClient) Get ¶
func (c SynchronizationSettingClient) Get(ctx context.Context, id SynchronizationSettingId) (result GetOperationResponse, err error)
Get ...
func (SynchronizationSettingClient) ListByShare ¶
func (c SynchronizationSettingClient) ListByShare(ctx context.Context, id ShareId) (result ListByShareOperationResponse, err error)
ListByShare ...
func (SynchronizationSettingClient) ListByShareComplete ¶
func (c SynchronizationSettingClient) ListByShareComplete(ctx context.Context, id ShareId) (ListByShareCompleteResult, error)
ListByShareComplete retrieves all the results into a single object
func (SynchronizationSettingClient) ListByShareCompleteMatchingPredicate ¶
func (c SynchronizationSettingClient) ListByShareCompleteMatchingPredicate(ctx context.Context, id ShareId, predicate SynchronizationSettingOperationPredicate) (result ListByShareCompleteResult, err error)
ListByShareCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SynchronizationSettingId ¶
type SynchronizationSettingId struct { SubscriptionId string ResourceGroupName string AccountName string SynchronizationSettingName string }
SynchronizationSettingId is a struct representing the Resource ID for a Synchronization Setting
func NewSynchronizationSettingID ¶
func NewSynchronizationSettingID(subscriptionId string, resourceGroupName string, accountName string, shareName string, synchronizationSettingName string) SynchronizationSettingId
NewSynchronizationSettingID returns a new SynchronizationSettingId struct
func ParseSynchronizationSettingID ¶
func ParseSynchronizationSettingID(input string) (*SynchronizationSettingId, error)
ParseSynchronizationSettingID parses 'input' into a SynchronizationSettingId
func ParseSynchronizationSettingIDInsensitively ¶
func ParseSynchronizationSettingIDInsensitively(input string) (*SynchronizationSettingId, error)
ParseSynchronizationSettingIDInsensitively parses 'input' case-insensitively into a SynchronizationSettingId note: this method should only be used for API response data and not user input
func (*SynchronizationSettingId) FromParseResult ¶
func (id *SynchronizationSettingId) FromParseResult(input resourceids.ParseResult) error
func (SynchronizationSettingId) ID ¶
func (id SynchronizationSettingId) ID() string
ID returns the formatted Synchronization Setting ID
func (SynchronizationSettingId) Segments ¶
func (id SynchronizationSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Synchronization Setting ID
func (SynchronizationSettingId) String ¶
func (id SynchronizationSettingId) String() string
String returns a human-readable description of this Synchronization Setting ID
type SynchronizationSettingKind ¶
type SynchronizationSettingKind string
const (
SynchronizationSettingKindScheduleBased SynchronizationSettingKind = "ScheduleBased"
)
func (*SynchronizationSettingKind) UnmarshalJSON ¶
func (s *SynchronizationSettingKind) UnmarshalJSON(bytes []byte) error
type SynchronizationSettingOperationPredicate ¶
type SynchronizationSettingOperationPredicate struct { }
func (SynchronizationSettingOperationPredicate) Matches ¶
func (p SynchronizationSettingOperationPredicate) Matches(input SynchronizationSetting) bool
Source Files ¶
- client.go
- constants.go
- id_share.go
- id_synchronizationsetting.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyshare.go
- model_datashareerrorinfo.go
- model_operationresponse.go
- model_scheduledsynchronizationsetting.go
- model_scheduledsynchronizationsettingproperties.go
- model_synchronizationsetting.go
- predicates.go
- version.go