Share via


DenyAssignmentsOperationsExtensions.GetById Method

Definition

Gets a deny assignment by ID.

public static Microsoft.Azure.Management.Authorization.Models.DenyAssignment GetById (this Microsoft.Azure.Management.Authorization.IDenyAssignmentsOperations operations, string denyAssignmentId);
static member GetById : Microsoft.Azure.Management.Authorization.IDenyAssignmentsOperations * string -> Microsoft.Azure.Management.Authorization.Models.DenyAssignment
<Extension()>
Public Function GetById (operations As IDenyAssignmentsOperations, denyAssignmentId As String) As DenyAssignment

Parameters

operations
IDenyAssignmentsOperations

The operations group for this extension method.

denyAssignmentId
String

The fully qualified deny assignment ID. For example, use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for subscription level deny assignments, or /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for tenant level deny assignments.

Returns

Applies to