Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryAgentDiskDetails Method

Definition

Initializes a new instance of SiteRecoveryAgentDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentDiskDetails SiteRecoveryAgentDiskDetails (string diskId = default, string diskName = default, string isOSDisk = default, long? capacityInBytes = default, int? lunId = default);
static member SiteRecoveryAgentDiskDetails : string * string * string * Nullable<int64> * Nullable<int> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentDiskDetails
Public Shared Function SiteRecoveryAgentDiskDetails (Optional diskId As String = Nothing, Optional diskName As String = Nothing, Optional isOSDisk As String = Nothing, Optional capacityInBytes As Nullable(Of Long) = Nothing, Optional lunId As Nullable(Of Integer) = Nothing) As SiteRecoveryAgentDiskDetails

Parameters

diskId
String

The disk Id.

diskName
String

The disk name.

isOSDisk
String

A value indicating whether the disk is the OS disk.

capacityInBytes
Nullable<Int64>

The disk capacity in bytes.

lunId
Nullable<Int32>

The lun of disk.

Returns

A new SiteRecoveryAgentDiskDetails instance for mocking.

Applies to