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.
public class Disk : Azure.ResourceManager.Compute.Models.Resource
type Disk = class inherit Resource
Public Class Disk Inherits Resource
Initializes a new instance of Disk.
Disk source information. CreationData information cannot be changed after the disk has been created.
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.
The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
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.
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.
The size of the disk in bytes. This field is read only.
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.
The state of the disk.
Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Resource Id.(Inherited from Resource)
Resource location.(Inherited from Resource)
A relative URI containing the ID of the VM that has the disk attached.
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.
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.
Resource name.(Inherited from Resource)
The Operating System type.
The disk provisioning state.
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.
The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
Resource tags.(Inherited from Resource)
The time when the disk was created.
Resource type.(Inherited from Resource)
Unique Guid identifying the resource.
The Logical zone list for Disk.