def get_application_name_info(service_id, timeout:60, custom_headers:nil)
      response = get_application_name_info_async(service_id, timeout:timeout, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_application_name_info(service_id, timeout:60, custom_headers:nil)
      response = get_application_name_info_async(service_id, timeout:timeout, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the name of the Service Fabric application for a service.

 Gets the name of the application for the specified service. A 404
 FABRIC_E_SERVICE_DOES_NOT_EXIST error is returned if a service with the
 provided service ID does not exist.

 @param service_id [String] The identity of the service. This is typically the
 full name of the service without the 'fabric:' URI scheme.
 Starting from version 6.0, hierarchical names are delimited with the "~"
 character.
 For example, if the service name is "fabric:/myapp/app1/svc1", the service
 identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous
 versions.
 @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.

 @return [ApplicationNameInfo] operation results.