Skip to content
DocsTry Aspire
DocsTry

withAppConfigurationRoleAssignments

Method
📦 Aspire.Hosting.Azure.AppConfiguration v13.4.0
interface ContainerResource {
// ... omitted for brevity
withAppConfigurationRoleAssignments(
target: AzureAppConfigurationResource,
roles: AzureAppConfigurationRole[]): IResource;
}

Signature

methodwithAppConfigurationRoleAssignmentsbuilder
Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure App Configuration resource. This replaces the default role assignments for the resource.
withAppConfigurationRoleAssignments(
target: AzureAppConfigurationResource,
roles: AzureAppConfigurationRole[]): IResource
targetAzureAppConfigurationResource
rolesAzureAppConfigurationRole[]
IResource

Applies to

This method applies to the following types: