示例#1
0
 /// <summary>
 /// Deletes the management lock at the subscription level.
 /// </summary>
 /// <remarks>
 /// To delete management locks, you must have access to
 /// Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of
 /// the built-in roles, only Owner and User Access Administrator are granted
 /// those actions.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='lockName'>
 /// The name of lock to delete.
 /// </param>
 public static void DeleteAtSubscriptionLevel(this IManagementLocksOperations operations, string lockName)
 {
     operations.DeleteAtSubscriptionLevelAsync(lockName).GetAwaiter().GetResult();
 }