Share via


ManagementLocksOperationsExtensions.GetAtSubscriptionLevelAsync Méthode

Définition

Obtient un verrou de gestion au niveau de l’abonnement.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject> GetAtSubscriptionLevelAsync (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string lockName, System.Threading.CancellationToken cancellationToken = default);
static member GetAtSubscriptionLevelAsync : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject>
<Extension()>
Public Function GetAtSubscriptionLevelAsync (operations As IManagementLocksOperations, lockName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementLockObject)

Paramètres

operations
IManagementLocksOperations

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

lockName
String

Nom du verrou à obtenir.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à