/// <summary>
 /// Begins creating new or updating existing Api Management service.To
 /// determine whether the operation has finished processing the
 /// request, call GetApiServiceLongRunningOperationStatus.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.ApiManagement.IApiManagementOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='name'>
 /// Required. The name of the Api Management service.
 /// </param>
 /// <param name='parameters'>
 /// Required. Parameters supplied to the CreateOrUpdate Api Management
 /// service operation.
 /// </param>
 /// <returns>
 /// The response of the CreateOrUpdate Api Management service long
 /// running operation.
 /// </returns>
 public static Task<ApiServiceLongRunningOperationResponse> BeginCreatingOrUpdatingAsync(this IApiManagementOperations operations, string resourceGroupName, string name, ApiServiceCreateOrUpdateParameters parameters)
 {
     return operations.BeginCreatingOrUpdatingAsync(resourceGroupName, name, parameters, CancellationToken.None);
 }
 /// <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);
 }