forked from docs/doc-exports
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>
59 lines
10 KiB
HTML
59 lines
10 KiB
HTML
<a name="vpc_vpc_0004"></a><a name="vpc_vpc_0004"></a>
|
|
|
|
<h1 class="topictitle1">Managing VPC Tags</h1>
|
|
<div id="body1500903463762"><div class="section" id="vpc_vpc_0004__section51463883214456"><h4 class="sectiontitle">Scenarios</h4><p id="vpc_vpc_0004__p563963431617">You can add tags to VPCs to help you identify and organize them.</p>
|
|
<p id="vpc_vpc_0004__aeda2eb773cd04f2da9a3e771f96a7591">You can add a tag to a VPC when creating the VPC, or you can add a tag to a created VPC on the VPC details page. A maximum of 20 tags can be added to each VPC.</p>
|
|
</div>
|
|
<p id="vpc_vpc_0004__ac8bebc90feba481aad26d28fa689e62b">A tag consists of a key and value pair. <a href="#vpc_vpc_0004__ted9687ca14074ef785241145365a6175">Table 1</a> lists the tag key and value requirements.</p>
|
|
|
|
<div class="tablenoborder"><a name="vpc_vpc_0004__ted9687ca14074ef785241145365a6175"></a><a name="ted9687ca14074ef785241145365a6175"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_vpc_0004__ted9687ca14074ef785241145365a6175" frame="border" border="1" rules="all"><caption><b>Table 1 </b>VPC tag key and value requirements</caption><thead align="left"><tr id="vpc_vpc_0004__r8f725dd873f74d5689a397a96364525f"><th align="left" class="cellrowborder" valign="top" width="17.71%" id="mcps1.3.3.2.4.1.1"><p id="vpc_vpc_0004__ae7200181216040679ba0b08613e317f0"><strong id="vpc_vpc_0004__b84235270618434">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65.29%" id="mcps1.3.3.2.4.1.2"><p id="vpc_vpc_0004__a30f1778a977845c0a6948f77fd9efada"><strong id="vpc_vpc_0004__b842352706174218">Requirements</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.4.1.3"><p id="vpc_vpc_0004__a34827669831a48ec96262bfcabc61519"><strong id="vpc_vpc_0004__b842352706174227">Example Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_vpc_0004__ra6c6dfb7a5c344f1af2c7664d34e7d80"><td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.2.4.1.1 "><p id="vpc_vpc_0004__a45a01bdce58d410d8ee06b6f374e401b">Key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.29%" headers="mcps1.3.3.2.4.1.2 "><ul id="vpc_vpc_0004__ub2cf5f68e02742d49e3f8d80289eab77"><li id="vpc_vpc_0004__l69b087a6e844481d84cf8668fe7ef490">Cannot be left blank.</li><li id="vpc_vpc_0004__l1c4fa8e37999443a95189f79a4f5336a">Must be unique for each VPC and can be the same for different VPCs.</li><li id="vpc_vpc_0004__l1e143053ab1847cb8781edb26e58e787">Can contain a maximum of 36 characters.</li><li id="vpc_vpc_0004__lb10c975c495c4de1bc52fc96d084697c">Can contain only the following character types:<ul id="vpc_vpc_0004__uccb317c6616b4445aa84b125e5aa017f"><li id="vpc_vpc_0004__la4975a0b714d486381ef36c8599a4dae">Uppercase letters</li><li id="vpc_vpc_0004__l05872030add74e7ab50152845826fa0a">Lowercase letters</li><li id="vpc_vpc_0004__le70c062519174a9cae474c99c0f4f976">Digits</li><li id="vpc_vpc_0004__li77869551443">Only hyphens (-), underscores (_), and at signs (@) are allowed.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.4.1.3 "><p id="vpc_vpc_0004__a735c9e74ec274598ac7051f7d65e7bce">vpc_key1</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_vpc_0004__rcabbd61ffcd048ec8408a15332fde94d"><td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.2.4.1.1 "><p id="vpc_vpc_0004__a5f7f1bb378214abcaf0c661567a47535">Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.29%" headers="mcps1.3.3.2.4.1.2 "><ul id="vpc_vpc_0004__u463eb9034f3d456b81073b15ba62f102"><li id="vpc_vpc_0004__l4128d1ac8ff244d19539bdca4eedf161">Can contain a maximum of 43 characters.</li><li id="vpc_vpc_0004__lf4772afe9a8143b086ea935ee84656f3">Can contain only the following character types:<ul id="vpc_vpc_0004__ub74c759faad544c3b4428accc9c42b80"><li id="vpc_vpc_0004__lf275cde186b24b9a9e3d4d52784a16ba">Uppercase letters</li><li id="vpc_vpc_0004__l3a58e993d925444bb0eba6c38feeedfb">Lowercase letters</li><li id="vpc_vpc_0004__l8679b69b2cd9428caecf8e14cafe5d4f">Digits</li><li id="vpc_vpc_0004__li13827436174517">Only underscores (_), hyphens (-), and at signs (@) are allowed.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.4.1.3 "><p id="vpc_vpc_0004__a3ac5d865f6a848458eb5fae95f81fee0">vpc-01</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="section" id="vpc_vpc_0004__section4374728222113"><h4 class="sectiontitle">Procedure</h4><div class="p" id="vpc_vpc_0004__p2472612422143"><strong id="vpc_vpc_0004__b842352706181227">Search for VPCs by tag key and value on the page showing the VPC list.</strong><ol id="vpc_vpc_0004__ob68403ad2ad349f7adf6e819a1cb2b2b"><li id="vpc_vpc_0004__lf9add2a2c9424e18b40746538415cf72">Log in to the management console.</li><li id="vpc_vpc_0004__li840318282158">Click <span><img id="vpc_vpc_0004__image0250615195415" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_vpc_0004__li65321958215">Click <span><img id="vpc_vpc_0004__en-us_topic_0118498850_image8750174734412" src="en-us_image_0000001865583185.png"></span> in the upper left corner and choose <strong id="vpc_vpc_0004__b20726173754515"><span id="vpc_vpc_0004__text4726113711459">Network</span><span id="vpc_vpc_0004__text18726737154510"></span></strong> > <strong id="vpc_vpc_0004__b472643715452">Virtual Private Cloud</strong>.<p id="vpc_vpc_0004__p1182103318256">The <strong id="vpc_vpc_0004__b1124851454714">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0004__li7690558204910">In the search box above the VPC list, click anywhere in the search box.<p id="vpc_vpc_0004__en-us_topic_0118498932_p1194151184719"><a name="vpc_vpc_0004__li7690558204910"></a><a name="li7690558204910"></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_0004__en-us_topic_0118498932_p288372718512">Click anywhere in the search box to add the next tag key and value.</p>
|
|
<p id="vpc_vpc_0004__en-us_topic_0118498932_p0973174012919">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_0004__p4038894622134"><strong id="vpc_vpc_0004__b842352706183348">Add, delete, edit, and view tags on the Tags tab of a VPC.</strong><ol id="vpc_vpc_0004__o41acd2134f0646419a1593232f39a79e"><li id="vpc_vpc_0004__li2849879021595">Log in to the management console.</li><li id="vpc_vpc_0004__li1246134133416">Click <span><img id="vpc_vpc_0004__en-us_topic_0118498823_image338921514480" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_vpc_0004__li829104420376">Click <span><img id="vpc_vpc_0004__image929134413371" src="en-us_image_0000001818983426.png"></span> in the upper left corner and choose <strong id="vpc_vpc_0004__b185461319134710"><span id="vpc_vpc_0004__text20546111918478">Network</span><span id="vpc_vpc_0004__text55461519134719"></span></strong> > <strong id="vpc_vpc_0004__b5546119174717">Virtual Private Cloud</strong>.<p id="vpc_vpc_0004__p62911444153718">The <strong id="vpc_vpc_0004__b843525525717">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0004__lcbccb260ef884e16b90dc7321135789c">On the <strong id="vpc_vpc_0004__b1736402772145921">Virtual Private Cloud</strong> page, locate the VPC whose tags are to be managed and click the VPC name.<p id="vpc_vpc_0004__a6dcd1882a4a6427aae168c6901952e07">The page showing details about the particular VPC is displayed.</p>
|
|
</li><li id="vpc_vpc_0004__lba51b3ca6c644d29a2fa3140a23a10ec">Click the <strong id="vpc_vpc_0004__b1950182399155228">Tags</strong> tab and perform desired operations on tags.<ul id="vpc_vpc_0004__u69939d3599684da68a030c3d0bb55f5c"><li id="vpc_vpc_0004__l22c44b046e4748f69343d5fc1ebc7dbc">View tags.<p id="vpc_vpc_0004__a572772fdecea4d5c960075e27796a82c"><a name="vpc_vpc_0004__l22c44b046e4748f69343d5fc1ebc7dbc"></a><a name="l22c44b046e4748f69343d5fc1ebc7dbc"></a>On the <strong id="vpc_vpc_0004__b84235270618391">Tags</strong> tab, you can view details about tags added to the current VPC, including the number of tags and the key and value of each tag.</p>
|
|
</li><li id="vpc_vpc_0004__lb87975d1594e44eba66948c8ce301133">Add a tag.<p id="vpc_vpc_0004__aae1d0f0f030c4d2f87159df1dda3f010"><a name="vpc_vpc_0004__lb87975d1594e44eba66948c8ce301133"></a><a name="lb87975d1594e44eba66948c8ce301133"></a>Click <strong id="vpc_vpc_0004__b84235270616191">Add Tag</strong> in the upper left corner. In the displayed <strong id="vpc_vpc_0004__b84235270616196">Add Tag</strong> dialog box, enter the tag key and value, and click <strong id="vpc_vpc_0004__b842352706161914">OK</strong>.</p>
|
|
</li><li id="vpc_vpc_0004__l3e4e38f128d44d61b384f66f36354bef">Edit a tag.<p id="vpc_vpc_0004__ae9483021cb21438580f3bd573565e8f0"><a name="vpc_vpc_0004__l3e4e38f128d44d61b384f66f36354bef"></a><a name="l3e4e38f128d44d61b384f66f36354bef"></a>Locate the row that contains the tag you want to edit and click <strong id="vpc_vpc_0004__b8944114343619">Edit</strong> in the <strong id="vpc_vpc_0004__b39451343173610">Operation</strong> column. In the <strong id="vpc_vpc_0004__b494510438365">Edit Tag</strong> dialog box, change the tag value and click <strong id="vpc_vpc_0004__b12945194343617">OK</strong>.</p>
|
|
</li><li id="vpc_vpc_0004__l824ff79f3ff04f87b23d333d42c84fc1">Delete a tag.<p id="vpc_vpc_0004__en-us_topic_0013859511_p84446611910"><a name="vpc_vpc_0004__l824ff79f3ff04f87b23d333d42c84fc1"></a><a name="l824ff79f3ff04f87b23d333d42c84fc1"></a>Locate the row that contains the tag you want to delete, and click <strong id="vpc_vpc_0004__b0530192514289">Delete</strong> in the <strong id="vpc_vpc_0004__b19530102542810">Operation</strong> column. In the displayed dialog box, click <strong id="vpc_vpc_0004__b2053162519287">OK</strong>.</p>
|
|
</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpc_0003.html">VPC</a></div>
|
|
</div>
|
|
</div>
|
|
|