forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
143 lines
10 KiB
HTML
143 lines
10 KiB
HTML
<a name="as_06_0204"></a><a name="as_06_0204"></a>
|
|
|
|
<h1 class="topictitle1">Deleting an AS Configuration</h1>
|
|
<div id="body45484537"><div class="section" id="as_06_0204__section5380904"><h4 class="sectiontitle">Function</h4><p id="as_06_0204__p1461316236407">This interface is used to delete a specified AS configuration.</p>
|
|
<div class="note" id="as_06_0204__note88511428134615"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0204__p585216281466">AS configurations used by AS groups cannot be deleted.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="as_06_0204__section48428136"><h4 class="sectiontitle">URI</h4><p id="as_06_0204__p3493029">DELETE /autoscaling-api/v1/{project_id}/scaling_configuration/{scaling_configuration_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0204__table14499957" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0204__row65119131"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.2.3.2.5.1.1"><p id="as_06_0204__p40158284"><strong id="as_06_0204__b2298523125017">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="as_06_0204__p31595610">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.2.3.2.5.1.3"><p id="as_06_0204__p9107628">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.2.3.2.5.1.4"><p id="as_06_0204__p66629291"><strong id="as_06_0204__b27931723135018">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0204__row28263486"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0204__p7641038">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0204__p14944322">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0204__p2530563">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0204__p36520930">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row32841145"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0204__p42887128">scaling_ configuration _id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0204__p51305376">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0204__p62094776">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0204__p63620936">Specifies the AS configuration ID. For details, see <a href="as_06_0202.html">Querying AS configurations</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0204__section33200047"><h4 class="sectiontitle">Request Message</h4><ul id="as_06_0204__ul9007507"><li id="as_06_0204__li56913160">Request parameters<p id="as_06_0204__p60400126203515"><a name="as_06_0204__li56913160"></a><a name="li56913160"></a>None</p>
|
|
</li><li id="as_06_0204__li3640858994017">Example request<p id="as_06_0204__p15614505203519"><a name="as_06_0204__li3640858994017"></a><a name="li3640858994017"></a>This example shows how to delete the AS configuration with ID <strong id="as_06_0204__b45288520391">6afe46f9-7d3d-4046-8748-3b2a1085ad86</strong>.</p>
|
|
<pre class="screen" id="as_06_0204__screen013694914463">DELETE https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_configuration/6afe46f9-7d3d-4046-8748-3b2a1085ad86</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0204__section30364973"><h4 class="sectiontitle">Response Message</h4><ul id="as_06_0204__ul135791150123613"><li id="as_06_0204__li1758055020367">Response parameters<p id="as_06_0204__p9581145063615"><a name="as_06_0204__li1758055020367"></a><a name="li1758055020367"></a>None</p>
|
|
</li><li id="as_06_0204__li115820502369">Example response<p id="as_06_0204__p958455063619"><a name="as_06_0204__li115820502369"></a><a name="li115820502369"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0204__section4849307"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0204__ul46727122"><li id="as_06_0204__li17890920">Normal<p id="as_06_0204__p26800560"><a name="as_06_0204__li17890920"></a><a name="li17890920"></a>204</p>
|
|
</li><li id="as_06_0204__li39878449">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0204__table23361726" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0204__row63863782"><th align="left" class="cellrowborder" valign="top" width="44.17%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="as_06_0204__p5583857">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.83%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="as_06_0204__p49639248">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0204__row61356140"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p3791404">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p38668280">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row12470207"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p3453833">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p11325076">You must enter the username and password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row34816825"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p1590600">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p61729771">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row18697032"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p38064613">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p63334794">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row33142240"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p166885">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p13517702">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row54550461"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p56511253">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p14008765">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row58970022"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p11842506">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p19718930">You must use the proxy server for authentication to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row43252647"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p13803553">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p44346036">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row63570006"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p48896832">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p1220438">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row10983950"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p17284754">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p57887863">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row51228725"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p55886094">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p30479771">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row5882489"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p6719600">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p7416719">Failed to complete the request because the request is invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row66750478"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p38079613">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p64549801">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0204__row44077297"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0204__p13491266">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0204__p19050756">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0204__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0204__p172692548116">See <a href="as_07_0102.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0200.html">AS Configurations</a></div>
|
|
</div>
|
|
</div>
|
|
|