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>
24 lines
4.2 KiB
HTML
24 lines
4.2 KiB
HTML
<a name="en-us_topic_0058373670"></a><a name="en-us_topic_0058373670"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Key</h1>
|
|
<div id="body1493724269896"><p id="en-us_topic_0058373670__p198761523115119">To add tags with the same tag key to multiple resources, you can use the tag key creation function.</p>
|
|
<p id="en-us_topic_0058373670__p207739310556">After being created, the tag key is displayed in the list and all default statuses in the key column are <strong id="en-us_topic_0058373670__b03332281247">Not tagged</strong>. You can add a tag value to a cloud resource in the list to make the tag take effect.</p>
|
|
<div class="section" id="en-us_topic_0058373670__section9878817105120"><h4 class="sectiontitle">Creating a Key</h4><ol id="en-us_topic_0058373670__ol25802298204115"><li id="en-us_topic_0058373670__li48976207192234">Log in to the management console.</li><li id="en-us_topic_0058373670__li38132684192234">In the upper left corner of the page, click <span><img id="en-us_topic_0058373670__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_0058373670__en-us_topic_0056266264_b16132208357">Management & Deployment</strong><strong id="en-us_topic_0058373670__en-us_topic_0056266264_b10132101356"></strong> > <strong id="en-us_topic_0058373670__en-us_topic_0056266264_b11132101357">Tag Management Service</strong>.</li><li id="en-us_topic_0058373670__li81588912206">Set the resource search options.<p id="en-us_topic_0058373670__p16878102742515"><a name="en-us_topic_0058373670__li81588912206"></a><a name="li81588912206"></a>For details, see <a href="en-us_topic_0056266264.html">Searching for Resources</a>.</p>
|
|
</li><li id="en-us_topic_0058373670__li118716303201">Click <strong id="en-us_topic_0058373670__b1764813330505">Search</strong>.</li><li id="en-us_topic_0058373670__li36162341204433">Click <strong id="en-us_topic_0058373670__b3668163916315">Create Key</strong> in the upper left corner of the list displayed.</li><li id="en-us_topic_0058373670__li10667456204624">Specify a key.<p id="en-us_topic_0058373670__p1855345811561"><a name="en-us_topic_0058373670__li10667456204624"></a><a name="li10667456204624"></a>A tag key can contain a maximum of 36 characters, including only digits, letters, hyphens (-), at signs (@), and underscores (_).</p>
|
|
</li><li id="en-us_topic_0058373670__li203474342387">Click <strong id="en-us_topic_0058373670__b157171846114212">OK</strong>.<p id="en-us_topic_0058373670__p1531410393385">After the key is created, a column with the key as the header will be added to the list.</p>
|
|
<p id="en-us_topic_0058373670__p114751285011">If you create a key but do not add any values, it will be invalid and will be deleted from the list after you refresh the page.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0058373670__section71551509294"><h4 class="sectiontitle">Follow-up Procedure</h4><p id="en-us_topic_0058373670__p11508959133417">To add a tag to a resource when a tag key has been created, perform the following steps:</p>
|
|
<ol id="en-us_topic_0058373670__ol195401755193611"><li id="en-us_topic_0058373670__li116186912377">In the upper right corner of the <strong id="en-us_topic_0058373670__b7381801014">Search Result</strong> list, click <strong id="en-us_topic_0058373670__b938190113">Edit</strong>.<p id="en-us_topic_0058373670__p1568931823716">The tag list enters the editable state.</p>
|
|
</li><li id="en-us_topic_0058373670__li17782133117378">Click <strong id="en-us_topic_0058373670__b93402038113414">+</strong> in the row that contains the target resource.</li><li id="en-us_topic_0058373670__li14478721193710">Enter a tag value.</li><li id="en-us_topic_0058373670__li63910519417">Click <span><img id="en-us_topic_0058373670__image14402053417" src="en-us_image_0000001615025889.png"></span>.<p id="en-us_topic_0058373670__p16980105154112">After the resource tag is modified, the cloud resources can be managed based on the new tag.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="tms_02_0002.html">Resource Tags</a></div>
|
|
</div>
|
|
</div>
|
|
|