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>
48 lines
7.5 KiB
HTML
48 lines
7.5 KiB
HTML
<a name="dds_03_0023"></a><a name="dds_03_0023"></a>
|
|
|
|
<h1 class="topictitle1">Tag</h1>
|
|
<div id="body1518425017881"><div class="section" id="dds_03_0023__section7898787175059"><h4 class="sectiontitle"><strong id="dds_03_0023__b84235270694112">Scenarios</strong></h4><p id="dds_03_0023__p62739759153332">Tag Management Service (TMS) enables you to use tags on the management console to manage resources. TMS works with other cloud services to manage tags. TMS manages tags globally and other cloud services manage their own tags.</p>
|
|
<p id="dds_03_0023__p773716268254">Adding tags to DDS DB instances helps you better identify and manage them. A DB instance can be tagged during or after it is created.</p>
|
|
<ul id="dds_03_0023__ul10009188184716"><li id="dds_03_0023__li34815110153828">You are advised to set predefined tags on the TMS console.</li><li id="dds_03_0023__li33745154153336">A tag consists of a key and value. You can add only one value for each key. For details about the naming rules of tag keys and tag values, see <a href="#dds_03_0023__table197401426182516">Table 1</a>.</li><li id="dds_03_0023__li16257494184716">Each DB instance can have up to 20 tags.</li></ul>
|
|
|
|
<div class="tablenoborder"><a name="dds_03_0023__table197401426182516"></a><a name="table197401426182516"></a><table cellpadding="4" cellspacing="0" summary="" id="dds_03_0023__table197401426182516" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Naming rules</caption><thead align="left"><tr id="dds_03_0023__row374112610252"><th align="left" class="cellrowborder" valign="top" width="18.54%" id="mcps1.3.1.5.2.4.1.1"><p id="dds_03_0023__p674122692511"><strong id="dds_03_0023__b053013532341">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.39%" id="mcps1.3.1.5.2.4.1.2"><p id="dds_03_0023__p47412026172519"><strong id="dds_03_0023__b121465516343">Requirement</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.07%" id="mcps1.3.1.5.2.4.1.3"><p id="dds_03_0023__p074152682511"><strong id="dds_03_0023__b84235270685752">Example</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dds_03_0023__row77477265250"><td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.1.5.2.4.1.1 "><p id="dds_03_0023__p37471326142512">Tag key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.1.5.2.4.1.2 "><ul id="dds_03_0023__ul207505264257"><li id="dds_03_0023__li8750726112517">Cannot be left blank.</li><li id="dds_03_0023__li8750172616258">For each DB instance, each tag key is unique.</li><li id="dds_03_0023__li147506269251">Consists of a maximum of 36 characters.</li><li id="dds_03_0023__li15395326112215">The key can only consist of digits, letters, underscores (_), hyphens (-), and at sign (@).</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.07%" headers="mcps1.3.1.5.2.4.1.3 "><p id="dds_03_0023__p157536266259">Organization</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_03_0023__row4754926182519"><td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.1.5.2.4.1.1 "><p id="dds_03_0023__p37542260253">Tag value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.1.5.2.4.1.2 "><ul id="dds_03_0023__ul107561326102518"><li id="dds_03_0023__li694215511567">Can be empty.</li><li id="dds_03_0023__li1275616267253">Consists of a maximum of 43 characters.</li><li id="dds_03_0023__li1468639985">The value can only consist of digits, letters, underscores (_), hyphens (-), and at sign (@).</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.07%" headers="mcps1.3.1.5.2.4.1.3 "><p id="dds_03_0023__p47581826192520">dds_01</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="dds_03_0023__section57172399175119"><h4 class="sectiontitle">Adding a Tag</h4><ol id="dds_03_0023__ol798994918127"><li id="dds_03_0023__li312682313217"><span><a href="dds_02_0043.html">Log in to the DDS console.</a></span></li><li id="dds_03_0023__li24670818113751"><span>On the <strong id="dds_03_0023__b108143793215">Instance Management</strong> page, click the target DB instance.</span></li><li id="dds_03_0023__li174993116615"><span>In the navigation pane on the left, click <span class="uicontrol" id="dds_03_0023__uicontrol17987141794610"><b>Tags</b></span>.</span></li><li id="dds_03_0023__li3353879811230"><span>On the <span class="uicontrol" id="dds_03_0023__uicontrol1874550010184218"><b>Tags</b></span> page, click <span class="uicontrol" id="dds_03_0023__uicontrol202491323144718"><b>Add Tag</b></span>. In the displayed dialog box, enter a tag key and value, and click <span class="uicontrol" id="dds_03_0023__uicontrol1307702785184613"><b>OK</b></span>.</span></li><li id="dds_03_0023__li60539872152925"><span>View and manage tags on the <strong id="dds_03_0023__b842352706112415">Tags</strong> page.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="dds_03_0023__section38640924175719"><h4 class="sectiontitle">Editing a Tag</h4><ol id="dds_03_0023__ol275949818322"><li id="dds_03_0023__li14462538328"><span><a href="dds_02_0043.html">Log in to the DDS console.</a></span></li><li id="dds_03_0023__li2667041916141"><span>On the <strong id="dds_03_0023__b17397182654816">Instance Management</strong> page, click the target DB instance.</span></li><li id="dds_03_0023__li15532155318235"><span>In the navigation pane on the left, click <span class="uicontrol" id="dds_03_0023__uicontrol12393235104818"><b>Tags</b></span>.</span></li><li id="dds_03_0023__li64121748162643"><span>On the <span class="uicontrol" id="dds_03_0023__uicontrol603655867151041"><b>Tags</b></span> page, locate the tag to be edited and click <span class="uicontrol" id="dds_03_0023__uicontrol17467135384816"><b>Edit</b></span> in the <strong id="dds_03_0023__b842352706112435">Operation</strong> column. In the displayed dialog box, change the tag value and click <span class="uicontrol" id="dds_03_0023__uicontrol634740122121612"><b>OK</b></span>.</span><p><p id="dds_03_0023__p18846056121019">Only the tag value can be edited when editing a tag.</p>
|
|
</p></li><li id="dds_03_0023__li1611816116355"><span>View and manage tags on the <strong id="dds_03_0023__b872755975318">Tags</strong> page.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="dds_03_0023__section51403672175725"><h4 class="sectiontitle">Deleting a Tag</h4><ol id="dds_03_0023__ol19174014184217"><li id="dds_03_0023__li1962425773215"><span><a href="dds_02_0043.html">Log in to the DDS console.</a></span></li><li id="dds_03_0023__li425579216842"><span>On the <strong id="dds_03_0023__b445182610541">Instance Management</strong> page, click the target DB instance.</span></li><li id="dds_03_0023__li194071459142311"><span>In the navigation pane on the left, click <span class="uicontrol" id="dds_03_0023__uicontrol1074215810490"><b>Tags</b></span>.</span></li><li id="dds_03_0023__li1546527416842"><span>On the <span class="uicontrol" id="dds_03_0023__uicontrol490988278122017"><b>Tags</b></span> page, locate the tag to be deleted and click <span class="uicontrol" id="dds_03_0023__uicontrol307071211122017"><b>Delete</b></span> in the <strong id="dds_03_0023__b61204432715310">Operation</strong> column. In the displayed dialog box, click <span class="uicontrol" id="dds_03_0023__uicontrol1895435447122017"><b>Yes</b></span>.</span></li><li id="dds_03_0023__li4831495916730"><span>After a tag has been deleted, it will not be displayed on the <strong id="dds_03_0023__b1050953301112543">Tags</strong> page.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_03_0001.html">Managing DDS DB Instances</a></div>
|
|
</div>
|
|
</div>
|
|
|