RoleAssignmentImpl.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.
Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate IWithScope.WithResourceScope (Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource resource);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope.WithResourceScope : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope.WithResourceScope : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
Function WithResourceScope (resource As IResource) As IWithCreate Implements IWithScope.WithResourceScope
Parameters
- resource
- IResource
The resource the assignee is assigned to access.