Partager via


Capabilities Class

Definition

The regional capabilities.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CapabilitiesTypeConverter))]
public class Capabilities : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ICapabilities
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.CapabilitiesTypeConverter))>]
type Capabilities = class
    interface ICapabilities
    interface IJsonSerializable
Public Class Capabilities
Implements ICapabilities
Inheritance
Capabilities
Attributes
Implements

Constructors

Capabilities()

Creates an new Capabilities instance.

Properties

CapabilityMaxCpu

The maximum allowed CPU request in cores.

CapabilityMaxGpuCount

The maximum allowed GPU count.

CapabilityMaxMemoryInGb

The maximum allowed memory request in GB.

Gpu

The GPU sku that this capability describes.

IPAddressType

The ip address type that this capability describes.

Location

The resource location.

OSType

The OS type that this capability describes.

ResourceType

The resource type that this capability describes.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Capabilities.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Capabilities.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ICapabilities.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Capabilities into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to