VirtualHardDisks 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.
The virtual hard disk resource definition.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDisksTypeConverter))]
public class VirtualHardDisks : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDisksTypeConverter))>]
type VirtualHardDisks = class
interface IVirtualHardDisks
interface IJsonSerializable
interface ITrackedResource
interface IResource
interface IValidates
Public Class VirtualHardDisks
Implements IValidates, IVirtualHardDisks
- Inheritance
-
VirtualHardDisks
- Attributes
- Implements
Constructors
VirtualHardDisks() |
Creates an new VirtualHardDisks instance. |
Properties
BlockSizeByte | |
ContainerId |
Storage ContainerID of the storage container to be used for VHD |
DiskFileFormat |
The format of the actual VHD file [vhd, vhdx] |
DiskSizeGb |
Size of the disk in GB |
Dynamic |
Boolean for enabling dynamic sizing on the virtual hard disk |
ExtendedLocationName |
The name of the extended location. |
ExtendedLocationType |
The type of the extended location. |
HyperVGeneration |
The hypervisor generation of the Virtual Machine [V1, V2] |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
Location |
The geo-location where the resource lives |
LogicalSectorByte | |
Name |
The name of the resource |
PhysicalSectorByte | |
ProvisioningState |
Provisioning state of the virtual hard disk. |
ProvisioningStatus |
The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] |
ProvisioningStatusOperationId |
The ID of the operation performed on the virtual hard disk |
ResourceGroupName |
Gets the resource group name |
StatusErrorCode |
VirtualHardDisk provisioning error code |
StatusErrorMessage |
Descriptive error message |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Tag |
Resource tags. |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualHardDisks. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualHardDisks. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks. |
FromJsonString(String) |
Creates a new instance of VirtualHardDisks, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualHardDisks into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |