Udostępnij za pośrednictwem


ContainerAppWorkloadProfile Class

Definition

Workload profile to scope container app execution.

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

Constructors

ContainerAppWorkloadProfile(String, Int32, Int32)

SkuName for container app.

ContainerAppWorkloadProfile(String, String)

Initializes a new instance of ContainerAppWorkloadProfile.

Properties

MaximumNodeCount

The maximum capacity.

MinimumNodeCount

The minimum capacity.

Name

Workload profile type for the workloads to run on.

WorkloadProfileType

Workload profile type for the workloads to run on.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppWorkloadProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppWorkloadProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppWorkloadProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppWorkloadProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppWorkloadProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to