다음을 통해 공유


NamespaceResourceQuota Class

Definition

Resource quota for the namespace. Serialized Name: ResourceQuota

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

Constructors

Name Description
NamespaceResourceQuota()

Initializes a new instance of NamespaceResourceQuota.

Properties

Name Description
CpuLimit

CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details. Serialized Name: ResourceQuota.cpuLimit

CpuRequest

CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details. Serialized Name: ResourceQuota.cpuRequest

MemoryLimit

Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details. Serialized Name: ResourceQuota.memoryLimit

MemoryRequest

Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details. Serialized Name: ResourceQuota.memoryRequest

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NamespaceResourceQuota>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamespaceResourceQuota>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NamespaceResourceQuota>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamespaceResourceQuota>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamespaceResourceQuota>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to