Compartir a través de


AppContainerResources Class

Definition

Container App container resource requirements.

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

Constructors

AppContainerResources()

Initializes a new instance of AppContainerResources.

Properties

Cpu

Required CPU in cores, e.g. 0.5.

EphemeralStorage

Ephemeral Storage, e.g. "1Gi".

Memory

Required memory, e.g. "250Mb".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppContainerResources>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppContainerResources>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppContainerResources>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppContainerResources>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppContainerResources>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to