共用方式為


RoleAssignmentImpl.IWithScope.WithResourceGroupScope(IResourceGroup) Method

Definition

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

Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate IWithScope.WithResourceGroupScope (Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope.WithResourceGroupScope : Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope.WithResourceGroupScope : Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
Function WithResourceGroupScope (resourceGroup As IResourceGroup) As IWithCreate Implements IWithScope.WithResourceGroupScope

Parameters

resourceGroup
IResourceGroup

The resource group the assignee is assigned to access.

Returns

Implements

Applies to