Skip to content
Docs Try Aspire

AzureCognitiveServicesProjectResource Properties

Class Properties 9 members
The Microsoft Foundry project resource that can be used for Microsoft Foundry AI agents. This also functions as an Aspire compute environment resource for deployment.
AppInsights Section titled AppInsights nullable AzureApplicationInsightsResource?
The Application Insights resource associated with this project, if any. This will be used as the destination for server-side telemetry from hosted agents and optionally for client-side telemetry if the application decides to use it.
public AzureApplicationInsightsResource? AppInsights { get; set; }
The capability host resources associated with this project, if any
public CapabilityHostConfiguration? CapabilityHostConfiguration { get; set; }
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the .NET-style connection string for the project API endpoint.
public ReferenceExpression ConnectionStringExpression { get; }
ContainerRegistry Section titled ContainerRegistry nullable AzureContainerRegistryResource?
Gets the Azure Container Registry resource used by this project.
public AzureContainerRegistryResource? ContainerRegistry { get; }
Endpoint Section titled Endpoint BicepOutputReference
Gets the "endpoint" output reference from the Microsoft Foundry project resource. This will be used to instantiate the AI project clients. Will be of the format https:/{accountName}.services.ai.azure.com/api/projects/{projectName}?api-version={apiVersion}
public BicepOutputReference Endpoint { get; }
Id Section titled Id BicepOutputReference
Azure Resource ID output reference.
public BicepOutputReference Id { get; }
Connection to the user-assigned key vault, if any.
public AzureCognitiveServicesProjectConnectionResource? KeyVaultConn { get; set; }
PrincipalId Section titled PrincipalId BicepOutputReference
Gets the managed identity principal ID, whether system-assigned or user-assigned.
public BicepOutputReference PrincipalId { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the Microsoft Foundry project endpoint as a ReferenceExpression that can be used in environment variables or connection strings. This will be used to instantiate the AI project clients. Will be of the format https:/{accountName}.services.ai.azure.com/api/projects/{projectName}?api-version={apiVersion}
public ReferenceExpression UriExpression { get; }