withContainerRegistryRoleAssignments
Function
interface ContainerResource { // ... omitted for brevity withContainerRegistryRoleAssignments( target: AzureContainerRegistryResource, roles: AzureContainerRegistryRole[]): IResource;}Signature
method
withContainerRegistryRoleAssignments builder Assigns Azure Container Registry roles to a resource.
withContainerRegistryRoleAssignments( target: AzureContainerRegistryResource, roles: AzureContainerRegistryRole[]): IResourceParameters
target AzureContainerRegistryResource roles AzureContainerRegistryRole[] Returns
IResource Applies to
This function is an extension method on the following types:
type
ContainerResource type
ExecutableResource type
ProjectResource type
ParameterResource type
ConnectionStringResource type
ContainerRegistryResource type
DotnetToolResource type
ExternalServiceResource type
CSharpAppResource type
AzureContainerAppEnvironmentResource type
AzureLogAnalyticsWorkspaceResource type
AzureBicepResource type
AzureProvisioningResource type
AzureEnvironmentResource type
AzureUserAssignedIdentityResource type
AzureContainerRegistryResource