AzureAIFoundryExtensions.RunAsFoundryLocal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Foundry Local resource to the distributed application builder.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryResource> RunAsFoundryLocal(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryResource> builder);
static member RunAsFoundryLocal : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryResource> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryResource>
<Extension()>
Public Function RunAsFoundryLocal (builder As IResourceBuilder(Of AzureAIFoundryResource)) As IResourceBuilder(Of AzureAIFoundryResource)
Parameters
- builder
- IResourceBuilder<AzureAIFoundryResource>
The distributed application builder.
Returns
A resource builder for the Foundry Local resource.