Updates a Lindorm V2 instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
lindorm:UpdateLindormV2Instance |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance. You can call the DescribeRegions operation to query the region ID. Use this parameter to specify the region where you want to create the instance. |
cn-hangzhou |
| CloudStorageType |
string |
No |
The cloud storage type. Valid values:
Valid values:
|
PerformanceStorage |
| CloudStorageSize |
integer |
No |
The cloud storage space. Unit: GB. When you modify the cloud storage space, you must also specify EngineList. The EngineType parameter in EngineList, and the NodeSpec and NodeCount parameters in NodeGroupList are required. |
480 |
| EnableCapacityStorage |
boolean |
No |
Specifies whether to enable capacity storage. |
false |
| CapacityStorageSize |
integer |
No |
The capacity storage space. |
10000 |
| EngineList |
array<object> |
Yes |
The list of engine types. |
|
|
array<object> |
No |
The list of engine information. |
||
| EngineType |
string |
Yes |
The engine type. Valid values:
Valid values:
|
TABLE |
| NodeGroupList |
array<object> |
No |
The list of engine node groups. |
|
|
object |
No |
The list of engine node groups. |
||
| NodeSpec |
string |
Yes |
The node specifications of the engine. Valid values:
|
lindorm.g.2xlarge |
| NodeCount |
integer |
Yes |
The number of nodes. |
6 |
| NodeDiskType |
string |
No |
The cloud disk type of the node. This parameter is not required. This parameter is used in special scenarios and is available only after your account is added to the whitelist. Valid values:
|
cloud_essd |
| NodeDiskSize |
integer |
No |
The disk size per node. This parameter is not required. |
0 |
| ResourceGroupName |
string |
No |
The name of the node group. You can call the GetLindormV2InstanceDetails operation to query the name. |
groupName |
| GroupId |
string |
No |
The ID of the node group. |
ix90Yes |
| InstanceId |
string |
Yes |
The instance ID. |
ld-bp1o3y0yme2i2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1556DCB0-043A-4444-8BD9-CF4A68E7EE64 |
| InstanceId |
string |
The instance ID. |
ld-bp1478w1603**** |
| OrderId |
integer |
The order ID. |
240136741090345 |
| AccessDeniedDetail |
string |
The details of the permission check failure. |
{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"} |
Examples
Success response
JSON format
{
"RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64",
"InstanceId": "ld-bp1478w1603****",
"OrderId": 240136741090345,
"AccessDeniedDetail": "{\"AuthAction\":\"xxx\",\"AuthPrincipalDisplayName\":\"222\",\"AuthPrincipalOwnerId\":\"111\",\"AuthPrincipalType\":\"SubUser\",,\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\",\"EncodedDiagnosticMessage\":\"xxxxxx\"}"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Lindorm.Errorcode.ParameterInvaild | The parameter is invalid. | |
| 400 | LindormErrorCode.%s | %s. | %s. |
| 400 | LindormErrorCode.OperationDenied.OrderProcessing | There is an order in process, please confirm that it has been processed and try again. | There is an order in process, please confirm that it has been processed and try again. |
| 403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. | |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | This operation is not supported in the current environment. |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | You are not authorized to create the service-linked role. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.