Click or drag to resize

DiskOptionsModel Properties

The DiskOptionsModel type exposes the following members.

Properties
  NameDescription
Public propertyDesiredSizeInB
Gets or sets the desired size in bytes of the new disk.
Public propertyDiskControllerType

Gets or sets the disk controller.

IDE—Use this value to create an IDE disk.

SCSI—Use this value to create a SCSI disk.

Public propertyDiskName
Gets or sets is the name of the disk.
(Inherited from DiskModel.)
Public propertyDiskProvisioningType
Gets or sets the disk type.

Dynamic—Use this value for ESX thin disks and for Hyper-V dynamic disks.

Fixed—Use this value for ESX thick disks and for Hyper-V fixed disks.

Flat Disk—Use this value for ESX flat disks. This type is not supported on Hyper-V.

Public propertyPartitions
Gets or sets are the partitions on the disk.
(Inherited from DiskModel.)
Public propertyPartTableType
Gets or sets is the partition table type.
(Inherited from DiskModel.)
Public propertyPreexistingDiskPath
Gets or sets the full path and file name of an existing virtual disk that you want to reuse. If this value is null, a new virtual disk will be created.
Public propertySizeInB
Gets or sets is the size of the disk in bytes
(Inherited from DiskModel.)
Public propertyValid
Gets or sets determine whether or not this Disk is a valid one.
(Inherited from DiskModel.)
Public propertyVirtualDiskPath
Gets or sets the path on the host where the disk should be stored.
Top
See Also