RoleAssignment.DefinitionStages.WithScope.withResourceGroupScope(ResourceGroup resourceGroup) Method

Definition

Specifies the scope of the role assignment to be a resource group.

public abstract RoleAssignment.DefinitionStages.WithCreate withResourceGroupScope(ResourceGroup resourceGroup)

Parameters

resourceGroup
ResourceGroup

the resource group the assignee is assigned to access

Returns

the next stage in role assignment definition

Applies to