Compartilhar via


ArmComputeModelFactory.ComputeUsage Método

Definição

Inicializa uma nova instância de ComputeUsage.

public static Azure.ResourceManager.Compute.Models.ComputeUsage ComputeUsage (Azure.ResourceManager.Compute.Models.ComputeUsageUnit unit = default, int currentValue = 0, long limit = 0, Azure.ResourceManager.Compute.Models.ComputeUsageName name = default);
static member ComputeUsage : Azure.ResourceManager.Compute.Models.ComputeUsageUnit * int * int64 * Azure.ResourceManager.Compute.Models.ComputeUsageName -> Azure.ResourceManager.Compute.Models.ComputeUsage
Public Shared Function ComputeUsage (Optional unit As ComputeUsageUnit = Nothing, Optional currentValue As Integer = 0, Optional limit As Long = 0, Optional name As ComputeUsageName = Nothing) As ComputeUsage

Parâmetros

unit
ComputeUsageUnit

Uma enumeração que descreve a unidade de medida de uso.

currentValue
Int32

O uso atual do recurso.

limit
Int64

O uso máximo permitido do recurso.

name
ComputeUsageName

O nome do tipo de uso.

Retornos

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

Aplica-se a