Partilhar via


VirtualMachineManagedDisk Class

Definition

The parameters of a managed disk.

public class VirtualMachineManagedDisk : Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineManagedDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineManagedDisk>
type VirtualMachineManagedDisk = class
    inherit ComputeWriteableSubResourceData
    interface IJsonModel<VirtualMachineManagedDisk>
    interface IPersistableModel<VirtualMachineManagedDisk>
Public Class VirtualMachineManagedDisk
Inherits ComputeWriteableSubResourceData
Implements IJsonModel(Of VirtualMachineManagedDisk), IPersistableModel(Of VirtualMachineManagedDisk)
Inheritance
VirtualMachineManagedDisk
Implements

Constructors

VirtualMachineManagedDisk()

Initializes a new instance of VirtualMachineManagedDisk.

Properties

DiskEncryptionSetId

Gets or sets Id.

Id

Resource Id.

(Inherited from ComputeWriteableSubResourceData)
SecurityProfile

Specifies the security profile for the managed disk.

StorageAccountType

Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ComputeWriteableSubResourceData)

Explicit Interface Implementations

IJsonModel<ComputeWriteableSubResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<ComputeWriteableSubResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<VirtualMachineManagedDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineManagedDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeWriteableSubResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<VirtualMachineManagedDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineManagedDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineManagedDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to