共用方式為


ComputeResourceRequirement Class

Definition

The cpu and memory requirement definition.

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

Constructors

ComputeResourceRequirement(Single, Int64)

Initializes a new instance of ComputeResourceRequirement.

Properties

Cpu

The required CPU.

Memory

The required memory in MB, Container memory will be 110 percentile.

Explicit Interface Implementations

IJsonModel<ComputeResourceRequirement>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeResourceRequirement>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourceRequirement>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeResourceRequirement>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeResourceRequirement>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to