def create_service(application_id, service_description, timeout:60, custom_headers:nil)
      response = create_service_async(application_id, service_description, timeout:timeout, custom_headers:custom_headers).value!
      nil
    end
def create_service(application_id, service_description, timeout:60, custom_headers:nil)
      response = create_service_async(application_id, service_description, timeout:timeout, custom_headers:custom_headers).value!
      nil
    end
Creates the specified Service Fabric service.

 This api allows creating a new Service Fabric stateless or stateful service
 under a specified Service Fabric application. The description for creating
 the service includes partitioning information and optional properties for
 placement and load balancing. Some of the properties can later be modified
 using `UpdateService` API.

 @param application_id [String] The identity of the application. This is
 typically the full name of the application without the 'fabric:' URI scheme.
 Starting from version 6.0, hierarchical names are delimited with the "~"
 character.
 For example, if the application name is "fabric:/myapp/app1", the application
 identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions.
 @param service_description [ServiceDescription] The information necessary to
 create a service.
 @param timeout [Integer] The server timeout for performing the operation in
 seconds. This timeout specifies the time duration that the client is willing
 to wait for the requested operation to complete. The default value for this
 parameter is 60 seconds.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.