Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to query one or more instances of classic network types that have established a connection with the proprietary network VPC

Shulou Source: shulou.com Published: 2022-06-02 01:03:27 10月04日 Update

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!

Tags: Network instance type classic error query parameter interface example article multiple proprietary simultaneous format support value content method more friends Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info macOS Xiaomi Shulou Technology