ArmRecoveryServicesBackupModelFactory.WorkloadRestoreContent 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-specific restore.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadRestoreContent WorkloadRestoreContent(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);
static member WorkloadRestoreContent : 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 -> Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadRestoreContent
Public Shared Function WorkloadRestoreContent (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) As WorkloadRestoreContent
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}
Returns
A new WorkloadRestoreContent instance for mocking.