def update_async(resource_group_name, server_name, server_update_parameters, custom_headers:nil)
      # Send request
      promise = begin_update_async(resource_group_name, server_name, server_update_parameters, custom_headers:custom_headers)

      promise = promise.then do |response|
        # Defining deserialization method.
        deserialize_method = lambda do |parsed_response|
          result_mapper = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServer.mapper()
          parsed_response = @client.deserialize(result_mapper, parsed_response)
        end

        # Waiting for response.
        @client.get_long_running_operation_result(response, deserialize_method)
      end

      promise
    end
def update_async(resource_group_name, server_name, server_update_parameters, custom_headers:nil)
      # Send request
      promise = begin_update_async(resource_group_name, server_name, server_update_parameters, custom_headers:custom_headers)

      promise = promise.then do |response|
        # Defining deserialization method.
        deserialize_method = lambda do |parsed_response|
          result_mapper = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServer.mapper()
          parsed_response = @client.deserialize(result_mapper, parsed_response)
        end

        # Waiting for response.
        @client.get_long_running_operation_result(response, deserialize_method)
      end

      promise
    end
@param resource_group_name [String] The name of the Azure Resource group of
 which a given Analysis Services server is part. This name must be at least 1
 character in length, and no more than 90.
 @param server_name [String] The name of the Analysis Services server. It must
 be at least 3 characters in length, and no more than 63.
 @param server_update_parameters [AnalysisServicesServerUpdateParameters]
 Request object that contains the updated information for the server.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Concurrent::Promise] promise which provides async access to http
 response.