/// <summary>
 /// Creates a RouteTable resource if it doesn't exist else updates the existing
 /// RouteTable.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name of the VirtualHub.
 /// </param>
 /// <param name='virtualHubName'>
 /// The name of the VirtualHub.
 /// </param>
 /// <param name='routeTableName'>
 /// The name of the RouteTable.
 /// </param>
 /// <param name='routeTableParameters'>
 /// Parameters supplied to create or update RouteTable.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <HubRouteTable> BeginCreateOrUpdateAsync(this IHubRouteTablesOperations operations, string resourceGroupName, string virtualHubName, string routeTableName, HubRouteTable routeTableParameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, virtualHubName, routeTableName, routeTableParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }