Esempio n. 1
0
 /// <summary>
 /// Cancels the current virtual machine scale set rolling upgrade.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='vmScaleSetName'>
 /// The name of the VM scale set.
 /// </param>
 public static OperationStatusResponse Cancel(this IVirtualMachineScaleSetRollingUpgradesOperations operations, string resourceGroupName, string vmScaleSetName)
 {
     return(operations.CancelAsync(resourceGroupName, vmScaleSetName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Cancels the current virtual machine scale set rolling upgrade.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='vmScaleSetName'>
 /// The name of the VM scale set.
 /// </param>
 public static void Cancel(this IVirtualMachineScaleSetRollingUpgradesOperations operations, string resourceGroupName, string vmScaleSetName)
 {
     operations.CancelAsync(resourceGroupName, vmScaleSetName).GetAwaiter().GetResult();
 }