WithContainerRegistryRoleAssignments
Method
func (Resource) WithContainerRegistryRoleAssignments( target AzureContainerRegistryResource, roles []AzureContainerRegistryRole,) ResourceSignature
method
WithContainerRegistryRoleAssignments builderAdds role assignments to the specified Azure Container Registry resource.
WithContainerRegistryRoleAssignments( target AzureContainerRegistryResource, roles []AzureContainerRegistryRole,) ResourceParameters
targetAzureContainerRegistryResource The target Azure Container Registry resource.roles[]AzureContainerRegistryRole The Azure Container Registry roles to assign to the resource.Returns
ResourceThe resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
AzureBicepResourcetype
AzureContainerRegistryResourcetype
AzureEnvironmentResourcetype
AzureProvisioningResourcetype
AzureUserAssignedIdentityResourcetype
CSharpAppResourcetype
ContainerRegistryResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ExternalServiceResourcetype
ParameterResourcetype
ProjectResource