Skip to content
DocsTry Aspire
DocsTry

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

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the Azure OpenAI Deployment resource.
propertydeploymentNamestringget · set
Gets or sets the name of the deployment.
propertymodelNamestringget · set
Gets the name of the model.
propertymodelVersionstringget · set
Gets the version of the model.
propertyparentAzureOpenAIResourceget
Gets the parent Azure OpenAI resource.
propertyskuCapacitynumberget · set
Gets the capacity of the SKU.
propertyskuNamestringget · set
Gets the name of the SKU.

Methods

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