共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.InMageDiskDetails Method

Definition

Initializes a new instance of InMageDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageDiskDetails InMageDiskDetails (string diskId = default, string diskName = default, string diskSizeInMB = default, string diskType = default, string diskConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskVolumeDetails> volumeList = default);
static member InMageDiskDetails : string * string * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskVolumeDetails> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageDiskDetails
Public Shared Function InMageDiskDetails (Optional diskId As String = Nothing, Optional diskName As String = Nothing, Optional diskSizeInMB As String = Nothing, Optional diskType As String = Nothing, Optional diskConfiguration As String = Nothing, Optional volumeList As IEnumerable(Of SiteRecoveryDiskVolumeDetails) = Nothing) As InMageDiskDetails

Parameters

diskId
String

The disk Id.

diskName
String

The disk name.

diskSizeInMB
String

The disk size in MB.

diskType
String

Whether disk is system disk or data disk.

diskConfiguration
String

Whether disk is dynamic disk or basic disk.

volumeList
IEnumerable<SiteRecoveryDiskVolumeDetails>

Volumes of the disk.

Returns

A new InMageDiskDetails instance for mocking.

Applies to