Skip to content
DocsTry Aspire
DocsTry

FoundryResource Properties

ClassProperties10 members
Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
AIFoundryApiEndpointSection titled AIFoundryApiEndpointBicepOutputReference
Gets the "aiFoundryApiEndpoint" output reference from the Microsoft Foundry resource.
public BicepOutputReference AIFoundryApiEndpoint { get; }
ApiKeySection titled ApiKeynullablestring?
The API key to access Foundry Local.
public string? ApiKey { get; }
CapabilityHostSection titled CapabilityHostnullableCognitiveServicesCapabilityHost?
The capability host associated with this project, if any. If none is set, we provision a default capability host for hosted agents.
public CognitiveServicesCapabilityHost? CapabilityHost { get; set; }
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string template for the manifest for the resource.
public ReferenceExpression ConnectionStringExpression { get; }
Gets the list of deployment resources associated with the Microsoft Foundry.
public IReadOnlyList<FoundryDeploymentResource> Deployments { get; }
EndpointSection titled EndpointBicepOutputReference
Gets the "endpoint" output reference from the Microsoft Foundry resource.
public BicepOutputReference Endpoint { get; }
IdSection titled IdBicepOutputReference
Gets the "id" output reference for the resource.
public BicepOutputReference Id { get; }
Gets whether the resource is running in Foundry Local.
public bool IsEmulator { get; }
NameOutputReferenceSection titled NameOutputReferenceBicepOutputReference
Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the Microsoft Foundry endpoint.
public ReferenceExpression UriExpression { get; }
In emulator mode, resolves to the emulator service URI. In Azure mode, resolves to the Microsoft Foundry endpoint.