All Products
Search
Document Center

UpgradeInstance

Last Updated: Jan 15, 2021

Description

Increases quotas of a specified instance.

Quota: Users Minimum number: 1,000,000 Maximum number: 10,000,000 Items Minimum number: 1,000,000 Maximum number: 10,000,000 QPS for recommendation requests: Minimum value: 10 Maximum value: 500

Method

POST

URI

/openapi/instances/{instanceId}/actions/upgrade

Request parameters

Parameter

Type

Required

Description

userCount

Integer

Yes

The number of users.

itemCount

Integer

Yes

The number of items.

qps

Integer

Yes

The QPS for recommendation requests.

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

Map

The result that is returned.

└InstanceId

String

The ID of the instance.

Sample requests

POST /openapi/instances/airec-cn-xxxxxx/actions/upgrade

Sample success responses

JSON format

{
    "RequestId": "90D6B8F5-FE97-4509-9AAB-367836C51818"
    "Result": {
        "InstanceId": "airec-cn-xxxxxx"
    }
}