Compartilhar via


ArmContainerInstanceModelFactory.ContainerInstanceUsage Método

Definição

Inicializa uma nova instância de ContainerInstanceUsage.

public static Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsage ContainerInstanceUsage (string id = default, string unit = default, int? currentValue = default, int? limit = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName name = default);
static member ContainerInstanceUsage : string * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName -> Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsage
Public Shared Function ContainerInstanceUsage (Optional id As String = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional name As ContainerInstanceUsageName = Nothing) As ContainerInstanceUsage

Parâmetros

id
String

Id do resultado do uso.

unit
String

Unidade do resultado de uso.

currentValue
Nullable<Int32>

O uso atual do recurso.

limit
Nullable<Int32>

O uso máximo permitido do recurso.

name
ContainerInstanceUsageName

O objeto name do recurso.

Retornos

Uma nova ContainerInstanceUsage instância para zombar.

Aplica-se a