다음을 통해 공유


DenyAssignmentsOperationsExtensions.GetByIdAsync 메서드

정의

ID별로 거부 할당을 가져옵니다.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.DenyAssignment> GetByIdAsync (this Microsoft.Azure.Management.Authorization.IDenyAssignmentsOperations operations, string denyAssignmentId, System.Threading.CancellationToken cancellationToken = default);
static member GetByIdAsync : Microsoft.Azure.Management.Authorization.IDenyAssignmentsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.DenyAssignment>
<Extension()>
Public Function GetByIdAsync (operations As IDenyAssignmentsOperations, denyAssignmentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DenyAssignment)

매개 변수

operations
IDenyAssignmentsOperations

이 확장 메서드에 대한 작업 그룹입니다.

denyAssignmentId
String

정규화된 거부 할당 ID입니다. 예를 들어 구독 수준 거부 할당에는 /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} 형식을 사용하거나 테넌트 수준 거부 할당에 /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} 형식을 사용합니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상