Compartilhar via


ArmContainerInstanceModelFactory.ContainerSupportedCapabilities Método

Definição

Inicializa uma nova instância de ContainerSupportedCapabilities.

public static Azure.ResourceManager.ContainerInstance.Models.ContainerSupportedCapabilities ContainerSupportedCapabilities (float? maxMemoryInGB = default, float? maxCpu = default, float? maxGpuCount = default);
static member ContainerSupportedCapabilities : Nullable<single> * Nullable<single> * Nullable<single> -> Azure.ResourceManager.ContainerInstance.Models.ContainerSupportedCapabilities
Public Shared Function ContainerSupportedCapabilities (Optional maxMemoryInGB As Nullable(Of Single) = Nothing, Optional maxCpu As Nullable(Of Single) = Nothing, Optional maxGpuCount As Nullable(Of Single) = Nothing) As ContainerSupportedCapabilities

Parâmetros

maxMemoryInGB
Nullable<Single>

A solicitação de memória máxima permitida em GB.

maxCpu
Nullable<Single>

A solicitação de CPU máxima permitida em núcleos.

maxGpuCount
Nullable<Single>

A contagem máxima de GPU permitida.

Retornos

Uma nova ContainerSupportedCapabilities instância para simulação.

Aplica-se a