forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
276 lines
21 KiB
HTML
276 lines
21 KiB
HTML
<a name="dns_api_63005"></a><a name="dns_api_63005"></a>
|
|
|
|
<h1 class="topictitle1">Querying a Private Zone</h1>
|
|
<div id="body1492847418239"><div class="section" id="dns_api_63005__section55898385"><h4 class="sectiontitle">Function</h4><p id="dns_api_63005__p10983320">Query a private zone.</p>
|
|
</div>
|
|
<div class="section" id="dns_api_63005__section33323423"><h4 class="sectiontitle">URI</h4><p id="dns_api_63005__p474934217154">GET /v2/zones/{zone_id}</p>
|
|
<div class="p" id="dns_api_63005__p9272359795">For details, see <a href="#dns_api_63005__table14024165">Table 1</a>.
|
|
<div class="tablenoborder"><a name="dns_api_63005__table14024165"></a><a name="table14024165"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_api_63005__table14024165" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter in the URI</caption><thead align="left"><tr id="dns_api_63005__row26592044"><th align="left" class="cellrowborder" valign="top" width="17.53%" id="mcps1.3.2.3.2.2.5.1.1"><p id="dns_api_63005__p6471942"><strong id="dns_api_63005__b162774213314533">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.349999999999998%" id="mcps1.3.2.3.2.2.5.1.2"><p id="dns_api_63005__p54465313"><strong id="dns_api_63005__b593421527191713">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.52%" id="mcps1.3.2.3.2.2.5.1.3"><p id="dns_api_63005__p49614245"><strong id="dns_api_63005__b84235270619112">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.599999999999994%" id="mcps1.3.2.3.2.2.5.1.4"><p id="dns_api_63005__p59330872"><strong id="dns_api_63005__b842352706112423">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dns_api_63005__row41071365"><td class="cellrowborder" valign="top" width="17.53%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="dns_api_63005__p38446258">zone_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.349999999999998%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="dns_api_63005__p27139175">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.52%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="dns_api_63005__p50789581">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.599999999999994%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="dns_api_63005__p20315403">Zone ID</p>
|
|
<p id="dns_api_63005__p1669018482183">You can obtain the value by calling the API in <a href="dns_api_63006.html">Querying Private Zones</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="dns_api_63005__section31475357"><h4 class="sectiontitle">Request</h4><ul id="dns_api_63005__ul35351571269"><li id="dns_api_63005__li1053565782615">Request parameters<p id="dns_api_63005__p1815201642711"><a name="dns_api_63005__li1053565782615"></a><a name="li1053565782615"></a>None</p>
|
|
</li><li id="dns_api_63005__li4109190182715">Example request<p id="dns_api_63005__p16901225154816"><a name="dns_api_63005__li4109190182715"></a><a name="li4109190182715"></a>Query the zone whose ID is ff8080825b8fc86c015b94bc6f8712c3:</p>
|
|
<pre class="codeblock" id="dns_api_63005__codeblock591720584711">GET https://{DNS_Endpoint}/v2/zones/ff8080825b8fc86c015b94bc6f8712c3</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dns_api_63005__section14842765"><h4 class="sectiontitle">Response</h4><ul id="dns_api_63005__ul8135151"><li id="dns_api_63005__li6107499">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dns_api_63005__table66395488123415" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the response</caption><thead align="left"><tr id="dns_api_63005__row29441359123415"><th align="left" class="cellrowborder" valign="top" width="18.38%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="dns_api_63005__p35939865123415"><strong id="dns_api_63005__b926240088">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.64%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="dns_api_63005__p25447972123415"><strong id="dns_api_63005__b1162811717">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63.980000000000004%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="dns_api_63005__p48019864123415"><strong id="dns_api_63005__b2124890211">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dns_api_63005__row64403739123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p49320408123415">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p35530101123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p59365914123415">Zone ID, which is a UUID used to identify the zone</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row64531184123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p59643381123415">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p66384534123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p8438205123415">Zone name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row8834981123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p44544845123415">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p51362669123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p66735534123415">Zone description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row63748898123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p63387127123415">email</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p34083648123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p9312102123415">Email address of the administrator managing the zone</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row16700055123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p10527186123415">zone_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p47395742123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p9394279212">Zone type, which can be <strong id="dns_api_63005__b128424430494">public</strong> or <strong id="dns_api_63005__b9843164313498">private</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row57540153123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p30240837123415">ttl</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p33588766123415">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p36335531123415">TTL value of the SOA record set in the zone</p>
|
|
<p id="dns_api_63005__p0662131993410">The value ranges from <strong id="dns_api_63005__dns_api_63002_b19998125511334">1</strong> to <strong id="dns_api_63005__dns_api_63002_b1899825519334">2147483647</strong>.</p>
|
|
<p id="dns_api_63005__p7662111973418">The default value is <strong id="dns_api_63005__dns_api_63002_b1947775585810">300</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row58584329123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p47710208123415">serial</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p39321631123415">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p201115484116">Serial number in the SOA record set in a zone, which identifies the change on the primary DNS server</p>
|
|
<p id="dns_api_63005__p7524749171039">This parameter is not used currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row9984653123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p3450553123415">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p11059337123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p23391077123415">Resource status</p>
|
|
<p id="dns_api_63005__p186242108156">For details, see <a href="dns_api_80005.html#dns_api_80005__section33673592114748">Resource Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row15629110123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p57998436123415">record_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p252886123415">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p20483829123415">Number of record sets in the zone</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row50136736123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p34543853123415">pool_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p46588698123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p15588175123415">Pool ID of the zone, which is assigned by the system</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row6075853123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p22382050123415">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p1006739123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p8704812171039">Project ID of the zone</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row62824730123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p55638354123415">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p10412802123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p38130643123415">Time when the zone was created</p>
|
|
<p id="dns_api_63005__p583516468316">The UTC time format is used: YYYY-MM-DDTHH:MM:SSZ.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row7631471123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p14169428123415">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p6873005123415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p19842531123415">Time when the zone was updated</p>
|
|
<p id="dns_api_63005__p18139194012313">The UTC time format is used: YYYY-MM-DDTHH:MM:SSZ.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row44365052123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p36799431123415">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p27963939123415">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p5501274116741">Link to the current resource or other related resources.</p>
|
|
<p id="dns_api_63005__p50486583123415">When a response is broken into pages, a <strong id="dns_api_63005__b84235270695245">next</strong> link is provided to retrieve all results.</p>
|
|
<p id="dns_api_63005__p1379911523453">For details, see <a href="#dns_api_63005__table52442344175457">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row51726070123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p29062162123415">masters</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p5224955123415">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p3720175814459">Master DNS servers, from which the slave servers get DNS information</p>
|
|
<p id="dns_api_63005__p376119772512">This parameter is not used currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row50896222123415"><td class="cellrowborder" valign="top" width="18.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dns_api_63005__p28953317123415">routers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dns_api_63005__p63517332123415">Array of object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.980000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dns_api_63005__p44630292123415">Routers (VPCs associated with the zone). For details, see <a href="#dns_api_63005__table4448008117179">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="dns_api_63005__table52442344175457"></a><a name="table52442344175457"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_api_63005__table52442344175457" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the <strong id="dns_api_63005__b5941817195116">links</strong> field</caption><thead align="left"><tr id="dns_api_63005__row58979189175457"><th align="left" class="cellrowborder" valign="top" width="18.3018301830183%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="dns_api_63005__p46156243175457"><strong id="dns_api_63005__b13913141911512">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.591959195919593%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="dns_api_63005__p47668234175457"><strong id="dns_api_63005__b941760622">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="62.10621062106211%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="dns_api_63005__p35921708175457"><strong id="dns_api_63005__b3175154105111">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dns_api_63005__row54859922175457"><td class="cellrowborder" valign="top" width="18.3018301830183%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="dns_api_63005__p14468674175457">self</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.591959195919593%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="dns_api_63005__p31111955175457">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.10621062106211%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="dns_api_63005__p37040428175457">Link to the current resource</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row345421154813"><td class="cellrowborder" valign="top" width="18.3018301830183%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="dns_api_63005__p136561245153620">next</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.591959195919593%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="dns_api_63005__p19656144517367">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.10621062106211%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="dns_api_63005__p76567451365">Link to the next page</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="dns_api_63005__table4448008117179"></a><a name="table4448008117179"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_api_63005__table4448008117179" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Description of the <strong id="dns_api_63005__b19195125910519">routers</strong> field</caption><thead align="left"><tr id="dns_api_63005__row6132935617179"><th align="left" class="cellrowborder" valign="top" width="18.538146185381464%" id="mcps1.3.4.2.1.3.2.4.1.1"><p id="dns_api_63005__p36588677171719"><strong id="dns_api_63005__b127159019524">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.458054194580544%" id="mcps1.3.4.2.1.3.2.4.1.2"><p id="dns_api_63005__p9906869171719"><strong id="dns_api_63005__b1431901315">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="62.003799620037995%" id="mcps1.3.4.2.1.3.2.4.1.3"><p id="dns_api_63005__p64258954171719"><strong id="dns_api_63005__b42193414523">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dns_api_63005__row1024510342619"><td class="cellrowborder" valign="top" width="18.538146185381464%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="dns_api_63005__p38120631175524">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.458054194580544%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="dns_api_63005__p57184665175519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.003799620037995%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="dns_api_63005__p1635999216648">Resource status</p>
|
|
<p id="dns_api_63005__p656495918714">For details, see <a href="dns_api_80005.html#dns_api_80005__section33673592114748">Resource Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row266872817179"><td class="cellrowborder" valign="top" width="18.538146185381464%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="dns_api_63005__p25118582171719">router_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.458054194580544%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="dns_api_63005__p50755907171719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.003799620037995%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="dns_api_63005__p17587794171719">ID of the associated VPC</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_63005__row6657832817179"><td class="cellrowborder" valign="top" width="18.538146185381464%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="dns_api_63005__p3709384171719">router_region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.458054194580544%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="dns_api_63005__p43861924171719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.003799620037995%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="dns_api_63005__p63154928171719">Region of the VPC</p>
|
|
<p id="dns_api_63005__p38645142171939">If it is left blank, the region of the project in the token takes effect by default.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="dns_api_63005__ul2026335"><li id="dns_api_63005__li18237015">Example response<pre class="screen" id="dns_api_63005__screen6709033920539">{
|
|
"id": "ff8080825b8fc86c015b94bc6f8712c3",
|
|
"name": "example.com.",
|
|
"description": "This is an example zone.",
|
|
"email": "xx@example.com",
|
|
"ttl": 300,
|
|
"serial": 0,
|
|
"masters": [],
|
|
"status": "ACTIVE",
|
|
"links": {
|
|
"self": "https://<em id="dns_api_63005__i34642236141555">Endpoint</em>/v2/zones/ff8080825b8fc86c015b94bc6f8712c3"
|
|
},
|
|
"pool_id": "ff8080825ab738f4015ab7513298010e",
|
|
"project_id": "e55c6f3dc4e34c9f86353b664ae0e70c",
|
|
"zone_type": "private",
|
|
"created_at": "2017-04-22T08:17:08.997",
|
|
"updated_at": "2017-04-22T08:17:09.997",
|
|
"record_num": 2,
|
|
"routers": [
|
|
{
|
|
"status": "ACTIVE",
|
|
"router_id": "19664294-0bf6-4271-ad3a-94b8c79c6558",
|
|
"router_region": "xx"
|
|
},
|
|
{
|
|
"status": "ACTIVE",
|
|
"router_id": "f0791650-db8c-4a20-8a44-a06c6e24b15b",
|
|
"router_region": "xx"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dns_api_63005__section9249181042119"><h4 class="sectiontitle">Returned Value</h4><p id="dns_api_63005__dns_api_61001_p711102924515">If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.</p>
|
|
<p id="dns_api_63005__dns_api_61001_p18506102624518">For details, see <a href="dns_api_80002.html">Status Code</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dns_api_63000.html">Private Zone Management</a></div>
|
|
</div>
|
|
</div>
|
|
|