Queries all Elastic Compute Service (ECS) instances that have not been imported to clusters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /pop/v5/resource/ecs_not_in_cluster
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NetworkMode | integer | Yes | The network type. Valid values:
| 2 |
VpcId | string | No | The ID of the VPC. This parameter is required if the NetworkMode parameter is set to 2. | vpc-2zef6ob8****v8x3q46kp |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "b197-40ab-9155-****",
"EcsEntityList": {
"EcsEntity": [
{
"VpcId": "vpc-2zef6ob8mrlzv8x3q****",
"Status": " Running",
"PrivateIp": "192.168.*.**",
"Expired": false,
"InstanceId": "i-2ze7s2v0b***********",
"Mem": 4096,
"RegionId": "cn-beijing",
"VpcName": "test",
"Cpu": 2,
"InnerIp": "192.168.20.113",
"Eip": "139.30.xxx.xx",
"InstanceName": "worker-k8s-for-cs-c9dfa009a5e7c4faab2010b87cae4****",
"PublicIp": "131.30.xxx.xx"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history