ArmCognitiveServicesModelFactory.CognitiveServicesAccountModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CognitiveServicesAccountModel.
public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel CognitiveServicesAccountModel (string publisher = default, string format = default, string name = default, string version = default, string source = default, Azure.Core.ResourceIdentifier sourceAccount = 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 * string * Azure.Core.ResourceIdentifier * 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 publisher As String = Nothing, Optional format As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional source As String = Nothing, Optional sourceAccount As ResourceIdentifier = 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
- publisher
- String
Deployment model publisher.
- 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.
- sourceAccount
- ResourceIdentifier
Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- callRateLimit
- ServiceAccountCallRateLimit
The call rate limit Cognitive Services account.
- baseModel
- CognitiveServicesAccountDeploymentModel
Properties of Cognitive Services account deployment model.
The list of Model Sku.
- 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.