AzureAIProjectsModelFactory.ModelDeployment 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.
Model Deployment Definition.
public static Azure.AI.Projects.ModelDeployment ModelDeployment(string name = default, string modelName = default, string modelVersion = default, string modelPublisher = default, System.Collections.Generic.IReadOnlyDictionary<string,string> capabilities = default, Azure.AI.Projects.ModelDeploymentSku sku = default, string connectionName = default);
static member ModelDeployment : string * string * string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.AI.Projects.ModelDeploymentSku * string -> Azure.AI.Projects.ModelDeployment
Public Shared Function ModelDeployment (Optional name As String = Nothing, Optional modelName As String = Nothing, Optional modelVersion As String = Nothing, Optional modelPublisher As String = Nothing, Optional capabilities As IReadOnlyDictionary(Of String, String) = Nothing, Optional sku As ModelDeploymentSku = Nothing, Optional connectionName As String = Nothing) As ModelDeployment
Parameters
- name
- String
Name of the deployment.
- modelName
- String
Publisher-specific name of the deployed model.
- modelVersion
- String
Publisher-specific version of the deployed model.
- modelPublisher
- String
Name of the deployed model's publisher.
- capabilities
- IReadOnlyDictionary<String,String>
Capabilities of deployed model.
Sku of the model deployment.
- connectionName
- String
Name of the connection the deployment comes from.
Returns
A new ModelDeployment instance for mocking.