Disk 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.
Disk resource.
public class Disk : Azure.ResourceManager.Compute.Models.Resource
type Disk = class
inherit Resource
Public Class Disk
Inherits Resource
- Inheritance
Constructors
Disk(String) |
Initializes a new instance of Disk. |
Properties
CreationData |
Disk source information. CreationData information cannot be changed after the disk has been created. |
DiskIopsReadOnly |
The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. |
DiskIopsReadWrite |
The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. |
DiskMBpsReadOnly |
The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. |
DiskMBpsReadWrite |
The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. |
DiskSizeBytes |
The size of the disk in bytes. This field is read only. |
DiskSizeGB |
If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. |
DiskState |
The state of the disk. |
Encryption |
Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. |
EncryptionSettingsCollection |
Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. |
HyperVGeneration |
The hypervisor generation of the Virtual Machine. Applicable to OS disks only. |
Id |
Resource Id. (Inherited from Resource) |
Location |
Resource location. (Inherited from Resource) |
ManagedBy |
A relative URI containing the ID of the VM that has the disk attached. |
ManagedByExtended |
List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. |
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. |
Name |
Resource name. (Inherited from Resource) |
OsType |
The Operating System type. |
ProvisioningState |
The disk provisioning state. |
ShareInfo |
Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. |
Sku |
The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. |
Tags |
Resource tags. (Inherited from Resource) |
TimeCreated |
The time when the disk was created. |
Type |
Resource type. (Inherited from Resource) |
UniqueId |
Unique Guid identifying the resource. |
Zones |
The Logical zone list for Disk. |