Dela via


HyperVToAzStackHciDiskInput(String, Int64, String, Boolean) Constructor

Definition

Initializes a new instance of HyperVToAzStackHciDiskInput.

public HyperVToAzStackHciDiskInput (string diskId, long diskSizeGB, string diskFileFormat, bool isOSDisk);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciDiskInput : string * int64 * string * bool -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciDiskInput
Public Sub New (diskId As String, diskSizeGB As Long, diskFileFormat As String, isOSDisk As Boolean)

Parameters

diskId
String

Gets or sets the disk Id.

diskSizeGB
Int64

Gets or sets the disk size in GB.

diskFileFormat
String

Gets or sets the type of the virtual hard disk, vhd or vhdx.

isOSDisk
Boolean

Gets or sets a value indicating whether disk is os disk.

Exceptions

diskId or diskFileFormat is null.

Applies to