Compartilhar via


ContainerResourceSettings Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ContainerResourceSettingsTypeConverter))]
public class ContainerResourceSettings : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IContainerResourceSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ContainerResourceSettingsTypeConverter))>]
type ContainerResourceSettings = class
    interface IContainerResourceSettings
    interface IJsonSerializable
Public Class ContainerResourceSettings
Implements IContainerResourceSettings
Inheritance
ContainerResourceSettings
Attributes
Implements

Constructors

ContainerResourceSettings()

Creates an new ContainerResourceSettings instance.

Properties

Cpu

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

Gpu

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

Memory

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 ContainerResourceSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerResourceSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IContainerResourceSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerResourceSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to