Skip to content
Docs Try Aspire
Docs Try

AzureOpenAIDeploymentResource

Handle
📦 Aspire.Hosting.Azure.CognitiveServices v13.4.0
interface AzureOpenAIDeploymentResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
AzureOpenAIResource]],
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
deploymentName: string;
modelName: string;
modelVersion: string;
readonly parent: AzureOpenAIResource;
skuCapacity: number;
skuName: string;
withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Azure OpenAI Deployment resource.
property deploymentName string get · set
Gets or sets the name of the deployment.
property modelName string get · set
Gets the name of the model.
property modelVersion string get · set
Gets the version of the model.
property parent AzureOpenAIResource get
Gets the parent Azure OpenAI resource.
property skuCapacity number get · set
Gets the capacity of the SKU.
property skuName string get · set
Gets the name of the SKU.

Methods

method withProperties builder
Allows setting the properties of an Azure OpenAI Deployment resource.
withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource
configure (obj: AzureOpenAIDeploymentResource) => Promise<void>
AzureOpenAIDeploymentResource