Documentation ¶
Index ¶
- func PossibleValuesForChangeDetectionMode() []string
- func ValidateCloudEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegisteredServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkflowID(input interface{}, key string) (warnings []string, errors []error)
- type ActionsClient
- func (c ActionsClient) CloudEndpointsPostBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPostBackupOperationResponse, err error)
- func (c ActionsClient) CloudEndpointsPostBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
- func (c ActionsClient) CloudEndpointsPostRestore(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) (result CloudEndpointsPostRestoreOperationResponse, err error)
- func (c ActionsClient) CloudEndpointsPostRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) error
- func (c ActionsClient) CloudEndpointsPreBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPreBackupOperationResponse, err error)
- func (c ActionsClient) CloudEndpointsPreBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
- func (c ActionsClient) CloudEndpointsPreRestore(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) (result CloudEndpointsPreRestoreOperationResponse, err error)
- func (c ActionsClient) CloudEndpointsPreRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) error
- func (c ActionsClient) CloudEndpointsTriggerChangeDetection(ctx context.Context, id CloudEndpointId, ...) (result CloudEndpointsTriggerChangeDetectionOperationResponse, err error)
- func (c ActionsClient) CloudEndpointsTriggerChangeDetectionThenPoll(ctx context.Context, id CloudEndpointId, ...) error
- func (c ActionsClient) CloudEndpointsrestoreheartbeat(ctx context.Context, id CloudEndpointId) (result CloudEndpointsrestoreheartbeatOperationResponse, err error)
- func (c ActionsClient) RegisteredServerstriggerRollover(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) (result RegisteredServerstriggerRolloverOperationResponse, err error)
- func (c ActionsClient) RegisteredServerstriggerRolloverThenPoll(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) error
- func (c ActionsClient) ServerEndpointsrecallAction(ctx context.Context, id ServerEndpointId, input RecallActionParameters) (result ServerEndpointsrecallActionOperationResponse, err error)
- func (c ActionsClient) ServerEndpointsrecallActionThenPoll(ctx context.Context, id ServerEndpointId, input RecallActionParameters) error
- func (c ActionsClient) WorkflowsAbort(ctx context.Context, id WorkflowId) (result WorkflowsAbortOperationResponse, err error)
- type BackupRequest
- type ChangeDetectionMode
- type CloudEndpointId
- type CloudEndpointsPostBackupOperationResponse
- type CloudEndpointsPostRestoreOperationResponse
- type CloudEndpointsPreBackupOperationResponse
- type CloudEndpointsPreRestoreOperationResponse
- type CloudEndpointsTriggerChangeDetectionOperationResponse
- type CloudEndpointsrestoreheartbeatOperationResponse
- type PostBackupResponse
- type PostBackupResponseProperties
- type PostRestoreRequest
- type PreRestoreRequest
- type RecallActionParameters
- type RegisteredServerId
- type RegisteredServerstriggerRolloverOperationResponse
- type RestoreFileSpec
- type ServerEndpointId
- type ServerEndpointsrecallActionOperationResponse
- type TriggerChangeDetectionParameters
- type TriggerRolloverRequest
- type WorkflowId
- type WorkflowsAbortOperationResponse
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 ValidateRegisteredServerID ¶
ValidateRegisteredServerID checks that 'input' can be parsed as a Registered Server ID
func ValidateServerEndpointID ¶
ValidateServerEndpointID checks that 'input' can be parsed as a Server Endpoint ID
func ValidateWorkflowID ¶
ValidateWorkflowID checks that 'input' can be parsed as a Workflow ID
Types ¶
type ActionsClient ¶
type ActionsClient struct {
Client *resourcemanager.Client
}
func NewActionsClientWithBaseURI ¶
func NewActionsClientWithBaseURI(api environments.Api) (*ActionsClient, error)
func (ActionsClient) CloudEndpointsPostBackup ¶
func (c ActionsClient) CloudEndpointsPostBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPostBackupOperationResponse, err error)
CloudEndpointsPostBackup ...
func (ActionsClient) CloudEndpointsPostBackupThenPoll ¶
func (c ActionsClient) CloudEndpointsPostBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
CloudEndpointsPostBackupThenPoll performs CloudEndpointsPostBackup then polls until it's completed
func (ActionsClient) CloudEndpointsPostRestore ¶
func (c ActionsClient) CloudEndpointsPostRestore(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) (result CloudEndpointsPostRestoreOperationResponse, err error)
CloudEndpointsPostRestore ...
func (ActionsClient) CloudEndpointsPostRestoreThenPoll ¶
func (c ActionsClient) CloudEndpointsPostRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PostRestoreRequest) error
CloudEndpointsPostRestoreThenPoll performs CloudEndpointsPostRestore then polls until it's completed
func (ActionsClient) CloudEndpointsPreBackup ¶
func (c ActionsClient) CloudEndpointsPreBackup(ctx context.Context, id CloudEndpointId, input BackupRequest) (result CloudEndpointsPreBackupOperationResponse, err error)
CloudEndpointsPreBackup ...
func (ActionsClient) CloudEndpointsPreBackupThenPoll ¶
func (c ActionsClient) CloudEndpointsPreBackupThenPoll(ctx context.Context, id CloudEndpointId, input BackupRequest) error
CloudEndpointsPreBackupThenPoll performs CloudEndpointsPreBackup then polls until it's completed
func (ActionsClient) CloudEndpointsPreRestore ¶
func (c ActionsClient) CloudEndpointsPreRestore(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) (result CloudEndpointsPreRestoreOperationResponse, err error)
CloudEndpointsPreRestore ...
func (ActionsClient) CloudEndpointsPreRestoreThenPoll ¶
func (c ActionsClient) CloudEndpointsPreRestoreThenPoll(ctx context.Context, id CloudEndpointId, input PreRestoreRequest) error
CloudEndpointsPreRestoreThenPoll performs CloudEndpointsPreRestore then polls until it's completed
func (ActionsClient) CloudEndpointsTriggerChangeDetection ¶
func (c ActionsClient) CloudEndpointsTriggerChangeDetection(ctx context.Context, id CloudEndpointId, input TriggerChangeDetectionParameters) (result CloudEndpointsTriggerChangeDetectionOperationResponse, err error)
CloudEndpointsTriggerChangeDetection ...
func (ActionsClient) CloudEndpointsTriggerChangeDetectionThenPoll ¶
func (c ActionsClient) CloudEndpointsTriggerChangeDetectionThenPoll(ctx context.Context, id CloudEndpointId, input TriggerChangeDetectionParameters) error
CloudEndpointsTriggerChangeDetectionThenPoll performs CloudEndpointsTriggerChangeDetection then polls until it's completed
func (ActionsClient) CloudEndpointsrestoreheartbeat ¶
func (c ActionsClient) CloudEndpointsrestoreheartbeat(ctx context.Context, id CloudEndpointId) (result CloudEndpointsrestoreheartbeatOperationResponse, err error)
CloudEndpointsrestoreheartbeat ...
func (ActionsClient) RegisteredServerstriggerRollover ¶
func (c ActionsClient) RegisteredServerstriggerRollover(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) (result RegisteredServerstriggerRolloverOperationResponse, err error)
RegisteredServerstriggerRollover ...
func (ActionsClient) RegisteredServerstriggerRolloverThenPoll ¶
func (c ActionsClient) RegisteredServerstriggerRolloverThenPoll(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) error
RegisteredServerstriggerRolloverThenPoll performs RegisteredServerstriggerRollover then polls until it's completed
func (ActionsClient) ServerEndpointsrecallAction ¶
func (c ActionsClient) ServerEndpointsrecallAction(ctx context.Context, id ServerEndpointId, input RecallActionParameters) (result ServerEndpointsrecallActionOperationResponse, err error)
ServerEndpointsrecallAction ...
func (ActionsClient) ServerEndpointsrecallActionThenPoll ¶
func (c ActionsClient) ServerEndpointsrecallActionThenPoll(ctx context.Context, id ServerEndpointId, input RecallActionParameters) error
ServerEndpointsrecallActionThenPoll performs ServerEndpointsrecallAction then polls until it's completed
func (ActionsClient) WorkflowsAbort ¶
func (c ActionsClient) WorkflowsAbort(ctx context.Context, id WorkflowId) (result WorkflowsAbortOperationResponse, err error)
WorkflowsAbort ...
type BackupRequest ¶
type BackupRequest struct {
}type ChangeDetectionMode ¶
type ChangeDetectionMode string
const ( ChangeDetectionModeDefault ChangeDetectionMode = "Default" ChangeDetectionModeRecursive ChangeDetectionMode = "Recursive" )
func (*ChangeDetectionMode) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ChangeDetectionMode) UnmarshalJSON(bytes []byte) error
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 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 RecallActionParameters ¶
type RegisteredServerId ¶
type RegisteredServerId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string ServerId string }
RegisteredServerId is a struct representing the Resource ID for a Registered Server
func NewRegisteredServerID ¶
func NewRegisteredServerID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, serverId string) RegisteredServerId
NewRegisteredServerID returns a new RegisteredServerId struct
func ParseRegisteredServerID ¶
func ParseRegisteredServerID(input string) (*RegisteredServerId, error)
ParseRegisteredServerID parses 'input' into a RegisteredServerId
func ParseRegisteredServerIDInsensitively ¶
func ParseRegisteredServerIDInsensitively(input string) (*RegisteredServerId, error)
ParseRegisteredServerIDInsensitively parses 'input' case-insensitively into a RegisteredServerId note: this method should only be used for API response data and not user input
func (RegisteredServerId) ID ¶
func (id RegisteredServerId) ID() string
ID returns the formatted Registered Server ID
func (RegisteredServerId) Segments ¶
func (id RegisteredServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registered Server ID
func (RegisteredServerId) String ¶
func (id RegisteredServerId) String() string
String returns a human-readable description of this Registered Server ID
type RestoreFileSpec ¶
type ServerEndpointId ¶
type ServerEndpointId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string SyncGroupName string ServerEndpointName string }
ServerEndpointId is a struct representing the Resource ID for a Server Endpoint
func NewServerEndpointID ¶
func NewServerEndpointID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, syncGroupName string, serverEndpointName string) ServerEndpointId
NewServerEndpointID returns a new ServerEndpointId struct
func ParseServerEndpointID ¶
func ParseServerEndpointID(input string) (*ServerEndpointId, error)
ParseServerEndpointID parses 'input' into a ServerEndpointId
func ParseServerEndpointIDInsensitively ¶
func ParseServerEndpointIDInsensitively(input string) (*ServerEndpointId, error)
ParseServerEndpointIDInsensitively parses 'input' case-insensitively into a ServerEndpointId note: this method should only be used for API response data and not user input
func (ServerEndpointId) ID ¶
func (id ServerEndpointId) ID() string
ID returns the formatted Server Endpoint ID
func (ServerEndpointId) Segments ¶
func (id ServerEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server Endpoint ID
func (ServerEndpointId) String ¶
func (id ServerEndpointId) String() string
String returns a human-readable description of this Server Endpoint ID
type TriggerChangeDetectionParameters ¶
type TriggerChangeDetectionParameters struct { ChangeDetectionMode *ChangeDetectionMode `json:"changeDetectionMode,omitempty"` DirectoryPath *string `json:"directoryPath,omitempty"` Paths *[]string `json:"paths,omitempty"` }
type TriggerRolloverRequest ¶
type TriggerRolloverRequest struct {
ServerCertificate *string `json:"serverCertificate,omitempty"`
}
type WorkflowId ¶
type WorkflowId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string WorkflowId string }
WorkflowId is a struct representing the Resource ID for a Workflow
func NewWorkflowID ¶
func NewWorkflowID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, workflowId string) WorkflowId
NewWorkflowID returns a new WorkflowId struct
func ParseWorkflowID ¶
func ParseWorkflowID(input string) (*WorkflowId, error)
ParseWorkflowID parses 'input' into a WorkflowId
func ParseWorkflowIDInsensitively ¶
func ParseWorkflowIDInsensitively(input string) (*WorkflowId, error)
ParseWorkflowIDInsensitively parses 'input' case-insensitively into a WorkflowId note: this method should only be used for API response data and not user input
func (WorkflowId) Segments ¶
func (id WorkflowId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workflow ID
func (WorkflowId) String ¶
func (id WorkflowId) String() string
String returns a human-readable description of this Workflow ID
Source Files ¶
- client.go
- constants.go
- id_cloudendpoint.go
- id_registeredserver.go
- id_serverendpoint.go
- id_workflow.go
- method_cloudendpointspostbackup.go
- method_cloudendpointspostrestore.go
- method_cloudendpointsprebackup.go
- method_cloudendpointsprerestore.go
- method_cloudendpointsrestoreheartbeat.go
- method_cloudendpointstriggerchangedetection.go
- method_registeredserverstriggerrollover.go
- method_serverendpointsrecallaction.go
- method_workflowsabort.go
- model_backuprequest.go
- model_postbackupresponse.go
- model_postbackupresponseproperties.go
- model_postrestorerequest.go
- model_prerestorerequest.go
- model_recallactionparameters.go
- model_restorefilespec.go
- model_triggerchangedetectionparameters.go
- model_triggerrolloverrequest.go
- version.go