How to enable classic network type instances to communicate with cloud resource private networks in VPC

坏嘻嘻
Release: 2018-09-26 11:29:33
Original
2318 people have browsed it

This article introduces how to enable classic network type instances to communicate with cloud resource private networks in VPC, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

AttachClassicLinkVpc

Description

When calling this interface, you need to pay attention to:

Connect to the classic network Before type instance, the instance must be in Running or Stopped state.

The target VPC must have ClassicLink enabled.

Classic network type instances and VPC must be in the same Alibaba Cloud region.

Request parameters

How to enable classic network type instances to communicate with cloud resource private networks in VPC

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=AttachClassicLinkVpc
&RegionId=cn-hangzhou
&InstanceId=i-test
&VpcId=vpc-test
&<公共请求参数>
Copy after login

Return example

XML format

<AttachClassicLinkVpcResponse>
    <RequestId>C0003E8B-B930-4F59-ADC0-0E209A9012A8</RequestId>
</AttachClassicLinkVpcResponse>
Copy after login

JSON format

{
    "RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8"
}
Copy after login

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

How to enable classic network type instances to communicate with cloud resource private networks in VPC

The above is the detailed content of How to enable classic network type instances to communicate with cloud resource private networks in VPC. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template