EntraIdApplicationResource.publishWithAppRoleAssignment

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
interface EntraIdApplicationResource {
// ... omitted for brevity
publishWithAppRoleAssignment(
identity: AzureUserAssignedIdentityResource | IComputeResource,
roleValues: string[]): EntraIdApplicationResource;
}

Signature

methodpublishWithAppRoleAssignmentbuilder
Publishes explicit application-role assignments to a managed identity or a compute resource's managed identity.
publishWithAppRoleAssignment(
identity: AzureUserAssignedIdentityResource | IComputeResource,
roleValues: string[]): EntraIdApplicationResource
identityAzureUserAssignedIdentityResource | IComputeResourceThe user-assigned identity or compute resource receiving the roles.
roleValuesstring[]Enabled role values declared on this API that allow Application members.
EntraIdApplicationResource

Defined on

This method is defined on the following type: