UpdateInstance
Updates an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
milvus:UpdateInstance |
update |
*Instance
|
None | None |
Request syntax
PUT /webapi/instance/update HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| body |
object |
No |
The request body. |
|
| instanceId |
string |
Yes |
The instance ID. |
c-xxxx |
| instanceName |
string |
No |
The instance name. |
milvus-test |
| configuration |
string |
No |
The configuration information. |
rootCoord:\n maxDatabaseNum: 64 |
| ha |
boolean |
No |
Specifies whether to enable high availability. |
true |
| autoBackup |
boolean |
No |
Specifies whether to enable automatic backup. |
true |
| autoPay |
boolean |
No |
Specifies whether automatic payment is enabled for the order. |
|
| components |
array<object> |
No |
The component information. |
|
|
array<object> |
No |
The list of specifications for the instance. |
||
| type |
string |
Yes |
The component type. |
standalone |
| replica |
integer |
Yes |
The number of replicas. |
1 |
| cuNum |
integer |
Yes |
The number of compute units (CUs). |
8 |
| payType |
string |
No |
The billing method of the component. |
postPaid |
| cuType |
string |
No |
The compute unit (CU) type. general indicates a 1:4 ratio, and ram indicates a 1:8 ratio. |
general |
| dataDisk |
object |
No |
The data disk configuration for QueryNode. This parameter is supported only when type is set to query. |
|
| enabled |
boolean |
No |
Specifies whether to enable the data disk for QueryNode. |
true |
| storageClass |
string |
No |
The StorageClass of the data disk. Valid values: alicloud-disk-essd-pl0, alicloud-disk-essd-pl1, alicloud-disk-essd-pl2, and alicloud-disk-essd-pl3. |
alicloud-disk-essd-pl1 |
| size |
integer |
No |
The size of the data disk. Unit: GiB. |
100 |
| performanceLevel |
string |
No |
The performance level of the enhanced SSD (ESSD). Valid values: PL0, PL1, PL2, and PL3. If StorageClass is not specified, this field is used for parsing. |
PL1 |
| clientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
7f3a2c18-6c47-4eb7-a6bb-8432a394a620 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABCD-1234-5678-EFGH |
| success |
boolean |
Indicates whether the request is successful. |
true |
| data |
boolean |
The operation result. |
true |
| orderId |
string |
The order ID. |
2001234567890123 |
Examples
Success response
JSON format
{
"RequestId": "ABCD-1234-5678-EFGH",
"success": true,
"data": true,
"orderId": "2001234567890123"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.