HyperVToAzStackHciDiskInput(String, Int64, String, Boolean) Constructor
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET