/// <summary>
 /// The operation to create or update a virtual machine.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Compute.IVirtualMachineOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='parameters'>
 /// Required. Parameters supplied to the Create Virtual Machine
 /// operation.
 /// </param>
 /// <returns>
 /// The Create Virtual Machine operation response.
 /// </returns>
 public static Task <VirtualMachineCreateOrUpdateResponse> BeginCreatingOrUpdatingAsync(this IVirtualMachineOperations operations, string resourceGroupName, VirtualMachine parameters)
 {
     return(operations.BeginCreatingOrUpdatingAsync(resourceGroupName, parameters, CancellationToken.None));
 }