forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: zhengxiu <zhengxiu@huawei.com> Co-committed-by: zhengxiu <zhengxiu@huawei.com>
281 lines
21 KiB
HTML
281 lines
21 KiB
HTML
<a name="UpdateYmls"></a><a name="UpdateYmls"></a>
|
|
|
|
<h1 class="topictitle1">Modifying Cluster Parameters</h1>
|
|
<div id="body1708331107508"><div class="section" id="UpdateYmls__section554111116128"><h4 class="sectiontitle">Function</h4><p id="UpdateYmls__p205412171213">This API is used to modify the parameter settings of a cluster. Before calling this API, obtain the parameter configuration list, check the parameter settings, and modify them as required.</p>
|
|
<div class="note" id="UpdateYmls__note454219111126"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="UpdateYmls__p1454116119126">Set the values of any custom parameters to those that are supported by Elasticsearch. Otherwise, the cluster will fail to be restarted. Exercise caution when performing this operation.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section105426113125"><h4 class="sectiontitle">Calling Method</h4><p id="UpdateYmls__p175429116123">For details, see <a href="css_03_0077.html">Calling APIs</a>.</p>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section954213141217"><h4 class="sectiontitle">URI</h4><p id="UpdateYmls__p195424111218">POST /v1.0/{project_id}/clusters/{cluster_id}/ymls/update</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateYmls__table454310191215" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateYmls__row154314116122"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateYmls__p154351121220">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateYmls__p12543111151214">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateYmls__p554318141219">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateYmls__p45431119122">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateYmls__row125432115120"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateYmls__p15439121220">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateYmls__p154414191211">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateYmls__p17544915127">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateYmls__p354410151213"><strong id="UpdateYmls__b25448114127">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p13544121191212">Project ID. For details about how to obtain the project ID and name, see <a href="css_03_0071.html">Obtaining the Project ID and Name</a>.</p>
|
|
<p id="UpdateYmls__p25441914124"><strong id="UpdateYmls__b1854410121211">Constraints</strong>:</p>
|
|
<p id="UpdateYmls__p454413111121">N/A</p>
|
|
<p id="UpdateYmls__p45441161218"><strong id="UpdateYmls__b175444114126">Value range</strong>:</p>
|
|
<p id="UpdateYmls__p2544151121216">Project ID of the account.</p>
|
|
<p id="UpdateYmls__p25445121218"><strong id="UpdateYmls__b654414161214">Default value</strong>:</p>
|
|
<p id="UpdateYmls__p135441912125">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row45436121211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateYmls__p12544210122">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateYmls__p1954411114127">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateYmls__p12544101181219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateYmls__p4544214127"><strong id="UpdateYmls__b1354416110124">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p55441014126">ID of the cluster whose parameter settings you want to be modify. For details about how to obtain the cluster ID, see <a href="css_03_0101.html">Obtaining the Cluster ID</a>.</p>
|
|
<p id="UpdateYmls__p454410131216"><strong id="UpdateYmls__b054411151217">Constraints</strong>:</p>
|
|
<p id="UpdateYmls__p205446119124">N/A</p>
|
|
<p id="UpdateYmls__p254513111219"><strong id="UpdateYmls__b115457121218">Value range</strong>:</p>
|
|
<p id="UpdateYmls__p1954591131210">Cluster ID.</p>
|
|
<p id="UpdateYmls__p125451151218"><strong id="UpdateYmls__b65459117127">Default value</strong>:</p>
|
|
<p id="UpdateYmls__p12545181181211">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section105459121215"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateYmls__request_UpdateYmlsReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="UpdateYmls__row45458191213"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="UpdateYmls__p145451219121">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="UpdateYmls__p18545181141213">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="UpdateYmls__p19545911127">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="UpdateYmls__p1654520191217">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateYmls__row05452117123"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="UpdateYmls__p1754514119127">edit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="UpdateYmls__p1754616111124">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="UpdateYmls__p1754613112121"><a href="#UpdateYmls__request_UpdateYmlsReqEdit">UpdateYmlsReqEdit</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="UpdateYmls__p05466113127"><strong id="UpdateYmls__b554616114121">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p1454618161210">Configuration file information.</p>
|
|
<p id="UpdateYmls__p1954631161217"><strong id="UpdateYmls__b1754618131219">Constraints</strong>:</p>
|
|
<p id="UpdateYmls__p75467111127">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateYmls__request_UpdateYmlsReqEdit"></a><a name="request_UpdateYmlsReqEdit"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateYmls__request_UpdateYmlsReqEdit" frame="border" border="1" rules="all"><caption><b>Table 3 </b>UpdateYmlsReqEdit</caption><thead align="left"><tr id="UpdateYmls__row105461417121"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="UpdateYmls__p1254614181218">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="UpdateYmls__p154631201218">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="UpdateYmls__p45477161218">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="UpdateYmls__p554718114125">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateYmls__row1554612114121"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="UpdateYmls__p95473115129">modify</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="UpdateYmls__p175472120125">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="UpdateYmls__p5547715124"><a href="#UpdateYmls__request_UpdateYmlsReqEditModify">UpdateYmlsReqEditModify</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="UpdateYmls__p105474110127"><strong id="UpdateYmls__b7547114122">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p254710117124">Modify parameter settings.</p>
|
|
<p id="UpdateYmls__p1354714121210"><strong id="UpdateYmls__b5547810126">Constraints</strong>:</p>
|
|
<ul id="UpdateYmls__ul4547417123"><li id="UpdateYmls__li1554715115126"><p id="UpdateYmls__p754712113127"><a name="UpdateYmls__li1554715115126"></a><a name="li1554715115126"></a>modify, delete, and reset: at least one of them will take effect, and each operation can be used only once.</p>
|
|
</li><li id="UpdateYmls__li1754718111211"><p id="UpdateYmls__p254713116128"><a name="UpdateYmls__li1754718111211"></a><a name="li1754718111211"></a>Cannot perform multiple operations on the same parameter at the same time.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row20546415125"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="UpdateYmls__p145470119129">delete</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="UpdateYmls__p65471815120">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="UpdateYmls__p195471111127"><a href="#UpdateYmls__request_UpdateYmlsReqEditModify">UpdateYmlsReqEditModify</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="UpdateYmls__p3547161121213"><strong id="UpdateYmls__b1854717111122">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p1554881151214">Delete custom parameter settings.</p>
|
|
<p id="UpdateYmls__p1354816119125"><strong id="UpdateYmls__b155482113122">Constraints</strong>:</p>
|
|
<ul id="UpdateYmls__ul654810161217"><li id="UpdateYmls__li254851141210"><p id="UpdateYmls__p454861111215"><a name="UpdateYmls__li254851141210"></a><a name="li254851141210"></a>Irrelevant to the input parameter value.</p>
|
|
</li><li id="UpdateYmls__li554871151210"><p id="UpdateYmls__p1154817117121"><a name="UpdateYmls__li554871151210"></a><a name="li554871151210"></a>modify, delete, and reset: at least one of them will take effect, and each operation can be used only once.</p>
|
|
</li><li id="UpdateYmls__li15481217125"><p id="UpdateYmls__p15548171181219"><a name="UpdateYmls__li15481217125"></a><a name="li15481217125"></a>Cannot perform multiple operations on the same parameter at the same time.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row1154621161214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="UpdateYmls__p205484111219">reset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="UpdateYmls__p25482161213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="UpdateYmls__p35481717122"><a href="#UpdateYmls__request_UpdateYmlsReqEditModify">UpdateYmlsReqEditModify</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="UpdateYmls__p13548161151214"><strong id="UpdateYmls__b1254810161217">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p054819118127">Reset parameter settings.</p>
|
|
<p id="UpdateYmls__p1454814115127"><strong id="UpdateYmls__b25481112127">Constraints</strong>:</p>
|
|
<ul id="UpdateYmls__ul3548121141211"><li id="UpdateYmls__li12548191161220"><p id="UpdateYmls__p754811110127"><a name="UpdateYmls__li12548191161220"></a><a name="li12548191161220"></a>Irrelevant to the input parameter value.</p>
|
|
</li><li id="UpdateYmls__li1354871181210"><p id="UpdateYmls__p15481514121"><a name="UpdateYmls__li1354871181210"></a><a name="li1354871181210"></a>Custom parameters cannot be reset.</p>
|
|
</li><li id="UpdateYmls__li55484115123"><p id="UpdateYmls__p135482118124"><a name="UpdateYmls__li55484115123"></a><a name="li55484115123"></a>modify, delete, and reset: at least one of them will take effect, and each operation can be used only once.</p>
|
|
</li><li id="UpdateYmls__li15480116127"><p id="UpdateYmls__p175481911129"><a name="UpdateYmls__li15480116127"></a><a name="li15480116127"></a>Cannot perform multiple operations on the same parameter at the same time.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateYmls__request_UpdateYmlsReqEditModify"></a><a name="request_UpdateYmlsReqEditModify"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateYmls__request_UpdateYmlsReqEditModify" frame="border" border="1" rules="all"><caption><b>Table 4 </b>UpdateYmlsReqEditModify</caption><thead align="left"><tr id="UpdateYmls__row185492111120"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="UpdateYmls__p754941131211">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="UpdateYmls__p45491514129">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="UpdateYmls__p185491015125">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="UpdateYmls__p1454910131211">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateYmls__row1054971131215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="UpdateYmls__p195494117123">elasticsearch.yml</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="UpdateYmls__p754918151210">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="UpdateYmls__p4549141181211">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="UpdateYmls__p13549415121"><strong id="UpdateYmls__b1354914161216">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p1454916111214">Parameter configuration list. The value is the JSON data to be modified.</p>
|
|
<p id="UpdateYmls__p175501513125"><strong id="UpdateYmls__b1355010115126">Constraints</strong>:</p>
|
|
<p id="UpdateYmls__p055071171218">N/A</p>
|
|
<p id="UpdateYmls__p125506112123"><strong id="UpdateYmls__b1255019171218">Value range</strong>:</p>
|
|
<p id="UpdateYmls__p12550618128">N/A</p>
|
|
<p id="UpdateYmls__p35505112125"><strong id="UpdateYmls__b1255031151220">Default value</strong>:</p>
|
|
<p id="UpdateYmls__p10550412122">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section1755014119125"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateYmls__p7550914122"><strong id="UpdateYmls__b25503111127">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateYmls__response_UpdateYmlsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="UpdateYmls__row0550151111215"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.1"><p id="UpdateYmls__p17550813129">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.2"><p id="UpdateYmls__p1855041151215">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="UpdateYmls__p255151181219">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateYmls__row4550181121211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateYmls__p14551919126">acknowledged</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateYmls__p185511813129">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateYmls__p1655111201213"><strong id="UpdateYmls__b655116117121">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p17551151131219">Parameter settings modified successfully or not.</p>
|
|
<p id="UpdateYmls__p135512171213"><strong id="UpdateYmls__b65519161220">Value range</strong>:</p>
|
|
<ul id="UpdateYmls__ul85512151210"><li id="UpdateYmls__li145511219121"><p id="UpdateYmls__p5551141171215"><a name="UpdateYmls__li145511219121"></a><a name="li145511219121"></a><strong id="UpdateYmls__b155511312127">true</strong>: The modification is successful.</p>
|
|
</li><li id="UpdateYmls__li85515117123"><p id="UpdateYmls__p45517111129"><a name="UpdateYmls__li85515117123"></a><a name="li85515117123"></a><strong id="UpdateYmls__b4551101191211">false</strong>: The modification fails.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row95501015125"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateYmls__p18551917125">externalMessage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateYmls__p19551111191212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateYmls__p655112111122"><strong id="UpdateYmls__b15551512123">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p20551719126">Error description.</p>
|
|
<p id="UpdateYmls__p135513181219"><strong id="UpdateYmls__b155210131216">Value range</strong>:</p>
|
|
<p id="UpdateYmls__p125521171212">If <strong id="UpdateYmls__b125528116127">acknowledged</strong> was set to <strong id="UpdateYmls__b25524115124">true</strong>, <strong id="UpdateYmls__b20552181121212">null</strong> is returned for this field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row455018115127"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateYmls__p15552111131217">httpErrorResponse</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateYmls__p1355210118127">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateYmls__p1552181181220"><strong id="UpdateYmls__b85524119123">Definition</strong>:</p>
|
|
<p id="UpdateYmls__p13552013127">HTTP error information. The default value is null.</p>
|
|
<p id="UpdateYmls__p8552101201218"><strong id="UpdateYmls__b18552171191212">Value range</strong>:</p>
|
|
<p id="UpdateYmls__p1655241181211">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section205521121214"><h4 class="sectiontitle">Example Requests</h4><p id="UpdateYmls__p14552918125">Modify parameter settings.</p>
|
|
<pre class="screen" id="UpdateYmls__screen115526121216">POST https://{Endpoint}/v1.0/{project_id}/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ymls/update
|
|
|
|
{
|
|
"edit" : {
|
|
"modify" : {
|
|
"elasticsearch.yml" : {
|
|
"thread_pool.force_merge.size" : 1
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section1455371161220"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateYmls__p555331191217"><strong id="UpdateYmls__b10553181181210">Status code: 200</strong></p>
|
|
<p id="UpdateYmls__p155311151214">Request succeeded.</p>
|
|
<pre class="screen" id="UpdateYmls__screen14553151101210">{
|
|
"acknowledged" : true
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section1674314126"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateYmls__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateYmls__row165590111210"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="UpdateYmls__p16741017120">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="UpdateYmls__p11674161141216">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateYmls__row1055911119125"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateYmls__p166741118123">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateYmls__p176748171219">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row45595181210"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateYmls__p56743116125">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateYmls__p1067471191211">Invalid request.</p>
|
|
<p id="UpdateYmls__p567421151218">Modify the request before retry.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row25597141215"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateYmls__p167512181210">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateYmls__p13675151161217">The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
<p id="UpdateYmls__p1567516131216">The resource that the client attempts to create already exists, or the update request fails to be processed because of a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateYmls__row1255914101212"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateYmls__p8675111131213">412</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateYmls__p9675141171214">The server did not meet one of the preconditions contained in the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateYmls__section367511131218"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateYmls__p7675171141216">See <a href="css_03_0076.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ymls_management.html">Parameter Configuration</a></div>
|
|
</div>
|
|
</div>
|
|
|