DiskPoolVolume Class

Definition

An iSCSI volume from Microsoft.StoragePool provider.

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

Constructors

DiskPoolVolume(ResourceIdentifier, String)

Initializes a new instance of DiskPoolVolume.

Properties

LunName

Name of the LUN to be used for datastore.

MountOption

Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.

Path

Device path.

TargetId

Azure resource ID of the iSCSI target.

Explicit Interface Implementations

IJsonModel<DiskPoolVolume>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiskPoolVolume>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskPoolVolume>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiskPoolVolume>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiskPoolVolume>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to