def restore_partition(partition_id, restore_partition_description, restore_timeout:10, timeout:60, custom_headers:nil)
      response = restore_partition_async(partition_id, restore_partition_description, restore_timeout:restore_timeout, timeout:timeout, custom_headers:custom_headers).value!
      nil
    end
def restore_partition(partition_id, restore_partition_description, restore_timeout:10, timeout:60, custom_headers:nil)
      response = restore_partition_async(partition_id, restore_partition_description, restore_timeout:restore_timeout, timeout:timeout, custom_headers:custom_headers).value!
      nil
    end
Triggers restore of the state of the partition using the specified restore
 partition description.

 Restores the state of a of the stateful persisted partition using the
 specified backup point. In case the partition is already being periodically
 backed up, then by default the backup point is looked for in the storage
 specified in backup policy. One can also override the same by specifying the
 backup storage details as part of the restore partition description in body.
 Once the restore is initiated, its progress can be tracked using the
 GetRestoreProgress operation.
 In case, the operation times out, specify a greater restore timeout value in
 the query parameter.

 @param partition_id The identity of the partition.
 @param restore_partition_description [RestorePartitionDescription] Describes
 the parameters to restore the partition.
 @param restore_timeout [Integer] Specifies the maximum amount of time to
 wait, in minutes, for the restore operation to complete. Post that, the
 operation returns back with timeout error. However, in certain corner cases
 it could be that the restore operation goes through even though it completes
 with timeout. In case of timeout error, its recommended to invoke this
 operation again with a greater timeout value. the default value for the same
 is 10 minutes.
 @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.