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