ListInstances
Queries the Milvus instances under the current account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
milvus:ListInstances |
list |
*All Resource
|
None | None |
Request syntax
POST /webapi/order/list HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterName |
string |
No |
The instance name. |
milvus-test |
| ClusterId |
string |
No |
The instance ID. |
c-123xxx |
| dbVersion |
string |
No |
The Milvus version. |
3.0 |
| excludeDbVersion |
string |
No |
The Milvus versions to exclude. |
3.0 |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-123xxx |
| Tag |
array<object> |
No |
The tag information. |
|
|
object |
No |
The tag information. |
||
| Key |
string |
No |
The tag key. |
key1 |
| Value |
string |
No |
The tag value. |
value1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
ABCD-1234-5678-EFGH |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| ErrCode |
string |
The error code. |
Instance.NotFound |
| ErrMessage |
string |
The error message. |
Failed to find instance c-123xxx |
| Data |
array<object> |
The response data. |
|
|
array<object> |
|||
| InstanceId |
string |
The instance ID. |
c-123xxx |
| BeginTime |
integer |
The start time. The value is a UNIX timestamp in milliseconds. |
1718608505000 |
| RunningTime |
integer |
The runtime of the instance, in seconds. |
536611 |
| ExpireTime |
integer |
The expiration time. The value is a UNIX timestamp in milliseconds. |
1721232000000 |
| RegionId |
string |
The region ID. |
cn-beijing |
| ZoneId |
string |
The zone ID. |
cn-beijing-g |
| InstanceStatus |
string |
The instance status. Valid values:
|
running |
| ClusterName |
string |
The instance name. |
milvus-test |
| PackageType |
string |
The edition details. Valid values:
|
trial |
| ClusterInfo |
object |
The instance details. |
|
| MilvusResourceInfoList |
array<object> |
The resource details. |
|
|
object |
|||
| ComponentType |
string |
The component type. Valid values:
|
standalone |
| CuNum |
integer |
The number of compute units (CUs). |
16 |
| Replica |
integer |
The number of replicas. |
1 |
| DiskSize |
integer |
The disk size. |
100 |
| DiskType |
string |
The disk type. |
essd |
| IntranetUrl |
string |
The internal network address. |
c-123xxx-internal.milvus.aliyuncs.com |
| InternetUrl |
string |
The public network address. |
c-123xxx.milvus.aliyuncs.com |
| TotalCuNum |
integer |
The number of compute units (CUs). |
24 |
| TotalDiskSize |
integer |
The total disk size. |
500 |
| ProxyPort |
integer |
The proxy port. |
19530 |
| AttuPort |
integer |
The Attu component port. |
3000 |
| ResourceOwnerId |
string |
The account ID of the resource owner. |
1234567890123456 |
| VpcId |
string |
The VPC ID. |
vpc-123xxx |
| VswId |
string |
The vSwitch ID. |
vsw-123xxx |
| SgId |
string |
The security group ID. |
sg-123xxx |
| OpenPublicNet |
boolean |
Indicates whether public network access is enabled. |
true |
| PayType |
integer |
The billing method. Valid values:
|
1 |
| ProductCode |
string |
The commodity code. |
milvus_milvuspre_public_cn |
| ResourceGroupId |
string |
The resource group ID. |
rg-123xxx |
| NodeType |
string |
The node type. |
perf |
| AutoBackup |
boolean |
Indicates whether automatic backup is enabled. |
true |
| Tags |
array<object> |
The tag information. |
|
|
object |
The tag information. |
||
| Key |
string |
The tag key. |
key1 |
| Value |
string |
The tag value. |
value1 |
| Version |
string |
The Milvus version. |
2.4 |
| TemplateVersion |
string |
The software stack version. |
2.4.1-1.0-0.0.1 |
| ResourceOwnerId |
string |
The account ID of the resource owner. |
1234567890123456 |
| Total |
integer |
The total count. |
15 |
| AccessDeniedDetail |
string |
The access denial details. |
{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxxx", "EncodedDiagnosticMessage": "xxxx", "AuthPrincipalType": "SubUser", "AuthPrincipalDisplayName": "xxxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "milvus:xxxx" } |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "ABCD-1234-5678-EFGH",
"Success": true,
"ErrCode": "Instance.NotFound",
"ErrMessage": "Failed to find instance c-123xxx",
"Data": [
{
"InstanceId": "c-123xxx",
"BeginTime": 1718608505000,
"RunningTime": 536611,
"ExpireTime": 1721232000000,
"RegionId": "cn-beijing",
"ZoneId": "cn-beijing-g",
"InstanceStatus": "running",
"ClusterName": "milvus-test",
"PackageType": "trial",
"ClusterInfo": {
"MilvusResourceInfoList": [
{
"ComponentType": "standalone",
"CuNum": 16,
"Replica": 1,
"DiskSize": 100,
"DiskType": "essd"
}
],
"IntranetUrl": "c-123xxx-internal.milvus.aliyuncs.com",
"InternetUrl": "c-123xxx.milvus.aliyuncs.com",
"TotalCuNum": 24,
"TotalDiskSize": 500,
"ProxyPort": 19530,
"AttuPort": 3000,
"ResourceOwnerId": "1234567890123456"
},
"VpcId": "vpc-123xxx",
"VswId": "vsw-123xxx",
"SgId": "sg-123xxx",
"OpenPublicNet": true,
"PayType": 1,
"ProductCode": "milvus_milvuspre_public_cn",
"ResourceGroupId": "rg-123xxx",
"NodeType": "perf",
"AutoBackup": true,
"Tags": [
{
"Key": "key1",
"Value": "value1"
}
],
"Version": "2.4",
"TemplateVersion": "2.4.1-1.0-0.0.1",
"ResourceOwnerId": "1234567890123456"
}
],
"Total": 15,
"AccessDeniedDetail": "{ \"PolicyType\": \"AccountLevelIdentityBasedPolicy\", \"AuthPrincipalOwnerId\": \"xxxx\", \"EncodedDiagnosticMessage\": \"xxxx\", \"AuthPrincipalType\": \"SubUser\", \"AuthPrincipalDisplayName\": \"xxxx\", \"NoPermissionType\": \"ImplicitDeny\", \"AuthAction\": \"milvus:xxxx\" }"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.