Queries the details of an instance based on the instance ID.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /openapi/ha3/instances/{instanceId}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-7pp2pcna701 |
Response parameters
Sample responses
Sample success responses
{
"requestId": "90D6B8F5-FE97-4509-9AAB-367836C51818",
"result":
{
"instanceId":"fadsfsafs",
"inDebt":true,
"lockMode":"Unlock",
"expiredTime":"asdfas",
"updateTime":"dfasf",
"createTime":"dfasf",
"resourceGroupId":"resourceGroupID",
"commodityCode":"commodityCode",
"chargeType":"POSYPAY",
"description":"this is description",
"apiVersion": "tisplus/v1",
"network": {
"vSwitchId": "vswitch_id_xxx",
"vpcId": "vpc_id_xxx",
},
"userName": "user",
"spec": {
"searchResource": {
"disk": 50,
"mem": 8,
"cpu": 2,
"nodeCount": 2
},
"qrsResource": {
"disk": 50,
"mem": 8,
"cpu": 2,
"nodeCount": 2
}
},
"status": "INIT",
}
}
Sample error responses
{
"requestId": "BD1EA715-DF6F-06C2-004C-C1FA0D3A9820",
"httpCode": 404,
"code": "App.NotFound",
"message": "App not found"
}
Examples
Sample success responses
JSON
format
{
"result": {
"description": "ha3_test",
"resourceGroupId": "rg-aekzjvw24el5lma",
"expiredTime": "1634609702",
"commodityCode": "commodityCode",
"instanceId": "ha-cn-7mz2qsgq301",
"createTime": "2022-06-17T02:01:26Z",
"lockMode": "Unlock",
"chargeType": "POSYPAY",
"updateTime": "1634609702",
"inDebt": false,
"status": "INIT",
"tags": [
{
"key": "env",
"value": "prod"
}
]
},
"requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-01-12 | Add Operation | View Change Details |