forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
141 lines
9.9 KiB
HTML
141 lines
9.9 KiB
HTML
<a name="as_06_0411"></a><a name="as_06_0411"></a>
|
|
|
|
<h1 class="topictitle1">Deleting an AS Policy</h1>
|
|
<div id="body14468758"><div class="section" id="as_06_0411__section52228449"><h4 class="sectiontitle">Function</h4><p id="as_06_0411__p31118786">This interface is used to delete a specified AS policy.</p>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section294000"><h4 class="sectiontitle">URI</h4><p id="as_06_0411__p25191285">DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0411__table27228238" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0411__row23955663"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.2.3.2.5.1.1"><p id="as_06_0411__p61360575"><strong id="as_06_0411__b139824360598">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_0411__p4150696">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.3.2.5.1.3"><p id="as_06_0411__p662065">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="as_06_0411__p53627266"><strong id="as_06_0411__b9479153795910">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0411__row48841284"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0411__p63829918">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0411__p2840889">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0411__p28785469">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0411__p36520930">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row46641368"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0411__p19854472">scaling_policy_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0411__p64708380">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0411__p6887421">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0411__p21010194">Specifies the AS policy ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section2646004"><h4 class="sectiontitle">Request</h4><p id="as_06_0411__p60400126203515">None</p>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section95219295527"><h4 class="sectiontitle">Example Request</h4><p id="as_06_0411__p15614505203519">This example deletes the AS policy with ID <strong id="as_06_0411__b996812436539">906f73ff-56e8-41b2-a005-8157d0c60361</strong>.</p>
|
|
<pre class="screen" id="as_06_0411__screen177830915328">DELETE https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_policy/906f73ff-56e8-41b2-a005-8157d0c60361</pre>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section23814038"><h4 class="sectiontitle">Response</h4><p id="as_06_0411__p178901216104116">None</p>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section9211247175213"><h4 class="sectiontitle">Example Response</h4><p id="as_06_0411__p1689291617412">None</p>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section12999751"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0411__ul59960851"><li id="as_06_0411__li2776748">Normal<p id="as_06_0411__p24990733"><a name="as_06_0411__li2776748"></a><a name="li2776748"></a>204</p>
|
|
</li><li id="as_06_0411__li23590007">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0411__table10983475" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0411__row23209052"><th align="left" class="cellrowborder" valign="top" width="43.61%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="as_06_0411__p885082">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.38999999999999%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="as_06_0411__p4582792">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0411__row35661838"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p2927765">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p35822404">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row53966187"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p9185002">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p5787686">You must enter the username and password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row52089174"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p58473527">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p38735241">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row13072851"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p52268049">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p5853587">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row52682290"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p39407061">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p37855410">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row5154373"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p14851049">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p62084314">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row21887914"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p28090616">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p60747463">You must use the proxy server for authentication to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row9856263"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p60159801">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p41105728">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row34407239"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p35522984">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p58789457">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row59343073"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p42059594">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p51383952">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row59802385"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p12154988">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p45029976">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row2616604"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p10618339">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p54779151">Failed to complete the request because the request is invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row23250319"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p4227661">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p6896227">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0411__row62066047"><td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0411__p61293901">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.38999999999999%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0411__p65858952">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0411__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0411__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_0400.html">AS Policies</a></div>
|
|
</div>
|
|
</div>
|
|
|