Skip to content
Docs Try Aspire
Docs Try

FoundryDeploymentResource

Handle
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
interface FoundryDeploymentResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
FoundryResource]],
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
deploymentName: string;
format: string;
modelName: string;
modelVersion: string;
parent: FoundryResource;
skuCapacity: number;
skuName: string;
withProperties(configure: (obj: FoundryDeploymentResource) => Promise<void>): FoundryDeploymentResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.
property deploymentName string get · set
Gets or sets the name of the deployment.
property format string get · set
Gets or sets the format of deployment model.
property modelName string get · set
Gets or sets the name of the model.
property modelVersion string get · set
Gets or sets the version of the model.
property parent FoundryResource get · set
Gets the parent Microsoft Foundry resource.
property skuCapacity number get · set
Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
property skuName string get · set
Gets or sets the name of the SKU.

Methods

method withProperties builder
Allows setting the properties of a Microsoft Foundry Deployment resource.
withProperties(configure: (obj: FoundryDeploymentResource) => Promise<void>): FoundryDeploymentResource
configure (obj: FoundryDeploymentResource) => Promise<void>
FoundryDeploymentResource