FoundryResource Properties
Class Properties 9 members
Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
Gets the "aiFoundryApiEndpoint" output reference from the Microsoft Foundry resource.
public BicepOutputReference AIFoundryApiEndpoint { get; } The API key to access Foundry Local.
public string? ApiKey { get; } 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; } 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; } 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; } Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; } Gets the connection URI expression for the Microsoft Foundry endpoint.
public ReferenceExpression UriExpression { get; }Remarks
In emulator mode, resolves to the emulator service URI. In Azure mode, resolves to the Microsoft Foundry endpoint.