Partager via


ManagementLocksOperationsExtensions.ListAtResourceLevelAsync Méthode

Définition

Obtient tous les verrous de gestion d’une ressource ou d’un niveau inférieur à la ressource.

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

Paramètres

operations
IManagementLocksOperations

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

resourceGroupName
String

Nom du groupe de ressources contenant la ressource verrouillée. Le nom ne respecte pas la casse.

resourceProviderNamespace
String

Espace de noms du fournisseur de ressources.

parentResourcePath
String

Identité de ressource parente.

resourceType
String

Type de ressource de la ressource verrouillée.

resourceName
String

Nom de la ressource verrouillée.

odataQuery
ODataQuery<ManagementLockObject>

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à