FoundryResource Properties
ClassProperties11 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 the "id" output reference for the resource.
public BicepOutputReference Id { 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 default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }Remarks
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use
ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance. 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.