ArmCognitiveServicesModelFactory.CognitiveServicesModelSku Method

Definition

Initializes a new instance of 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

Parameters

name
String

The name of the model SKU.

usageName
String

The usage name of the model SKU.

deprecationOn
Nullable<DateTimeOffset>

The datetime of deprecation of the model SKU.

capacity
CognitiveServicesCapacityConfig

The capacity configuration.

rateLimits
IEnumerable<ServiceAccountCallRateLimit>

The list of rateLimit.

Returns

A new CognitiveServicesModelSku instance for mocking.

Applies to