Documentation ¶
Index ¶
- func PossibleValuesForCopyOptions() []string
- func PossibleValuesForOverwriteOptions() []string
- func PossibleValuesForRecoveryMode() []string
- func PossibleValuesForRecoveryType() []string
- func PossibleValuesForRehydrationPriority() []string
- func PossibleValuesForRestoreRequestType() []string
- func PossibleValuesForSQLDataDirectoryType() []string
- func PossibleValuesForTargetDiskNetworkAccessOption() []string
- func ValidateRecoveryPointID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileShareRestoreRequest
- type AzureWorkloadPointInTimeRestoreRequest
- type AzureWorkloadRestoreRequest
- type AzureWorkloadSAPHanaPointInTimeRestoreRequest
- type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest
- type AzureWorkloadSAPHanaRestoreRequest
- type AzureWorkloadSAPHanaRestoreWithRehydrateRequest
- type AzureWorkloadSQLPointInTimeRestoreRequest
- type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest
- type AzureWorkloadSQLRestoreRequest
- type AzureWorkloadSQLRestoreWithRehydrateRequest
- type BaseRestoreRequestImpl
- type CopyOptions
- type EncryptionDetails
- type ExtendedLocation
- type IaasVMRestoreRequest
- type IaasVMRestoreWithRehydrationRequest
- type IdentityBasedRestoreDetails
- type IdentityInfo
- type OverwriteOptions
- type RawRestoreRequestImpl
- type RecoveryMode
- type RecoveryPointId
- type RecoveryPointRehydrationInfo
- type RecoveryType
- type RehydrationPriority
- type RestoreFileSpecs
- type RestoreRequest
- type RestoreRequestResource
- type RestoreRequestType
- type RestoresClient
- type SQLDataDirectoryMapping
- type SQLDataDirectoryType
- type SecuredVMDetails
- type SnapshotRestoreParameters
- type TargetAFSRestoreInfo
- type TargetDiskNetworkAccessOption
- type TargetDiskNetworkAccessSettings
- type TargetRestoreInfo
- type TriggerOperationResponse
- type UserAssignedIdentityProperties
- type UserAssignedManagedIdentityDetails
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 PossibleValuesForTargetDiskNetworkAccessOption ¶
func PossibleValuesForTargetDiskNetworkAccessOption() []string
func ValidateRecoveryPointID ¶
ValidateRecoveryPointID checks that 'input' can be parsed as a Recovery Point ID
Types ¶
type AzureFileShareRestoreRequest ¶
type AzureFileShareRestoreRequest struct {}
func (AzureFileShareRestoreRequest) MarshalJSON ¶
func (s AzureFileShareRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureFileShareRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureFileShareRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
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"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadPointInTimeRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadPointInTimeRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadPointInTimeRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadPointInTimeRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadRestoreRequest ¶
type AzureWorkloadRestoreRequest struct { PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSAPHanaPointInTimeRestoreRequest ¶
type AzureWorkloadSAPHanaPointInTimeRestoreRequest struct { PointInTime *string `json:"pointInTime,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSAPHanaPointInTimeRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadSAPHanaPointInTimeRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSAPHanaPointInTimeRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSAPHanaPointInTimeRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest ¶
type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest struct { PointInTime *string `json:"pointInTime,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo `json:"recoveryPointRehydrationInfo,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) MarshalJSON ¶
func (s AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSAPHanaRestoreRequest ¶
type AzureWorkloadSAPHanaRestoreRequest struct { PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSAPHanaRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadSAPHanaRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSAPHanaRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSAPHanaRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSAPHanaRestoreWithRehydrateRequest ¶
type AzureWorkloadSAPHanaRestoreWithRehydrateRequest struct { PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo `json:"recoveryPointRehydrationInfo,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSAPHanaRestoreWithRehydrateRequest) MarshalJSON ¶
func (s AzureWorkloadSAPHanaRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSAPHanaRestoreWithRehydrateRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSAPHanaRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSQLPointInTimeRestoreRequest ¶
type AzureWorkloadSQLPointInTimeRestoreRequest struct { AlternateDirectoryPaths *[]SQLDataDirectoryMapping `json:"alternateDirectoryPaths,omitempty"` IsNonRecoverable *bool `json:"isNonRecoverable,omitempty"` PointInTime *string `json:"pointInTime,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` ShouldUseAlternateTargetLocation *bool `json:"shouldUseAlternateTargetLocation,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSQLPointInTimeRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadSQLPointInTimeRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSQLPointInTimeRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSQLPointInTimeRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest ¶
type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest struct { AlternateDirectoryPaths *[]SQLDataDirectoryMapping `json:"alternateDirectoryPaths,omitempty"` IsNonRecoverable *bool `json:"isNonRecoverable,omitempty"` PointInTime *string `json:"pointInTime,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo `json:"recoveryPointRehydrationInfo,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` ShouldUseAlternateTargetLocation *bool `json:"shouldUseAlternateTargetLocation,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) MarshalJSON ¶
func (s AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl
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"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSQLRestoreRequest) MarshalJSON ¶
func (s AzureWorkloadSQLRestoreRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSQLRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSQLRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
type AzureWorkloadSQLRestoreWithRehydrateRequest ¶
type AzureWorkloadSQLRestoreWithRehydrateRequest struct { AlternateDirectoryPaths *[]SQLDataDirectoryMapping `json:"alternateDirectoryPaths,omitempty"` IsNonRecoverable *bool `json:"isNonRecoverable,omitempty"` PropertyBag *map[string]string `json:"propertyBag,omitempty"` RecoveryMode *RecoveryMode `json:"recoveryMode,omitempty"` RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo `json:"recoveryPointRehydrationInfo,omitempty"` RecoveryType *RecoveryType `json:"recoveryType,omitempty"` ShouldUseAlternateTargetLocation *bool `json:"shouldUseAlternateTargetLocation,omitempty"` SnapshotRestoreParameters *SnapshotRestoreParameters `json:"snapshotRestoreParameters,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` TargetInfo *TargetRestoreInfo `json:"targetInfo,omitempty"` TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` TargetVirtualMachineId *string `json:"targetVirtualMachineId,omitempty"` UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"` ObjectType string `json:"objectType"` }
func (AzureWorkloadSQLRestoreWithRehydrateRequest) MarshalJSON ¶
func (s AzureWorkloadSQLRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error)
func (AzureWorkloadSQLRestoreWithRehydrateRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s AzureWorkloadSQLRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl
type BaseRestoreRequestImpl ¶ added in v0.20240920.1135249
type BaseRestoreRequestImpl struct {
ObjectType string `json:"objectType"`
}
func (BaseRestoreRequestImpl) RestoreRequest ¶ added in v0.20240920.1135249
func (s BaseRestoreRequestImpl) RestoreRequest() BaseRestoreRequestImpl
type CopyOptions ¶
type CopyOptions string
const ( CopyOptionsCreateCopy CopyOptions = "CreateCopy" CopyOptionsFailOnConflict CopyOptions = "FailOnConflict" CopyOptionsInvalid CopyOptions = "Invalid" CopyOptionsOverwrite CopyOptions = "Overwrite" CopyOptionsSkip CopyOptions = "Skip" )
type EncryptionDetails ¶
type ExtendedLocation ¶
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"` ExtendedLocation *ExtendedLocation `json:"extendedLocation,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"` SecuredVMDetails *SecuredVMDetails `json:"securedVMDetails,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TargetDiskNetworkAccessSettings *TargetDiskNetworkAccessSettings `json:"targetDiskNetworkAccessSettings,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"` ObjectType string `json:"objectType"` }
func (IaasVMRestoreRequest) MarshalJSON ¶
func (s IaasVMRestoreRequest) MarshalJSON() ([]byte, error)
func (IaasVMRestoreRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s IaasVMRestoreRequest) RestoreRequest() BaseRestoreRequestImpl
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"` ExtendedLocation *ExtendedLocation `json:"extendedLocation,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"` SecuredVMDetails *SecuredVMDetails `json:"securedVMDetails,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TargetDiskNetworkAccessSettings *TargetDiskNetworkAccessSettings `json:"targetDiskNetworkAccessSettings,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"` ObjectType string `json:"objectType"` }
func (IaasVMRestoreWithRehydrationRequest) MarshalJSON ¶
func (s IaasVMRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)
func (IaasVMRestoreWithRehydrationRequest) RestoreRequest ¶ added in v0.20240920.1135249
func (s IaasVMRestoreWithRehydrationRequest) RestoreRequest() BaseRestoreRequestImpl
type IdentityInfo ¶
type OverwriteOptions ¶
type OverwriteOptions string
const ( OverwriteOptionsFailOnConflict OverwriteOptions = "FailOnConflict" OverwriteOptionsInvalid OverwriteOptions = "Invalid" OverwriteOptionsOverwrite OverwriteOptions = "Overwrite" )
type RawRestoreRequestImpl ¶
type RawRestoreRequestImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawRestoreRequestImpl 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).
func (RawRestoreRequestImpl) RestoreRequest ¶ added in v0.20240920.1135249
func (s RawRestoreRequestImpl) RestoreRequest() BaseRestoreRequestImpl
type RecoveryMode ¶
type RecoveryMode string
const ( RecoveryModeFileRecovery RecoveryMode = "FileRecovery" RecoveryModeInvalid RecoveryMode = "Invalid" RecoveryModeRecoveryUsingSnapshot RecoveryMode = "RecoveryUsingSnapshot" RecoveryModeSnapshotAttach RecoveryMode = "SnapshotAttach" RecoveryModeSnapshotAttachAndRecover RecoveryMode = "SnapshotAttachAndRecover" RecoveryModeWorkloadRecovery RecoveryMode = "WorkloadRecovery" )
type RecoveryPointId ¶
type RecoveryPointId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string ProtectedItemName string RecoveryPointId string }
RecoveryPointId is a struct representing the Resource ID for a Recovery Point
func NewRecoveryPointID ¶
func NewRecoveryPointID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string, protectedItemName string, recoveryPointId string) RecoveryPointId
NewRecoveryPointID returns a new RecoveryPointId struct
func ParseRecoveryPointID ¶
func ParseRecoveryPointID(input string) (*RecoveryPointId, error)
ParseRecoveryPointID parses 'input' into a RecoveryPointId
func ParseRecoveryPointIDInsensitively ¶
func ParseRecoveryPointIDInsensitively(input string) (*RecoveryPointId, error)
ParseRecoveryPointIDInsensitively parses 'input' case-insensitively into a RecoveryPointId note: this method should only be used for API response data and not user input
func (*RecoveryPointId) FromParseResult ¶
func (id *RecoveryPointId) FromParseResult(input resourceids.ParseResult) error
func (RecoveryPointId) ID ¶
func (id RecoveryPointId) ID() string
ID returns the formatted Recovery Point ID
func (RecoveryPointId) Segments ¶
func (id RecoveryPointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Recovery Point ID
func (RecoveryPointId) String ¶
func (id RecoveryPointId) String() string
String returns a human-readable description of this Recovery Point ID
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 {
RestoreRequest() BaseRestoreRequestImpl
}
func UnmarshalRestoreRequestImplementation ¶ added in v0.20240920.1135249
func UnmarshalRestoreRequestImplementation(input []byte) (RestoreRequest, error)
type RestoreRequestResource ¶
type RestoreRequestResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties RestoreRequest `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*RestoreRequestResource) UnmarshalJSON ¶
func (s *RestoreRequestResource) UnmarshalJSON(bytes []byte) error
type RestoreRequestType ¶
type RestoreRequestType string
const ( RestoreRequestTypeInvalid RestoreRequestType = "Invalid" RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore" )
type RestoresClient ¶
func NewRestoresClientWithBaseURI ¶
func NewRestoresClientWithBaseURI(endpoint string) RestoresClient
func (RestoresClient) Trigger ¶
func (c RestoresClient) Trigger(ctx context.Context, id RecoveryPointId, input RestoreRequestResource) (result TriggerOperationResponse, err error)
Trigger ...
func (RestoresClient) TriggerThenPoll ¶
func (c RestoresClient) TriggerThenPoll(ctx context.Context, id RecoveryPointId, input RestoreRequestResource) error
TriggerThenPoll performs Trigger then polls until it's completed
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 SecuredVMDetails ¶
type SecuredVMDetails struct {
SecuredVMOsDiskEncryptionSetId *string `json:"securedVMOsDiskEncryptionSetId,omitempty"`
}
type TargetAFSRestoreInfo ¶
type TargetDiskNetworkAccessOption ¶
type TargetDiskNetworkAccessOption string
const ( TargetDiskNetworkAccessOptionEnablePrivateAccessForAllDisks TargetDiskNetworkAccessOption = "EnablePrivateAccessForAllDisks" TargetDiskNetworkAccessOptionEnablePublicAccessForAllDisks TargetDiskNetworkAccessOption = "EnablePublicAccessForAllDisks" TargetDiskNetworkAccessOptionSameAsOnSourceDisks TargetDiskNetworkAccessOption = "SameAsOnSourceDisks" )
type TargetDiskNetworkAccessSettings ¶
type TargetDiskNetworkAccessSettings struct { TargetDiskAccessId *string `json:"targetDiskAccessId,omitempty"` TargetDiskNetworkAccessOption *TargetDiskNetworkAccessOption `json:"targetDiskNetworkAccessOption,omitempty"` }
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 UserAssignedManagedIdentityDetails ¶
type UserAssignedManagedIdentityDetails struct { IdentityArmId *string `json:"identityArmId,omitempty"` IdentityName *string `json:"identityName,omitempty"` UserAssignedIdentityProperties *UserAssignedIdentityProperties `json:"userAssignedIdentityProperties,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_recoverypoint.go
- method_trigger_autorest.go
- model_azurefilesharerestorerequest.go
- model_azureworkloadpointintimerestorerequest.go
- model_azureworkloadrestorerequest.go
- model_azureworkloadsaphanapointintimerestorerequest.go
- model_azureworkloadsaphanapointintimerestorewithrehydraterequest.go
- model_azureworkloadsaphanarestorerequest.go
- model_azureworkloadsaphanarestorewithrehydraterequest.go
- model_azureworkloadsqlpointintimerestorerequest.go
- model_azureworkloadsqlpointintimerestorewithrehydraterequest.go
- model_azureworkloadsqlrestorerequest.go
- model_azureworkloadsqlrestorewithrehydraterequest.go
- model_encryptiondetails.go
- model_extendedlocation.go
- model_iaasvmrestorerequest.go
- model_iaasvmrestorewithrehydrationrequest.go
- model_identitybasedrestoredetails.go
- model_identityinfo.go
- model_recoverypointrehydrationinfo.go
- model_restorefilespecs.go
- model_restorerequest.go
- model_restorerequestresource.go
- model_securedvmdetails.go
- model_snapshotrestoreparameters.go
- model_sqldatadirectorymapping.go
- model_targetafsrestoreinfo.go
- model_targetdisknetworkaccesssettings.go
- model_targetrestoreinfo.go
- model_userassignedidentityproperties.go
- model_userassignedmanagedidentitydetails.go
- version.go