forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
109 lines
8.6 KiB
HTML
109 lines
8.6 KiB
HTML
<a name="en-us_topic_0056890262"></a><a name="en-us_topic_0056890262"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining the DB Instances to Which a Parameter Template Applies</h1>
|
|
<div id="body1492603082526"><div class="section" id="en-us_topic_0056890262__section9132197102930"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0056890262__p1510517102930">This API is used to obtain the DB instances to which a specified parameter template applies.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890262__section13594659102930"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0056890262__ul27425583102930"><li id="en-us_topic_0056890262__li45503655102930">URI format<p id="en-us_topic_0056890262__p30073075145412"><a name="en-us_topic_0056890262__li45503655102930"></a><a name="li45503655102930"></a>PATH: /v1.0/{project_id}/configurations/{id}/instances</p>
|
|
<p id="en-us_topic_0056890262__p61917400102930">Method: GET</p>
|
|
</li><li id="en-us_topic_0056890262__li20385691102930">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890262__table49253498102930" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890262__row6101675102930"><th align="left" class="cellrowborder" valign="top" width="21.25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="en-us_topic_0056890262__p24473662102930"><strong id="en-us_topic_0056890262__b84235270691445_1">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.88%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="en-us_topic_0056890262__p36209614102930"><strong id="en-us_topic_0056890262__b842352706102346_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.87%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="en-us_topic_0056890262__p47297602102930"><strong id="en-us_topic_0056890262__b842352706163417_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890262__row5900547102930"><td class="cellrowborder" valign="top" width="21.25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890262__p66477586145432">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.88%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890262__p15984606145432">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.87%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890262__p62134500145432">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890262__row37808032102930"><td class="cellrowborder" valign="top" width="21.25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890262__p36091923145432">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.88%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890262__p49613608145432">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.87%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890262__p42126365145432">Specifies the parameter template ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890262__ul63338482102930"><li id="en-us_topic_0056890262__li23037766111332">Restrictions<p id="en-us_topic_0056890262__p61576232111335"><a name="en-us_topic_0056890262__li23037766111332"></a><a name="li23037766111332"></a>Currently, the DB engines MySQL and PostgreSQL support obtaining DB instances to which the specified parameter template applies.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890262__section64614201102930"><h4 class="sectiontitle">Request</h4><p id="en-us_topic_0056890262__p66367816102930">None</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890262__section60439435102930"><h4 class="sectiontitle">Normal Response</h4><ul id="en-us_topic_0056890262__ul63756104102930"><li id="en-us_topic_0056890262__li36934027102930">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890262__table63970789102930" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890262__row53030790102930"><th align="left" class="cellrowborder" valign="top" width="25.509999999999998%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="en-us_topic_0056890262__p526765102930"><strong id="en-us_topic_0056890262__b84235270691445_5">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.82%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="en-us_topic_0056890262__p42667967102930"><strong id="en-us_topic_0056890262__b842352706164541_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.67%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="en-us_topic_0056890262__p33553318102930"><strong id="en-us_topic_0056890262__b842352706163417_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890262__row33464266102930"><td class="cellrowborder" valign="top" width="25.509999999999998%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890262__p26251026102930">instances</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.82%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890262__p45958375102930">List data structure. For details, see <a href="#en-us_topic_0056890262__table47861511102930">Table 3</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.67%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890262__p16332468102930">Indicates the DB instance list information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890262__table47861511102930"></a><a name="table47861511102930"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890262__table47861511102930" frame="border" border="1" rules="all"><caption><b>Table 3 </b>instances field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890262__row44932905102930"><th align="left" class="cellrowborder" valign="top" width="26.939999999999998%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="en-us_topic_0056890262__p15686709102930"><strong id="en-us_topic_0056890262__b84235270691445_7">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.35%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="en-us_topic_0056890262__p62663950102930"><strong id="en-us_topic_0056890262__b842352706164541_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.71%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="en-us_topic_0056890262__p42615195102930"><strong id="en-us_topic_0056890262__b842352706163417_7">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890262__row29278789102930"><td class="cellrowborder" valign="top" width="26.939999999999998%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890262__p22771699102930">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.35%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890262__p32568334102930">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890262__p20789373102930">Indicates the DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890262__row52886632102930"><td class="cellrowborder" valign="top" width="26.939999999999998%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890262__p55958769102930">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.35%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890262__p36366402102930">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890262__p59997444102930">Indicates the DB instance name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890262__ul27954782102930"><li id="en-us_topic_0056890262__li50266452102930">Response example<pre class="codeblock" id="en-us_topic_0056890262__codeblock18088799102951">{
|
|
"instances": [
|
|
{
|
|
"id": "53754eff-3f95-4da8-a908-a88e6ea2f65a",
|
|
"name": "instances_test_1"
|
|
},
|
|
{
|
|
"id": "53754eff-3f95-4da8-a908-a88e6ea2f65b",
|
|
"name": "instances_test_2"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890262__section36958885102930"><h4 class="sectiontitle">Abnormal Response</h4><p id="en-us_topic_0056890262__p40879715102930">For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_06_0022.html">Parameter Configuration</a></div>
|
|
</div>
|
|
</div>
|
|
|