You need to enable JavaScript to run this app.
导航

DescribeInstanceDetail

最近更新时间2023.08.25 16:51:22

首次发布时间2023.07.12 16:22:34

调用 DescribeInstanceDetail 接口查看指定实例的详情。

使用说明

创建 RocketMQ 实例后,您可以调用 DescribeInstanceDetail 接口查看指定实例的名称、网络类型等详细信息。
请求参数

参数

参数类型

是否必选

示例值

说明

InstanceId

String

rocketmq-cnai1f0c29ca****

待查询详情的实例 ID。

响应参数

参数

参数类型

示例值

说明

BasicInstanceInfo

BasicInstanceInfoObject

实例的名称、版本等基本信息。详细信息请参考BasicInstanceInfoObject

ChargeDetail

ChargeDetailObject

付费方式。详细信息请参考 ChargeDetailObject

ConnectionInfo

Array of ConnectionInfoObject

实例的连接信息。详细信息请参考ConnectionInfoObject

FileReservedTime

Integer

72

消息保留时长。

示例

请求示例

POST /?Action=DescribeInstanceDetail&Version=2023-01-01 HTTP/1.1
Content-Type: application/json
Host: rocketmq.volcengineapi.com
X-Date: 20210328T100802Z
Authorization: HMAC-SHA256 Credential=AK********/20210328/cn-shanghai/rocketmq/request, SignedHeaders=x-date, Signature=********

{
  "InstanceId": "rocketmq-cnai1f0c29ca****"
}

响应示例

{
    "ResponseMetadata": {
        "RequestId": "2023050817381642C835F4A0B6E14831A3",
        "Action": "DescribeInstanceDetail",
        "Version": "2023-01-01",
        "Service": "RocketMQ",
        "Region": "cn-shanghai"
    },
    "Result": {
        "BasicInfo": {
            "AccountId": "2000006376",
            "ApplyPrivateDNSToPublic": false,
            "AvailableQueueNumber": 3944,
            "ChargeDetail": {
                "ChargeExpireTime": "1970-01-01T00:00:00Z",
                "ChargeStatus": "Normal",
                "ChargeType": "PostPaid",
                "OverdueReclaimTime": "1970-01-01T00:00:00Z",
                "OverdueTime": "1970-01-01T00:00:00Z",
                "PeriodUnit": "Monthly"
            },
            "ComputeSpec": "rocketmq.n1.x2.micro",
            "CreateTime": "2023-05-08T09:11:15Z",
            "Defer": false,
            "DiskEncrypted": false,
            "EipId": "eip-22j06qkez64u87r2qr105****",
            "EnableByteProxyRateLimit": false,
            "EnableSSL": true,
            "FileReservedTime": 0,
            "HTTPProxy": false,
            "InstanceDescription": "",
            "InstanceId": "rocketmq-cnai1f0c29ca****",
            "InstanceName": "rocketmq-cnai1f0c29c****",
            "InstanceStatus": "Running",
            "ProjectName": "",
            "RegionId": "cn-shanghai",
            "SSLMode": "enforcing",
            "StorageSpace": 300,
            "StorageType": "flexPL",
            "SubnetId": "subnet-22j3oc7a7rvuo7r2qr29u****",
            "Tags": {
                "tag": "1"
            },
            "UsedGroupNumber": 0,
            "UsedStorageSpace": 0,
            "UsedTopicNumber": 0,
            "Version": "4.8",
            "VpcId": "vpc-3qe3nxqooqccg7prmkznr****",
            "ZoneId": "cn-shanghai-a"
        },
        "ChargeDetail": {
            "ChargeExpireTime": "1970-01-01T00:00:00Z",
            "ChargeStatus": "Normal",
            "ChargeType": "PrePaid",
            "OverdueReclaimTime": "1970-01-01T00:00:00Z",
            "OverdueTime": "1970-01-01T00:00:00Z",
            "PeriodUnit": "Monthly"
        },
        "ConnectionInfo": [
            {
                "EndpointType": "TCP",
                "InternalEndpoint": "http://rocketmq-cnai1f0c29ca****.rocketmq.ivolces.com:9876",
                "NetworkType": "PrivateNetwork",
                "PublicEndpoint": "http://rocketmq-cnai1f0c29ca****.rocketmq.volces.com:9876"
            }
        ],
        "FileReservedTime": 72
    }
}