共用方式為


RoleAssignmentImpl.WithResourceScope(IResource) Method

Definition

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentImpl WithResourceScope (Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource resource);
member this.WithResourceScope : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentImpl
Public Function WithResourceScope (resource As IResource) As RoleAssignmentImpl

Parameters

resource
IResource

Returns

Applies to