def restart_replica_with_http_info(node_name, partition_id, replica_id, timeout:60, custom_headers:nil)
      restart_replica_async(node_name, partition_id, replica_id, timeout:timeout, custom_headers:custom_headers).value!
    end
def restart_replica_with_http_info(node_name, partition_id, replica_id, timeout:60, custom_headers:nil)
      restart_replica_async(node_name, partition_id, replica_id, timeout:timeout, custom_headers:custom_headers).value!
    end
Restarts a service replica of a persisted service running on a node.

 Restarts a service replica of a persisted service running on a node. Warning
 - There are no safety checks performed when this API is used. Incorrect use
 of this API can lead to availability loss for stateful services.

 @param node_name [String] The name of the node.
 @param partition_id The identity of the partition.
 @param replica_id [String] The identifier of the replica.
 @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 [MsRestAzure::AzureOperationResponse] HTTP response information.