你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevOpsDataDisk Class

Definition

The data disk of the VMSS.

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

Constructors

DevOpsDataDisk()

Initializes a new instance of DevOpsDataDisk.

Properties

Caching

The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

DiskSizeGiB

The initial disk size in gigabytes.

DriveLetter

The drive letter for the empty data disk. If not specified, it will be the first available letter.

StorageAccountType

The storage Account type to be used for the data disk. If omitted, the default is "standard_lrs".

Explicit Interface Implementations

IJsonModel<DevOpsDataDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevOpsDataDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevOpsDataDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevOpsDataDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevOpsDataDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to