GetInstanceDetail

Updated at:
Copy as MD

Retrieves the details of a single instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

milvus:GetInstanceDetail

get

*Instance

acs:milvus:{#regionId}:{#accountId}:instance/{#InstanceId}

None None

Request syntax

POST /webapi/cluster/detail HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

The instance ID.

c-123xxx

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

object

The response data.

InstanceId

string

The instance ID.

c-123xxx

BeginTime

integer

The start time, which is a UNIX timestamp in milliseconds.

1716863508000

RunningTime

integer

The running time of the instance, in seconds.

1743679

ExpireTime

integer

The expiration time, which is a UNIX timestamp in milliseconds.

1721664000000

RegionId

string

The region ID.

cn-beijing

ZoneId

string

The zone ID.

cn-beijing-g

InstanceStatus

string

The instance status. Valid values:

  • creating: The instance is being created.

  • running: The instance is running.

  • updating: The instance is being upgraded. This includes cluster specification upgrades and downgrades, configuration changes, and enabling or disabling public network access.

  • disable: The instance is unavailable. The cluster has expired and must be renewed to be activated.

  • deleting: The instance is being deleted.

  • deleted: The instance is deleted.

running

PackageType

string

The edition details. Valid values:

  • trial: Starter Edition.

  • standard: Standard Edition.

standard

ClusterInfo

object

The instance details.

SecureInternetUrl

string

The TLS public domain name.

c-example.secure.milvus.aliyuncs.com

SecureIntranetUrl

string

The TLS internal domain name.

c-example-internal.secure.milvus.aliyuncs.com

SecureProxyPort

integer

The TLS connection port.

443

CertificateTrust

string

The certificate trust type.

privateCA

CaCertUrl

string

The HTTPS download URL for the CA certificate.

https://example.com/ca.pem

MilvusResourceInfoList

array<object>

The resource details.

array<object>

ComponentType

string

The component type. Valid values:

  • standalone

  • proxy

  • mix_coordinator

  • query

  • index

  • data

standalone

CuNum

integer

The number of CUs.

8

CuRatio

integer

The CU specification. Valid values:

  • 4: 1 core corresponds to 4 GB.

  • 8: 1 core corresponds to 8 GB.

4

Replica

integer

The number of replicas.

2

DiskSize

integer

The disk size.

100

DiskType

string

The disk type.

essd

dataDiskEnabled

boolean

Specifies whether the data disk is enabled.

true

dataDiskSize

integer

The capacity of the data disk, in GiB.

100

dataDiskStorageClass

string

The storage class of the data disk.

alicloud-disk-essd-pl1

ZoneId

string

The ID of the zone where the component is deployed.

cn-shanghai-f

PayType

string

The billing method of the component.

postPaid

serviceLocalDisk

boolean

Specifies whether the DN/SN uses a local disk. If this parameter is not returned, the legacy storage policy is used.

podsList

array<object>

The list of pods for the component.

object

podId

string

The pod ID.

milvus-milvus-standalone-123abc456-7defg

podName

string

The name of the pod.

milvus-milvus-standalone-123abc456-7defg

IntranetUrl

string

The internal endpoint.

c-123xxx-internal.milvus.aliyuncs.com

InternetUrl

string

The public endpoint.

c-123xxx-.milvus.aliyuncs.com

TotalCuNum

integer

The total number of CUs.

24

TotalDiskSize

integer

The total number of disks.

500

ProxyPort

integer

The proxy port.

19530

AttuPort

integer

The port of the Attu component.

3000

OssStorageTimestamp

integer

The timestamp for OSS storage metrics.

1718604000000

OssStorageSize

string

The size of data stored in OSS.

125.15 GB

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

ClusterName

string

The instance name.

aliyun-test

PayType

integer

The billing method. Valid values:

  • 0: Pay-as-you-go.

  • 1: Subscription.

1

BucketName

string

The bucket name.

milvus-test

BucketPath

string

The bucket path.

https://oss.console.aliyun.com/bucket/oss-cn-beijing/xxxx/object?spm=a2cug.25127996.0.0.577990370Ebsqt&path=milvus-c-123xxxx

Version

string

The Milvus version.

2.4

AclId

string

The ACL ID for public network access control.

acl-123xxx

UserConfig

string

The custom user configuration.

dataCoord:\n segment:\n maxSize: 1024

TemplateVersion

string

The software stack version.

2.4.1-1.0-0.0.1

ProductCode

string

The commodity code.

milvus_milvuspre_public_cn

ResourceGroupId

string

The resource group ID.

rg-123xxx

MeasureConfig

object

The configuration information.

ProxyNodeCuNum

integer

The number of CUs for proxy nodes.

4

IndexNodeCuNum

integer

The number of CUs for index nodes.

4

QueryNodeCuNum

integer

The number of CUs for query nodes.

4

DataNodeCuNum

integer

The number of CUs for data nodes.

4

MixCoodinatorNodeCuNum

integer

The number of CUs for mix coordinator nodes.

4

IndexNodeReplica

integer

The number of replicas for index nodes.

2

QueryNodeReplica

integer

The number of replicas for query nodes.

2

DataNodeReplica

integer

The number of replicas for data nodes.

2

MixCoodinatorNodeReplica

integer

The number of replicas for mix coordinator nodes.

2

ProxyNodeReplica

integer

The number of replicas for proxy nodes.

2

EnableHa

boolean

Indicates whether high availability is enabled.

true

NodeType

string

The node type. Valid values:

  • perf: Compute-optimized instance.

  • cap: Storage-optimized.

perf

Tags

array<object>

The tag information.

object

The tag information.

Key

string

The tag key.

key1

Value

string

The tag value.

value1

Encrypted

string

The encryption information of the instance.

true

KmsKeyId

string

The KMS key ID.

key-xxx

MultiZoneMode

string

The zone deployment mode of the instance.

Single

HighAvailability

object

The high-availability configuration information of the instance.

Mode

string

The high-availability mode.

single

PrimaryZoneId

string

The primary zone ID in the high-availability deployment.

cn-shanghai-f

SecondaryZoneId

string

The secondary zone ID in the high-availability deployment.

cn-shenzhen-e

CurrentActiveAZ

string

The current active zone.

primary

MaintainablePeriod

string

The maintenance window of the instance.

00:00-02:00

maintainablePeriodTimeZone

string

The time zone used for the instance maintenance time window.

Asia/Shanghai

VSwitches

array<object>

The list of vSwitches associated with the instance.

object

VswId

string

The vSwitch ID.

vsw-123xxx

ZoneId

string

The zone ID of the vSwitch.

cn-beijing-g

resourceOwnerId

integer

The Alibaba Cloud account ID of the resource owner.

1234567890123456

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": 1716863508000,
    "RunningTime": 1743679,
    "ExpireTime": 1721664000000,
    "RegionId": "cn-beijing",
    "ZoneId": "cn-beijing-g",
    "InstanceStatus": "running",
    "PackageType": "standard",
    "ClusterInfo": {
      "SecureInternetUrl": "c-example.secure.milvus.aliyuncs.com",
      "SecureIntranetUrl": "c-example-internal.secure.milvus.aliyuncs.com",
      "SecureProxyPort": 443,
      "CertificateTrust": "privateCA",
      "CaCertUrl": "https://example.com/ca.pem",
      "MilvusResourceInfoList": [
        {
          "ComponentType": "standalone",
          "CuNum": 8,
          "CuRatio": 4,
          "Replica": 2,
          "DiskSize": 100,
          "DiskType": "essd",
          "dataDiskEnabled": true,
          "dataDiskSize": 100,
          "dataDiskStorageClass": "alicloud-disk-essd-pl1",
          "ZoneId": "cn-shanghai-f",
          "PayType": "postPaid",
          "serviceLocalDisk": false,
          "podsList": [
            {
              "podId": "milvus-milvus-standalone-123abc456-7defg",
              "podName": "milvus-milvus-standalone-123abc456-7defg"
            }
          ]
        }
      ],
      "IntranetUrl": "c-123xxx-internal.milvus.aliyuncs.com",
      "InternetUrl": "c-123xxx-.milvus.aliyuncs.com",
      "TotalCuNum": 24,
      "TotalDiskSize": 500,
      "ProxyPort": 19530,
      "AttuPort": 3000,
      "OssStorageTimestamp": 1718604000000,
      "OssStorageSize": "125.15 GB"
    },
    "VpcId": "vpc-123xxx",
    "VswId": "vsw-123xxx",
    "SgId": "sg-123xxx",
    "OpenPublicNet": true,
    "ClusterName": "aliyun-test",
    "PayType": 1,
    "BucketName": "milvus-test",
    "BucketPath": "https://oss.console.aliyun.com/bucket/oss-cn-beijing/xxxx/object?spm=a2cug.25127996.0.0.577990370Ebsqt&path=milvus-c-123xxxx",
    "Version": "2.4",
    "AclId": "acl-123xxx",
    "UserConfig": "dataCoord:\\n  segment:\\n    maxSize: 1024",
    "TemplateVersion": "2.4.1-1.0-0.0.1",
    "ProductCode": "milvus_milvuspre_public_cn",
    "ResourceGroupId": "rg-123xxx",
    "MeasureConfig": {
      "ProxyNodeCuNum": 4,
      "IndexNodeCuNum": 4,
      "QueryNodeCuNum": 4,
      "DataNodeCuNum": 4,
      "MixCoodinatorNodeCuNum": 4,
      "IndexNodeReplica": 2,
      "QueryNodeReplica": 2,
      "DataNodeReplica": 2,
      "MixCoodinatorNodeReplica": 2,
      "ProxyNodeReplica": 2
    },
    "EnableHa": true,
    "NodeType": "perf",
    "Tags": [
      {
        "Key": "key1",
        "Value": "value1"
      }
    ],
    "Encrypted": "true",
    "KmsKeyId": "key-xxx",
    "MultiZoneMode": "Single",
    "HighAvailability": {
      "Mode": "single",
      "PrimaryZoneId": "cn-shanghai-f",
      "SecondaryZoneId": "cn-shenzhen-e",
      "CurrentActiveAZ": "primary"
    },
    "MaintainablePeriod": "00:00-02:00",
    "maintainablePeriodTimeZone": "Asia/Shanghai",
    "VSwitches": [
      {
        "VswId": "vsw-123xxx",
        "ZoneId": "cn-beijing-g"
      }
    ],
    "resourceOwnerId": 1234567890123456
  },
  "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.