withContainerRegistryRoleAssignments
Method
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[]): IResourceParameters
target AzureContainerRegistryResource roles AzureContainerRegistryRole[] Returns
IResource Applies to
This method applies to the following types:
type
ContainerResource type
ExecutableResource type
ProjectResource type
ParameterResource type
ContainerRegistryResource type
DotnetToolResource type
ExternalServiceResource type
CSharpAppResource type
AzureContainerRegistryResource type
AzureBicepResource type
AzureProvisioningResource type
AzureEnvironmentResource type
AzureUserAssignedIdentityResource