Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

GetScopeUri

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2
func (EntraIdApplicationResource) GetScopeUri(scopeName string) *ReferenceExpression

Signature

methodGetScopeUri
Gets an expression for the full URI of one of this registration's scopes, such as api://{clientId}/access_as_user.
GetScopeUri(scopeName string) *ReferenceExpression
scopeNamestringThe name of a scope added with withScope.
*ReferenceExpression

An expression that resolves when the registration's application ID URI is known.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: