getZoneList
- Print
- PDF
getZoneList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Query the Zone list.
Request
Request parameter
Parameter Name | Required Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region 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. | |
responseFormatType | No | String | Format type for the response result Options : xml | json Default : xml |
Response
Response data type
- ZoneList type
ZoneList extends CommonResponse |
---|
private Integer totalRows; |
private List |
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?