forked from docs/doc-exports
Reviewed-by: Szirovicza Gergő <a94652429@noreply.gitea.eco.tsi-dev.otc-service.com> Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: fanqinying <fanqinying@huawei.com> Co-committed-by: fanqinying <fanqinying@huawei.com>
60 lines
9.9 KiB
HTML
60 lines
9.9 KiB
HTML
<a name="vpc_vpc_0005"></a><a name="vpc_vpc_0005"></a>
|
|
|
|
<h1 class="topictitle1">Managing Subnet Tags</h1>
|
|
<div id="body1503495937419"><div class="section" id="vpc_vpc_0005__section51463883214456"><h4 class="sectiontitle">Scenarios</h4><p id="vpc_vpc_0005__p563963431617">You can add tags to subnets to help you identify and organize them.</p>
|
|
<p id="vpc_vpc_0005__p938073015326">You can add a tag to a subnet when creating the subnet, or you can add a tag to a created subnet on the subnet details page. A maximum of 20 tags can be added to each subnet.</p>
|
|
<div class="p" id="vpc_vpc_0005__ac8bebc90feba481aad26d28fa689e62b">A tag consists of a key and value pair. <a href="#vpc_vpc_0005__ted9687ca14074ef785241145365a6175">Table 1</a> lists the tag key and value requirements.
|
|
<div class="tablenoborder"><a name="vpc_vpc_0005__ted9687ca14074ef785241145365a6175"></a><a name="ted9687ca14074ef785241145365a6175"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_vpc_0005__ted9687ca14074ef785241145365a6175" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Subnet tag key and value requirements</caption><thead align="left"><tr id="vpc_vpc_0005__rd57708e01e6443a9805ca72f554fae7f"><th align="left" class="cellrowborder" valign="top" width="18.54%" id="mcps1.3.1.4.2.2.4.1.1"><p id="vpc_vpc_0005__abc7708d69440476086850b219c70efa8"><strong id="vpc_vpc_0005__b842352706165123">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.39%" id="mcps1.3.1.4.2.2.4.1.2"><p id="vpc_vpc_0005__a0df2f83c3277432ab05b525e4ffb1c2c"><strong id="vpc_vpc_0005__b842352706174218">Requirements</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.07%" id="mcps1.3.1.4.2.2.4.1.3"><p id="vpc_vpc_0005__a902e732241f94e96b0b1b718cf7ed639"><strong id="vpc_vpc_0005__b842352706174227">Example Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_vpc_0005__r95612b479088487b99e620f90b71f798"><td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.1.4.2.2.4.1.1 "><p id="vpc_vpc_0005__a7694a48138124d1daf3804556a27bfd6">Key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.1.4.2.2.4.1.2 "><ul id="vpc_vpc_0005__uac40e19ce4ac49d0913d48b334564c45"><li id="vpc_vpc_0005__l09e5379e37734886b85606e1a1512982">Cannot be left blank.</li><li id="vpc_vpc_0005__lf627e2e989ad4bf8a759780682976c4a">Must be unique for each subnet.</li><li id="vpc_vpc_0005__l740724b56b3948fdb336c21388d6e283">Can contain a maximum of 36 characters.</li><li id="vpc_vpc_0005__lb10c975c495c4de1bc52fc96d084697c">Can contain only the following character types:<ul id="vpc_vpc_0005__uccb317c6616b4445aa84b125e5aa017f"><li id="vpc_vpc_0005__la4975a0b714d486381ef36c8599a4dae">Uppercase letters</li><li id="vpc_vpc_0005__l05872030add74e7ab50152845826fa0a">Lowercase letters</li><li id="vpc_vpc_0005__le70c062519174a9cae474c99c0f4f976">Digits</li><li id="vpc_vpc_0005__li77869551443">Only hyphens (-), underscores (_), and at signs (@) are allowed.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.07%" headers="mcps1.3.1.4.2.2.4.1.3 "><p id="vpc_vpc_0005__a1a10de6d67c04555a3508a8cdc3500e7">subnet_key1</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_vpc_0005__r32a79d8bde844fda8a6254383317e58f"><td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.1.4.2.2.4.1.1 "><p id="vpc_vpc_0005__a1ebd1dda592448d49631c7f099519113">Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.1.4.2.2.4.1.2 "><ul id="vpc_vpc_0005__uaf17b1ea9b9a4e58b95cafefa2898283"><li id="vpc_vpc_0005__l88703260ac20431f961a641ebe7dbe00">Can contain a maximum of 43 characters.</li><li id="vpc_vpc_0005__lf4772afe9a8143b086ea935ee84656f3">Can contain only the following character types:<ul id="vpc_vpc_0005__ub74c759faad544c3b4428accc9c42b80"><li id="vpc_vpc_0005__lf275cde186b24b9a9e3d4d52784a16ba">Uppercase letters</li><li id="vpc_vpc_0005__l3a58e993d925444bb0eba6c38feeedfb">Lowercase letters</li><li id="vpc_vpc_0005__l8679b69b2cd9428caecf8e14cafe5d4f">Digits</li><li id="vpc_vpc_0005__li13827436174517">Only underscores (_), hyphens (-), and at signs (@) are allowed.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.07%" headers="mcps1.3.1.4.2.2.4.1.3 "><p id="vpc_vpc_0005__a21a035aeb72143f5ab0fd45a08248d08">subnet-01</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_vpc_0005__section153351251450"><h4 class="sectiontitle">Procedure</h4><div class="p" id="vpc_vpc_0005__p73352025194514"><strong id="vpc_vpc_0005__b10246184711917">Search for subnets by tag key and value on the page showing the subnet list.</strong><ol id="vpc_vpc_0005__ol1335625164515"><li id="vpc_vpc_0005__li113358250457">Log in to the management console.</li><li id="vpc_vpc_0005__li17335325144511">Click <span><img id="vpc_vpc_0005__image538652885514" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_vpc_0005__li11819821133917">Click <span><img id="vpc_vpc_0005__image481922133912" src="en-us_image_0000001818983406.png"></span> in the upper left corner and choose <strong id="vpc_vpc_0005__b1171773063320"><span id="vpc_vpc_0005__text1671719300336">Network</span><span id="vpc_vpc_0005__text97171130103318"></span></strong> > <strong id="vpc_vpc_0005__b37171930193318">Virtual Private Cloud</strong>.<p id="vpc_vpc_0005__p13819182163914">The <strong id="vpc_vpc_0005__b66301056153318">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0005__li5124329154715">In the navigation pane on the left, choose <strong id="vpc_vpc_0005__b914020371">Virtual Private Cloud</strong> > <strong id="vpc_vpc_0005__b139316913">Subnets</strong>.<p id="vpc_vpc_0005__p14124192934713">The <strong id="vpc_vpc_0005__b2072931077">Subnets</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0005__li18352163263815">In the search box above the subnet list, click the search box.<p id="vpc_vpc_0005__p2352133273815"><a name="vpc_vpc_0005__li18352163263815"></a><a name="li18352163263815"></a>Click the tag key and then the value as required. The system filters resources based on the tag you select.</p>
|
|
<p id="vpc_vpc_0005__p2035211329387">Click anywhere in the search box to add the next tag key and value.</p>
|
|
<p id="vpc_vpc_0005__p10352332173815">You can add multiple tag keys and values to refine your search results. If you add more than one tag to search for VPCs, the VPCs containing all specified tags will be displayed.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="p" id="vpc_vpc_0005__p833532504514"><strong id="vpc_vpc_0005__b29621454494">Add, delete, edit, and view tags on the Tags tab of a subnet.</strong><ol id="vpc_vpc_0005__ol1435102544516"><li id="vpc_vpc_0005__li7351925134518">Log in to the management console.</li><li id="vpc_vpc_0005__li10351142514453">Click <span><img id="vpc_vpc_0005__image1842653045515" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_vpc_0005__li6831152113424">Click <span><img id="vpc_vpc_0005__image8831152111421" src="en-us_image_0000001865583165.png"></span> in the upper left corner and choose <strong id="vpc_vpc_0005__b2118537348"><span id="vpc_vpc_0005__text151182314344">Network</span><span id="vpc_vpc_0005__text511833173411"></span></strong> > <strong id="vpc_vpc_0005__b151181316342">Virtual Private Cloud</strong>.<p id="vpc_vpc_0005__p883152113421">The <strong id="vpc_vpc_0005__b19717355143417">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0005__li10524183719472">In the navigation pane on the left, choose <strong id="vpc_vpc_0005__b114241991">Virtual Private Cloud</strong> > <strong id="vpc_vpc_0005__b1229408332">Subnets</strong>.<p id="vpc_vpc_0005__p65243378477">The <strong id="vpc_vpc_0005__b91297383512">Subnets</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0005__li1535117251456">In the subnet list, locate the target subnet and click its name.</li><li id="vpc_vpc_0005__li13515259452">On the subnet details page, click the <strong id="vpc_vpc_0005__b304350276">Tags</strong> tab and perform desired operations on tags.<ul id="vpc_vpc_0005__ul635132517457"><li id="vpc_vpc_0005__li2035162519450">View tags.<p id="vpc_vpc_0005__p1535192517458"><a name="vpc_vpc_0005__li2035162519450"></a><a name="li2035162519450"></a>On the <strong id="vpc_vpc_0005__b2085564056">Tags</strong> tab, you can view details about tags added to the current subnet, including the number of tags and the key and value of each tag.</p>
|
|
</li><li id="vpc_vpc_0005__li33661925104510">Add a tag.<p id="vpc_vpc_0005__p6366625114512"><a name="vpc_vpc_0005__li33661925104510"></a><a name="li33661925104510"></a>Click <strong id="vpc_vpc_0005__b559681698">Add Tag</strong> in the upper left corner. In the displayed <strong id="vpc_vpc_0005__b1583410769">Add Tag</strong> dialog box, enter the tag key and value, and click <strong id="vpc_vpc_0005__b1243710499">OK</strong>.</p>
|
|
</li><li id="vpc_vpc_0005__li15366182544518">Edit a tag.<p id="vpc_vpc_0005__p13366122594514"><a name="vpc_vpc_0005__li15366182544518"></a><a name="li15366182544518"></a>Locate the row that contains the tag you want to edit, and click <strong id="vpc_vpc_0005__b1194761342610">Edit</strong> in the <strong id="vpc_vpc_0005__b49481513172611">Operation</strong> column. Enter the new tag key and value, and click <strong id="vpc_vpc_0005__b2948101313264">OK</strong>.</p>
|
|
</li><li id="vpc_vpc_0005__li536692516459">Delete a tag.<p id="vpc_vpc_0005__p736611256454"><a name="vpc_vpc_0005__li536692516459"></a><a name="li536692516459"></a>Locate the tag you want to delete and click <strong id="vpc_vpc_0005__b1413061542415">Delete</strong> in the <strong id="vpc_vpc_0005__b0130141514243">Operation</strong> column. In the displayed dialog box, click <strong id="vpc_vpc_0005__b9131181513247">OK</strong>.</p>
|
|
</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpc_0004.html">Subnet</a></div>
|
|
</div>
|
|
</div>
|
|
|