EntraIdApplicationResource.PublishWithAppRoleAssignment

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
type EntraIdApplicationResource interface {
// ... omitted for brevity
PublishWithAppRoleAssignment(
identity any,
roleValues []string,
) EntraIdApplicationResource
}

Signature

methodPublishWithAppRoleAssignmentbuilder
Publishes explicit application-role assignments to a managed identity or a compute resource's managed identity.
PublishWithAppRoleAssignment(
identity any,
roleValues []string,
) EntraIdApplicationResource
identityanyThe user-assigned identity or compute resource receiving the roles.
roleValues[]stringEnabled role values declared on this API that allow Application members.
EntraIdApplicationResource

The API registration builder.

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

Defined on

This method is defined on the following type: