ManagedDiskPatch 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 update resource.
public class ManagedDiskPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ManagedDiskPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ManagedDiskPatch>
type ManagedDiskPatch = class
interface IJsonModel<ManagedDiskPatch>
interface IPersistableModel<ManagedDiskPatch>
Public Class ManagedDiskPatch
Implements IJsonModel(Of ManagedDiskPatch), IPersistableModel(Of ManagedDiskPatch)
- Inheritance
-
ManagedDiskPatch
- Implements
Constructors
ManagedDiskPatch() |
Initializes a new instance of ManagedDiskPatch. |
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. |
DataAccessAuthMode |
Additional authentication requirements when exporting or uploading to a disk or snapshot. |
DiskAccessId |
ARM id of the DiskAccess resource for using private endpoints on disks. |
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. |
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. |
Encryption |
Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. |
EncryptionSettingsGroup |
Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. |
IsOptimizedForFrequentAttach |
Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine. |
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. |
NetworkAccessPolicy |
Policy for accessing the disk via network. |
OSType |
the Operating System type. |
PropertyUpdatesInProgressTargetTier |
The target performance tier of the disk if a tier change operation is in progress. |
PublicNetworkAccess |
Policy for controlling export on the disk. |
PurchasePlan |
Purchase plan information to be added on the OS disk. |
Sku |
The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. |
SupportedCapabilities |
List of supported capabilities to be added on the OS disk. |
SupportsHibernation |
Indicates the OS on a disk supports hibernation. |
Tags |
Resource tags. |
Tier |
Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ManagedDiskPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ManagedDiskPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ManagedDiskPatch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ManagedDiskPatch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ManagedDiskPatch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET