MENU
      getPortForwardingConfigurationList

        getPortForwardingConfigurationList


        기사 요약

        개요

        포트포워딩 설정 리스트 조회

        설명

        포트포워딩 설정 리스트(Port Forwarding Configuration List) 정보를 조회합니다.

        요청 파라미터

        파라미터 명필수 여부타입제약사항설명
        regionNoNoString- 리전 번호
        포트포워딩 설정 리스트(Configuation List)가 조회될 리전(Region) 결정 가능
        regionNo는 getRegionList 액션을 통해서 획득할 수 있습니다.
        serverInstanceNoListNoList<String>- 서버 인스턴스 번호 리스트
        지정한 서버 인스턴스에 해당하는 포트포워딩 설정 리스트 조회 가능
        serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능
        ex) serverInstanceNoList 12345 serverInstanceNoList 23456
        portForwardingPublicIpListNoList<String>- 포트포워딩 공인 IP 리스트
        포트포워딩 공인 IP로 필터링하여 조회 가능
        portForwardingPublicIp는 getServerInstanceList 액션을 통해 획득 가능
        ex) portForwardingPublicIpList "192.168.0.1" portForwardingPublicIpList "192.168.0.2"

        응답 데이터 타입

        • PortForwardingConfigurationList 타입
        PortForwardingConfigurationList extends CommonResponse
        private Integer totalRows;
        private List portForwardingConfigurationList = new ArrayList<>();
        PortForwardingRule
        private String portForwardingConfigurationNo;
        private String portForwardingPublicIp;
        private ServerInstanceNoList serverInstanceNoList;

        예시

        호출

        ncloud server getPortForwardingConfigurationList
        Plain text

        응답

        {
          "getPortForwardingConfigurationListResponse": {
            "requestId": "e2068abf-aa0d-46d6-8e7f-8e86c9805f5e",
            "returnCode": "0",
            "returnMessage": "success",
            "totalRows": 1,
            "portForwardingConfigurationList": [
              {
                "portForwardingConfigurationNo": "***536",
                "portForwardingPublicIp": "***.***.160.56",
                "serverInstanceNoList": [
                  "***5058"
                ]
              }
            ]
          }
        }
        JSON
        <getPortForwardingConfigurationListResponse>
          <requestId>e2068abf-aa0d-46d6-8e7f-8e86c9805f5e</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <portForwardingConfigurationList>
            <portForwardingConfiguration>
              <portForwardingConfigurationNo>***536</portForwardingConfigurationNo>
              <portForwardingPublicIp>***.***.160.56</portForwardingPublicIp>
              <serverInstanceNoList>
                <serverInstanceNo>***5058</serverInstanceNo>
              </serverInstanceNoList>
            </portForwardingConfiguration>
          </portForwardingConfigurationList>
        </getPortForwardingConfigurationListResponse>
        XML

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

        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.