def begin_create_or_update_with_http_info(resource_group_name, virtual_hub_name, virtual_hub_parameters, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, virtual_hub_name, virtual_hub_parameters, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(resource_group_name, virtual_hub_name, virtual_hub_parameters, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, virtual_hub_name, virtual_hub_parameters, custom_headers:custom_headers).value!
    end
Creates a VirtualHub resource if it doesn't exist else updates the existing
 VirtualHub.

 @param resource_group_name [String] The resource group name of the
 VirtualHub.
 @param virtual_hub_name [String] The name of the VirtualHub.
 @param virtual_hub_parameters [VirtualHub] Parameters supplied to create or
 update VirtualHub.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.