Skip to content
Docs Try Aspire
Docs Try

AzureOpenAIDeploymentResource

Handle
📦 Aspire.Hosting.Azure.CognitiveServices v13.3.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 ConnectionStringExpression property
property deploymentName string get · set
Gets the DeploymentName property
property modelName string get · set
Gets the ModelName property
property modelVersion string get · set
Gets the ModelVersion property
property parent AzureOpenAIResource get
Gets the Parent property
property skuCapacity number get · set
Gets the SkuCapacity property
property skuName string get · set
Gets the SkuName property

Methods

method withProperties builder
Configures properties of an Azure OpenAI deployment
withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource
configure (obj: AzureOpenAIDeploymentResource) => Promise<void>
AzureOpenAIDeploymentResource