Skip to content
Docs Try Aspire
Docs Try

FoundryResource

Handle
📦 Aspire.Hosting.Foundry v13.3.0-preview.1.26254.5
interface FoundryResource
extends IAzureResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithParameters,
IValueProvider,
IValueWithReferences,
IAzureNspAssociationTarget,
IAzurePrivateEndpointTarget {
addDeployment(
name: string,
model: FoundryModel|string,
modelVersion?: string,
format?: string): FoundryDeploymentResource;
addProject(name: string): AzureCognitiveServicesProjectResource;
runAsFoundryLocal(): FoundryResource;
}

Methods

method addDeployment builder
Adds a Microsoft Foundry deployment resource to a Microsoft Foundry resource.
addDeployment(
name: string,
model: FoundryModel|string,
modelVersion?: string,
format?: string): FoundryDeploymentResource
name string
model FoundryModel|string
modelVersion string optional
format string optional
FoundryDeploymentResource
method addProject builder
Adds a Microsoft Foundry project resource to a Microsoft Foundry resource.
addProject(name: string): AzureCognitiveServicesProjectResource
name string
AzureCognitiveServicesProjectResource
method runAsFoundryLocal builder
Configures the Microsoft Foundry resource to run by using Foundry Local.
runAsFoundryLocal(): FoundryResource
FoundryResource