Documentation ¶
Index ¶
- func ValidateCloudEndpointID(input interface{}, key string) (warnings []string, errors []error)
- type BackupRequest
- type BackupRestoreClient
- func (c BackupRestoreClient) CloudEndpointsPostBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPostBackupOperationResponse, err error)
- func (c BackupRestoreClient) CloudEndpointsPostBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
- func (c BackupRestoreClient) CloudEndpointsPostRestore(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) (result CloudEndpointsPostRestoreOperationResponse, err error)
- func (c BackupRestoreClient) CloudEndpointsPostRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) error
- func (c BackupRestoreClient) CloudEndpointsPreBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPreBackupOperationResponse, err error)
- func (c BackupRestoreClient) CloudEndpointsPreBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
- func (c BackupRestoreClient) CloudEndpointsPreRestore(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) (result CloudEndpointsPreRestoreOperationResponse, err error)
- func (c BackupRestoreClient) CloudEndpointsPreRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) error
- func (c BackupRestoreClient) CloudEndpointsrestoreheartbeat(ctx context.Context, id CloudEndpointId) (result CloudEndpointsrestoreheartbeatOperationResponse, err error)
- type CloudEndpointId
- type CloudEndpointsPostBackupOperationResponse
- type CloudEndpointsPostRestoreOperationResponse
- type CloudEndpointsPreBackupOperationResponse
- type CloudEndpointsPreRestoreOperationResponse
- type CloudEndpointsrestoreheartbeatOperationResponse
- type PostBackupResponse
- type PostBackupResponseProperties
- type PostRestoreRequest
- type PreRestoreRequest
- type RestoreFileSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCloudEndpointID ¶
ValidateCloudEndpointID checks that 'input' can be parsed as a Cloud Endpoint ID
Types ¶
type BackupRequest ¶
type BackupRequest struct {
}type BackupRestoreClient ¶
type BackupRestoreClient struct {
Client *resourcemanager.Client
}
func NewBackupRestoreClientWithBaseURI ¶
func NewBackupRestoreClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupRestoreClient, error)
func (BackupRestoreClient) CloudEndpointsPostBackup ¶
func (c BackupRestoreClient) CloudEndpointsPostBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPostBackupOperationResponse, err error)
CloudEndpointsPostBackup ...
func (BackupRestoreClient) CloudEndpointsPostBackupThenPoll ¶
func (c BackupRestoreClient) CloudEndpointsPostBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
CloudEndpointsPostBackupThenPoll performs CloudEndpointsPostBackup then polls until it's completed
func (BackupRestoreClient) CloudEndpointsPostRestore ¶
func (c BackupRestoreClient) CloudEndpointsPostRestore(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) (result CloudEndpointsPostRestoreOperationResponse, err error)
CloudEndpointsPostRestore ...
func (BackupRestoreClient) CloudEndpointsPostRestoreThenPoll ¶
func (c BackupRestoreClient) CloudEndpointsPostRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) error
CloudEndpointsPostRestoreThenPoll performs CloudEndpointsPostRestore then polls until it's completed
func (BackupRestoreClient) CloudEndpointsPreBackup ¶
func (c BackupRestoreClient) CloudEndpointsPreBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPreBackupOperationResponse, err error)
CloudEndpointsPreBackup ...
func (BackupRestoreClient) CloudEndpointsPreBackupThenPoll ¶
func (c BackupRestoreClient) CloudEndpointsPreBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
CloudEndpointsPreBackupThenPoll performs CloudEndpointsPreBackup then polls until it's completed
func (BackupRestoreClient) CloudEndpointsPreRestore ¶
func (c BackupRestoreClient) CloudEndpointsPreRestore(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) (result CloudEndpointsPreRestoreOperationResponse, err error)
CloudEndpointsPreRestore ...
func (BackupRestoreClient) CloudEndpointsPreRestoreThenPoll ¶
func (c BackupRestoreClient) CloudEndpointsPreRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) error
CloudEndpointsPreRestoreThenPoll performs CloudEndpointsPreRestore then polls until it's completed
func (BackupRestoreClient) CloudEndpointsrestoreheartbeat ¶
func (c BackupRestoreClient) CloudEndpointsrestoreheartbeat(ctx context.Context, id CloudEndpointId) (result CloudEndpointsrestoreheartbeatOperationResponse, err error)
CloudEndpointsrestoreheartbeat ...
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) FromParseResult ¶
func (id *CloudEndpointId) FromParseResult(input resourceids.ParseResult) error
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 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 ¶
Source Files ¶
- client.go
- id_cloudendpoint.go
- method_cloudendpointspostbackup.go
- method_cloudendpointspostrestore.go
- method_cloudendpointsprebackup.go
- method_cloudendpointsprerestore.go
- method_cloudendpointsrestoreheartbeat.go
- model_backuprequest.go
- model_postbackupresponse.go
- model_postbackupresponseproperties.go
- model_postrestorerequest.go
- model_prerestorerequest.go
- model_restorefilespec.go
- version.go