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>
62 lines
8.3 KiB
HTML
62 lines
8.3 KiB
HTML
<a name="vpc_vpc_0011"></a><a name="vpc_vpc_0011"></a>
|
|
|
|
<h1 class="topictitle1">Viewing and Deleting Resources in a Subnet</h1>
|
|
<div id="body0000001409340696"><div class="section" id="vpc_vpc_0011__section147501215123115"><h4 class="sectiontitle">Scenarios</h4><p id="vpc_vpc_0011__p1715315310385">VPC subnets have private IP addresses used by cloud resources. This section describes how to view resources that are using private IP addresses of subnets. If these resources are no longer required, you can delete them.</p>
|
|
<p id="vpc_vpc_0011__p55216581466">You can view resources, including ECSs, BMSs, load balancers, and NAT gateways.</p>
|
|
<div class="notice" id="vpc_vpc_0011__note14519658869"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="vpc_vpc_0011__p155196589615">After you delete all resources in a subnet by referring to this section, the message "Delete the resource that is using the subnet and then delete the subnet." is displayed when you delete the subnet, you can refer to <a href="vpc_vpc_0012.html">Viewing IP Addresses in a Subnet</a>.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="vpc_vpc_0011__section3567162819452"><h4 class="sectiontitle">Procedure</h4><ol id="vpc_vpc_0011__ol53102723183146"><li id="vpc_vpc_0011__li2849879021595">Log in to the management console.</li><li id="vpc_vpc_0011__li840318282158">Click <span><img id="vpc_vpc_0011__image1045974755519" src="en-us_image_0000001818982734.png"></span> in the upper left corner and select the desired region and project.</li><li id="vpc_vpc_0011__li65321958215">Click <span><img id="vpc_vpc_0011__en-us_topic_0118498850_image8750174734412" src="en-us_image_0000001865662745.png"></span> in the upper left corner and choose <strong id="vpc_vpc_0011__b149411420144"><span id="vpc_vpc_0011__text1794110411414">Network</span><span id="vpc_vpc_0011__text9941343145"></span></strong> > <strong id="vpc_vpc_0011__b89411942143">Virtual Private Cloud</strong>.<p id="vpc_vpc_0011__p1182103318256">The <strong id="vpc_vpc_0011__b1747233015423">Virtual Private Cloud</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__li179761757517">In the navigation pane on the left, choose <strong id="vpc_vpc_0011__b178021557511">Virtual Private Cloud</strong> > <strong id="vpc_vpc_0011__b108024578110">Subnets</strong>.<p id="vpc_vpc_0011__p191641754143317">The <strong id="vpc_vpc_0011__b17221124110462">Subnets</strong> page is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__en-us_topic_0212076967_li10713113214200">Locate the target subnet and click its name.<p id="vpc_vpc_0011__p1775018465469"><a name="vpc_vpc_0011__en-us_topic_0212076967_li10713113214200"></a><a name="en-us_topic_0212076967_li10713113214200"></a>The subnet details page is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__li10437212202414">On the <strong id="vpc_vpc_0011__b2153130105810">Summary</strong> page, view the resources in the subnet.<ol type="a" id="vpc_vpc_0011__ol52301238194811"><li id="vpc_vpc_0011__li1123033818483">In the <strong id="vpc_vpc_0011__b439519321023">Resources</strong> area, view the quantities of resources, such as ECSs, BMSs, and load balancers, in the subnet. Click the resource quantity with a hyperlink to view the resources in the subnet.</li><li id="vpc_vpc_0011__li1632903415178">In the <strong id="vpc_vpc_0011__b2050119125816">Networking Components</strong> area on the right of the page, view the NAT gateway, route table, and subnet.</li></ol>
|
|
<div class="fignone" id="vpc_vpc_0011__fig134794112011"><span class="figcap"><b>Figure 1 </b>Viewing resources in a subnet</span><br><span><img id="vpc_vpc_0011__image847848208" src="en-us_image_0000001818823010.png"></span></div>
|
|
</li><li id="vpc_vpc_0011__li17734125298">Delete resources from the subnet.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_vpc_0011__table171111072339" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Viewing and deleting resources in a subnet</caption><thead align="left"><tr id="vpc_vpc_0011__row19111127193317"><th align="left" class="cellrowborder" valign="top" width="21.62%" id="mcps1.3.2.2.7.1.2.3.1.1"><p id="vpc_vpc_0011__p181111373335">Resource</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="78.38000000000001%" id="mcps1.3.2.2.7.1.2.3.1.2"><p id="vpc_vpc_0011__p15111147193314">Reference</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_vpc_0011__row1211147143316"><td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.2.2.7.1.2.3.1.1 "><p id="vpc_vpc_0011__p17111077330">ECS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="78.38000000000001%" headers="mcps1.3.2.2.7.1.2.3.1.2 "><p id="vpc_vpc_0011__p6203182113610">Currently, you cannot directly switch to ECSs from the subnet details page. You need to search for the target ECS in the ECS list and delete it.</p>
|
|
<ol type="a" id="vpc_vpc_0011__ol2355191112369"><li id="vpc_vpc_0011__li952362243617">In the ECS list, click the ECS name.<p id="vpc_vpc_0011__p52609273718"><a name="vpc_vpc_0011__li952362243617"></a><a name="li952362243617"></a>The ECS details page is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__li1835531183611">In the <strong id="vpc_vpc_0011__b20153161119913">NICs</strong> area, view the name of the subnet associated with the ECS.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_vpc_0011__row7111167163316"><td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.2.2.7.1.2.3.1.1 "><p id="vpc_vpc_0011__p151111676332">BMS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="78.38000000000001%" headers="mcps1.3.2.2.7.1.2.3.1.2 "><p id="vpc_vpc_0011__p10499519143020">Currently, you cannot directly switch to BMSs from the subnet details page. You need to search for the target BMS in the BMS list and delete it.</p>
|
|
<ol type="a" id="vpc_vpc_0011__ol949991953010"><li id="vpc_vpc_0011__li14499131911308">In the BMS list, click the BMS name.<p id="vpc_vpc_0011__p1149921943010"><a name="vpc_vpc_0011__li14499131911308"></a><a name="li14499131911308"></a>The BMS details page is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__li549917190307">In the <strong id="vpc_vpc_0011__b198702136398">Network Interfaces</strong> tab, view the subnet associated with the BMS.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_vpc_0011__row771321212173"><td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.2.2.7.1.2.3.1.1 "><p id="vpc_vpc_0011__p7713912181718">Load balancer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="78.38000000000001%" headers="mcps1.3.2.2.7.1.2.3.1.2 "><p id="vpc_vpc_0011__p3945143542012">You can directly switch to load balancers from the subnet details page.</p>
|
|
<ol type="a" id="vpc_vpc_0011__ol26362037192014"><li id="vpc_vpc_0011__li1983914542118">Click the load balancer quantity.<p id="vpc_vpc_0011__p18583278215"><a name="vpc_vpc_0011__li1983914542118"></a><a name="li1983914542118"></a>The load balancer list is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__li5863155892111">Locate the row that contains the load balancer and click <strong id="vpc_vpc_0011__b86271825151913">Delete</strong> in the <strong id="vpc_vpc_0011__b1510852841918">Operation</strong> column.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_vpc_0011__row1131216383455"><td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.2.2.7.1.2.3.1.1 "><p id="vpc_vpc_0011__p8313038104517">NAT gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="78.38000000000001%" headers="mcps1.3.2.2.7.1.2.3.1.2 "><p id="vpc_vpc_0011__p2533178194616">You can directly switch to NAT gateways from the subnet details page.</p>
|
|
<ol type="a" id="vpc_vpc_0011__ol135332884611"><li id="vpc_vpc_0011__li5533988466">Click the NAT gateway name in the <strong id="vpc_vpc_0011__b04844437354">Networking Components</strong> area.<p id="vpc_vpc_0011__p853310894620">The NAT gateway details page is displayed.</p>
|
|
</li><li id="vpc_vpc_0011__li11522114184815">Click <span><img id="vpc_vpc_0011__image10877112394813" src="en-us_image_0000001818982794.png"></span> to return to the NAT gateway list.</li><li id="vpc_vpc_0011__li1432275515481">Locate the row that contains the NAT gateway and click <strong id="vpc_vpc_0011__b108101151193917">Delete</strong> in the <strong id="vpc_vpc_0011__b34632016153817">Operation</strong> column.
|
|
</li></ol>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpc_0004.html">Subnet</a></div>
|
|
</div>
|
|
</div>
|
|
|