Dela via


RestorePointSourceVmDataDisk Class

Definition

Describes a data disk.

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

Constructors

RestorePointSourceVmDataDisk()

Initializes a new instance of RestorePointSourceVmDataDisk.

Properties

Caching

Gets the caching type.

DiskRestorePoint

Contains Disk Restore Point properties.

DiskSizeGB

Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.

Lun

Gets the logical unit number.

ManagedDisk

Contains the managed disk details.

Name

Gets the disk name.

WriteAcceleratorEnabled

Shows true if the disk is write-accelerator enabled.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RestorePointSourceVmDataDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestorePointSourceVmDataDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestorePointSourceVmDataDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestorePointSourceVmDataDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestorePointSourceVmDataDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to