Skip to content
Docs Try Aspire

FoundryResource Properties

Class Properties 9 members
Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
AIFoundryApiEndpoint Section titled AIFoundryApiEndpoint BicepOutputReference
Gets the "aiFoundryApiEndpoint" output reference from the Microsoft Foundry resource.
public BicepOutputReference AIFoundryApiEndpoint { get; }
ApiKey Section titled ApiKey nullable string?
The API key to access Foundry Local.
public string? ApiKey { get; }
CapabilityHost Section titled CapabilityHost nullable CognitiveServicesCapabilityHost?
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; }
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
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; }
Endpoint Section titled Endpoint BicepOutputReference
Gets the "endpoint" output reference from the Microsoft Foundry resource.
public BicepOutputReference Endpoint { get; }
Gets whether the resource is running in Foundry Local.
public bool IsEmulator { get; }
NameOutputReference Section titled NameOutputReference BicepOutputReference
Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; }
UriExpression Section titled UriExpression ReferenceExpression
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.