/// <summary>
 /// Revokes access to a disk.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='diskName'>
 /// The name of the managed disk that is being created. The name can't be
 /// changed after the disk is created. Supported characters for the name are
 /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
 /// </param>
 public static void BeginRevokeAccess(this IDisksOperations operations, string resourceGroupName, string diskName)
 {
     operations.BeginRevokeAccessAsync(resourceGroupName, diskName).GetAwaiter().GetResult();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Revokes access to a disk.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='diskName'>
 /// The name of the managed disk that is being created. The name can't be
 /// changed after the disk is created. Supported characters for the name are
 /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
 /// </param>
 public static OperationStatusResponse BeginRevokeAccess(this IDisksOperations operations, string resourceGroupName, string diskName)
 {
     return(operations.BeginRevokeAccessAsync(resourceGroupName, diskName).GetAwaiter().GetResult());
 }