共用方式為


NodeTypeVmssDataDisk Class

Definition

Managed data disk description.

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

Constructors

NodeTypeVmssDataDisk(Int32, Int32, ServiceFabricManagedDataDiskType, String)

Initializes a new instance of NodeTypeVmssDataDisk.

Properties

DiskLetter

Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.

DiskSizeInGB

Disk size for each vm in the node type in GBs.

DiskType

Managed data disk type. Specifies the storage account type for the managed disk.

Lun

Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NodeTypeVmssDataDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NodeTypeVmssDataDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NodeTypeVmssDataDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NodeTypeVmssDataDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NodeTypeVmssDataDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to