共用方式為


ArmCognitiveServicesModelFactory.CognitiveServicesModel Method

Definition

Initializes a new instance of CognitiveServicesModel.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModel CognitiveServicesModel (Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel model = default, string kind = default, string skuName = default, string description = default);
static member CognitiveServicesModel : Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel * string * string * string -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModel
Public Shared Function CognitiveServicesModel (Optional model As CognitiveServicesAccountModel = Nothing, Optional kind As String = Nothing, Optional skuName As String = Nothing, Optional description As String = Nothing) As CognitiveServicesModel

Parameters

model
CognitiveServicesAccountModel

Cognitive Services account Model.

kind
String

The kind (type) of cognitive service account.

skuName
String

The name of SKU.

description
String

The description of the model.

Returns

A new CognitiveServicesModel instance for mocking.

Applies to