Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 ValidateVaultID(input interface{}, key string) (warnings []string, errors []error) + type AzureFileShareRestoreRequest struct + CopyOptions *CopyOptions + ObjectType string + RecoveryType *RecoveryType + RestoreFileSpecs *[]RestoreFileSpecs + RestoreRequestType *RestoreRequestType + SourceResourceId *string + TargetDetails *TargetAFSRestoreInfo + func (s AzureFileShareRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureFileShareRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadPointInTimeRestoreRequest struct + ObjectType string + PointInTime *string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryType *RecoveryType + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadPointInTimeRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadPointInTimeRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadRestoreRequest struct + ObjectType string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryType *RecoveryType + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSAPHanaPointInTimeRestoreRequest struct + ObjectType string + PointInTime *string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryType *RecoveryType + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSAPHanaPointInTimeRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSAPHanaPointInTimeRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest struct + ObjectType string + PointInTime *string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo + RecoveryType *RecoveryType + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSAPHanaRestoreRequest struct + ObjectType string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryType *RecoveryType + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSAPHanaRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSAPHanaRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSAPHanaRestoreWithRehydrateRequest struct + ObjectType string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo + RecoveryType *RecoveryType + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSAPHanaRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSAPHanaRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSQLPointInTimeRestoreRequest struct + AlternateDirectoryPaths *[]SQLDataDirectoryMapping + IsNonRecoverable *bool + ObjectType string + PointInTime *string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryType *RecoveryType + ShouldUseAlternateTargetLocation *bool + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSQLPointInTimeRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSQLPointInTimeRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest struct + AlternateDirectoryPaths *[]SQLDataDirectoryMapping + IsNonRecoverable *bool + ObjectType string + PointInTime *string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo + RecoveryType *RecoveryType + ShouldUseAlternateTargetLocation *bool + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSQLRestoreRequest struct + AlternateDirectoryPaths *[]SQLDataDirectoryMapping + IsNonRecoverable *bool + ObjectType string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryType *RecoveryType + ShouldUseAlternateTargetLocation *bool + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSQLRestoreRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSQLRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type AzureWorkloadSQLRestoreWithRehydrateRequest struct + AlternateDirectoryPaths *[]SQLDataDirectoryMapping + IsNonRecoverable *bool + ObjectType string + PropertyBag *map[string]string + RecoveryMode *RecoveryMode + RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo + RecoveryType *RecoveryType + ShouldUseAlternateTargetLocation *bool + SnapshotRestoreParameters *SnapshotRestoreParameters + SourceResourceId *string + TargetInfo *TargetRestoreInfo + TargetResourceGroupName *string + TargetVirtualMachineId *string + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + func (s AzureWorkloadSQLRestoreWithRehydrateRequest) MarshalJSON() ([]byte, error) + func (s AzureWorkloadSQLRestoreWithRehydrateRequest) RestoreRequest() BaseRestoreRequestImpl + type BaseRestoreRequestImpl struct + ObjectType string + func (s BaseRestoreRequestImpl) RestoreRequest() BaseRestoreRequestImpl + type BaseValidateOperationRequestImpl struct + ObjectType string + func (s BaseValidateOperationRequestImpl) ValidateOperationRequest() BaseValidateOperationRequestImpl + type CopyOptions string + const CopyOptionsCreateCopy + const CopyOptionsFailOnConflict + const CopyOptionsInvalid + const CopyOptionsOverwrite + const CopyOptionsSkip + type EncryptionDetails struct + EncryptionEnabled *bool + KekURL *string + KekVaultId *string + SecretKeyURL *string + SecretKeyVaultId *string + type ErrorDetail struct + Code *string + Message *string + Recommendations *[]string + type ExtendedLocation struct + Name *string + Type *string + type IaasVMRestoreRequest struct + AffinityGroup *string + CreateNewCloudService *bool + DiskEncryptionSetId *string + EncryptionDetails *EncryptionDetails + ExtendedLocation *ExtendedLocation + IdentityBasedRestoreDetails *IdentityBasedRestoreDetails + IdentityInfo *IdentityInfo + ObjectType string + OriginalStorageAccountOption *bool + RecoveryPointId *string + RecoveryType *RecoveryType + Region *string + RestoreDiskLunList *[]int64 + RestoreWithManagedDisks *bool + SecuredVMDetails *SecuredVMDetails + SourceResourceId *string + StorageAccountId *string + SubnetId *string + TargetDiskNetworkAccessSettings *TargetDiskNetworkAccessSettings + TargetDomainNameId *string + TargetResourceGroupId *string + TargetVirtualMachineId *string + VirtualNetworkId *string + Zones *zones.Schema + func (s IaasVMRestoreRequest) MarshalJSON() ([]byte, error) + func (s IaasVMRestoreRequest) RestoreRequest() BaseRestoreRequestImpl + type IaasVMRestoreWithRehydrationRequest struct + AffinityGroup *string + CreateNewCloudService *bool + DiskEncryptionSetId *string + EncryptionDetails *EncryptionDetails + ExtendedLocation *ExtendedLocation + IdentityBasedRestoreDetails *IdentityBasedRestoreDetails + IdentityInfo *IdentityInfo + ObjectType string + OriginalStorageAccountOption *bool + RecoveryPointId *string + RecoveryPointRehydrationInfo *RecoveryPointRehydrationInfo + RecoveryType *RecoveryType + Region *string + RestoreDiskLunList *[]int64 + RestoreWithManagedDisks *bool + SecuredVMDetails *SecuredVMDetails + SourceResourceId *string + StorageAccountId *string + SubnetId *string + TargetDiskNetworkAccessSettings *TargetDiskNetworkAccessSettings + TargetDomainNameId *string + TargetResourceGroupId *string + TargetVirtualMachineId *string + VirtualNetworkId *string + Zones *zones.Schema + func (s IaasVMRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error) + func (s IaasVMRestoreWithRehydrationRequest) RestoreRequest() BaseRestoreRequestImpl + type IdentityBasedRestoreDetails struct + ObjectType *string + TargetStorageAccountId *string + type IdentityInfo struct + IsSystemAssignedIdentity *bool + ManagedIdentityResourceId *string + type OperationClient struct + Client autorest.Client + func NewOperationClientWithBaseURI(endpoint string) OperationClient + func (c OperationClient) Validate(ctx context.Context, id VaultId, input ValidateOperationRequestResource) (result ValidateOperationApiResponse, err error) + type OverwriteOptions string + const OverwriteOptionsFailOnConflict + const OverwriteOptionsInvalid + const OverwriteOptionsOverwrite + type RawRestoreRequestImpl struct + Type string + Values map[string]interface{} + func (s RawRestoreRequestImpl) RestoreRequest() BaseRestoreRequestImpl + type RawValidateOperationRequestImpl struct + Type string + Values map[string]interface{} + func (s RawValidateOperationRequestImpl) ValidateOperationRequest() BaseValidateOperationRequestImpl + type RecoveryMode string + const RecoveryModeFileRecovery + const RecoveryModeInvalid + const RecoveryModeRecoveryUsingSnapshot + const RecoveryModeSnapshotAttach + const RecoveryModeSnapshotAttachAndRecover + const RecoveryModeWorkloadRecovery + type RecoveryPointRehydrationInfo struct + RehydrationPriority *RehydrationPriority + RehydrationRetentionDuration *string + type RecoveryType string + const RecoveryTypeAlternateLocation + const RecoveryTypeInvalid + const RecoveryTypeOffline + const RecoveryTypeOriginalLocation + const RecoveryTypeRestoreDisks + type RehydrationPriority string + const RehydrationPriorityHigh + const RehydrationPriorityStandard + type RestoreFileSpecs struct + FileSpecType *string + Path *string + TargetFolderPath *string + type RestoreRequest interface + RestoreRequest func() BaseRestoreRequestImpl + func UnmarshalRestoreRequestImplementation(input []byte) (RestoreRequest, error) + type RestoreRequestType string + const RestoreRequestTypeFullShareRestore + const RestoreRequestTypeInvalid + const RestoreRequestTypeItemLevelRestore + type SQLDataDirectoryMapping struct + MappingType *SQLDataDirectoryType + SourceLogicalName *string + SourcePath *string + TargetPath *string + type SQLDataDirectoryType string + const SQLDataDirectoryTypeData + const SQLDataDirectoryTypeInvalid + const SQLDataDirectoryTypeLog + type SecuredVMDetails struct + SecuredVMOsDiskEncryptionSetId *string + type SnapshotRestoreParameters struct + LogPointInTimeForDBRecovery *string + SkipAttachAndMount *bool + type TargetAFSRestoreInfo struct + Name *string + TargetResourceId *string + type TargetDiskNetworkAccessOption string + const TargetDiskNetworkAccessOptionEnablePrivateAccessForAllDisks + const TargetDiskNetworkAccessOptionEnablePublicAccessForAllDisks + const TargetDiskNetworkAccessOptionSameAsOnSourceDisks + type TargetDiskNetworkAccessSettings struct + TargetDiskAccessId *string + TargetDiskNetworkAccessOption *TargetDiskNetworkAccessOption + type TargetRestoreInfo struct + ContainerId *string + DatabaseName *string + OverwriteOption *OverwriteOptions + TargetDirectoryForFileRestore *string + type UserAssignedIdentityProperties struct + ClientId *string + PrincipalId *string + type UserAssignedManagedIdentityDetails struct + IdentityArmId *string + IdentityName *string + UserAssignedIdentityProperties *UserAssignedIdentityProperties + type ValidateIaasVMRestoreOperationRequest struct + ObjectType string + RestoreRequest RestoreRequest + func (s *ValidateIaasVMRestoreOperationRequest) UnmarshalJSON(bytes []byte) error + func (s ValidateIaasVMRestoreOperationRequest) MarshalJSON() ([]byte, error) + func (s ValidateIaasVMRestoreOperationRequest) ValidateOperationRequest() BaseValidateOperationRequestImpl + type ValidateOperationApiResponse struct + HttpResponse *http.Response + Model *ValidateOperationsResponse + type ValidateOperationRequest interface + ValidateOperationRequest func() BaseValidateOperationRequestImpl + func UnmarshalValidateOperationRequestImplementation(input []byte) (ValidateOperationRequest, error) + type ValidateOperationRequestResource struct + Id string + Properties ValidateOperationRequest + func (s *ValidateOperationRequestResource) UnmarshalJSON(bytes []byte) error + type ValidateOperationResponse struct + ValidationResults *[]ErrorDetail + type ValidateOperationsResponse struct + ValidateOperationResponse *ValidateOperationResponse + type ValidateRestoreOperationRequest struct + ObjectType string + RestoreRequest RestoreRequest + func (s *ValidateRestoreOperationRequest) UnmarshalJSON(bytes []byte) error + func (s ValidateRestoreOperationRequest) MarshalJSON() ([]byte, error) + func (s ValidateRestoreOperationRequest) ValidateOperationRequest() BaseValidateOperationRequestImpl + type VaultId struct + ResourceGroupName string + SubscriptionId string + VaultName string + func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId + func ParseVaultID(input string) (*VaultId, error) + func ParseVaultIDInsensitively(input string) (*VaultId, error) + func (id *VaultId) FromParseResult(input resourceids.ParseResult) error + func (id VaultId) ID() string + func (id VaultId) Segments() []resourceids.Segment + func (id VaultId) String() string