Dela via


AppCustomPersistentDiskProperties Class

Definition

Custom persistent disk resource payload. Please note AppCustomPersistentDiskProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AppPlatformAzureFileVolume.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.AppPlatform.Models.UnknownCustomPersistentDiskProperties))]
public abstract class AppCustomPersistentDiskProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties>
public abstract class AppCustomPersistentDiskProperties
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.AppPlatform.Models.UnknownCustomPersistentDiskProperties))>]
type AppCustomPersistentDiskProperties = class
    interface IJsonModel<AppCustomPersistentDiskProperties>
    interface IPersistableModel<AppCustomPersistentDiskProperties>
type AppCustomPersistentDiskProperties = class
Public MustInherit Class AppCustomPersistentDiskProperties
Implements IJsonModel(Of AppCustomPersistentDiskProperties), IPersistableModel(Of AppCustomPersistentDiskProperties)
Public MustInherit Class AppCustomPersistentDiskProperties
Inheritance
AppCustomPersistentDiskProperties
Derived
Attributes
Implements

Constructors

AppCustomPersistentDiskProperties(String)

Initializes a new instance of AppCustomPersistentDiskProperties.

Properties

IsReadOnly

Indicates whether the persistent disk is a readOnly one.

MountOptions

These are the mount options for a persistent disk.

MountPath

The mount path of the persistent disk.

Explicit Interface Implementations

IJsonModel<AppCustomPersistentDiskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppCustomPersistentDiskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppCustomPersistentDiskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppCustomPersistentDiskProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppCustomPersistentDiskProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to