Compartilhar via


ArmCognitiveServicesModelFactory.CognitiveServicesModelSku Método

Definição

Inicializa uma nova instância de CognitiveServicesModelSku.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModelSku CognitiveServicesModelSku (string name = default, string usageName = default, DateTimeOffset? deprecationOn = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig capacity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit> rateLimits = default);
static member CognitiveServicesModelSku : string * string * Nullable<DateTimeOffset> * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig * seq<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModelSku
Public Shared Function CognitiveServicesModelSku (Optional name As String = Nothing, Optional usageName As String = Nothing, Optional deprecationOn As Nullable(Of DateTimeOffset) = Nothing, Optional capacity As CognitiveServicesCapacityConfig = Nothing, Optional rateLimits As IEnumerable(Of ServiceAccountCallRateLimit) = Nothing) As CognitiveServicesModelSku

Parâmetros

name
String

O nome do SKU do modelo.

usageName
String

O nome de uso do SKU do modelo.

deprecationOn
Nullable<DateTimeOffset>

O datetime de substituição do SKU do modelo.

capacity
CognitiveServicesCapacityConfig

A configuração de capacidade.

rateLimits
IEnumerable<ServiceAccountCallRateLimit>

A lista de rateLimit.

Retornos

Uma nova CognitiveServicesModelSku instância para zombar.

Aplica-se a