def create_service_from_template(application_id, service_from_template_description, timeout:60, custom_headers:nil)
      response = create_service_from_template_async(application_id, service_from_template_description, timeout:timeout, custom_headers:custom_headers).value!
      nil
    end
def create_service_from_template(application_id, service_from_template_description, timeout:60, custom_headers:nil)
      response = create_service_from_template_async(application_id, service_from_template_description, timeout:timeout, custom_headers:custom_headers).value!
      nil
    end
Creates a Service Fabric service from the service template.

 Creates a Service Fabric service from the service template defined in the
 application manifest. A service template contains the properties that will be
 same for the service instance of the same type. The API allows overriding the
 properties that are usually different for different services of the same
 service type.

 @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_from_template_description [ServiceFromTemplateDescription]
 Describes the service that needs to be created from the template defined in
 the application manifest.
 @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.