How to query one or more instances of classic network types that have established a connection with the proprietary network VPC
This article mainly introduces how to query one or more classic network types connected to a proprietary network VPC, which has certain reference value, and friends who need it can refer to it. I hope you all have a lot of success after reading this article. Let's take a look at it together.
DescribeClassicLinkInstances
described
When invoking this interface, you need to note:
This interface supports only classic network type instances.
You can query up to 100 classic network type instances at a time.
Parameters VpcId and InstanceId cannot both be empty.
request parameters
return parameter
example
request example
https://ecs.aliyuncs.com/? Action=DescribeClassicLinkInstances&RegionId=cn-hangzhou&VpcId=vpc-test&InstanceId=i-test, i-test1&
example of returned result is as
XML format
B154D309-F3E1-4AB7-BA94-FEFCA8B89001 2 1 10 i-test vpc-test i-test1 vpc-test
JSON format
{ "PageNumber":1, "Links":{ "Link":[{ "InstanceId":"i-test", "VpcId":"vpc-test" }, { "InstanceId": "i-test1", "VpcId": "vpc-test" }] }, "TotalCount":2, "PageSize":10, "RequestId":"B154D309-F3E1-4AB7-BA94-FEFCA8B89001"}
error code
The following error codes are specific to this interface. For more error codes, visit the API Error Center.
Thank you for reading this article carefully. I hope Xiaobian can share how to query one or more classic network examples connected to proprietary network VPC. At the same time, I hope you will support more. Pay attention to industry information channels. Find out if you encounter problems. Detailed solutions are waiting for you to learn!