다음을 통해 공유


IRoleAssignmentOperations.ListForResourceAsync 메서드

정의

리소스의 역할 할당을 가져옵니다.

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)

매개 변수

resourceGroupName
String

리소스 그룹의 이름.

identity
Microsoft.Azure.ResourceIdentity

리소스 ID입니다.

parameters
ListAssignmentsFilterParameters

작업 필터를 나열합니다. null이 리소스 위 또는 아래에 있는 모든 역할 할당을 반환하는 경우

cancellationToken
CancellationToken

취소 토큰입니다.

반환

역할 할당 목록 작업 결과입니다.

적용 대상