HciVmVirtualHardDiskProperties Class
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.
Properties under the virtual hard disk resource.
public class HciVmVirtualHardDiskProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Hci.Vm.Models.HciVmVirtualHardDiskProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Hci.Vm.Models.HciVmVirtualHardDiskProperties>
type HciVmVirtualHardDiskProperties = class
interface IJsonModel<HciVmVirtualHardDiskProperties>
interface IPersistableModel<HciVmVirtualHardDiskProperties>
Public Class HciVmVirtualHardDiskProperties
Implements IJsonModel(Of HciVmVirtualHardDiskProperties), IPersistableModel(Of HciVmVirtualHardDiskProperties)
- Inheritance
-
HciVmVirtualHardDiskProperties
- Implements
Constructors
HciVmVirtualHardDiskProperties() |
Initializes a new instance of HciVmVirtualHardDiskProperties. |
Properties
BlockSizeInBytes |
Block size in bytes. |
ContainerId |
Storage ContainerID of the storage container to be used for VHD. |
DiskFileFormat |
The format of the actual VHD file [vhd, vhdx]. |
DiskSizeInGB |
Size of the disk in GB. |
DownloadUri |
URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. |
Dynamic |
Boolean for enabling dynamic sizing on the virtual hard disk. |
HyperVGeneration |
The hypervisor generation of the Virtual Machine [V1, V2]. |
IsCreatingFromLocal |
Boolean indicating whether it is an existing local hard disk or if one should be created. |
LogicalSectorInBytes |
Logical sector in bytes. |
MaxShares |
The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. |
PhysicalSectorInBytes |
Physical sector in bytes. |
ProvisioningState |
Provisioning state of the virtual hard disk. |
Status |
The observed state of virtual hard disks. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<HciVmVirtualHardDiskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<HciVmVirtualHardDiskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<HciVmVirtualHardDiskProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<HciVmVirtualHardDiskProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<HciVmVirtualHardDiskProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |