Modifies the configuration of an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:ModifyApplicationSpec |
none |
*Application
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
02S7UU41WKJL7ERR |
| InstanceSpec |
array<object> |
No |
The specifications for the configuration change. |
|
|
array<object> |
No |
The parameters for the configuration change. |
||
| InstanceId |
string |
No |
The ID of the resource to change. |
rm-2ze8f4ah378a***** |
| Configuration |
object |
No |
The parameters for the configuration change. |
|
|
any |
No |
The input parameters for the configuration change. Note
ecs
rds (You can change the instance type and storage capacity at the same time.)
kvstore
kvstore_prepaid_public_cn
tair
kafka
polardb
elasticsearch
hitsdb_lindormnext_v2
slb Note
Valid values for `InstanceChargeType` (instance billing method): `PayBySpec` (pay-by-specification) and `PayByCLCU` (pay-by-usage).
hbase
dds
onspre hitsdb_lindorm
drds
clickhouse
Change the configuration of an Enterprise Edition instance:
Community Edition instance:
Horizontal scaling:
Vertical scaling:
drds_polarx
Standard Edition:
Enterprise Edition:
opensearch
eip
adb
hologres
flink
dts
hitsdb_lts
ons_rmq
|
orderType:UPGRADE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Success |
string |
Indicates whether the request was successful. |
true |
| Code |
string |
The status code. |
200 |
| Message |
string |
The error message. |
Success |
| Data |
string |
The return value. |
-1 |
| RequestId |
string |
The request ID. |
A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562 |
| AccessDeniedDetail |
string |
The details about the access denial. |
{ "PolicyType": "", "AuthPrincipalOwnerId": "", "EncodedDiagnosticMessage": "", "AuthPrincipalType": "", "AuthPrincipalDisplayName": "", "NoPermissionType": "", "AuthAction": "" } |
Examples
Success response
JSON format
{
"Success": "true",
"Code": "200",
"Message": "Success",
"Data": "-1",
"RequestId": "A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562",
"AccessDeniedDetail": "{\n \"PolicyType\": \"\",\n \"AuthPrincipalOwnerId\": \"\",\n \"EncodedDiagnosticMessage\": \"\",\n \"AuthPrincipalType\": \"\",\n \"AuthPrincipalDisplayName\": \"\",\n \"NoPermissionType\": \"\",\n \"AuthAction\": \"\"\n }"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | bp.java.8004 | No permissions. | |
| 400 | bp.java.nopowerContact | You do not have permission to use this function. Please contact the main account or permission administrator to authorize the relevant permissions. | |
| 400 | bp.java.nopower | No permissions. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.