共用方式為


ArmCognitiveServicesModelFactory.CognitiveServicesResourceSku Method

Definition

Initializes a new instance of CognitiveServicesResourceSku.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesResourceSku CognitiveServicesResourceSku (string resourceType = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSku sku = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig capacity = default);
static member CognitiveServicesResourceSku : string * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSku * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesResourceSku
Public Shared Function CognitiveServicesResourceSku (Optional resourceType As String = Nothing, Optional sku As CognitiveServicesSku = Nothing, Optional capacity As CognitiveServicesCapacityConfig = Nothing) As CognitiveServicesResourceSku

Parameters

resourceType
String

The resource type name.

sku
CognitiveServicesSku

The resource model definition representing SKU.

capacity
CognitiveServicesCapacityConfig

The capacity configuration.

Returns

A new CognitiveServicesResourceSku instance for mocking.

Applies to