Upgrades or downgrades a service instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:UpdateServiceInstanceSpec |
update |
*ServiceInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceInstanceId |
string |
No |
The ID of the service instance. |
si-0e6fca6a51a54420**** |
| PredefinedParametersName |
string |
No |
The package name. |
package one |
| Parameters |
object |
No |
The configuration parameters of the service instance. |
{\"EcsInstanceParameter\":\"4vCPU 8GiB\",\"ZoneId\":\"cn-heyuan-a\",\"SystemDiskSize\":50,\"DataDiskSize\":150,\"InternetMaxBandwidthOut\":2,\"RegionId\":\"cn-heyuan\"} |
| OperationName |
string |
No |
The name of the upgrade or downgrade action. |
package modify |
| EnableUserPrometheus |
boolean |
No |
Specifies whether to enable Prometheus on the client. Valid values:
|
true |
| ClientToken |
string |
No |
A unique identifier that you provide to ensure the idempotence of the request. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
10CM943JP0EN9D51H |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
DF0F666F-FBBC-55C3-A368-C955DE7B4839 |
| OrderId |
string |
The order ID. |
2306175xxxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "DF0F666F-FBBC-55C3-A368-C955DE7B4839",
"OrderId": "2306175xxxxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.