修改对等连接

最近更新时间:2018-03-07 20:02:59

ModifyVpcPeeringConnection(修改对等连接)

Request Parameters(请求参数)

VpcPeeringConnectionId

  • Peering的ID
  • 类型: String
  • 是否可缺省: 否

PeeringName

  • peering的名称
  • 类型: String
  • 是否可缺省: 是

BandWidth

  • 对等连接的带宽上线
  • 类型: Integer
  • 是否可缺省: 是

Response Elements(返回值)

RequestId

  • 请求ID
  • 类型: String

VpcPeeringConnection

Examples(例子)

Sample Request(请求)
https://vpc.region.api.ksyun.com/?Action=ModifyVpcPeeringConnection
&Version=2016-03-04
&VpcPeeringConnectionId=4d8b2e8f-a10d-40af-a690-e6a6140ee18c
&PeeringName=test
Sample Response(返回)
<CreateVpcPeeringConnectionResponse xmlns="https://vpc.api.ksyun.com/doc/2016-03-04/">
    <VpcPeeringConnection>
        <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-09 13:58:39.653573</CreateTime>
        <PeeringName>ksc_peering</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>71e42afe-5bd1-4a5d-b5ca-7d95299c7966</VpcPeeringConnectionId>
    </VpcPeeringConnection>
    <RequestId>c649f316-7f9d-4dee-be9b-6ac205d670ad</RequestId>
</CreateVpcPeeringConnectionResponse>

金山云,开启您的云计算之旅

注册有礼