ContainerResourceSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ContainerResourceSettingsTypeConverter))]
public class ContainerResourceSettings : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IContainerResourceSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.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.Api20240401.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() |