getVpcPeeringInstanceDetail
    • PDF

    getVpcPeeringInstanceDetail

    • PDF

    기사 요약

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

    개요

    VPC Peering 인스턴스 번호를 이용하여 VPC Peering 인스턴스 상세 정보를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    VPC Peering 인스턴스 상세 정보가 조회될 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    vpcPeeringInstanceNoYesString- 조회할 VPC Peering 인스턴스 번호
    vpcPeeringInstanceNo는 getVpcPeeringInstanceList 액션을 통해 획득 가능
    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 getVpcPeeringInstanceDetail --regionCode FKR --vpcPeeringInstanceNo ***6212
    

    응답 예시

    <getVpcPeeringInstanceDetailResponse>
      <requestId>a119cd5c-9434-4019-b0e8-f253b781614a</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <vpcPeeringInstanceList>
        <vpcPeeringInstance>
          <vpcPeeringInstanceNo>***6212</vpcPeeringInstanceNo>
          <vpcPeeringName>test-***</vpcPeeringName>
          <regionCode>FKR</regionCode>
          <createDate>2020-08-05T20:53:16+0900</createDate>
          <vpcPeeringInstanceStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </vpcPeeringInstanceStatus>
          <vpcPeeringInstanceStatusName>운영중</vpcPeeringInstanceStatusName>
          <vpcPeeringInstanceOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </vpcPeeringInstanceOperation>
          <sourceVpcNo>***05</sourceVpcNo>
          <sourceVpcName>test-***</sourceVpcName>
          <sourceVpcIpv4CidrBlock>***.**1.0.0/16</sourceVpcIpv4CidrBlock>
          <sourceVpcLoginId>test-***@naver.com</sourceVpcLoginId>
          <targetVpcNo>***06</targetVpcNo>
          <targetVpcName>test-***</targetVpcName>
          <targetVpcIpv4CidrBlock>***.**2.0.0/16</targetVpcIpv4CidrBlock>
          <targetVpcLoginId>test-***@naver.com</targetVpcLoginId>
          <vpcPeeringDescription></vpcPeeringDescription>
          <hasReverseVpcPeering>false</hasReverseVpcPeering>
          <isBetweenAccounts>false</isBetweenAccounts>
          <reverseVpcPeeringInstanceNo></reverseVpcPeeringInstanceNo>
        </vpcPeeringInstance>
      </vpcPeeringInstanceList>
    </getVpcPeeringInstanceDetailResponse>
    

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

    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.