All Products
Search
Document Center

Cloud Phone:UpgradeAndroidInstanceGroup

Last Updated:Mar 18, 2025

Upgrades an instance group. Currently, this operation allows you to only increase the number of instances in an instance group.

Operation description

Currently, this operation allows you to only increase the size of an instance group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceGroupIdstringNo

The ID of the instance group.

ag-asguicdjh****
IncreaseNumberOfInstanceintegerNo

The number of instances that you want to increase.

10
AutoPaybooleanNo

Specifies whether to enable the auto-payment feature.

Valid values:

  • true: enables the auto-payment feature. Make sure that your Alibaba Cloud account has sufficient balance.
  • false: disables the auto-payment feature. You need to manually complete the payment process.
true

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

310A783E-CC46-5452-A8A3-71AE5DB59****
OrderIdstring

The ID of the order.

223684716098****
InstanceIdsstring

The instance ID.

['acp-3vzqq4y3f31f3z3df']

Examples

Sample success responses

JSONformat

{
  "RequestId": "310A783E-CC46-5452-A8A3-71AE5DB59****",
  "OrderId": "223684716098****",
  "InstanceIds": "['acp-3vzqq4y3f31f3z3df']"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-07-24The response structure of the API has changedView Change Details