Udostępnij za pośrednictwem


RoleAssignmentsImpl.GetByScopeAsync(String, String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment> GetByScopeAsync (string scope, string name, System.Threading.CancellationToken cancellationToken = default);
member this.GetByScopeAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment>
Public Function GetByScopeAsync (scope As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IRoleAssignment)

Parameters

scope
String
name
String
cancellationToken
CancellationToken

Returns

Applies to