FoundryResource
Classnet10.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.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IAzureNspAssociationTarget, Aspire.Hosting.Azure.IAzurePrivateEndpointTarget{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferencesIAzureNspAssociationTargetIAzurePrivateEndpointTarget
12 members
Constructors1
Section titled Constructors Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
Properties10
Section titled PropertiesBicepOutputReference Gets the "aiFoundryApiEndpoint" output reference from the Microsoft Foundry resource.
CapabilityHost get; setCognitiveServicesCapabilityHost? The capability host associated with this project, if any. If none is set, we provision a default capability host for hosted agents.
ReferenceExpression 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.
ReferenceExpression Gets the connection URI expression for the Microsoft Foundry endpoint.
Methods1
Section titled MethodsCognitiveServicesAccount Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource.