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>
81 lines
6.9 KiB
HTML
81 lines
6.9 KiB
HTML
<a name="en-us_topic_0056890051"></a><a name="en-us_topic_0056890051"></a>
|
|
|
|
<h1 class="topictitle1">Rebooting a DB Instance</h1>
|
|
<div id="body1492603082525"><div class="section" id="en-us_topic_0056890051__section36524518102048"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0056890051__p5695975102048">This API is used to reboot a DB instance.</p>
|
|
<div class="notice" id="en-us_topic_0056890051__note13124125151512"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="en-us_topic_0056890051__p757016191831">The RDS DB instance will be unavailable during the reboot process. Exercise caution when performing this operation.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890051__section51263775102048"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0056890051__ul58725117102048"><li id="en-us_topic_0056890051__li58764013102048">URI format<p id="en-us_topic_0056890051__p59114076102048"><a name="en-us_topic_0056890051__li58764013102048"></a><a name="li58764013102048"></a>PATH: /v1.0/{project_id}/instances/{instanceId}/action</p>
|
|
<p id="en-us_topic_0056890051__p62264644102048">Method: POST</p>
|
|
</li><li id="en-us_topic_0056890051__li23510884102048">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890051__table10271366102048" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890051__row47701174102048"><th align="left" class="cellrowborder" valign="top" width="20.97%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="en-us_topic_0056890051__p38589920102048"><strong id="en-us_topic_0056890051__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.110000000000003%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="en-us_topic_0056890051__p38775843102048"><strong id="en-us_topic_0056890051__b842352706102346">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.919999999999995%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="en-us_topic_0056890051__p53835558102048"><strong id="en-us_topic_0056890051__b842352706163417">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890051__row65712913102048"><td class="cellrowborder" valign="top" width="20.97%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890051__p21145741102048">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890051__p35083457102048">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.919999999999995%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890051__p23187798102048">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890051__row7363596102048"><td class="cellrowborder" valign="top" width="20.97%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890051__p59580437102048">instanceId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890051__p61286098102048">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.919999999999995%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890051__p65226924102048">Specifies the DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890051__ul42619298102048"><li id="en-us_topic_0056890051__li48029366102048">Restrictions<p id="en-us_topic_0056890051__p29611115102048"><a name="en-us_topic_0056890051__li48029366102048"></a><a name="li48029366102048"></a>The DB instance cannot reboot when it is being created, scaled, backed up, restored, or its instance class is being changed.</p>
|
|
<p id="en-us_topic_0056890051__p65173451102048">Currently, only the DB engines MySQL and PostgreSQL are supported by the API.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890051__section49690149102048"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0056890051__ul65479160102048"><li id="en-us_topic_0056890051__li52441530102048">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890051__table2211723102048" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890051__row16582139102048"><th align="left" class="cellrowborder" valign="top" width="21.242124212421242%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="en-us_topic_0056890051__p976041102048"><strong id="en-us_topic_0056890051__b1940286026">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.192819281928188%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="en-us_topic_0056890051__p11950471102048"><strong id="en-us_topic_0056890051__b2105518919">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.562556255625562%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="en-us_topic_0056890051__p28464061102048"><strong id="en-us_topic_0056890051__b842352706164541">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.002500250025%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="en-us_topic_0056890051__p23887604102048"><strong id="en-us_topic_0056890051__b1294264075">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890051__row55847763102048"><td class="cellrowborder" valign="top" width="21.242124212421242%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0056890051__p27374979102048">restart</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.192819281928188%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0056890051__p2780844102048">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.562556255625562%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0056890051__p23921781102048">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.002500250025%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0056890051__p58616070102048">This parameter is left blank.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890051__ul50281224102048"><li id="en-us_topic_0056890051__li49877834102048">Request example<pre class="codeblock" id="en-us_topic_0056890051__codeblock46247330102048">{
|
|
"restart": {}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890051__section13572792102048"><h4 class="sectiontitle">Normal Response</h4><p id="en-us_topic_0056890051__p480834182232">None</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890051__section64738761102048"><h4 class="sectiontitle">Abnormal Response</h4><p id="en-us_topic_0056890051__p9348284102048">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_0021.html">DB Instance Management</a></div>
|
|
</div>
|
|
</div>
|
|
|