Share 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>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.AppPlatform.Models.UnknownCustomPersistentDiskProperties))>]
type AppCustomPersistentDiskProperties = class
    interface IJsonModel<AppCustomPersistentDiskProperties>
    interface IPersistableModel<AppCustomPersistentDiskProperties>
Public MustInherit Class AppCustomPersistentDiskProperties
Implements IJsonModel(Of AppCustomPersistentDiskProperties), IPersistableModel(Of AppCustomPersistentDiskProperties)
Inheritance
System.Object
AppCustomPersistentDiskProperties
Derived
Attributes
System.ClientModel.Primitives.PersistableModelProxyAttribute
Implements
System.ClientModel.Primitives.IJsonModel<AppCustomPersistentDiskProperties> System.ClientModel.Primitives.IPersistableModel<AppCustomPersistentDiskProperties> System.ClientModel.Primitives.IPersistableModel<T>

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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 System.Text.Json.Utf8JsonWriter.

IPersistableModel<AppCustomPersistentDiskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.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 System.BinaryData.

Applies to