FoundryResource
Class net8.0
Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
namespace Aspire.Hosting.Foundry;
public class FoundryResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} AzureProvisioningResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferences
11 members
Constructors1
Section titled ConstructorsProperties9
Section titled PropertiesAIFoundryApiEndpointgetBicepOutputReference Gets the "aiFoundryApiEndpoint" output reference from the Microsoft Foundry resource.
ApiKeygetstring? The API key to access Foundry Local.
CapabilityHostget; setCognitiveServicesCapabilityHost? The capability host associated with this project, if any. If none is set, we provision a default capability host for hosted agents.
ConnectionStringExpressiongetReferenceExpression Gets the connection string template for the manifest for the resource.
Deploymentsget Gets the list of deployment resources associated with the Microsoft Foundry.
EndpointgetBicepOutputReference Gets the "endpoint" output reference from the Microsoft Foundry resource.
IsEmulatorgetbool Gets whether the resource is running in Foundry Local.
NameOutputReferencegetBicepOutputReference Gets the "name" output reference for the resource.
UriExpressiongetReferenceExpression Gets the connection URI expression for the Microsoft Foundry endpoint.