Upgrades the minor version of an ApsaraDB for MongoDB instance.
Operation description
The instance must be in the Running state.
-
Applies to replica set and sharded cluster instances only. Standalone instances are not supported.
-
The instance restarts once during the upgrade. Call this operation during off-peak hours.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:UpgradeDBInstanceKernelVersion |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
dds-bp2235**** |
| SwitchMode |
string |
No |
When to perform the upgrade. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
27B9A130-7C4B-40D9-84E8-2FC081097AAC |
Examples
Success response
JSON format
{
"RequestId": "27B9A130-7C4B-40D9-84E8-2FC081097AAC"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.