forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
348 lines
28 KiB
HTML
348 lines
28 KiB
HTML
<a name="EN-US_TOPIC_0000002500013994"></a><a name="EN-US_TOPIC_0000002500013994"></a>
|
|
|
|
<h1 class="topictitle1">Modifying an Alarm Subscription</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002500013994__section2068181110508"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002500013994__p156821411205019">This API is used to modify an alarm subscription.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section146831711185012"><h4 class="sectiontitle">Calling Method</h4><p id="EN-US_TOPIC_0000002500013994__p5684111110505">For details, see <a href="dws_02_0062.html">Calling APIs</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section568411175012"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002500013994__p8685111125018">PUT /v2/{project_id}/alarm-subs/{alarm_sub_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500013994__table1968719110504" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002500013994__row26861011175012"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000002500013994__p968791115502">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000002500013994__p2688711125010">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000002500013994__p3689141110500">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000002500013994__p068917117506">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500013994__row136861511165012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p16908111506">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p16691151118502">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p18691181165018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p116934111507"><strong id="EN-US_TOPIC_0000002500013994__b5693511195015">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p36941811115016">Project ID. To obtain the value, see <a href="dws_02_0011.html">Obtaining a Project ID</a>.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p0694121185010"><strong id="EN-US_TOPIC_0000002500013994__b369511114509">Constraints</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p12695101113504">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p15695131175015"><strong id="EN-US_TOPIC_0000002500013994__b669641125013">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p17696181118504">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p15696611165017"><strong id="EN-US_TOPIC_0000002500013994__b20697111115019">Default Value</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p18697161114507">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row1868616113500"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1669851115012">alarm_sub_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1569811119506">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p569917119509">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p207009112504"><strong id="EN-US_TOPIC_0000002500013994__b0700151125019">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p57011111135014">Alarm subscription ID.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p14701151114500"><strong id="EN-US_TOPIC_0000002500013994__b3702141116502">Constraints</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p0702191145010">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p970201185015"><strong id="EN-US_TOPIC_0000002500013994__b1070331185015">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p147031011105018">N/A</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p147032119501"><strong id="EN-US_TOPIC_0000002500013994__b270419119508">Default Value</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1670414112502">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section11705411105011"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500013994__en-us_topic_0000002375015577_request_AlarmSubUpdateRequest" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002500013994__row1970641117508"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="EN-US_TOPIC_0000002500013994__p27074119504">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="EN-US_TOPIC_0000002500013994__p207081117506">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="EN-US_TOPIC_0000002500013994__p14708131155012">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="EN-US_TOPIC_0000002500013994__p16709181116502">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500013994__row13706191175016"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p371011119507">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p167101711145020">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p18711811105020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p7712111135016"><strong id="EN-US_TOPIC_0000002500013994__b16712411115015">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p571331195016">Subscribed alarm name.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p5713131125012"><strong id="EN-US_TOPIC_0000002500013994__b117137118501">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p87141411105016">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row107061011155018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1471431110504">enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p18715411145019">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p12716111175015">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p87171611175011"><strong id="EN-US_TOPIC_0000002500013994__b147171711165014">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p18717111112504">Whether to enable subscription.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p13718161116500"><strong id="EN-US_TOPIC_0000002500013994__b07187116508">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1971831135011">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row17061115503"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p37191411195012">alarm_level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p15719181119507">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p10720111112508">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p15721811145012"><strong id="EN-US_TOPIC_0000002500013994__b1072171115018">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p2722121114504">Alarm severity.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p18722811135013"><strong id="EN-US_TOPIC_0000002500013994__b197231011125010">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p14723201118503">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row670681135010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1723181116504">notification_target</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1772416111507">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p972518114503">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p572618119503"><strong id="EN-US_TOPIC_0000002500013994__b17726611125010">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p187261411145017">Message topic address.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1472710117502"><strong id="EN-US_TOPIC_0000002500013994__b172771185016">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p6727511145016">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row1370618119507"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1772821118501">notification_target_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p9729121110509">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p1372910116503">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p07301011105012"><strong id="EN-US_TOPIC_0000002500013994__b873117118506">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1373117113504">Message topic name.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p14731171113507"><strong id="EN-US_TOPIC_0000002500013994__b0732171117507">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p773251118501">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row8706191195013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002500013994__p7733131118508">notification_target_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1733121113501">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002500013994__p97341011155016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002500013994__p17359113505"><strong id="EN-US_TOPIC_0000002500013994__b3735171195010">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p87363113507">Message topic type. Only SMN is supported.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p137361011125011"><strong id="EN-US_TOPIC_0000002500013994__b1873616118505">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1173781195012">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section2737151175017"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002500013994__p473821105014"><strong id="EN-US_TOPIC_0000002500013994__b1173891125014">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500013994__en-us_topic_0000002375015577_response_AlarmSubscriptionResponse" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002500013994__row7739171165016"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.1"><p id="EN-US_TOPIC_0000002500013994__p174171117505">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.2"><p id="EN-US_TOPIC_0000002500013994__p374121165011">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="EN-US_TOPIC_0000002500013994__p974231135012">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500013994__row373911115509"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p107431011115018">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1074321125017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p774471155019"><strong id="EN-US_TOPIC_0000002500013994__b5744211105020">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p874541110502">Alarm subscription ID.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p27451611125017"><strong id="EN-US_TOPIC_0000002500013994__b7745191155016">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p67461511105019">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row20739111112508"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p97460118502">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1747101195014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p974821116508"><strong id="EN-US_TOPIC_0000002500013994__b674841175016">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p16749711185019">Subscribed alarm name.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p5749911135020"><strong id="EN-US_TOPIC_0000002500013994__b8749911135017">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p67501611105013">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row57391111175013"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p17504116504">enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p147512011175016">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p1475271114503"><strong id="EN-US_TOPIC_0000002500013994__b075217114509">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p67531311185011">Whether to enable subscription.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1675310114502"><strong id="EN-US_TOPIC_0000002500013994__b3754411145010">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p97541811135015">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row073911114505"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p47551111175020">alarm_level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p975511117507">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p2756161116509"><strong id="EN-US_TOPIC_0000002500013994__b1675771110502">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p12757161145019">Alarm severity.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1575713116509"><strong id="EN-US_TOPIC_0000002500013994__b19758111115502">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p775831135016">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row12739151112504"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1075951185013">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p97591611165019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p17608117506"><strong id="EN-US_TOPIC_0000002500013994__b1176131119504">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p976121195012">Project ID.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p076131145014"><strong id="EN-US_TOPIC_0000002500013994__b77629118506">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p3762131111505">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row1973961114504"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p17763711115011">name_space</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p776361135018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p3764131195018"><strong id="EN-US_TOPIC_0000002500013994__b576413112508">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1976516113509">Service to which the alarm belongs.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p11765201115502"><strong id="EN-US_TOPIC_0000002500013994__b07661811165014">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p6766111175010">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row10739121116508"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p18767161105012">notification_target</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1476761113506">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p1976915115502"><strong id="EN-US_TOPIC_0000002500013994__b1076981155018">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p7769111105016">Message topic address.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p87701411175018"><strong id="EN-US_TOPIC_0000002500013994__b077051111507">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p17770141115506">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row10739911175011"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p677121113507">notification_target_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p977151119506">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p197728115508"><strong id="EN-US_TOPIC_0000002500013994__b2077321112509">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p37733118509">Message topic name.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p167743118509"><strong id="EN-US_TOPIC_0000002500013994__b47743118506">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p477415118502">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row177395110505"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p17751117503">notification_target_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1677521175014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p1977641115501"><strong id="EN-US_TOPIC_0000002500013994__b7777111165015">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1877761105015">Message topic type.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p677720114507"><strong id="EN-US_TOPIC_0000002500013994__b147781911135018">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p47781611115013">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row9739181120503"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p37791611175018">language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p47791511175015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p10780511125012"><strong id="EN-US_TOPIC_0000002500013994__b77811111125011">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p1781131117503">Language.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p14781311195016"><strong id="EN-US_TOPIC_0000002500013994__b14782101120503">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p97821211125019">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row473921165011"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002500013994__p6783131112501">time_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1478491145012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002500013994__p1578512117505"><strong id="EN-US_TOPIC_0000002500013994__b10785171110506">Definition</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p17785171119506">Time zone.</p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p27861711105013"><strong id="EN-US_TOPIC_0000002500013994__b1878611115506">Range</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p17863116503">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section1978841135012"><h4 class="sectiontitle">Example Requests</h4><p id="EN-US_TOPIC_0000002500013994__p157894115507">Modify the <strong id="EN-US_TOPIC_0000002500013994__b1790101118504">zrf-test-13</strong> alarm subscription. Change the alarm severity to <strong id="EN-US_TOPIC_0000002500013994__b10790191113509">critical,major,minor</strong>, the SMN topic name to <strong id="EN-US_TOPIC_0000002500013994__b1079031195017">dws-test-nodelete</strong>, and the address to <strong id="EN-US_TOPIC_0000002500013994__b0790111116505">urn:smn:<span id="EN-US_TOPIC_0000002500013994__text11502550165115">eu-de-01</span>:4cf650fd46704908aa071b4df2453e1e:dws-test-nodelete</strong>.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002500013994__screen197916116505">https://{Endpoint}/v2/4cf650fd46704908aa071b4df2453e1e/alarm-subs/273ce506-dad8-411c-92f9-be5004739b40
|
|
|
|
{
|
|
"alarm_level" : "urgent,important,minor",
|
|
"enable" : 1,
|
|
"name" : "zrf-test-13",
|
|
"notification_target" : "urn:smn:<span id="EN-US_TOPIC_0000002500013994__text715425611514">eu-de-01</span>:4cf650fd46704908aa071b4df2453e1e:dws-test-nodelete",
|
|
"notification_target_name" : "dws-test-nodelete",
|
|
"notification_target_type" : "SMN"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section13796181125012"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002500013994__p17797131195018"><strong id="EN-US_TOPIC_0000002500013994__b1379719119504">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002500013994__p14798121125011">Alarm subscription modified.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002500013994__screen38009118505">{
|
|
"id" : "273ce506-dad8-411c-92f9-be5004739b40",
|
|
"name" : "zrf-test-13",
|
|
"enable" : 1,
|
|
"language" : "zh-cn",
|
|
"alarm_level" : "urgent,important,minor",
|
|
"project_id" : "4cf650fd46704908aa071b4df2453e1e",
|
|
"name_space" : "dws",
|
|
"notification_target" : "urn:smn:<span id="EN-US_TOPIC_0000002500013994__text2996746125213">eu-de-01</span>:4cf650fd46704908aa071b4df2453e1e:dws-test-nodelete",
|
|
"notification_target_name" : "dws-test-nodelete",
|
|
"notification_target_type" : "SMN",
|
|
"time_zone" : "GMT+08:00"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002500013994__section962214129506"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002500013994__en-us_topic_0000002375015577_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002500013994__row158701811155012"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="EN-US_TOPIC_0000002500013994__p16623191219508">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="EN-US_TOPIC_0000002500013994__p562310120501">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002500013994__row178702118501"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p186231312165011">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p15624131295015">Alarm subscription modified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row2870211175010"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1562431205011">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p196241612105019">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row28700119508"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p11624212115014">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p1062414127503">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row1287091135015"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p15625121220506">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p4625212105018">You do not have required permissions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row18701311135019"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p18625112145019">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p15625612115012">No resources found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row10870911155010"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p1262691211508">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p116261712135011">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002500013994__row11870101114507"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002500013994__p146261612195019">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002500013994__p16627181265010">Service unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_02_0544.html">Alarm Management</a></div>
|
|
</div>
|
|
</div>
|
|
|