Dela via


ContainerAppAvailableWorkloadProfileProperties Class

Definition

A class representing the ContainerAppAvailableWorkloadProfileProperties data model.

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

Constructors

ContainerAppAvailableWorkloadProfileProperties()

Initializes a new instance of ContainerAppAvailableWorkloadProfileProperties.

Properties

Applicability

indicates whether the profile is default for the location.

Category

Used to categorize workload profiles.

Cores

Number of cores in CPU.

DisplayName

The everyday name of the workload profile.

Gpus

Number of GPUs.

MemoryInGiB

Memory in GiB.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppAvailableWorkloadProfileProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppAvailableWorkloadProfileProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppAvailableWorkloadProfileProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppAvailableWorkloadProfileProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppAvailableWorkloadProfileProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to