AzureOpenAIDeployment Constructors
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.
Overloads
AzureOpenAIDeployment(String, String, String, String, Int32) |
Represents an Azure OpenAI Deployment. |
AzureOpenAIDeployment(String, String, String, String, Nullable<Int32>) |
Represents an Azure OpenAI Deployment. |
AzureOpenAIDeployment(String, String, String, String, Int32)
- Source:
- AzureOpenAIDeployment.cs
Represents an Azure OpenAI Deployment.
public AzureOpenAIDeployment (string name, string modelName, string modelVersion, string skuName = "Standard", int skuCapacity = 8);
new Aspire.Hosting.ApplicationModel.AzureOpenAIDeployment : string * string * string * string * int -> Aspire.Hosting.ApplicationModel.AzureOpenAIDeployment
Public Sub New (name As String, modelName As String, modelVersion As String, Optional skuName As String = "Standard", Optional skuCapacity As Integer = 8)
Parameters
- name
- String
The name of the deployment
- modelName
- String
The name of the model.
- modelVersion
- String
The version of the model.
- skuName
- String
The name of the SKU.
- skuCapacity
- Int32
The capacity of the SKU.
Applies to
AzureOpenAIDeployment(String, String, String, String, Nullable<Int32>)
- Source:
- AzureOpenAIDeployment.cs
Represents an Azure OpenAI Deployment.
public AzureOpenAIDeployment (string name, string modelName, string modelVersion, string? skuName = default, int? skuCapacity = default);
new Aspire.Hosting.ApplicationModel.AzureOpenAIDeployment : string * string * string * string * Nullable<int> -> Aspire.Hosting.ApplicationModel.AzureOpenAIDeployment
Public Sub New (name As String, modelName As String, modelVersion As String, Optional skuName As String = Nothing, Optional skuCapacity As Nullable(Of Integer) = Nothing)
Parameters
- name
- String
The name of the deployment
- modelName
- String
The name of the model.
- modelVersion
- String
The version of the model.
- skuName
- String
The name of the SKU.