IWithScope.WithResourceScope(IResource) 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 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.