def begin_create_or_update_with_http_info(resource_group_name, nat_gateway_name, parameters, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, nat_gateway_name, parameters, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(resource_group_name, nat_gateway_name, parameters, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, nat_gateway_name, parameters, custom_headers:custom_headers).value!
    end
Creates or updates a nat gateway.

 @param resource_group_name [String] The name of the resource group.
 @param nat_gateway_name [String] The name of the nat gateway.
 @param parameters [NatGateway] Parameters supplied to the create or update
 nat gateway operation.
 @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.