Skip to content
DocsTry Aspire
DocsTry

AzureOpenAIDeployment Constructors

ClassConstructors1 member
Represents an Azure OpenAI Deployment.
Constructor(string, string, string, string?, int?)Section titled Constructor(string, string, string, string?, int?)
Represents an Azure OpenAI Deployment.
public class AzureOpenAIDeployment
{
public AzureOpenAIDeployment(
string name,
string modelName,
string modelVersion,
string? skuName = null,
int? skuCapacity = null)
{
// ...
}
}
namestringThe name of the deployment
modelNamestringThe name of the model.
modelVersionstringThe version of the model.
skuNamestring?optionalThe name of the SKU.
skuCapacityint?optionalThe capacity of the SKU.