Documentation ¶
Index ¶
- func PossibleValuesForCopyOptions() []string
- func PossibleValuesForOverwriteOptions() []string
- func PossibleValuesForRecoveryMode() []string
- func PossibleValuesForRecoveryType() []string
- func PossibleValuesForRehydrationPriority() []string
- func PossibleValuesForRestoreRequestType() []string
- func PossibleValuesForSQLDataDirectoryType() []string
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileShareRestoreRequest
- type AzureWorkloadPointInTimeRestoreRequest
- type AzureWorkloadRestoreRequest
- type AzureWorkloadSAPHanaRestoreRequest
- type AzureWorkloadSQLRestoreRequest
- type CopyOptions
- type EncryptionDetails
- type IaasVMRestoreRequest
- type IaasVMRestoreWithRehydrationRequest
- type IdentityBasedRestoreDetails
- type IdentityInfo
- type OverwriteOptions
- type RecoveryMode
- type RecoveryPointRehydrationInfo
- type RecoveryType
- type RehydrationPriority
- type RestoreFileSpecs
- type RestoreRequest
- type RestoreRequestType
- type SQLDataDirectoryMapping
- type SQLDataDirectoryType
- type TargetAFSRestoreInfo
- type TargetRestoreInfo
- type TriggerOperationResponse
- type ValidateIaasVMRestoreOperationRequest
- type ValidateOperationClient
- type ValidateOperationRequest
- type ValidateRestoreOperationRequest
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCopyOptions ¶
func PossibleValuesForCopyOptions() []string
func PossibleValuesForOverwriteOptions ¶
func PossibleValuesForOverwriteOptions() []string
func PossibleValuesForRecoveryMode ¶
func PossibleValuesForRecoveryMode() []string
func PossibleValuesForRecoveryType ¶
func PossibleValuesForRecoveryType() []string
func PossibleValuesForRehydrationPriority ¶
func PossibleValuesForRehydrationPriority() []string
func PossibleValuesForRestoreRequestType ¶
func PossibleValuesForRestoreRequestType() []string
func PossibleValuesForSQLDataDirectoryType ¶
func PossibleValuesForSQLDataDirectoryType() []string
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type AzureFileShareRestoreRequest ¶
type AzureFileShareRestoreRequest struct {}
func (AzureFileShareRestoreRequest) MarshalJSON ¶
func (s AzureFileShareRestoreRequest) MarshalJSON() ([]byte, error)
type AzureWorkloadPointInTimeRestoreRequest ¶
type AzureWorkloadPointInTimeRestoreRequest struct { PointInTime *string `json:"pointInTime,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` }
func (AzureWorkloadPointInTimeRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadPointInTimeRestoreRequest) MarshalJSON() ([]byte, error)
type AzureWorkloadRestoreRequest ¶
type AzureWorkloadRestoreRequest struct { PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` }
func (AzureWorkloadRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadRestoreRequest) MarshalJSON() ([]byte, error)
type AzureWorkloadSAPHanaRestoreRequest ¶
type AzureWorkloadSAPHanaRestoreRequest struct { PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` }
func (AzureWorkloadSAPHanaRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadSAPHanaRestoreRequest) MarshalJSON() ([]byte, error)
type AzureWorkloadSQLRestoreRequest ¶
type AzureWorkloadSQLRestoreRequest struct { AlternateDirectoryPaths *[]SQLDataDirectoryMapping `json:"alternateDirectoryPaths,omitempty"` IsNonRecoverable *bool `json:"isNonRecoverable,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` ShouldUseAlternateTargetLocation *bool `json:"shouldUseAlternateTargetLocation,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` }
func (AzureWorkloadSQLRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadSQLRestoreRequest) MarshalJSON() ([]byte, error)
type CopyOptions ¶
type CopyOptions string
const ( CopyOptionsCreateCopy CopyOptions = "CreateCopy" CopyOptionsFailOnConflict CopyOptions = "FailOnConflict" CopyOptionsInvalid CopyOptions = "Invalid" CopyOptionsOverwrite CopyOptions = "Overwrite" CopyOptionsSkip CopyOptions = "Skip" )
type EncryptionDetails ¶
type IaasVMRestoreRequest ¶
type IaasVMRestoreRequest struct { AffinityGroup *string `json:"affinityGroup,omitempty"` CreateNewCloudService *bool `json:"createNewCloudService,omitempty"` DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` EncryptionDetails *EncryptionDetails `json:"encryptionDetails,omitempty"` IdentityBasedRestoreDetails *IdentityBasedRestoreDetails `json:"identityBasedRestoreDetails,omitempty"` IdentityInfo *IdentityInfo `json:"identityInfo,omitempty"` OriginalStorageAccountOption *bool `json:"originalStorageAccountOption,omitempty"` RecoveryPointId *string `json:"recoveryPointId,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` Region *string `json:"region,omitempty"` RestoreDiskLunList *[]int64 `json:"restoreDiskLunList,omitempty"` RestoreWithManagedDisks *bool `json:"restoreWithManagedDisks,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TargetDomainNameId *string `json:"targetDomainNameId,omitempty"` TargetResourceGroupId *string `json:"targetResourceGroupId,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
func (IaasVMRestoreRequest) MarshalJSON ¶
func (s IaasVMRestoreRequest) MarshalJSON() ([]byte, error)
type IaasVMRestoreWithRehydrationRequest ¶
type IaasVMRestoreWithRehydrationRequest struct { AffinityGroup *string `json:"affinityGroup,omitempty"` CreateNewCloudService *bool `json:"createNewCloudService,omitempty"` DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` EncryptionDetails *EncryptionDetails `json:"encryptionDetails,omitempty"` IdentityBasedRestoreDetails *IdentityBasedRestoreDetails `json:"identityBasedRestoreDetails,omitempty"` IdentityInfo *IdentityInfo `json:"identityInfo,omitempty"` OriginalStorageAccountOption *bool `json:"originalStorageAccountOption,omitempty"` RecoveryPointId *string `json:"recoveryPointId,omitempty"` RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo `json:"recoveryPointRehydrationInfo,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` Region *string `json:"region,omitempty"` RestoreDiskLunList *[]int64 `json:"restoreDiskLunList,omitempty"` RestoreWithManagedDisks *bool `json:"restoreWithManagedDisks,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TargetDomainNameId *string `json:"targetDomainNameId,omitempty"` TargetResourceGroupId *string `json:"targetResourceGroupId,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
func (IaasVMRestoreWithRehydrationRequest) MarshalJSON ¶
func (s IaasVMRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)
type IdentityInfo ¶
type OverwriteOptions ¶
type OverwriteOptions string
const ( OverwriteOptionsFailOnConflict OverwriteOptions = "FailOnConflict" OverwriteOptionsInvalid OverwriteOptions = "Invalid" OverwriteOptionsOverwrite OverwriteOptions = "Overwrite" )
type RecoveryMode ¶
type RecoveryMode string
const ( RecoveryModeFileRecovery RecoveryMode = "FileRecovery" RecoveryModeInvalid RecoveryMode = "Invalid" RecoveryModeWorkloadRecovery RecoveryMode = "WorkloadRecovery" )
type RecoveryPointRehydrationInfo ¶
type RecoveryPointRehydrationInfo struct { RehydrationPriority *RehydrationPriority `json:"rehydrationPriority,omitempty"` RehydrationRetentionDuration *string `json:"rehydrationRetentionDuration,omitempty"` }
type RecoveryType ¶
type RecoveryType string
const ( RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation" RecoveryTypeInvalid RecoveryType = "Invalid" RecoveryTypeOffline RecoveryType = "Offline" RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation" RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks" )
type RehydrationPriority ¶
type RehydrationPriority string
const ( RehydrationPriorityHigh RehydrationPriority = "High" RehydrationPriorityStandard RehydrationPriority = "Standard" )
type RestoreFileSpecs ¶
type RestoreRequest ¶
type RestoreRequest interface { }
type RestoreRequestType ¶
type RestoreRequestType string
const ( RestoreRequestTypeInvalid RestoreRequestType = "Invalid" RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore" )
type SQLDataDirectoryMapping ¶
type SQLDataDirectoryMapping struct { MappingType *SQLDataDirectoryType `json:"mappingType,omitempty"` SourceLogicalName *string `json:"sourceLogicalName,omitempty"` SourcePath *string `json:"sourcePath,omitempty"` TargetPath *string `json:"targetPath,omitempty"` }
type SQLDataDirectoryType ¶
type SQLDataDirectoryType string
const ( SQLDataDirectoryTypeData SQLDataDirectoryType = "Data" SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid" SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log" )
type TargetAFSRestoreInfo ¶
type TargetRestoreInfo ¶
type TargetRestoreInfo struct { ContainerId *string `json:"containerId,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` OverwriteOption *OverwriteOptions `json:"overwriteOption,omitempty"` TargetDirectoryForFileRestore *string `json:"targetDirectoryForFileRestore,omitempty"` }
type TriggerOperationResponse ¶
type TriggerOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ValidateIaasVMRestoreOperationRequest ¶
type ValidateIaasVMRestoreOperationRequest struct {
RestoreRequest *RestoreRequest `json:"restoreRequest,omitempty"`
}
func (ValidateIaasVMRestoreOperationRequest) MarshalJSON ¶
func (s ValidateIaasVMRestoreOperationRequest) MarshalJSON() ([]byte, error)
func (*ValidateIaasVMRestoreOperationRequest) UnmarshalJSON ¶
func (s *ValidateIaasVMRestoreOperationRequest) UnmarshalJSON(bytes []byte) error
type ValidateOperationClient ¶
type ValidateOperationClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewValidateOperationClientWithBaseURI ¶
func NewValidateOperationClientWithBaseURI(endpoint string) ValidateOperationClient
func (ValidateOperationClient) Trigger ¶
func (c ValidateOperationClient) Trigger(ctx context.Context, id VaultId, input ValidateOperationRequest) (result TriggerOperationResponse, err error)
Trigger ...
func (ValidateOperationClient) TriggerThenPoll ¶
func (c ValidateOperationClient) TriggerThenPoll(ctx context.Context, id VaultId, input ValidateOperationRequest) error
TriggerThenPoll performs Trigger then polls until it's completed
type ValidateOperationRequest ¶
type ValidateOperationRequest interface { }
type ValidateRestoreOperationRequest ¶
type ValidateRestoreOperationRequest struct {
RestoreRequest *RestoreRequest `json:"restoreRequest,omitempty"`
}
func (ValidateRestoreOperationRequest) MarshalJSON ¶
func (s ValidateRestoreOperationRequest) MarshalJSON() ([]byte, error)
func (*ValidateRestoreOperationRequest) UnmarshalJSON ¶
func (s *ValidateRestoreOperationRequest) UnmarshalJSON(bytes []byte) error
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
Source Files ¶
- client.go
- constants.go
- id_vault.go
- method_trigger_autorest.go
- model_azurefilesharerestorerequest.go
- model_azureworkloadpointintimerestorerequest.go
- model_azureworkloadrestorerequest.go
- model_azureworkloadsaphanarestorerequest.go
- model_azureworkloadsqlrestorerequest.go
- model_encryptiondetails.go
- model_iaasvmrestorerequest.go
- model_iaasvmrestorewithrehydrationrequest.go
- model_identitybasedrestoredetails.go
- model_identityinfo.go
- model_recoverypointrehydrationinfo.go
- model_restorefilespecs.go
- model_restorerequest.go
- model_sqldatadirectorymapping.go
- model_targetafsrestoreinfo.go
- model_targetrestoreinfo.go
- model_validateiaasvmrestoreoperationrequest.go
- model_validateoperationrequest.go
- model_validaterestoreoperationrequest.go
- version.go
Click to show internal directories.
Click to hide internal directories.