Delen via


IRoleAssignmentOperations.ListForResourceAsync Methode

Definitie

Hiermee haalt u roltoewijzingen van de resource op.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentListResult> ListForResourceAsync(string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Authorization.ListAssignmentsFilterParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member ListForResourceAsync : string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Authorization.ListAssignmentsFilterParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentListResult>
Public Function ListForResourceAsync (resourceGroupName As String, identity As ResourceIdentity, parameters As ListAssignmentsFilterParameters, cancellationToken As CancellationToken) As Task(Of RoleAssignmentListResult)

Parameters

resourceGroupName
String

De naam van de resourcegroep.

identity
Microsoft.Azure.ResourceIdentity

Resource-id.

parameters
ListAssignmentsFilterParameters

Bewerkingsfilters weergeven. Als null is, worden alle roltoewijzingen op, boven of onder de resource geretourneerd.

cancellationToken
CancellationToken

Annuleringstoken.

Retouren

Resultaat van de bewerking van de lijst met roltoewijzingen.

Van toepassing op