AppCustomPersistentDisk Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type AppCustomPersistentDisk = class
interface IJsonModel<AppCustomPersistentDisk>
interface IPersistableModel<AppCustomPersistentDisk>
Public Class AppCustomPersistentDisk
Implements IJsonModel(Of AppCustomPersistentDisk), IPersistableModel(Of AppCustomPersistentDisk)
- Inheritance
-
System.ObjectAppCustomPersistentDisk
- Implements
-
System.ClientModel.Primitives.IJsonModel<AppCustomPersistentDisk> System.ClientModel.Primitives.IPersistableModel<AppCustomPersistentDisk> System.ClientModel.Primitives.IPersistableModel<T>
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. |
Methods
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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 System.Text.Json.Utf8JsonWriter. |
| IPersistableModel<AppCustomPersistentDisk>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided System.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 System.BinaryData. |