FoundryResource
Handle
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
Adds a Microsoft Foundry deployment resource to a Microsoft Foundry resource.
addDeployment( name: string, model: FoundryModel|string, modelVersion?: string, format?: string): FoundryDeploymentResourceParameters
name string model FoundryModel|string modelVersion string optional format string optional Returns
FoundryDeploymentResource Adds a Microsoft Foundry project resource to the application model. This will also attach the project as a deployment target for agents.
addProject(name: string): AzureCognitiveServicesProjectResourceParameters
name string Returns
AzureCognitiveServicesProjectResource Adds a Foundry Local resource to the distributed application builder.
runAsFoundryLocal(): FoundryResourceReturns
FoundryResource