A class representing the Disk data model.

Inheritance

Azure.ResourceManager.Models.TrackedResource

DiskData

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Compute.dll
Syntax
public class DiskData : Azure.ResourceManager.Models.TrackedResource

Constructors

DiskData(Location)

Initializes a new instance of DiskData.

Declaration
public DiskData (Azure.ResourceManager.Resources.Models.Location location);
Parameters
Azure.ResourceManager.Resources.Models.Location location

The location.

Properties

BurstingEnabled

Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.

Declaration
public Nullable<bool> BurstingEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>

CreationData

Disk source information. CreationData information cannot be changed after the disk has been created.

Declaration
public Azure.ResourceManager.Compute.Models.CreationData CreationData { get; set; }
Property Value

DiskAccessId

ARM id of the DiskAccess resource for using private endpoints on disks.

Declaration
public string DiskAccessId { get; set; }
Property Value
System.String

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.

Declaration
public Nullable<long> DiskIopsReadOnly { get; set; }
Property Value
System.Nullable<System.Int64>

DiskIopsReadWrite

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

Declaration
public Nullable<long> DiskIopsReadWrite { get; set; }
Property Value
System.Nullable<System.Int64>

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.

Declaration
public Nullable<long> DiskMBpsReadOnly { get; set; }
Property Value
System.Nullable<System.Int64>

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.

Declaration
public Nullable<long> DiskMBpsReadWrite { get; set; }
Property Value
System.Nullable<System.Int64>

DiskSizeBytes

The size of the disk in bytes. This field is read only.

Declaration
public Nullable<long> DiskSizeBytes { get; }
Property Value
System.Nullable<System.Int64>

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.

Declaration
public Nullable<int> DiskSizeGB { get; set; }
Property Value
System.Nullable<System.Int32>

DiskState

The state of the disk.

Declaration
public Nullable<Azure.ResourceManager.Compute.Models.DiskState> DiskState { get; }
Property Value

Encryption

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

Declaration
public Azure.ResourceManager.Compute.Models.Encryption Encryption { get; set; }
Property Value

EncryptionSettingsCollection

Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

Declaration
public Azure.ResourceManager.Compute.Models.EncryptionSettingsCollection EncryptionSettingsCollection { get; set; }
Property Value

ExtendedLocation

The extended location where the disk will be created. Extended location cannot be changed.

Declaration
public Azure.ResourceManager.Compute.Models.ExtendedLocation ExtendedLocation { get; set; }
Property Value

HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Declaration
public Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> HyperVGeneration { get; set; }
Property Value

ManagedBy

A relative URI containing the ID of the VM that has the disk attached.

Declaration
public string ManagedBy { get; }
Property Value
System.String

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.

Declaration
public System.Collections.Generic.IReadOnlyList<string> ManagedByExtended { get; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>

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.

Declaration
public Nullable<int> MaxShares { get; set; }
Property Value
System.Nullable<System.Int32>

NetworkAccessPolicy

Policy for accessing the disk via network.

Declaration
public Nullable<Azure.ResourceManager.Compute.Models.NetworkAccessPolicy> NetworkAccessPolicy { get; set; }
Property Value

OsType

The Operating System type.

Declaration
public Nullable<Azure.ResourceManager.Compute.Models.OperatingSystemTypes> OsType { get; set; }
Property Value

PropertyUpdatesInProgress

Properties of the disk for which update is pending.

Declaration
public Azure.ResourceManager.Compute.Models.PropertyUpdatesInProgress PropertyUpdatesInProgress { get; }
Property Value

ProvisioningState

The disk provisioning state.

Declaration
public string ProvisioningState { get; }
Property Value
System.String

PurchasePlan

Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}.

Declaration
public Azure.ResourceManager.Compute.Models.PurchasePlanAutoGenerated PurchasePlan { get; set; }
Property Value

SecurityProfile

Contains the security related information for the resource.

Declaration
public Azure.ResourceManager.Compute.Models.DiskSecurityProfile SecurityProfile { get; set; }
Property Value

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.

Declaration
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Compute.Models.ShareInfoElement> ShareInfo { get; }
Property Value

Sku

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.

Declaration
public Azure.ResourceManager.Compute.Models.DiskSku Sku { get; set; }
Property Value

SupportsHibernation

Indicates the OS on a disk supports hibernation.

Declaration
public Nullable<bool> SupportsHibernation { get; set; }
Property Value
System.Nullable<System.Boolean>

Tier

Declaration
public string Tier { get; set; }
Property Value
System.String

TimeCreated

The time when the disk was created.

Declaration
public Nullable<DateTimeOffset> TimeCreated { get; }
Property Value
System.Nullable<System.DateTimeOffset>

UniqueId

Unique Guid identifying the resource.

Declaration
public string UniqueId { get; }
Property Value
System.String

Zones

The Logical zone list for Disk.

Declaration
public System.Collections.Generic.IList<string> Zones { get; }
Property Value
System.Collections.Generic.IList<System.String>

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjnqxrqqVY5%2Bmv86uqZydfZa7orPEq2V8p52lwrWxjmplaWZgYq%2BmwMBna2iZoJ58gsbUq5xnipWovLa%2Bwp6EmqaRnLKzeqKopKmtpJp8gsbUq5xnipWovLa%2Bwp6EmqaRnLKzeqKopKmtpJp7hbXSpHuarJFjtbW5yw%3D%3D