ResourceLimits 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.
The resource limits.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceLimitsTypeConverter))]
public class ResourceLimits : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IResourceLimits
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ResourceLimitsTypeConverter))>]
type ResourceLimits = class
interface IResourceLimits
interface IJsonSerializable
Public Class ResourceLimits
Implements IResourceLimits
- Inheritance
-
ResourceLimits
- Attributes
- Implements
Constructors
ResourceLimits() |
Creates an new ResourceLimits instance. |
Properties
Cpu |
The CPU limit of this container instance. |
GpuCount |
The count of the GPU resource. |
GpuSku |
The SKU of the GPU resource. |
MemoryInGb |
The memory limit in GB of this container instance. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ResourceLimits. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ResourceLimits. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IResourceLimits. |
FromJsonString(String) |
Creates a new instance of ResourceLimits, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ResourceLimits into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |