Share via


AppPersistentDisk Class

Definition

Persistent disk payload.

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

Constructors

AppPersistentDisk()

Initializes a new instance of AppPersistentDisk.

Properties

MountPath

Mount path of the persistent disk.

SizeInGB

Size of the persistent disk in GB.

UsedInGB

Size of the used persistent disk in GB.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppPersistentDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppPersistentDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<AppPersistentDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<AppPersistentDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppPersistentDisk>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to