获取只读从实例
接口说明
获取指定 Hologres 主实例绑定的只读从实例列表。instanceId 为路径参数,调用时必须提供。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
hologram:ListFollowerInstances |
list |
*Instance
|
无 | 无 |
请求语法
GET /api/v1/instances/{instanceId}/listFollowerInstances HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| instanceId |
string |
否 |
实例 ID。该参数位于请求路径中,调用时必须提供。 |
hgprecn-cn-xxxxxxx |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
地域 id。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70 |
| InstanceList |
array<object> |
实例详情。 |
|
|
array<object> |
实例详情。 |
||
| InstanceId |
string |
实例 ID。 |
hgpostcn-cn-aaab9ad2d8fb |
| InstanceName |
string |
实例名称。 |
test_instance |
| CommodityCode |
string |
商品 code,与费用中心产品明细 code 一致 |
hologram_postpay_public_cn |
| InstanceStatus |
string |
实例状态。 |
Running |
| ChargeType |
string |
付费类型。 |
PostPaid |
| CreationTime |
string |
创建时间。采用 ISO 8601 格式的 UTC 时间。 |
2022-12-16T02:24:05Z |
| ExpirationTime |
string |
到期时间。采用 ISO 8601 格式的 UTC 时间。 |
2023-05-04T16:00:00.000Z |
| InstanceType |
string |
实例类型。 |
Standard |
| Tags |
array<object> |
标签详情。 |
|
|
object |
标签详情。 |
||
| Key |
string |
标签键。 |
tag |
| Value |
string |
标签值。 |
value |
| Success |
string |
请求结果,表示此次请求是否发生异常,和业务无关 |
true |
| ErrorCode |
string |
错误码。 |
null |
| ErrorMessage |
string |
错误信息。 |
null |
| HttpStatusCode |
string |
http 状态码。 |
200 |
示例
正常返回示例
JSON格式
{
"RequestId": "D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70",
"InstanceList": [
{
"InstanceId": "hgpostcn-cn-aaab9ad2d8fb",
"InstanceName": "test_instance",
"CommodityCode": "hologram_postpay_public_cn",
"InstanceStatus": "Running",
"ChargeType": "PostPaid",
"CreationTime": "2022-12-16T02:24:05Z",
"ExpirationTime": "2023-05-04T16:00:00.000Z",
"InstanceType": "Standard",
"Tags": [
{
"Key": "tag",
"Value": "value"
}
]
}
],
"Success": "true",
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。