getRegionList
    • PDF

    getRegionList

    • PDF

    기사 요약

    개요

    리전 리스트 조회

    설명

    사용 가능한 리전 리스트를 조회합니다.

    응답 데이터 타입

    • RegionList 타입
    RegionList extends CommonResponse
    private List regionList = new ArrayList();
    Region extends CommonResponse
    private String regionNo;
    private String regionCode;
    private String regionName;

    예시

    호출

    ncloud server getRegionList
    

    응답

    {
      "getRegionListResponse": {
        "requestId": "6b9443a0-7946-4322-b79f-2c64db4743dd",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 6,
        "regionList": [
          {
            "regionNo": "0",
            "regionCode": "COM",
            "regionName": "Common"
          },
          {
            "regionNo": "1",
            "regionCode": "KR",
            "regionName": "Korea"
          },  
          {
            "regionNo": "7",
            "regionCode": "SGN",
            "regionName": "Singapore(New)"
          },    
          {
            "regionNo": "8",
            "regionCode": "JPN",
            "regionName": "Japan(New)"
          },    
          {
            "regionNo": "9",
            "regionCode": "USWN",
            "regionName": "US-West(New)"
          },
          {
            "regionNo": "10",
            "regionCode": "DEN",
            "regionName": "Germany(New)"
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8"?>
    <getRegionListResponse>
        <requestId>77d2e167-46b4-44f6-bfbd-cab044efe5be</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>6</totalRows>
        <regionList>
            <region>
                <regionNo>0</regionNo>
                <regionCode>COM</regionCode>
                <regionName>Common</regionName>
            </region>
            <region>
                <regionNo>1</regionNo>
                <regionCode>KR</regionCode>
                <regionName>Korea</regionName>
            </region>
            <region>
                <regionNo>7</regionNo>
                <regionCode>SGN</regionCode>
                <regionName>Singapore(New)</regionName>
            </region>
            <region>
                <regionNo>8</regionNo>
                <regionCode>JPN</regionCode>
                <regionName>Japan(New)</regionName>
            </region>
            <region>
                <regionNo>9</regionNo>
                <regionCode>USWN</regionCode>
                <regionName>US-West(New)</regionName>
            </region>
            <region>
                <regionNo>10</regionNo>
                <regionCode>DEN</regionCode>
                <regionName>Germany(New)</regionName>
            </region>
        </regionList>
    </getRegionListResponse>
    

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

    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.