edit-icon download-icon

RestartDBInstance

Last Updated: Dec 08, 2017

Description

This API supports both replica set instances and sharded cluster instances.

Input parameters

NameTypeRequired or notDescription
ActionStringYesRequired parameter; value: RestartDBInstance.
DBInstanceIdStringYesInstance ID. The logic ID of a Sharding instance can be input.
NodeIdStringNoSharding sub-instance ID. Set this parameter to mongos or shard node ID. In this case, only the input node is restarted, instead of the entire instance.If the parameter is left blank, the entire cluster is restarted.

Response parameters

NameTypeDescription
Public response parameters-For more information, see public response parameters.
Thank you! We've received your feedback.