ArmRecoveryServicesSiteRecoveryModelFactory.A2AVmManagedDiskDetails 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.
Initializes a new instance of A2AVmManagedDiskDetails.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmManagedDiskDetails A2AVmManagedDiskDetails(string diskId = default, Azure.Core.ResourceIdentifier primaryStagingAzureStorageAccountId = default, Azure.Core.ResourceIdentifier recoveryResourceGroupId = default, string recoveryReplicaDiskAccountType = default, string recoveryTargetDiskAccountType = default, Azure.Core.ResourceIdentifier recoveryDiskEncryptionSetId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo diskEncryptionInfo = default);
static member A2AVmManagedDiskDetails : string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmManagedDiskDetails
Public Shared Function A2AVmManagedDiskDetails (Optional diskId As String = Nothing, Optional primaryStagingAzureStorageAccountId As ResourceIdentifier = Nothing, Optional recoveryResourceGroupId As ResourceIdentifier = Nothing, Optional recoveryReplicaDiskAccountType As String = Nothing, Optional recoveryTargetDiskAccountType As String = Nothing, Optional recoveryDiskEncryptionSetId As ResourceIdentifier = Nothing, Optional diskEncryptionInfo As SiteRecoveryDiskEncryptionInfo = Nothing) As A2AVmManagedDiskDetails
Parameters
- diskId
- String
The disk Id.
- primaryStagingAzureStorageAccountId
- ResourceIdentifier
The primary staging storage account Arm Id.
- recoveryResourceGroupId
- ResourceIdentifier
The target resource group Arm Id.
- recoveryReplicaDiskAccountType
- String
The replica disk type. Its an optional value and will be same as source disk type if not user provided.
- recoveryTargetDiskAccountType
- String
The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
- recoveryDiskEncryptionSetId
- ResourceIdentifier
The recovery disk encryption set Id.
- diskEncryptionInfo
- SiteRecoveryDiskEncryptionInfo
The recovery disk encryption information (for one / single pass flows).
Returns
A new A2AVmManagedDiskDetails instance for mocking.