Delen via


RoleAssignmentOperationsExtensions.ListForResourceAsync Methode

Definitie

Hiermee haalt u roltoewijzingen van de resource op.

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

Parameters

operations
IRoleAssignmentOperations

Verwijzing naar de Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.

resourceGroupName
String

Vereist. De naam van de resourcegroep.

identity
Microsoft.Azure.ResourceIdentity

Vereist. Resource-id.

parameters
ListAssignmentsFilterParameters

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

Retouren

Resultaat van de bewerking van de lijst met roltoewijzingen.

Van toepassing op