Compartilhar via


ArmCognitiveServicesModelFactory.AbusePenalty Método

Definição

Inicializa uma nova instância de AbusePenalty.

public static Azure.ResourceManager.CognitiveServices.Models.AbusePenalty AbusePenalty (Azure.ResourceManager.CognitiveServices.Models.AbusePenaltyAction? action = default, float? rateLimitPercentage = default, DateTimeOffset? expiration = default);
static member AbusePenalty : Nullable<Azure.ResourceManager.CognitiveServices.Models.AbusePenaltyAction> * Nullable<single> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CognitiveServices.Models.AbusePenalty
Public Shared Function AbusePenalty (Optional action As Nullable(Of AbusePenaltyAction) = Nothing, Optional rateLimitPercentage As Nullable(Of Single) = Nothing, Optional expiration As Nullable(Of DateTimeOffset) = Nothing) As AbusePenalty

Parâmetros

action
Nullable<AbusePenaltyAction>

A ação de AbusePenalty.

rateLimitPercentage
Nullable<Single>

O percentual de limite de taxa.

expiration
Nullable<DateTimeOffset>

A datetime de expiração do AbusePenalty.

Retornos

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

Aplica-se a