Esempio n. 1
0
 /// <summary>
 /// Gets a management lock at the subscription level.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='lockName'>
 /// The name of the lock to get.
 /// </param>
 public static ManagementLockObject GetAtSubscriptionLevel(this IManagementLocksOperations operations, string lockName)
 {
     return(operations.GetAtSubscriptionLevelAsync(lockName).GetAwaiter().GetResult());
 }