Watch Aspire live streamsDocsTry Aspire

addDeployment

Method
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
interface FoundryResource {
// ... omitted for brevity
addDeployment(
name: string,
model: FoundryModel | string,
modelVersion?: string,
format?: string): FoundryDeploymentResource;
}

Signature

methodaddDeploymentbuilder
Adds a Microsoft Foundry deployment resource to a Microsoft Foundry resource.
addDeployment(
name: string,
model: FoundryModel | string,
modelVersion?: string,
format?: string): FoundryDeploymentResource
namestring
modelFoundryModel | string
modelVersionstringoptional
formatstringoptional
FoundryDeploymentResource

Applies to

This method applies to the following types: