Share via


IWithScope.WithResourceScope(IResource) Method

Definition

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

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate WithResourceScope (Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource resource);
abstract member WithResourceScope : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
Public Function WithResourceScope (resource As IResource) As IWithCreate

Parameters

resource
IResource

The resource the assignee is assigned to access.

Returns

Applies to