Sdílet prostřednictvím


IDenyAssignmentsOperations.ListForScopeWithHttpMessagesAsync Metoda

Definice

Získá přiřazení zamítnutí pro obor.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.DenyAssignment>>> ListForScopeWithHttpMessagesAsync (string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.DenyAssignmentFilter> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListForScopeWithHttpMessagesAsync : string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.DenyAssignmentFilter> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.DenyAssignment>>>
Public Function ListForScopeWithHttpMessagesAsync (scope As String, Optional odataQuery As ODataQuery(Of DenyAssignmentFilter) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of DenyAssignment)))

Parametry

scope
String

Rozsah přiřazení zamítnutí.

odataQuery
ODataQuery<DenyAssignmentFilter>

Parametry OData, které se mají použít pro operaci.

customHeaders
Dictionary<String,List<String>>

Hlavičky, které se přidají do požadavku.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolána při nemožnosti deserializovat odpověď

Vyvolá se, když má požadovaný parametr hodnotu null.

Platí pro