LB 레코드 조회
    • PDF

    LB 레코드 조회

    • PDF

    Article Summary

    개요

    LB 레코드 정보를 조회합니다.

    • NCP 금융에서는 Load Balancer VPC만 지원합니다.

    요청

    GET {DNS_API_URL}/ncpdns/lb-record/{platformType}/{recordType}?searchContent=
    

    요청 파라미터

    파라미터명필수 여부타입설명
    platformTypeyesString플랫폼 타입 (VPC, CLASSIC)(Upper case)
    recordTypeyesString레코드 타입 (Upper case)
    searchContentnoString조회할 LB 레코드명

    응답

    응답 바디

    예시

    예시 1

    요청 예시

    GET {DNS_API_URL}/ncpdns/lb-record/VPC/A?searchContent=
    

    응답 예시

    [
        {
            "sid": 1,
            "name": "example-111111-skdfjh34.beta.naverncp.com"
        },
        
        {
            "sid": 2,
            "name": "example-222222-skdfjh34.beta.naverncp.com"
        }
    ]
    

    예시 2

    요청 예시

    GET {DNS_API_URL}/ncpdns/lb-record/VPC/AAAA?searchContent=
    

    예시 3

    요청 예시

    GET {DNS_API_URL}/ncpdns/lb-record/CLASSIC/A?searchContent=
    

    응답 예시

    {
        "result": "FAIL",
        "error": {
            "errorCode": "X00004",
            "message": "지원하지 않는 플랫폼입니다. 사용 중인 플랫폼을 다시 확인해주세요.",
            "moreInfo": {
    
            }
        }
    }
    
    

    오류 코드 예시

    {
        "result": "FAIL",
        "error": {
            "errorCode": "X00006",
            "message": "권한이 없습니다.",
            "devMessage": "권한이 없습니다."
        }
    }
    

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

    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.