Queries the details of instances in a region. The instances include shared instances and dedicated instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | No | The instance ID. If you do not specify this parameter, all instances are returned. | api-shared-vpc-001 |
Language | string | No | The language in which you want the description of the system policy to be returned. Valid values:
| zh |
EnableTagAuthorization | boolean | No | Specifies whether tag authorization is enabled. | false |
Tag | array<object> | No | The tag that is bound to the instance. | |
object | No | |||
Key | string | No | The tag key. | key1 |
Value | string | No | The tag value. | value |
Response parameters
Examples
Sample success responses
JSON
format
{
"PageNumber": 1,
"RequestId": "CEB6EC62-B6C7-5082-A45A-45A204724AC2",
"PageSize": 10,
"TotalCount": 1,
"Instances": {
"InstanceAttribute": [
{
"Status": "RUNNING",
"VpcSlbIntranetEnable": true,
"ClassicEgressAddress": "10.0.0.1",
"ZoneLocalName": "",
"UserVpcId": "vpc-t***hx****yu9****t0g4",
"VpcIntranetEnable": true,
"VpcOwnerId": 0,
"InstanceId": "api-shared-vpc-020",
"InstanceRpsLimit": 500,
"InstanceType": "VPC_SHARED",
"RegionId": "cn-beijing",
"InstanceSpec": "api.s1.small",
"InstanceChargeType": "PrePaid",
"HttpsPolicies": "HTTPS2_TLS1_2",
"VpcEgressAddress": "100.104.254.0/26",
"EgressIpv6Enable": true,
"ExpiredTime": "1659801600000",
"InstanceName": "test",
"ZoneId": "cn-hangzhou-MAZ5(g,h)",
"SupportIpv6": true,
"InternetEgressAddress": "47.241.89.244",
"CreatedTime": "2021-10-22 15:36:53.0",
"InstanceSpecAttributes": {
"SpecAttribute": [
{
"Value": "2500",
"LocalName": ""
}
]
},
"UserVswitchId": "vsw-t4***eh****d7q****i2f",
"AclName": "test",
"AclType": "white",
"AclStatus": "on",
"AclId": "acl-uf6f9zfxfxtp5j9ng3yv4",
"IntranetSegments": "[\\\"172.36.0.0/16\\\",\\\"172.31.16.0/20\\\"]",
"IPV6AclName": "testIPV6",
"IPV6AclId": "acl-124resFfs235",
"IPV6AclType": "black",
"IPV6AclStatus": "on",
"DedicatedInstanceType": "vpc_connect",
"InstanceCidrBlock": "192.168.0.0/16",
"ConnectVpcId": "vpc-m5eo7khlb4h4f8y9egsdg",
"NetworkInterfaceAttributes": {
"NetworkInterfaceAttribute": [
{
"VswitchId": "vsw-2zeqals6rbj51bhjn8b89",
"SecurityGroupId": "sg-2zeehz13zcyj1kfk3o85",
"CidrBlock": "192.168.17.0/24",
"ZoneId": "cn-shenzhen-d"
}
]
},
"InstanceClusterId": "apigateway-cluster-sh-1523cafbgffd",
"MaintainStartTime": "22:00Z",
"MaintainEndTime": "01:00Z",
"ConnectCidrBlocks": "[\\\"172.16.0.0/24\\\",\\\"172.16.1.0/24\\\"]",
"PrivateDnsList": {
"PrivateDns": [
""
]
},
"Tags": {
"TagInfo": [
{
"Key": "",
"Value": ""
}
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-04-18 | The response structure of the API has changed | View Change Details |
2024-03-21 | The response structure of the API has changed | View Change Details |
2023-07-12 | The response structure of the API has changed | View Change Details |
2023-07-11 | The response structure of the API has changed | View Change Details |
2023-06-12 | The response structure of the API has changed | View Change Details |
2023-06-03 | The response structure of the API has changed | View Change Details |
2023-05-09 | The response structure of the API has changed | View Change Details |
2023-03-07 | The response structure of the API has changed | View Change Details |
2022-06-10 | Add Operation | View Change Details |