/// <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>
 public static HubRouteTable CreateOrUpdate(this IHubRouteTablesOperations operations, string resourceGroupName, string virtualHubName, string routeTableName, HubRouteTable routeTableParameters)
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, virtualHubName, routeTableName, routeTableParameters).GetAwaiter().GetResult());
 }