acceptOrRejectVpcPeering
    • PDF

    acceptOrRejectVpcPeering

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    개요

    VPC Peering 요청을 수락하거나 거절합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    요청을 수락하거나 거절할 VPC Peering 인스턴스의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    vpcPeeringInstanceNoYesString- 요청을 수락하거나 거절할 VPC Peering 인스턴스 번호
    vpcPeeringInstanceNo는 getVpcPeeringInstanceList 액션을 통해 획득 가능
    isAcceptYesBoolean- 요청 수락 혹은 거절 여부
    Options : true (요청 수락) | false (요청 거절)
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • VpcPeeringInstanceList 타입
    VpcPeeringInstanceList extends CommonResponse
    private Integer totalRows;
    private List vpcPeeringInstanceList = new ArrayList<>();
    VpcPeeringInstance
    private String vpcPeeringInstanceNo;
    private String vpcPeeringName;
    private String regionCode;
    private Date createDate;
    private Date lastModifyDate;
    private CommonCode vpcPeeringInstanceStatus;
    private String vpcPeeringInstanceStatusName;
    private CommonCode vpcPeeringInstanceOperation;
    private String sourceVpcNo;
    private String sourceVpcName;
    private String sourceVpcIpv4CidrBlock;
    private String sourceVpcLoginId;
    private String targetVpcNo;
    private String targetVpcName;
    private String targetVpcIpv4CidrBlock;
    private String targetVpcLoginId;
    private String vpcPeeringDescription;
    private Boolean hasReverseVpcPeering;
    private Boolean isBetweenAccounts;
    private String reverseVpcPeeringInstanceNo;

    예시

    요청 예시

    ncloud vpc acceptOrRejectVpcPeering --regionCode FKR --vpcPeeringInstanceNo ***6213 --isAccept true
    

    응답 예시

    <acceptOrRejectVpcPeeringResponse>
      <requestId>b4e70022-b05f-4843-9885-7f4444dcc650</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <vpcPeeringInstanceList>
        <vpcPeeringInstance>
          <vpcPeeringInstanceNo>***6213</vpcPeeringInstanceNo>
          <vpcPeeringName>test-***</vpcPeeringName>
          <regionCode>FKR</regionCode>
          <createDate>2020-08-07T18:17:11+0900</createDate>
          <vpcPeeringInstanceStatus>
            <code>INIT</code>
            <codeName>init</codeName>
          </vpcPeeringInstanceStatus>
          <vpcPeeringInstanceStatusName>수락 대기중</vpcPeeringInstanceStatusName>
          <vpcPeeringInstanceOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </vpcPeeringInstanceOperation>
          <sourceVpcNo>***07</sourceVpcNo>
          <sourceVpcName>test-***</sourceVpcName>
          <sourceVpcIpv4CidrBlock>***.**1.0.0/16</sourceVpcIpv4CidrBlock>
          <sourceVpcLoginId>test-**1@nave.com</sourceVpcLoginId>
          <targetVpcNo>***08</targetVpcNo>
          <targetVpcName>test-***</targetVpcName>
          <targetVpcIpv4CidrBlock>***.**2.0.0/16</targetVpcIpv4CidrBlock>
          <targetVpcLoginId>test-**2@naver.com</targetVpcLoginId>
          <vpcPeeringDescription></vpcPeeringDescription>
          <hasReverseVpcPeering>false</hasReverseVpcPeering>
          <isBetweenAccounts>true</isBetweenAccounts>
          <reverseVpcPeeringInstanceNo></reverseVpcPeeringInstanceNo>
        </vpcPeeringInstance>
      </vpcPeeringInstanceList>
    </acceptOrRejectVpcPeeringResponse>
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.