Skip to content
Docs Try Aspire

AzureAIFoundryResource Properties

Class Properties 8 members
Represents an Azure AI Foundry resource.
AIFoundryApiEndpoint Section titled AIFoundryApiEndpoint BicepOutputReference
Gets the "aiFoundryApiEndpoint" output reference from the Azure AI Foundry resource.
public BicepOutputReference AIFoundryApiEndpoint { get; }
ApiKey Section titled ApiKey nullable string?
The API key to access Foundry Local
public string? ApiKey { get; }
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 Azure AI Foundry.
public IReadOnlyList<AzureAIFoundryDeploymentResource> Deployments { get; }
Endpoint Section titled Endpoint BicepOutputReference
Gets the "endpoint" output reference from the Azure AI Foundry resource.
public BicepOutputReference Endpoint { get; }
Gets whether the resource is running in the 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 AI Foundry endpoint.
public ReferenceExpression UriExpression { get; }
In emulator mode, resolves to the emulator service URI. In Azure mode, resolves to the Azure AI Foundry endpoint.