withContainerRegistryRoleAssignments
Method
interface ContainerResource { // ... omitted for brevity withContainerRegistryRoleAssignments( target: AzureContainerRegistryResource, roles: AzureContainerRegistryRole[]): IResource;}Signature
method
withContainerRegistryRoleAssignments builderAdds role assignments to the specified Azure Container Registry resource.
withContainerRegistryRoleAssignments( target: AzureContainerRegistryResource, roles: AzureContainerRegistryRole[]): IResourceParameters
targetAzureContainerRegistryResource rolesAzureContainerRegistryRole[] Returns
IResource Applies to
This method applies to the following types:
type
ContainerResourcetype
ExecutableResourcetype
ProjectResourcetype
ParameterResourcetype
ContainerRegistryResourcetype
DotnetToolResourcetype
ExternalServiceResourcetype
CSharpAppResourcetype
AzureContainerRegistryResourcetype
AzureBicepResourcetype
AzureProvisioningResourcetype
AzureEnvironmentResourcetype
AzureUserAssignedIdentityResource