Documentation ¶
Index ¶
- func PossibleValuesForChangeDetectionMode() []string
- func ValidateCloudEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSyncGroupID(input interface{}, key string) (warnings []string, errors []error)
- type BackupRequest
- type ChangeDetectionMode
- type CloudEndpoint
- type CloudEndpointArray
- type CloudEndpointCreateParameters
- type CloudEndpointCreateParametersProperties
- type CloudEndpointId
- type CloudEndpointProperties
- type CloudEndpointResourceClient
- func (c CloudEndpointResourceClient) CloudEndpointsCreate(ctx context.Context, id CloudEndpointId, input CloudEndpointCreateParameters) (result CloudEndpointsCreateOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsCreateThenPoll(ctx context.Context, id CloudEndpointId, input CloudEndpointCreateParameters) error
- func (c CloudEndpointResourceClient) CloudEndpointsDelete(ctx context.Context, id CloudEndpointId) (result CloudEndpointsDeleteOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsDeleteThenPoll(ctx context.Context, id CloudEndpointId) error
- func (c CloudEndpointResourceClient) CloudEndpointsGet(ctx context.Context, id CloudEndpointId) (result CloudEndpointsGetOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsListBySyncGroup(ctx context.Context, id SyncGroupId) (result CloudEndpointsListBySyncGroupOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsPostBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPostBackupOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsPostBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
- func (c CloudEndpointResourceClient) CloudEndpointsPostRestore(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) (result CloudEndpointsPostRestoreOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsPostRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) error
- func (c CloudEndpointResourceClient) CloudEndpointsPreBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPreBackupOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsPreBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
- func (c CloudEndpointResourceClient) CloudEndpointsPreRestore(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) (result CloudEndpointsPreRestoreOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsPreRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) error
- func (c CloudEndpointResourceClient) CloudEndpointsTriggerChangeDetection(ctx context.Context, id CloudEndpointId, ...) (result CloudEndpointsTriggerChangeDetectionOperationResponse, err error)
- func (c CloudEndpointResourceClient) CloudEndpointsTriggerChangeDetectionThenPoll(ctx context.Context, id CloudEndpointId, ...) error
- func (c CloudEndpointResourceClient) CloudEndpointsrestoreheartbeat(ctx context.Context, id CloudEndpointId) (result CloudEndpointsrestoreheartbeatOperationResponse, err error)
- type CloudEndpointsCreateOperationResponse
- type CloudEndpointsDeleteOperationResponse
- type CloudEndpointsGetOperationResponse
- type CloudEndpointsListBySyncGroupOperationResponse
- type CloudEndpointsPostBackupOperationResponse
- type CloudEndpointsPostRestoreOperationResponse
- type CloudEndpointsPreBackupOperationResponse
- type CloudEndpointsPreRestoreOperationResponse
- type CloudEndpointsTriggerChangeDetectionOperationResponse
- type CloudEndpointsrestoreheartbeatOperationResponse
- type PostBackupResponse
- type PostBackupResponseProperties
- type PostRestoreRequest
- type PreRestoreRequest
- type RestoreFileSpec
- type SyncGroupId
- type TriggerChangeDetectionParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForChangeDetectionMode ¶
func PossibleValuesForChangeDetectionMode() []string
func ValidateCloudEndpointID ¶
ValidateCloudEndpointID checks that 'input' can be parsed as a Cloud Endpoint ID
func ValidateSyncGroupID ¶
ValidateSyncGroupID checks that 'input' can be parsed as a Sync Group ID
Types ¶
type BackupRequest ¶
type BackupRequest struct {
}type ChangeDetectionMode ¶
type ChangeDetectionMode string
const ( ChangeDetectionModeDefault ChangeDetectionMode = "Default" ChangeDetectionModeRecursive ChangeDetectionMode = "Recursive" )
func (*ChangeDetectionMode) UnmarshalJSON ¶
func (s *ChangeDetectionMode) UnmarshalJSON(bytes []byte) error
type CloudEndpoint ¶
type CloudEndpoint struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CloudEndpointProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CloudEndpointArray ¶
type CloudEndpointArray struct {
Value *[]CloudEndpoint `json:"value,omitempty"`
}
type CloudEndpointCreateParameters ¶
type CloudEndpointCreateParameters struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CloudEndpointCreateParametersProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CloudEndpointId ¶
type CloudEndpointId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string SyncGroupName string CloudEndpointName string }
CloudEndpointId is a struct representing the Resource ID for a Cloud Endpoint
func NewCloudEndpointID ¶
func NewCloudEndpointID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, syncGroupName string, cloudEndpointName string) CloudEndpointId
NewCloudEndpointID returns a new CloudEndpointId struct
func ParseCloudEndpointID ¶
func ParseCloudEndpointID(input string) (*CloudEndpointId, error)
ParseCloudEndpointID parses 'input' into a CloudEndpointId
func ParseCloudEndpointIDInsensitively ¶
func ParseCloudEndpointIDInsensitively(input string) (*CloudEndpointId, error)
ParseCloudEndpointIDInsensitively parses 'input' case-insensitively into a CloudEndpointId note: this method should only be used for API response data and not user input
func (CloudEndpointId) ID ¶
func (id CloudEndpointId) ID() string
ID returns the formatted Cloud Endpoint ID
func (CloudEndpointId) Segments ¶
func (id CloudEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cloud Endpoint ID
func (CloudEndpointId) String ¶
func (id CloudEndpointId) String() string
String returns a human-readable description of this Cloud Endpoint ID
type CloudEndpointProperties ¶
type CloudEndpointProperties struct { BackupEnabled *string `json:"backupEnabled,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` LastOperationName *string `json:"lastOperationName,omitempty"` LastWorkflowId *string `json:"lastWorkflowId,omitempty"` PartnershipId *string `json:"partnershipId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` StorageAccountResourceId *string `json:"storageAccountResourceId,omitempty"` StorageAccountTenantId *string `json:"storageAccountTenantId,omitempty"` }
type CloudEndpointResourceClient ¶
type CloudEndpointResourceClient struct {
Client *resourcemanager.Client
}
func NewCloudEndpointResourceClientWithBaseURI ¶
func NewCloudEndpointResourceClientWithBaseURI(api environments.Api) (*CloudEndpointResourceClient, error)
func (CloudEndpointResourceClient) CloudEndpointsCreate ¶
func (c CloudEndpointResourceClient) CloudEndpointsCreate(ctx context.Context, id CloudEndpointId, input CloudEndpointCreateParameters) (result CloudEndpointsCreateOperationResponse, err error)
CloudEndpointsCreate ...
func (CloudEndpointResourceClient) CloudEndpointsCreateThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsCreateThenPoll(ctx context.Context, id CloudEndpointId, input CloudEndpointCreateParameters) error
CloudEndpointsCreateThenPoll performs CloudEndpointsCreate then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsDelete ¶
func (c CloudEndpointResourceClient) CloudEndpointsDelete(ctx context.Context, id CloudEndpointId) (result CloudEndpointsDeleteOperationResponse, err error)
CloudEndpointsDelete ...
func (CloudEndpointResourceClient) CloudEndpointsDeleteThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsDeleteThenPoll(ctx context.Context, id CloudEndpointId) error
CloudEndpointsDeleteThenPoll performs CloudEndpointsDelete then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsGet ¶
func (c CloudEndpointResourceClient) CloudEndpointsGet(ctx context.Context, id CloudEndpointId) (result CloudEndpointsGetOperationResponse, err error)
CloudEndpointsGet ...
func (CloudEndpointResourceClient) CloudEndpointsListBySyncGroup ¶
func (c CloudEndpointResourceClient) CloudEndpointsListBySyncGroup(ctx context.Context, id SyncGroupId) (result CloudEndpointsListBySyncGroupOperationResponse, err error)
CloudEndpointsListBySyncGroup ...
func (CloudEndpointResourceClient) CloudEndpointsPostBackup ¶
func (c CloudEndpointResourceClient) CloudEndpointsPostBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPostBackupOperationResponse, err error)
CloudEndpointsPostBackup ...
func (CloudEndpointResourceClient) CloudEndpointsPostBackupThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsPostBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
CloudEndpointsPostBackupThenPoll performs CloudEndpointsPostBackup then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsPostRestore ¶
func (c CloudEndpointResourceClient) CloudEndpointsPostRestore(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) (result CloudEndpointsPostRestoreOperationResponse, err error)
CloudEndpointsPostRestore ...
func (CloudEndpointResourceClient) CloudEndpointsPostRestoreThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsPostRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) error
CloudEndpointsPostRestoreThenPoll performs CloudEndpointsPostRestore then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsPreBackup ¶
func (c CloudEndpointResourceClient) CloudEndpointsPreBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPreBackupOperationResponse, err error)
CloudEndpointsPreBackup ...
func (CloudEndpointResourceClient) CloudEndpointsPreBackupThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsPreBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
CloudEndpointsPreBackupThenPoll performs CloudEndpointsPreBackup then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsPreRestore ¶
func (c CloudEndpointResourceClient) CloudEndpointsPreRestore(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) (result CloudEndpointsPreRestoreOperationResponse, err error)
CloudEndpointsPreRestore ...
func (CloudEndpointResourceClient) CloudEndpointsPreRestoreThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsPreRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) error
CloudEndpointsPreRestoreThenPoll performs CloudEndpointsPreRestore then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsTriggerChangeDetection ¶
func (c CloudEndpointResourceClient) CloudEndpointsTriggerChangeDetection(ctx context.Context, id CloudEndpointId, input TriggerChangeDetectionParameters) (result CloudEndpointsTriggerChangeDetectionOperationResponse, err error)
CloudEndpointsTriggerChangeDetection ...
func (CloudEndpointResourceClient) CloudEndpointsTriggerChangeDetectionThenPoll ¶
func (c CloudEndpointResourceClient) CloudEndpointsTriggerChangeDetectionThenPoll(ctx context.Context, id CloudEndpointId, input TriggerChangeDetectionParameters) error
CloudEndpointsTriggerChangeDetectionThenPoll performs CloudEndpointsTriggerChangeDetection then polls until it's completed
func (CloudEndpointResourceClient) CloudEndpointsrestoreheartbeat ¶
func (c CloudEndpointResourceClient) CloudEndpointsrestoreheartbeat(ctx context.Context, id CloudEndpointId) (result CloudEndpointsrestoreheartbeatOperationResponse, err error)
CloudEndpointsrestoreheartbeat ...
type CloudEndpointsGetOperationResponse ¶
type CloudEndpointsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CloudEndpoint }
type CloudEndpointsListBySyncGroupOperationResponse ¶
type CloudEndpointsListBySyncGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CloudEndpointArray }
type PostBackupResponse ¶
type PostBackupResponse struct {
BackupMetadata *PostBackupResponseProperties `json:"backupMetadata,omitempty"`
}
type PostBackupResponseProperties ¶
type PostBackupResponseProperties struct {
CloudEndpointName *string `json:"cloudEndpointName,omitempty"`
}
type PostRestoreRequest ¶
type PostRestoreRequest struct { FailedFileList *string `json:"failedFileList,omitempty"` Partition *string `json:"partition,omitempty"` ReplicaGroup *string `json:"replicaGroup,omitempty"` RequestId *string `json:"requestId,omitempty"` RestoreFileSpec *[]RestoreFileSpec `json:"restoreFileSpec,omitempty"` Status *string `json:"status,omitempty"` }
type PreRestoreRequest ¶
type PreRestoreRequest struct { BackupMetadataPropertyBag *string `json:"backupMetadataPropertyBag,omitempty"` Partition *string `json:"partition,omitempty"` PauseWaitForSyncDrainTimePeriodInSeconds *int64 `json:"pauseWaitForSyncDrainTimePeriodInSeconds,omitempty"` ReplicaGroup *string `json:"replicaGroup,omitempty"` RequestId *string `json:"requestId,omitempty"` RestoreFileSpec *[]RestoreFileSpec `json:"restoreFileSpec,omitempty"` Status *string `json:"status,omitempty"` }
type RestoreFileSpec ¶
type SyncGroupId ¶
type SyncGroupId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string SyncGroupName string }
SyncGroupId is a struct representing the Resource ID for a Sync Group
func NewSyncGroupID ¶
func NewSyncGroupID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, syncGroupName string) SyncGroupId
NewSyncGroupID returns a new SyncGroupId struct
func ParseSyncGroupID ¶
func ParseSyncGroupID(input string) (*SyncGroupId, error)
ParseSyncGroupID parses 'input' into a SyncGroupId
func ParseSyncGroupIDInsensitively ¶
func ParseSyncGroupIDInsensitively(input string) (*SyncGroupId, error)
ParseSyncGroupIDInsensitively parses 'input' case-insensitively into a SyncGroupId note: this method should only be used for API response data and not user input
func (SyncGroupId) Segments ¶
func (id SyncGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sync Group ID
func (SyncGroupId) String ¶
func (id SyncGroupId) String() string
String returns a human-readable description of this Sync Group ID
type TriggerChangeDetectionParameters ¶
type TriggerChangeDetectionParameters struct { ChangeDetectionMode *ChangeDetectionMode `json:"changeDetectionMode,omitempty"` DirectoryPath *string `json:"directoryPath,omitempty"` Paths *[]string `json:"paths,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_cloudendpoint.go
- id_syncgroup.go
- method_cloudendpointscreate.go
- method_cloudendpointsdelete.go
- method_cloudendpointsget.go
- method_cloudendpointslistbysyncgroup.go
- method_cloudendpointspostbackup.go
- method_cloudendpointspostrestore.go
- method_cloudendpointsprebackup.go
- method_cloudendpointsprerestore.go
- method_cloudendpointsrestoreheartbeat.go
- method_cloudendpointstriggerchangedetection.go
- model_backuprequest.go
- model_cloudendpoint.go
- model_cloudendpointarray.go
- model_cloudendpointcreateparameters.go
- model_cloudendpointcreateparametersproperties.go
- model_cloudendpointproperties.go
- model_postbackupresponse.go
- model_postbackupresponseproperties.go
- model_postrestorerequest.go
- model_prerestorerequest.go
- model_restorefilespec.go
- model_triggerchangedetectionparameters.go
- version.go