ArmCognitiveServicesModelFactory.CognitiveServicesAccountDeploymentModel 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 CognitiveServicesAccountDeploymentModel.
public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel CognitiveServicesAccountDeploymentModel (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);
static member CognitiveServicesAccountDeploymentModel : string * string * string * string * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel
Public Shared Function CognitiveServicesAccountDeploymentModel (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) As CognitiveServicesAccountDeploymentModel
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.
Returns
A new CognitiveServicesAccountDeploymentModel instance for mocking.