Share via


ContainerSupportedCapabilities Class

Definition

The supported capabilities.

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

Properties

MaxCpu

The maximum allowed CPU request in cores.

MaxGpuCount

The maximum allowed GPU count.

MaxMemoryInGB

The maximum allowed memory request in GB.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerSupportedCapabilities>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerSupportedCapabilities>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerSupportedCapabilities>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerSupportedCapabilities>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerSupportedCapabilities>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to