forked from docs/doc-exports
Reviewed-by: Rumpler, Mihály <mihaly.rumpler@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
34 lines
8.3 KiB
HTML
34 lines
8.3 KiB
HTML
<a name="en-us_topic_0056266261"></a><a name="en-us_topic_0056266261"></a>
|
|
|
|
<h1 class="topictitle1">Adding Tags to Cloud Resources</h1>
|
|
<div id="body1492084158175"><p id="en-us_topic_0056266261__p1244713410468">You can add tags to cloud resources in either of the following ways:</p>
|
|
<ul id="en-us_topic_0056266261__ul1973062520272"><li id="en-us_topic_0056266261__li1773072518276">Adding tags on the TMS console<p id="en-us_topic_0056266261__p1079419720334"><a name="en-us_topic_0056266261__li1773072518276"></a><a name="li1773072518276"></a>When you need to tag a batch of cloud resources, add tags on the TMS console.</p>
|
|
</li><li id="en-us_topic_0056266261__li1827802702710">Adding tags on the consoles of other cloud services<div class="p" id="en-us_topic_0056266261__p18991546143516"><a name="en-us_topic_0056266261__li1827802702710"></a><a name="li1827802702710"></a>When you use the resources of a specific service, you can add, modify, and delete tags on the corresponding service console. For new cloud resources, you can configure tag items when configuring parameters.<div class="note" id="en-us_topic_0056266261__note136508071213"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0056266261__ul1286510199310"><li id="en-us_topic_0056266261__li8865171917319">You can use predefined tags to tag resources without the need to enter tag keys and values. Predefined tags are more efficient and less error-prone.</li><li id="en-us_topic_0056266261__li631417248319">It is strongly recommended that you do not place confidential or sensitive information (such as your customer's name, email address, or mobile number) in the tag field.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</li></ul>
|
|
<div class="section" id="en-us_topic_0056266261__section9880516201215"><h4 class="sectiontitle">Constraints</h4><ul id="en-us_topic_0056266261__ul14788191561810"><li id="en-us_topic_0056266261__li206541027171920">Each resource supports up to 20 key-value pairs.</li><li id="en-us_topic_0056266261__li101412206205">For each resource, each tag key must be unique, and each tag key can have only one tag value. </li><li id="en-us_topic_0056266261__li173982819418">You can enter a maximum of 36 and 43 characters for <strong id="en-us_topic_0056266261__b1598014144429">Key</strong> and <strong id="en-us_topic_0056266261__b11981151412429">Value</strong>, respectively. Both <strong id="en-us_topic_0056266261__b498171424218">Key</strong> and <strong id="en-us_topic_0056266261__b199824145421">Value</strong> can contain only digits, letters, hyphens (-), at signs (@), and underscores (_).</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056266261__section13570183143420"><h4 class="sectiontitle">Adding Tags on the TMS Console</h4><p id="en-us_topic_0056266261__p88684171620">You can tag your resources using TMS to centrally classify and manage your resources.</p>
|
|
<ol id="en-us_topic_0056266261__ol3770227161640"><li id="en-us_topic_0056266261__li48976207192234">Log in to the management console.</li><li id="en-us_topic_0056266261__li38132684192234">In the upper left corner of the page, click <span><img id="en-us_topic_0056266261__en-us_topic_0056266264_en-us_topic_0056266261_en-us_topic_0056266261_en-us_topic_0000001506936489_en-us_topic_0291279235_en-us_topic_0291279234_image4857236125711" src="en-us_image_0000002502623003.png"></span>, and then click <strong id="en-us_topic_0056266261__en-us_topic_0056266264_b16132208357">Management & Deployment</strong><strong id="en-us_topic_0056266261__en-us_topic_0056266264_b10132101356"></strong> > <strong id="en-us_topic_0056266261__en-us_topic_0056266264_b11132101357">Tag Management Service</strong>.</li><li id="en-us_topic_0056266261__li382114619454">Set the resource search criteria.<p id="en-us_topic_0056266261__p535711421425"><a name="en-us_topic_0056266261__li382114619454"></a><a name="li382114619454"></a>For details, see <a href="en-us_topic_0056266264.html">Searching for Resources</a>.</p>
|
|
</li><li id="en-us_topic_0056266261__li201801254114416">Click <strong id="en-us_topic_0056266261__b516692414328">Search</strong>.</li><li id="en-us_topic_0056266261__li102503554256">In the <strong id="en-us_topic_0056266261__b171411431132919">Search Result</strong> list, select the cloud resource to which you want to add tags and click <strong id="en-us_topic_0056266261__b1441448742">Manage Tag</strong> in the upper left corner.</li><li id="en-us_topic_0056266261__li1325125542510">In the <strong id="en-us_topic_0056266261__b1184391567">Add Tag</strong> area, enter a tag key and a tag value.<p id="en-us_topic_0056266261__p4251955172510">You can also directly select existing tags from the drop-down list.</p>
|
|
</li><li id="en-us_topic_0056266261__li19252155122515">Click <strong id="en-us_topic_0056266261__b489113583218">OK</strong>.</li></ol>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056266261__section1279311471919"><h4 class="sectiontitle">Adding Tags on the Consoles of Other Cloud Services</h4><p id="en-us_topic_0056266261__p129451581213">The following procedure shows how you add tags on the service console. This procedure may differ slightly from service to service.</p>
|
|
<ol id="en-us_topic_0056266261__ol142013923715"><li id="en-us_topic_0056266261__li192341945113710">Log in to management console.</li><li id="en-us_topic_0056266261__li1096841020433">Under <strong id="en-us_topic_0056266261__b83010528594">Service List</strong>, select a target service. For details about supported services and resource types, see <a href="en-us_topic_0056858747.html">TMS and Other Services</a>.</li><li id="en-us_topic_0056266261__li10361923204510">On the displayed service console, click the resource to which you want to add a tag.</li><li id="en-us_topic_0056266261__li12667204924517">Select the <strong id="en-us_topic_0056266261__b842352706171615">Tags</strong> tab.</li><li id="en-us_topic_0056266261__li175781912124614">Click <span class="uicontrol" id="en-us_topic_0056266261__uicontrol01931471328"><b>Add Tag</b></span>.</li><li id="en-us_topic_0056266261__li578543025815">In the displayed <strong id="en-us_topic_0056266261__b283317481322">Add Tag</strong> dialog box, enter a tag key and a tag value.<p id="en-us_topic_0056266261__p8742031165820">You can also directly select predefined tags from the drop-down list.</p>
|
|
</li><li id="en-us_topic_0056266261__li1390851514480">Click <strong id="en-us_topic_0056266261__b234512525328">OK</strong>.</li></ol>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056266261__section4882165672410"><h4 class="sectiontitle">Checking Whether a Tag Takes Effect</h4><p id="en-us_topic_0056266261__p12707119172512">If you have added a tag to a resource, you can check whether the tag takes effect by searching for the resource with the added tag.</p>
|
|
<ol id="en-us_topic_0056266261__ol161821559122715"><li id="en-us_topic_0056266261__li8182759202716">Log in to the management console.</li><li id="en-us_topic_0056266261__li13182135992716">In the upper left corner of the page, click <span><img id="en-us_topic_0056266261__image592653816314" src="en-us_image_0000001982445689.png"></span>, and then click <strong id="en-us_topic_0056266261__b1255855105918">Management & Deployment</strong><strong id="en-us_topic_0056266261__b14255195505920"></strong> > <strong id="en-us_topic_0056266261__b6255655145918">Tag Management Service</strong>.</li><li id="en-us_topic_0056266261__li726041274016">Select the <strong id="en-us_topic_0056266261__b148112233254">Tag Management</strong> tab.</li><li id="en-us_topic_0056266261__li17907834123515">Set the resource search criteria.<p id="en-us_topic_0056266261__p94243222429"><a name="en-us_topic_0056266261__li17907834123515"></a><a name="li17907834123515"></a>Set the region and resource type as needed.</p>
|
|
<p id="en-us_topic_0056266261__p369555911357">For <strong id="en-us_topic_0056266261__b1523218205371">Resource Tag</strong>, enter the tag that has been added to the resource.</p>
|
|
</li><li id="en-us_topic_0056266261__li45601539124012">Click <strong id="en-us_topic_0056266261__b1574102252515">Search</strong>.<p id="en-us_topic_0056266261__p388612004112">The resource is displayed in the <strong id="en-us_topic_0056266261__b1512344854110">Search Result</strong> list.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0056130823.html">Getting Started</a></div>
|
|
</div>
|
|
</div>
|
|
|