withAppConfigurationRoleAssignments

Method
📦 Aspire.Hosting.Azure.AppConfiguration v17.0.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
targetAzureAppConfigurationResourceThe target Azure App Configuration resource.
rolesAzureAppConfigurationRole[]The App Configuration roles to be assigned.
IResource

Applies to

This method applies to the following types: