Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EntraIdCustomApi

Struct
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2

Identifies an API that is not an Aspire resource by its application ID and application ID URI.

type EntraIdCustomApi struct {
DisplayName string `json:"DisplayName"`
ApplicationId string `json:"ApplicationId"`
ResourceUri string `json:"ResourceUri"`
BaseUrl *string `json:"BaseUrl"`
}

Fields

DisplayNamestring
Gets a name for the API used in diagnostics and as the name of its DownstreamApis entry (its letters and digits).
ApplicationIdstring
Gets the API's application (client) ID as a GUID.
ResourceUristring
Gets the API's application ID URI, the prefix of its scopes in token requests. It is not derived from the application ID because an API can use any URI.
BaseUrl*stringoptional
Gets the API's root URL, which Aspire adds to the DownstreamApis entry as BaseUrl. When omitted, the caller must supply the address.