def begin_create_or_update_with_http_info(parameters, group_name, service_name, custom_headers:nil)
      begin_create_or_update_async(parameters, group_name, service_name, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(parameters, group_name, service_name, custom_headers:nil)
      begin_create_or_update_async(parameters, group_name, service_name, custom_headers:custom_headers).value!
    end
Create or update DMS Instance

 The services resource is the top-level resource that represents the Data
 Migration Service. The PUT method creates a new service or updates an
 existing one. When a service is updated, existing child resources (i.e.
 tasks) are unaffected. Services currently support a single kind, "vm", which
 refers to a VM-based service, although other kinds may be added in the
 future. This method can change the kind, SKU, and network of the service, but
 if tasks are currently running (i.e. the service is busy), this will fail
 with 400 Bad Request ("ServiceIsBusy"). The provider will reply when
 successful with 200 OK or 201 Created. Long-running operations use the
 provisioningState property.

 @param parameters [DataMigrationService] Information about the service
 @param group_name [String] Name of the resource group
 @param service_name [String] Name of the 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.