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>
342 lines
30 KiB
HTML
342 lines
30 KiB
HTML
<a name="en-us_topic_0056890263"></a><a name="en-us_topic_0056890263"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Parameter Template</h1>
|
|
<div id="body1492603082526"><div class="section" id="en-us_topic_0056890263__section47791537103033"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0056890263__p2515939714551">This API is used to create a parameter template and configure the name, description, DB engine, and parameter values in the parameter template.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890263__section10530764103033"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0056890263__ul47685568103033"><li id="en-us_topic_0056890263__li26516928103033">URI format<p id="en-us_topic_0056890263__p64245011145451"><a name="en-us_topic_0056890263__li26516928103033"></a><a name="li26516928103033"></a>PATH: /v1.0/{project_id}/configurations</p>
|
|
<p id="en-us_topic_0056890263__p387555103033">Method: POST</p>
|
|
</li><li id="en-us_topic_0056890263__li3488000103033">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table31392003103033" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890263__row22007494103033"><th align="left" class="cellrowborder" valign="top" width="20.11%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="en-us_topic_0056890263__p37776629103033"><strong id="en-us_topic_0056890263__b84235270691445_1">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.270000000000003%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="en-us_topic_0056890263__p40008141103033"><strong id="en-us_topic_0056890263__b842352706102346_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.62%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="en-us_topic_0056890263__p19433973103033"><strong id="en-us_topic_0056890263__b842352706163417_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row30647957103033"><td class="cellrowborder" valign="top" width="20.11%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890263__p3660222814559">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.270000000000003%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890263__p563493414559">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.62%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890263__p4111734614559">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890263__ul55784336103033"><li id="en-us_topic_0056890263__li32296981103033">Restrictions<ul id="en-us_topic_0056890263__ul6140559919553"><li id="en-us_topic_0056890263__li5421129719551">The name of the created parameter template is case-insensitive and must be different from the name of an existing or a default parameter template.</li><li id="en-us_topic_0056890263__li3006479019551">Currently, the DB engines MySQL and PostgreSQL support creating parameter templates.</li><li id="en-us_topic_0056890263__li4869282119551">The values of the created parameter template must be within the default value range of the specified database version. For details about the range of parameter values, see section "Editing Parameters in a Parameter Template" in the <em id="en-us_topic_0056890263__i842352697205034">Relational Database Service User Guide</em>.</li></ul>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890263__section4755253103033"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0056890263__ul57152533175359"><li id="en-us_topic_0056890263__li3524099175359">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table49631178103033" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890263__row8183755103033"><th align="left" class="cellrowborder" valign="top" width="22.56%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="en-us_topic_0056890263__p58904447103033"><strong id="en-us_topic_0056890263__b84235270691445_5">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.380000000000003%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="en-us_topic_0056890263__p6530903103033"><strong id="en-us_topic_0056890263__b842352706102346_5">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.240000000000002%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="en-us_topic_0056890263__p59241148103033"><strong id="en-us_topic_0056890263__b842352706164541_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.82%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="en-us_topic_0056890263__p33803669103033"><strong id="en-us_topic_0056890263__b842352706163417_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row53742667103033"><td class="cellrowborder" valign="top" width="22.56%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0056890263__p58188741103033">configuration</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.380000000000003%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0056890263__p15667563103033">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.240000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0056890263__p61113127103033">Dictionary data structure. For details, see <a href="#en-us_topic_0056890263__table54873338103033">Table 3</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0056890263__p58292820103033">Specifies the parameter template object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890263__table54873338103033"></a><a name="table54873338103033"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table54873338103033" frame="border" border="1" rules="all"><caption><b>Table 3 </b>configuration field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890263__row13420685103033"><th align="left" class="cellrowborder" valign="top" width="21.43%" id="mcps1.3.3.2.1.2.2.5.1.1"><p id="en-us_topic_0056890263__p86098651502"><strong id="en-us_topic_0056890263__b84235270691445_7">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.69%" id="mcps1.3.3.2.1.2.2.5.1.2"><p id="en-us_topic_0056890263__p198997441502"><strong id="en-us_topic_0056890263__b842352706102346_7">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.69%" id="mcps1.3.3.2.1.2.2.5.1.3"><p id="en-us_topic_0056890263__p43311501502"><strong id="en-us_topic_0056890263__b842352706164541_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.189999999999998%" id="mcps1.3.3.2.1.2.2.5.1.4"><p id="en-us_topic_0056890263__p530109381502"><strong id="en-us_topic_0056890263__b842352706163417_7">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row46084942103033"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056890263__p242582601502">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056890263__p469359981502">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.69%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056890263__p390473891502">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.189999999999998%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056890263__p655709521502">Specifies the parameter template name. It contains a maximum of 64 characters and can contain only uppercase letters, lowercase letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row27132489103033"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056890263__p174608551502">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056890263__p189300281502">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.69%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056890263__p258664601502">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.189999999999998%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056890263__p51293590111420">Specifies the parameter template description. It contains a maximum of 256 characters and does not support the following special characters: !<>='&"</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row10643754103033"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056890263__p497935221502">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056890263__p322018791502">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.69%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056890263__p28979761502">Dictionary data structure. For details, see <a href="#en-us_topic_0056890263__table48747964103033">Table 4</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.189999999999998%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056890263__p348705861502">Specifies the parameter values defined by users based on the default parameter template.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row1855344103033"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056890263__p610346061502">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056890263__p408841221502">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.69%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056890263__p103027201502">Dictionary data structure. For details, see <a href="#en-us_topic_0056890263__table53696705103033">Table 5</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.189999999999998%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056890263__p58203831502">Specifies the database object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890263__table48747964103033"></a><a name="table48747964103033"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table48747964103033" frame="border" border="1" rules="all"><caption><b>Table 4 </b>values field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890263__row52952086103033"><th align="left" class="cellrowborder" valign="top" width="21.43%" id="mcps1.3.3.2.1.3.2.5.1.1"><p id="en-us_topic_0056890263__p5169416415048"><strong id="en-us_topic_0056890263__b84235270691445_9">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.82%" id="mcps1.3.3.2.1.3.2.5.1.2"><p id="en-us_topic_0056890263__p6515656115048"><strong id="en-us_topic_0056890263__b842352706102346_9">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.990000000000002%" id="mcps1.3.3.2.1.3.2.5.1.3"><p id="en-us_topic_0056890263__p2435723015048"><strong id="en-us_topic_0056890263__b842352706164541_5">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.76%" id="mcps1.3.3.2.1.3.2.5.1.4"><p id="en-us_topic_0056890263__p1483289015048"><strong id="en-us_topic_0056890263__b842352706163417_9">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row47756916103033"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056890263__p5709850215048">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056890263__p5091163415048">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056890263__p2894160515048">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056890263__p16861290151316">Specifies the parameter name. For example, in <strong id="en-us_topic_0056890263__b3367863672350">"max_connections": "10"</strong>, the key is <strong id="en-us_topic_0056890263__b7337336272350">max_connections</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row3200365103033"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056890263__p4463740915048">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.82%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056890263__p4281541615048">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056890263__p476893415048">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056890263__p45216830151316">Specifies the parameter value. For example, in <strong id="en-us_topic_0056890263__b12548790223511">"max_connections": "10"</strong>, the value is <strong id="en-us_topic_0056890263__b144027762523511">10</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890263__table53696705103033"></a><a name="table53696705103033"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table53696705103033" frame="border" border="1" rules="all"><caption><b>Table 5 </b>datastore field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890263__row29729671103033"><th align="left" class="cellrowborder" valign="top" width="21.42785721427857%" id="mcps1.3.3.2.1.4.2.5.1.1"><p id="en-us_topic_0056890263__p5265129815054"><strong id="en-us_topic_0056890263__b84235270691445_11">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.18718128187181%" id="mcps1.3.3.2.1.4.2.5.1.2"><p id="en-us_topic_0056890263__p2835873515054"><strong id="en-us_topic_0056890263__b842352706102346_11">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.80781921807819%" id="mcps1.3.3.2.1.4.2.5.1.3"><p id="en-us_topic_0056890263__p4363548415054"><strong id="en-us_topic_0056890263__b842352706164541_7">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.577142285771423%" id="mcps1.3.3.2.1.4.2.5.1.4"><p id="en-us_topic_0056890263__p1721583215054"><strong id="en-us_topic_0056890263__b842352706163417_11">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row59497879103033"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.1.4.2.5.1.1 "><p id="en-us_topic_0056890263__p6240390815054">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.18718128187181%" headers="mcps1.3.3.2.1.4.2.5.1.2 "><p id="en-us_topic_0056890263__p210816015054">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.80781921807819%" headers="mcps1.3.3.2.1.4.2.5.1.3 "><p id="en-us_topic_0056890263__p1545197115054">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.577142285771423%" headers="mcps1.3.3.2.1.4.2.5.1.4 "><p id="en-us_topic_0056890263__p4213332315054">Specifies the DB engine. Currently, MySQL and PostgreSQL are supported. The value is case-insensitive and can be <strong id="en-us_topic_0056890263__b842352706173632">mysql</strong> or <strong id="en-us_topic_0056890263__b842352706173641">postgresql</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row32955361103033"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.1.4.2.5.1.1 "><p id="en-us_topic_0056890263__p725043915054">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.18718128187181%" headers="mcps1.3.3.2.1.4.2.5.1.2 "><p id="en-us_topic_0056890263__p4179566215054">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.80781921807819%" headers="mcps1.3.3.2.1.4.2.5.1.3 "><p id="en-us_topic_0056890263__p3577604415054">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.577142285771423%" headers="mcps1.3.3.2.1.4.2.5.1.4 "><p id="en-us_topic_0056890263__p58374830113022">Specifies the database version.</p>
|
|
<ul id="en-us_topic_0056890263__ul4208889514478"><li id="en-us_topic_0056890263__li6070366414478">For MySQL, the value can be <strong id="en-us_topic_0056890263__b842352706173747">5.6</strong> and <strong id="en-us_topic_0056890263__b842352706173755">5.7</strong>. The value <strong id="en-us_topic_0056890263__b842352706173759">5.6</strong> is supported by default.</li><li id="en-us_topic_0056890263__li5274166814478">For PostgreSQL, the value can be 9.5, 9.6, 10, and 11. The default value is <strong id="en-us_topic_0056890263__b165162275173835">9.5</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890263__ul10642476103033"><li id="en-us_topic_0056890263__li28673422103033">Request example<pre class="codeblock" id="en-us_topic_0056890263__codeblock34145503103033">{
|
|
"configuration": {
|
|
"name": "configuration_test",
|
|
"description": "configuration_test",
|
|
"values": {
|
|
"max_connections": "10",
|
|
"autocommit": "OFF"
|
|
},
|
|
"datastore": {
|
|
"type": "mysql",
|
|
"version": "5.6"
|
|
}
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890263__section38874073103033"><h4 class="sectiontitle">Normal Response</h4><ul id="en-us_topic_0056890263__ul51750318175529"><li id="en-us_topic_0056890263__li25453505175529">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table61792213103033" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890263__row52877597103033"><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_0056890263__p55226970103033"><strong id="en-us_topic_0056890263__b84235270691445_13">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_0056890263__p44199604103033"><strong id="en-us_topic_0056890263__b842352706164541_9">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_0056890263__p23398162103033"><strong id="en-us_topic_0056890263__b842352706163417_13">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row16202973103033"><td class="cellrowborder" valign="top" width="25.509999999999998%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890263__p37372412103033">configuration</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_0056890263__p7266520103033">Dictionary data structure. For details, see <a href="#en-us_topic_0056890263__table28344292103033">Table 7</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_0056890263__p62801689103033">Indicates the parameter template information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890263__table28344292103033"></a><a name="table28344292103033"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table28344292103033" frame="border" border="1" rules="all"><caption><b>Table 7 </b>configuration field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890263__row36466580103033"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="en-us_topic_0056890263__p1002967103033"><strong id="en-us_topic_0056890263__b84235270691445_15">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="en-us_topic_0056890263__p14131540103033"><strong id="en-us_topic_0056890263__b842352706164541_11">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="en-us_topic_0056890263__p3804081103033"><strong id="en-us_topic_0056890263__b842352706163417_15">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row39695126103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p61188652103033">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p57333786103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p13525129103033">Indicates the parameter template ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row54617305103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p61925547103033">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p49913426103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p16455734103033">Indicates the parameter template name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row13883882103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p50852659103033">datastore_version_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p25424749103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p46138816103033">Indicates the database version ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row12596162103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p13656172103033">datastore_version_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p32408130103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p7812910103033">Indicates the database version name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row3207326103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p58466883103033">datastore_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p38197105103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p6957775103033">Indicates the database name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row62619975103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p39053233103033">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p9195295103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p6621434103033">Indicates the parameter template description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row59592907103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p62296180103033">instance_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p12825789103033">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p32255950103033">Indicates the number of DB instances to which the parameter template applies.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row21868097103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p26485458103033">created</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p64947392103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p26247410103033">Indicates the parameter template creation time in the following format: yyyy-MM-ddTHH:mm:ss.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row34900105103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p8336220103033">updated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p4145257103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p221526103033">Indicates the parameter template updated time in the following format: yyyy-MM-ddTHH:mm:ss.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row1993736103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890263__p27274921103033">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890263__p61784958103033">Dictionary data structure. For details, see <a href="#en-us_topic_0056890263__table33572326103033">Table 8</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890263__p11186798103033">Indicates the parameter values defined by users based on the default parameter template. It is displayed only when you specify a custom parameter group. If you use a default parameter group, it is not returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890263__table33572326103033"></a><a name="table33572326103033"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890263__table33572326103033" frame="border" border="1" rules="all"><caption><b>Table 8 </b>values field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890263__row56358927103033"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.3.2.4.1.1"><p id="en-us_topic_0056890263__p1670376103033"><strong id="en-us_topic_0056890263__b84235270691445_17">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.3.2.4.1.2"><p id="en-us_topic_0056890263__p1082802103033"><strong id="en-us_topic_0056890263__b842352706164541_13">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.3.2.4.1.3"><p id="en-us_topic_0056890263__p20598165103033"><strong id="en-us_topic_0056890263__b842352706163417_17">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890263__row57838648103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="en-us_topic_0056890263__p54418883103033">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="en-us_topic_0056890263__p45853407103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="en-us_topic_0056890263__p34956467202250">Indicates the parameter name. For example, in <strong id="en-us_topic_0056890263__b84235270621563">"max_connections": "10"</strong>, the key is <strong id="en-us_topic_0056890263__b842352706215241">max_connections</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890263__row6919762103033"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="en-us_topic_0056890263__p23629870103033">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="en-us_topic_0056890263__p34971351103033">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="en-us_topic_0056890263__p49005364202250">Indicates the parameter value. For example, in <strong id="en-us_topic_0056890263__b953814020215624">"max_connections": "10"</strong>, the value is <strong id="en-us_topic_0056890263__b842352706215633">10</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890263__ul1831598103033"><li id="en-us_topic_0056890263__li16484385103033">Response example<pre class="codeblock" id="en-us_topic_0056890263__codeblock10587893103055">{
|
|
"configuration": {
|
|
"id": "463b4b58-d0e8-4e2b-9560-5dea4552fde9",
|
|
"name": "configuration_test",
|
|
"datastore_version_id": "de90043f-7f29-4a3e-ba82-f8beb5678b46",
|
|
"datastore_version_name": "5.6",
|
|
"datastore_name": "mysql",
|
|
"description": "configuration_test",
|
|
"instance_count": 0,
|
|
"created": "2017-04-09T08:27:56",
|
|
"updated": "2017-04-09T08:27:56",
|
|
"values": {
|
|
"max_connections": "10",
|
|
"autocommit": "OFF"
|
|
}
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890263__section2057086103033"><h4 class="sectiontitle">Abnormal Response</h4><p id="en-us_topic_0056890263__p32406241103033">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>
|
|
|