Skip to content
Docs Try Aspire
Docs Try

withContainerRegistryRoleAssignments

Method
📦 Aspire.Hosting.Azure.ContainerRegistry v13.4.0
interface ContainerResource {
// ... omitted for brevity
withContainerRegistryRoleAssignments(
target: AzureContainerRegistryResource,
roles: AzureContainerRegistryRole[]): IResource;
}

Signature

method withContainerRegistryRoleAssignments builder
Adds role assignments to the specified Azure Container Registry resource.
withContainerRegistryRoleAssignments(
target: AzureContainerRegistryResource,
roles: AzureContainerRegistryRole[]): IResource
target AzureContainerRegistryResource
roles AzureContainerRegistryRole[]
IResource

Applies to

This method applies to the following types: