ArmRecoveryServicesBackupModelFactory.WorkloadSqlPointInTimeRestoreWithRehydrateContent Method

Definition

AzureWorkload SQL-specific restore with integrated rehydration of recovery point.

public static Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadSqlPointInTimeRestoreWithRehydrateContent WorkloadSqlPointInTimeRestoreWithRehydrateContent(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, DateTimeOffset? pointInTime = default, Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default);
static member WorkloadSqlPointInTimeRestoreWithRehydrateContent : 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> * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryPointRehydrationInfo -> Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadSqlPointInTimeRestoreWithRehydrateContent
Public Shared Function WorkloadSqlPointInTimeRestoreWithRehydrateContent (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 pointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryPointRehydrationInfo As RecoveryPointRehydrationInfo = Nothing) As WorkloadSqlPointInTimeRestoreWithRehydrateContent

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}

shouldUseAlternateTargetLocation
Nullable<Boolean>

Default option set to true. If this is set to false, alternate data directory must be provided.

isNonRecoverable
Nullable<Boolean>

SQL specific property where user can chose to set no-recovery when restore operation is tried.

alternateDirectoryPaths
IEnumerable<SqlDataDirectoryMapping>

Data directory details.

pointInTime
Nullable<DateTimeOffset>

PointInTime value.

recoveryPointRehydrationInfo
RecoveryPointRehydrationInfo

RP Rehydration Info.

Returns

A new WorkloadSqlPointInTimeRestoreWithRehydrateContent instance for mocking.

Applies to