Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryVmDiskDetails Method

Definition

Initializes a new instance of SiteRecoveryVmDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails SiteRecoveryVmDiskDetails (string vhdType = default, string vhdId = default, string diskId = default, string vhdName = default, string maxSizeMB = default, string targetDiskLocation = default, string targetDiskName = default, string lunId = default, Azure.Core.ResourceIdentifier diskEncryptionSetId = default, string customTargetDiskName = default);
static member SiteRecoveryVmDiskDetails : string * string * string * string * string * string * string * string * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails
Public Shared Function SiteRecoveryVmDiskDetails (Optional vhdType As String = Nothing, Optional vhdId As String = Nothing, Optional diskId As String = Nothing, Optional vhdName As String = Nothing, Optional maxSizeMB As String = Nothing, Optional targetDiskLocation As String = Nothing, Optional targetDiskName As String = Nothing, Optional lunId As String = Nothing, Optional diskEncryptionSetId As ResourceIdentifier = Nothing, Optional customTargetDiskName As String = Nothing) As SiteRecoveryVmDiskDetails

Parameters

vhdType
String

VHD type.

vhdId
String

The VHD id.

diskId
String

The disk resource id.

vhdName
String

VHD name.

maxSizeMB
String

Max side in MB.

targetDiskLocation
String

Blob uri of the Azure disk.

targetDiskName
String

The target Azure disk name.

lunId
String

Ordinal\LunId of the disk for the Azure VM.

diskEncryptionSetId
ResourceIdentifier

The DiskEncryptionSet ARM ID.

customTargetDiskName
String

The custom target Azure disk name.

Returns

A new SiteRecoveryVmDiskDetails instance for mocking.

Applies to