Skip to content
Docs Try Aspire
Docs Try

withAppConfigurationRoleAssignments

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

Signature

method withAppConfigurationRoleAssignments builder
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
target AzureAppConfigurationResource
roles AzureAppConfigurationRole[]
IResource

Applies to

This method applies to the following types: