Restarts an ApsaraDB for MongoDB instance.
Operation description
This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The instance ID. | dds-bpxxxxxxxx |
NodeId | string | No | The ID of the shard or mongos node in the sharded cluster instance. Note
The sharded cluster instance is restarted if you do not specify this parameter.
| d-bpxxxxxxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "149C517D-B586-47BE-A107-8673E0ED77C6"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-07-13 | The internal configuration of the API is changed, but the call is not affected | View Change Details |