Delen via


AppCustomPersistentDisk Class

Definition

Custom persistent disk resource payload.

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

Constructors

AppCustomPersistentDisk(String)

Initializes a new instance of AppCustomPersistentDisk.

Properties

CustomPersistentDiskProperties

Properties of the 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.

StorageId

The resource id of Azure Spring Apps Storage resource.

Explicit Interface Implementations

IJsonModel<AppCustomPersistentDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppCustomPersistentDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppCustomPersistentDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppCustomPersistentDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppCustomPersistentDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to