Partager via


DenyAssignmentsOperationsExtensions.ListForResourceAsync Méthode

Définition

Obtient les affectations de refus pour une ressource.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentInner>> ListForResourceAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IDenyAssignmentsOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForResourceAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IDenyAssignmentsOperations * string * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentInner>>
<Extension()>
Public Function ListForResourceAsync (operations As IDenyAssignmentsOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional odataQuery As ODataQuery(Of DenyAssignmentFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DenyAssignmentInner))

Paramètres

operations
IDenyAssignmentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

resourceProviderNamespace
String

Espace de noms du fournisseur de ressources.

parentResourcePath
String

Identité de ressource parente.

resourceType
String

Type de ressource de la ressource.

resourceName
String

Nom de la ressource pour laquelle obtenir des affectations de refus.

odataQuery
ODataQuery<DenyAssignmentFilter>

Paramètres OData à appliquer à l’opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à