You can call this operation to upgrade the minor database version of a MongoDB instance.

The instance must be in the running state when you call this operation.

Note

  • This operation is applicable to replica set instances and sharded cluster instances. UpgradeDBInstanceKernelVersion cannot be performed on standalone instances.
  • The instance will be restarted once during the upgrade. Perform this operation during off-peak hours.

Debugging

OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform debugging operations, such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String No UpgradeDBInstanceKernelVersion

The operation that you want to perform. Set the value to UpgradeDBInstanceKernelVersion.

DBInstanceId String No dds-bpxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
RequestId String 27B9A130-7C4B-40D9-84E8-2FC081097AAC

The ID of the request.

Examples

Sample requests


http(s)://mongodb.aliyuncs.com/? Action=UpgradeDBInstanceKernelVersion
&DBInstanceId=dds-bpxxxxxxxx
&<Common request parameters>

Successful response examples

XML format

<UpgradeDBInstanceKernelVersionResponse>
  <RequestId>27B9A130-7C4B-40D9-84E8-2FC081097AAC</RequestId> 
</UpgradeDBInstanceKernelVersionResponse> 

JSON format

{
	"RequestId":"27B9A130-7C4B-40D9-84E8-2FC081097AAC"
}

Error codes

View error codes