Skip to content
DocsTry Aspire
DocsTry

AzureCognitiveServicesProjectResource Properties

ClassProperties9 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.
AppInsightsSection titled AppInsightsnullableAzureApplicationInsightsResource?
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; }
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the .NET-style connection string for the project API endpoint.
public ReferenceExpression ConnectionStringExpression { get; }
ContainerRegistrySection titled ContainerRegistrynullableAzureContainerRegistryResource?
Gets the Azure Container Registry resource used by this project.
public AzureContainerRegistryResource? ContainerRegistry { get; }
EndpointSection titled EndpointBicepOutputReference
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; }
IdSection titled IdBicepOutputReference
Azure Resource ID output reference.
public BicepOutputReference Id { get; }
Connection to the user-assigned key vault, if any.
public AzureCognitiveServicesProjectConnectionResource? KeyVaultConn { get; set; }
PrincipalIdSection titled PrincipalIdBicepOutputReference
Gets the managed identity principal ID, whether system-assigned or user-assigned.
public BicepOutputReference PrincipalId { get; }
UriExpressionSection titled UriExpressionReferenceExpression
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; }