Share via


ContainerResourceRequirements Class

Definition

Resource requirements for each container instance within an online deployment.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ContainerResourceRequirementsTypeConverter))]
public class ContainerResourceRequirements : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IContainerResourceRequirements
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ContainerResourceRequirementsTypeConverter))>]
type ContainerResourceRequirements = class
    interface IContainerResourceRequirements
    interface IJsonSerializable
Public Class ContainerResourceRequirements
Implements IContainerResourceRequirements
Inheritance
ContainerResourceRequirements
Attributes
Implements

Constructors

ContainerResourceRequirements()

Creates an new ContainerResourceRequirements instance.

Properties

ContainerResourceLimitCpu

Number of vCPUs request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

ContainerResourceLimitGpu

Number of Nvidia GPU cards request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

ContainerResourceLimitMemory

Memory size request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

ContainerResourceRequestCpu

Number of vCPUs request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

ContainerResourceRequestGpu

Number of Nvidia GPU cards request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

ContainerResourceRequestMemory

Memory size request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerResourceRequirements.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerResourceRequirements.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IContainerResourceRequirements.

FromJsonString(String)

Creates a new instance of ContainerResourceRequirements, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerResourceRequirements into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to