Compartilhar via


ArmCognitiveServicesModelFactory.ServiceAccountUsage Método

Definição

Inicializa uma nova instância de ServiceAccountUsage.

public static Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsage ServiceAccountUsage (Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageUnitType? unit = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageMetricName name = default, string quotaPeriod = default, double? limit = default, double? currentValue = default, string nextResetTime = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountQuotaUsageStatus? status = default);
static member ServiceAccountUsage : Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageUnitType> * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageMetricName * string * Nullable<double> * Nullable<double> * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountQuotaUsageStatus> -> Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsage
Public Shared Function ServiceAccountUsage (Optional unit As Nullable(Of ServiceAccountUsageUnitType) = Nothing, Optional name As ServiceAccountUsageMetricName = Nothing, Optional quotaPeriod As String = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional nextResetTime As String = Nothing, Optional status As Nullable(Of ServiceAccountQuotaUsageStatus) = Nothing) As ServiceAccountUsage

Parâmetros

unit
Nullable<ServiceAccountUsageUnitType>

A unidade da métrica.

name
ServiceAccountUsageMetricName

As informações de nome da métrica.

quotaPeriod
String

O período de cota usado para resumir os valores de uso.

limit
Nullable<Double>

Valor máximo para essa métrica.

currentValue
Nullable<Double>

Valor atual para essa métrica.

nextResetTime
String

Próxima hora de redefinição para a cota atual.

status
Nullable<ServiceAccountQuotaUsageStatus>

Status de uso da cota da conta dos Serviços Cognitivos.

Retornos

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

Aplica-se a