GetMetaServer
    • PDF

    GetMetaServer

    • PDF

    Article Summary

    개요

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

    NTM 에서 사용가능한 Server 를 조회합니다.

    요청

    API URL

    URL: https://vpc-ntm.apigw.fin-ntruss.com/meta/v1/server
    Method: GET
    

    요청 헤더

    공통설정에 명시된 요청헤더가 필요합니다.

    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    파라미터명필수 여부타입제약사항설명
    privateIpNStringprivate IP 의 문자열 Prefix
    publicIpNIntpublic IP 의 문자열 Prefix
    regionCodeNStringregion code, default FKR
    serverNameNIntserver 이름 Prefix
    pageYIntpage number
    sizeYIntpage size

    예시

    요청 예시

    GET /meta/v1/server?regionCode=KR
    Host: vpc-ntm.apigw.ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    응답 예시

    오류 없이 조회가 완료된 경우 HTTP code 200과 Server 정보가 조회됩니다.

    {
      "total": 7,
      "serverList": [
        {
          "instanceNo": 1777948,
          "serverName": "test-code003",
          "regionNo": 1,
          "regionCode": "KR",
          "regionName": "Korea",
          "privateIpList": [
            "10.0.3.11"
          ],
          "publicIp": null,
          "instanceStatusCode": "NSTOP",
          "instanceStatusName": "stopped",
          "networkTrafficMonitoringInstanceNo": 2094117,
          "subscribed": true
        },
        {
          "instanceNo": 1777945,
          "serverName": "test-code002",
          "regionNo": 1,
          "regionCode": "KR",
          "regionName": "Korea",
          "privateIpList": [
            "10.0.3.10"
          ],
          "publicIp": null,
          "instanceStatusCode": "RUN",
          "instanceStatusName": "running",
          "networkTrafficMonitoringInstanceNo": 1808470,
          "subscribed": true
        }
      ]
    }
    

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

    What's Next
    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.