Queries a list of specifications for an upgrade or downgrade.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:QueryInstanceSpec4Modify |
get |
*Application
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The ID of the Cloud Architect Design Tools application. |
BE68D71ZY5YYIU9R |
| InstanceId |
string |
Yes |
The ID of the resource to be upgraded or downgraded. |
rm-uf66k9143r2ch***** |
| MethodName |
string |
No |
The API operation name of the corresponding product.
|
describeResourcesModification |
| Parameters |
object |
No |
The constraints on the specifications. |
|
|
any |
No |
The parameters. Note
To query the specifications for an ECS instance modification:
To query the specifications for an ApsaraDB RDS instance modification:
To query the specifications for an ApsaraDB for Redis instance modification:
To query the specifications for a subscription ApsaraDB for Redis instance modification:
To query the disk capacity that corresponds to the specifications for a subscription ApsaraDB for Redis instance modification:
To query the specifications for a Tair instance modification:
To query the properties for a Lindorm instance modification:
To query the specifications for an SLB instance modification:
To query the core specifications for an Hbase instance modification:
To query the specifications for an ApsaraDB for MongoDB instance modification:
To query the specifications for an upgrade or downgrade of a Message Queue for Apache RocketMQ Platinum Edition instance:
To query the specifications for upgrading a Standard Edition instance of Message Queue for Apache RocketMQ to a Platinum Edition instance:
To query the specifications for a Lindorm instance modification:
To query the specifications for a DRDS instance modification:
|
orderType:UPGRADE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Code |
string |
The return code. |
200 |
| Message |
string |
The error message. |
Success |
| Data |
object |
The query results. |
|
| OptionalValues |
array<object> |
The list of available specifications for modification. |
|
|
object |
|||
| Label |
string |
The name of the specification. |
1 GB |
| Value |
string |
The value of the specification. |
redis.shard.small.2.ce |
| Min |
number |
The minimum value. This parameter is valid when you query the number of shards for an ApsaraDB for Redis instance. |
1 |
| Max |
number |
The maximum value. This parameter is valid when you query the number of shards for an ApsaraDB for Redis instance. |
1 |
| Step |
number |
The step size. This parameter is valid when you query the number of shards for an ApsaraDB for Redis instance. |
1 |
| RequestId |
string |
The request ID. |
847C9D0A-BABD-589C-8A9C-6464409EDED9 |
| 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": {
"OptionalValues": [
{
"Label": "1 GB",
"Value": "redis.shard.small.2.ce",
"Min": 1,
"Max": 1,
"Step": 1
}
]
},
"RequestId": "847C9D0A-BABD-589C-8A9C-6464409EDED9",
"AccessDeniedDetail": "{\n \"PolicyType\": \"\",\n \"AuthPrincipalOwnerId\": \"\",\n \"EncodedDiagnosticMessage\": \"\",\n \"AuthPrincipalType\": \"\",\n \"AuthPrincipalDisplayName\": \"\",\n \"NoPermissionType\": \"\",\n \"AuthAction\": \"\"\n }"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.