getZoneList
    • PDF

    getZoneList

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Query the Zone list.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region where the Zone list will be queried.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • ZoneList type
    ZoneList extends CommonResponse
    private Integer totalRows;
    private List zoneList = new ArrayList<>();
    Zone
    private String zoneName;
    private String zoneCode;
    private String regionCode;
    private String zoneDescription;

    Example

    Request example

    ncloud vserver getZoneList --regionCode KR
    

    Response example

    <getZoneListResponse>
      <requestId>9a3aefb2-4d35-4cfe-9152-e4c451cc7966</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <zoneList>
        <zone>
          <zoneName>KR-2</zoneName>
          <zoneCode>KR-2</zoneCode>
          <regionCode>KR</regionCode>
          <zoneDescription>평촌 zone</zoneDescription>
        </zone>
        <zone>
          <zoneName>KR-1</zoneName>
          <zoneCode>KR-1</zoneCode>
          <regionCode>KR</regionCode>
          <zoneDescription>가산 zone</zoneDescription>
        </zone>
      </zoneList>
    </getZoneListResponse>
    

    Was this article helpful?

    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.