全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

接受对等连接

最近更新时间:2024-08-30 19:03:44

AcceptVpcPeeringConnection(接受对等连接)

Request Parameters(请求参数)

VpcPeeringConnectionId

  • Peering的ID

  • 类型: String

  • 是否可缺省: 否

Action

  • 公共参数,本接口取值:AcceptVpcPeeringConnection

  • 类型: String

  • 是否可缺省: 否

Version

  • 公共参数,本接口取值:2016-03-04

  • 类型: String

  • 是否可缺省: 否

Response Elements(返回值)

RequestId

  • 请求ID

  • 类型: String

VpcPeeringConnection

Examples(例子)

Sample Request(请求)
https://vpc.region.api.ksyun.com/?Action=AcceptVpcPeeringConnection
&Version=2016-03-04
&VpcPeeringConnectionId=4d8b2e8f-a10d-40af-a690-e6a6140ee18c
Sample Response(返回)
<AcceptVpcPeeringConnectionResponse xmlns="https://vpc.api.ksyun.com/doc/2016-03-04/">
    <VpcSet>
        <item>
            <AccepterVpcInfo>
                <Region>cn-shanghai-3</Region>
                <VpcName>DefaultVPC</VpcName>
                <CidrBlock>172.31.0.0/16</CidrBlock>
                <VpcId>4e8d1f11-264a-468b-ae37-09b465477415</VpcId>
            </AccepterVpcInfo>
            <CreateTime>2016-05-05 20:49:55</CreateTime>
            <PeeringName>test2</PeeringName>
            <RequesterVpcInfo>
                <Region>cn-shanghai-3</Region>
                <VpcName>no-delete-vpc</VpcName>
                <VpcId>4f20f696-8d5d-4ec0-a403-e71e0068962f</VpcId>
                <CidrBlock>10.111.86.0/23</CidrBlock>
            </RequesterVpcInfo>
            <VpcPeeringConnectionType>remote</VpcPeeringConnectionType>
            <VpcPeeringConnectionId>4d8b2e8f-a10d-40af-a690-e6a6140ee18c</VpcPeeringConnectionId>
        </item>
        <item>
            <AccepterVpcInfo>
                <Region>cn-shanghai-3</Region>
                <VpcName>no-delete-vpc</VpcName>
                <CidrBlock>10.111.86.0/23</CidrBlock>
                <VpcId>4f20f696-8d5d-4ec0-a403-e71e0068962f</VpcId>
            </AccepterVpcInfo>
            <CreateTime>2016-05-05 20:49:55</CreateTime>
            <PeeringName>test2</PeeringName>
            <RequesterVpcInfo>
                <Region>cn-shanghai-3</Region>
                <VpcName>DefaultVPC</VpcName>
                <VpcId>4e8d1f11-264a-468b-ae37-09b465477415</VpcId>
                <CidrBlock>172.31.0.0/16</CidrBlock>
            </RequesterVpcInfo>
            <VpcPeeringConnectionType>local</VpcPeeringConnectionType>
            <VpcPeeringConnectionId>a4c23108-91f0-4540-8e00-02a9a4ba318f</VpcPeeringConnectionId>
        </item>
    </VpcSet>
    <RequestId>679dddcc-6f1d-4371-abf8-1743d0421957</RequestId>
</AcceptVpcPeeringConnectionResponse>

文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈