IWithScope.WithResourceGroupScope(IResourceGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the scope of the role assignment to be a resource group.
public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate WithResourceGroupScope (Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
abstract member WithResourceGroupScope : Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
Public Function WithResourceGroupScope (resourceGroup As IResourceGroup) As IWithCreate
Parameters
- resourceGroup
- IResourceGroup
The resource group the assignee is assigned to access.