ArmRecoveryServicesBackupModelFactory.WorkloadSqlRestoreWithRehydrateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
AzureWorkload SQL-specific restore with integrated rehydration of recovery point.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadSqlRestoreWithRehydrateContent WorkloadSqlRestoreWithRehydrateContent(System.Collections.Generic.IEnumerable<string> resourceGuardOperationRequests = default, Azure.ResourceManager.RecoveryServicesBackup.Models.FileShareRecoveryType? recoveryType = default, Azure.Core.ResourceIdentifier sourceResourceId = default, System.Collections.Generic.IDictionary<string,string> propertyBag = default, Azure.ResourceManager.RecoveryServicesBackup.Models.TargetRestoreInfo targetInfo = default, Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode? recoveryMode = default, string targetResourceGroupName = default, Azure.ResourceManager.RecoveryServicesBackup.Models.UserAssignedManagedIdentityDetails userAssignedManagedIdentityDetails = default, Azure.ResourceManager.RecoveryServicesBackup.Models.SnapshotRestoreContent snapshotRestoreParameters = default, Azure.Core.ResourceIdentifier targetVirtualMachineId = default, bool? shouldUseAlternateTargetLocation = default, bool? isNonRecoverable = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.Models.SqlDataDirectoryMapping> alternateDirectoryPaths = default, Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default);
static member WorkloadSqlRestoreWithRehydrateContent : seq<string> * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.FileShareRecoveryType> * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.RecoveryServicesBackup.Models.TargetRestoreInfo * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode> * string * Azure.ResourceManager.RecoveryServicesBackup.Models.UserAssignedManagedIdentityDetails * Azure.ResourceManager.RecoveryServicesBackup.Models.SnapshotRestoreContent * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.RecoveryServicesBackup.Models.SqlDataDirectoryMapping> * Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryPointRehydrationInfo -> Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadSqlRestoreWithRehydrateContent
Public Shared Function WorkloadSqlRestoreWithRehydrateContent (Optional resourceGuardOperationRequests As IEnumerable(Of String) = Nothing, Optional recoveryType As Nullable(Of FileShareRecoveryType) = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional propertyBag As IDictionary(Of String, String) = Nothing, Optional targetInfo As TargetRestoreInfo = Nothing, Optional recoveryMode As Nullable(Of RecoveryMode) = Nothing, Optional targetResourceGroupName As String = Nothing, Optional userAssignedManagedIdentityDetails As UserAssignedManagedIdentityDetails = Nothing, Optional snapshotRestoreParameters As SnapshotRestoreContent = Nothing, Optional targetVirtualMachineId As ResourceIdentifier = Nothing, Optional shouldUseAlternateTargetLocation As Nullable(Of Boolean) = Nothing, Optional isNonRecoverable As Nullable(Of Boolean) = Nothing, Optional alternateDirectoryPaths As IEnumerable(Of SqlDataDirectoryMapping) = Nothing, Optional recoveryPointRehydrationInfo As RecoveryPointRehydrationInfo = Nothing) As WorkloadSqlRestoreWithRehydrateContent
Parameters
- resourceGuardOperationRequests
- IEnumerable<String>
ResourceGuardOperationRequests on which LAC check will be performed.
- recoveryType
- Nullable<FileShareRecoveryType>
Type of this recovery.
- sourceResourceId
- ResourceIdentifier
Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- propertyBag
- IDictionary<String,String>
Workload specific property bag.
- targetInfo
- TargetRestoreInfo
Details of target database.
- recoveryMode
- Nullable<RecoveryMode>
Defines whether the current recovery mode is file restore or database restore.
- targetResourceGroupName
- String
Defines the Resource group of the Target VM.
- userAssignedManagedIdentityDetails
- UserAssignedManagedIdentityDetails
User Assigned managed identity details Currently used for snapshot.
- snapshotRestoreParameters
- SnapshotRestoreContent
Additional details for snapshot recovery Currently used for snapshot for SAP Hana.
- targetVirtualMachineId
- ResourceIdentifier
This is the complete ARM Id of the target VM For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
Default option set to true. If this is set to false, alternate data directory must be provided.
SQL specific property where user can chose to set no-recovery when restore operation is tried.
- alternateDirectoryPaths
- IEnumerable<SqlDataDirectoryMapping>
Data directory details.
- recoveryPointRehydrationInfo
- RecoveryPointRehydrationInfo
RP Rehydration Info.
Returns
A new WorkloadSqlRestoreWithRehydrateContent instance for mocking.