次の方法で共有


DenyAssignmentsOperationsExtensions.GetByIdAsync メソッド

定義

ID による拒否割り当てを取得します。

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

パラメーター

operations
IDenyAssignmentsOperations

この拡張メソッドの操作グループ。

denyAssignmentId
String

完全修飾拒否割り当て ID。 たとえば、サブスクリプション レベルの拒否割り当てには /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} という形式を使用し、テナント レベルの拒否割り当てには /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} を使用します。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象