Share via


ArmCognitiveServicesModelFactory.CognitiveServicesAccountModel Method

Definition

Initializes a new instance of CognitiveServicesAccountModel.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel CognitiveServicesAccountModel (string format = default, string name = default, string version = default, string source = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit callRateLimit = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel baseModel = default, bool? isDefaultVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModelSku> skus = default, int? maxCapacity = default, System.Collections.Generic.IDictionary<string,string> capabilities = default, System.Collections.Generic.IDictionary<string,string> finetuneCapabilities = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountModelDeprecationInfo deprecation = default, Azure.ResourceManager.CognitiveServices.Models.ModelLifecycleStatus? lifecycleStatus = default, Azure.ResourceManager.Models.SystemData systemData = default);
static member CognitiveServicesAccountModel : string * string * string * string * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel * Nullable<bool> * seq<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModelSku> * Nullable<int> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountModelDeprecationInfo * Nullable<Azure.ResourceManager.CognitiveServices.Models.ModelLifecycleStatus> * Azure.ResourceManager.Models.SystemData -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel
Public Shared Function CognitiveServicesAccountModel (Optional format As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional source As String = Nothing, Optional callRateLimit As ServiceAccountCallRateLimit = Nothing, Optional baseModel As CognitiveServicesAccountDeploymentModel = Nothing, Optional isDefaultVersion As Nullable(Of Boolean) = Nothing, Optional skus As IEnumerable(Of CognitiveServicesModelSku) = Nothing, Optional maxCapacity As Nullable(Of Integer) = Nothing, Optional capabilities As IDictionary(Of String, String) = Nothing, Optional finetuneCapabilities As IDictionary(Of String, String) = Nothing, Optional deprecation As ServiceAccountModelDeprecationInfo = Nothing, Optional lifecycleStatus As Nullable(Of ModelLifecycleStatus) = Nothing, Optional systemData As SystemData = Nothing) As CognitiveServicesAccountModel

Parameters

format
String

Deployment model format.

name
String

Deployment model name.

version
String

Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.

source
String

Optional. Deployment model source ARM resource ID.

callRateLimit
ServiceAccountCallRateLimit

The call rate limit Cognitive Services account.

baseModel
CognitiveServicesAccountDeploymentModel

Base Model Identifier.

isDefaultVersion
Nullable<Boolean>

If the model is default version.

skus
IEnumerable<CognitiveServicesModelSku>

The list of Model Sku.

maxCapacity
Nullable<Int32>

The max capacity.

capabilities
IDictionary<String,String>

The capabilities.

finetuneCapabilities
IDictionary<String,String>

The capabilities for finetune models.

deprecation
ServiceAccountModelDeprecationInfo

Cognitive Services account ModelDeprecationInfo.

lifecycleStatus
Nullable<ModelLifecycleStatus>

Model lifecycle status.

systemData
SystemData

Metadata pertaining to creation and last modification of the resource.

Returns

A new CognitiveServicesAccountModel instance for mocking.

Applies to