def begin_create_or_update_with_http_info(resource_group_name, web_service_name, create_or_update_payload, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, web_service_name, create_or_update_payload, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(resource_group_name, web_service_name, create_or_update_payload, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, web_service_name, create_or_update_payload, custom_headers:custom_headers).value!
    end
Create or update a web service. This call will overwrite an existing web
 service. Note that there is no warning or confirmation. This is a
 nonrecoverable operation. If your intent is to create a new web service, call
 the Get operation first to verify that it does not exist.

 @param resource_group_name [String] Name of the resource group in which the
 web service is located.
 @param web_service_name [String] The name of the web service.
 @param create_or_update_payload [WebService] The payload that is used to
 create or update the web service.
 @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.