forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
124 lines
17 KiB
HTML
124 lines
17 KiB
HTML
<a name="EN-US_TOPIC_0000001630328828"></a><a name="EN-US_TOPIC_0000001630328828"></a>
|
|
|
|
<h1 class="topictitle1">Searching for ECSs</h1>
|
|
<div id="body0000001630328828"><div class="section" id="EN-US_TOPIC_0000001630328828__section13668503717"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0000001630328828__p923834361016">After purchasing an ECS, you can use the search function on the management console to search for ECSs in the current region. You can search for ECSs by name, ID, AZ, status, flavor name, image ID, EIP, private IP address, creation time, VPC ID, enterprise project, or resource tag. </p>
|
|
<div class="note" id="EN-US_TOPIC_0000001630328828__note661120241211"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001630328828__p96112024628">Searching by enterprise project is only available for enterprise users.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001630328828__section12532190182112"><h4 class="sectiontitle">Search Syntax</h4><p id="EN-US_TOPIC_0000001630328828__p11511502111">A variety of ECS search types are available. For details, see <a href="#EN-US_TOPIC_0000001630328828__table145381755194911">Table 1</a>.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001630328828__note623215516414"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001630328828__ul9631113813819"><li id="EN-US_TOPIC_0000001630328828__li1121551174011">For certain properties, if you enter complete values, the system can automatically identity the property type and search for them.</li><li id="EN-US_TOPIC_0000001630328828__li19306132711578">The following properties only support exact search and you need to enter complete values: ID, image ID, EIP, VPC ID, and enterprise project.</li><li id="EN-US_TOPIC_0000001630328828__li14631183817812">The private IP address must be in the following CIDR blocks: 10.0.0.0/8-24, 172.16.0.0/12-24, and 192.168.0.0/16-24.</li><li id="EN-US_TOPIC_0000001630328828__li166311438281">You can search by tag key-value pair. You can add one or more tags. If keys are different, the tags are automatically joined with AND. If the keys are the same but the values are different, the tags are also automatically joined with AND.</li><li id="EN-US_TOPIC_0000001630328828__li104781034873">You cannot use both the private IP address and EIP for a combined search.</li></ul>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001630328828__table145381755194911"></a><a name="table145381755194911"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001630328828__table145381755194911" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Search syntax</caption><thead align="left"><tr id="EN-US_TOPIC_0000001630328828__row1153820554493"><th align="left" class="cellrowborder" valign="top" width="14.598540145985398%" id="mcps1.3.2.4.2.6.1.1"><p id="EN-US_TOPIC_0000001630328828__p5538145512499">Search Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.34806519348065%" id="mcps1.3.2.4.2.6.1.2"><p id="EN-US_TOPIC_0000001630328828__p1538455174913">Supported Property</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.108289171082887%" id="mcps1.3.2.4.2.6.1.3"><p id="EN-US_TOPIC_0000001630328828__p053855584917">Format</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.978502149785017%" id="mcps1.3.2.4.2.6.1.4"><p id="EN-US_TOPIC_0000001630328828__p155381655114917">Example</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.96660333966602%" id="mcps1.3.2.4.2.6.1.5"><p id="EN-US_TOPIC_0000001630328828__p953885584912">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001630328828__row6538105534919"><td class="cellrowborder" valign="top" width="14.598540145985398%" headers="mcps1.3.2.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001630328828__p2088162119464">Property value</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p95385559497">Automatic property matching</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.34806519348065%" headers="mcps1.3.2.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001630328828__p86381311131313">ID</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p56499136133">Flavor name</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1422131512134">EIP</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1053817559499">Private IP address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.108289171082887%" headers="mcps1.3.2.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001630328828__p9538115518494">Complete property value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.978502149785017%" headers="mcps1.3.2.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001630328828__p05381255114911">ID: 4a79dfec-f0d8-4181-9bef-495b8b7220e1</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1657037122717">Flavor Name: s2.xlarge.4</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p164583515190">Private IP Address: 192.168.99.231</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.96660333966602%" headers="mcps1.3.2.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001630328828__p253805544920">When you search by keyword, enter a complete property value instead of selecting a property. The system can automatically match the property type for search.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001630328828__row157451414636"><td class="cellrowborder" valign="top" width="14.598540145985398%" headers="mcps1.3.2.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001630328828__p14745191413319">Property value</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1117512281132">Fuzzy search</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.34806519348065%" headers="mcps1.3.2.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001630328828__p3746111415320">Name</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1562104825">Private IP address</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p152151753512">Flavor name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.108289171082887%" headers="mcps1.3.2.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001630328828__p474691410313">Incomplete property value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.978502149785017%" headers="mcps1.3.2.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001630328828__p1574620141318">Name: ecs-c</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1152713163217">Flavor name: s7n</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p182131433320">Private IP address: 192.168.0</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.96660333966602%" headers="mcps1.3.2.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001630328828__p1823881212414">Select a property, and enter or choose the corresponding property value.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001630328828__row8538455154915"><td class="cellrowborder" valign="top" width="14.598540145985398%" headers="mcps1.3.2.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001630328828__p9538125514498">Single property</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.34806519348065%" headers="mcps1.3.2.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001630328828__p1253885510491">All properties on the console</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.108289171082887%" headers="mcps1.3.2.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001630328828__p353815510493">Property: Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.978502149785017%" headers="mcps1.3.2.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001630328828__p1953805519496">Private IP Address: 192.168.99.231</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.96660333966602%" headers="mcps1.3.2.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001630328828__p8538855194914">Select a property, and enter or choose the corresponding property value.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p83081220105318">The following properties only support exact search and you need to enter complete values for them: ID, EIP, image ID, and VPC ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001630328828__row1053975524910"><td class="cellrowborder" valign="top" width="14.598540145985398%" headers="mcps1.3.2.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001630328828__p1539455174912">Multiple properties</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.34806519348065%" headers="mcps1.3.2.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001630328828__p25391755164912">All properties on the console</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.108289171082887%" headers="mcps1.3.2.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001630328828__p1753915558492">Property 1: Value Property 2: Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.978502149785017%" headers="mcps1.3.2.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001630328828__p7539165584913">Private IP Address: 192.168.99.231 Name: ecs-c</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.96660333966602%" headers="mcps1.3.2.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001630328828__p653985594913">You can search by multiple properties and the properties are in AND relationship.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p88471449125011">The following properties only support exact search and you need to enter complete values for them: ID, EIP, image ID, and VPC ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001630328828__section16095210249"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001630328828__ol12609425242"><li id="EN-US_TOPIC_0000001630328828__li14469519145710">Log in to the management console.</li><li id="EN-US_TOPIC_0000001630328828__li1859019014179">Under <strong id="EN-US_TOPIC_0000001630328828__b730311816275"><span id="EN-US_TOPIC_0000001630328828__text10303161817276">Computing</span></strong>, click <strong id="EN-US_TOPIC_0000001630328828__b133031618182710">Elastic Cloud Server</strong>.<p id="EN-US_TOPIC_0000001630328828__p28383428216">The ECS console is displayed.</p>
|
|
</li><li id="EN-US_TOPIC_0000001630328828__li5741957114179">In the search box, specify search criteria.<p id="EN-US_TOPIC_0000001630328828__p565319017372"><a name="EN-US_TOPIC_0000001630328828__li5741957114179"></a><a name="li5741957114179"></a>You can use either of the following methods:</p>
|
|
<ul id="EN-US_TOPIC_0000001630328828__ul13187161122215"><li id="EN-US_TOPIC_0000001630328828__li6711724163618">Directly enter a property value for search.</li><li id="EN-US_TOPIC_0000001630328828__li491671419227">Select a property first and specify the property value for search.<ol type="a" id="EN-US_TOPIC_0000001630328828__ol1835010141318"><li id="EN-US_TOPIC_0000001630328828__li191652820348">Click the search box and select a property.<div class="fignone" id="EN-US_TOPIC_0000001630328828__fig36751424101219"><span class="figcap"><b>Figure 1 </b>Selecting a property</span><br><span><img id="EN-US_TOPIC_0000001630328828__image14454151715122" src="en-us_image_0000001787680536.png"></span></div>
|
|
</li><li id="EN-US_TOPIC_0000001630328828__li1177917437254">In the search box, enter or select properties as prompted, such as ID, status, and flavor name, and press <strong id="EN-US_TOPIC_0000001630328828__b16021023483">Enter</strong>.</li></ol>
|
|
</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001630328828__section573315272067"><h4 class="sectiontitle">Example 1: Searching by Property Value</h4><p id="EN-US_TOPIC_0000001630328828__p6731745114">After you enter a complete property value, the system automatically identifies the property type and searches for it. </p>
|
|
<ul id="EN-US_TOPIC_0000001630328828__ul11269153121015"><li id="EN-US_TOPIC_0000001630328828__li1426983131019">Searching by a single value<p id="EN-US_TOPIC_0000001630328828__p15126103313109"><a name="EN-US_TOPIC_0000001630328828__li1426983131019"></a><a name="li1426983131019"></a>Enter a complete ECS ID and press <strong id="EN-US_TOPIC_0000001630328828__b145175168322">Enter</strong> to search.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p1450483614213"></p>
|
|
</li><li id="EN-US_TOPIC_0000001630328828__li11269123131017">Searching by multiple values<p id="EN-US_TOPIC_0000001630328828__p85501389101"><a name="EN-US_TOPIC_0000001630328828__li11269123131017"></a><a name="li11269123131017"></a>Enter multiple complete flavor names and press <strong id="EN-US_TOPIC_0000001630328828__b1935272565115">Enter</strong> to search.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001630328828__section17525129211"><h4 class="sectiontitle">Example 2: Searching by a Single Property</h4><p id="EN-US_TOPIC_0000001630328828__p7413815181317">Select a property, and enter or choose the corresponding property value.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p12413151519134">The following properties only support exact search and you need to enter complete values for them: ID, EIP, image ID, and VPC ID.</p>
|
|
<ul id="EN-US_TOPIC_0000001630328828__ul15844191213209"><li id="EN-US_TOPIC_0000001630328828__li8844512172011">Fuzzy search by private IP address<ol id="EN-US_TOPIC_0000001630328828__ol103661324162010"><li id="EN-US_TOPIC_0000001630328828__li4366192462011">Select <strong id="EN-US_TOPIC_0000001630328828__b750645153915">Private IP Address</strong> in the search box.</li><li id="EN-US_TOPIC_0000001630328828__li7366132415200">Enter a private IP address and press <strong id="EN-US_TOPIC_0000001630328828__b13942908416">Enter</strong> to search. Private IP addresses can be used for fuzzy search. For example, you can enter <strong id="EN-US_TOPIC_0000001630328828__b16503147184111">192.168.0</strong> to search for all ECSs that use the 192.168.0 IP address.</li></ol>
|
|
</li><li id="EN-US_TOPIC_0000001630328828__li1984431212011">Exact search by ID<ol id="EN-US_TOPIC_0000001630328828__ol16430630142116"><li id="EN-US_TOPIC_0000001630328828__li2430123019210">Select <strong id="EN-US_TOPIC_0000001630328828__b1821604013421">ID</strong> in the search box.</li><li id="EN-US_TOPIC_0000001630328828__li33351133143211">Enter a complete ECS ID and press <strong id="EN-US_TOPIC_0000001630328828__b10105626184310">Enter</strong> to search.</li></ol>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001630328828__section17219145882217"><h4 class="sectiontitle">Example 3: Searching by Multiple Properties</h4><p id="EN-US_TOPIC_0000001630328828__p176111913102315">You can search by multiple properties and the properties are in AND relationship.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p16643125015206">The following properties only support exact search and you need to enter complete values for them: ID, EIP, image ID, and VPC ID.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p17651431142420">In this example, use <strong id="EN-US_TOPIC_0000001630328828__b29550292500">Name</strong> and <strong id="EN-US_TOPIC_0000001630328828__b6380632175010">Private IP Address</strong> for a combination of search.</p>
|
|
<ol id="EN-US_TOPIC_0000001630328828__ol1119912115246"><li id="EN-US_TOPIC_0000001630328828__li8199219243">Select <strong id="EN-US_TOPIC_0000001630328828__b26619119502">Name</strong> and enter an ECS name in the search box for fuzzy search.</li><li id="EN-US_TOPIC_0000001630328828__li131991116242">Select <strong id="EN-US_TOPIC_0000001630328828__b154789362376">Private IP Address</strong> and enter a private IP address for fuzzy search.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001630328828__section83196235462"><h4 class="sectiontitle">Example 4: Searching by Tags</h4><p id="EN-US_TOPIC_0000001630328828__p1801130112619">You can search by tag key-value pair.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p115191827152611">You can add one or more tags. If keys are different, the tags are automatically joined with AND.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p96928401918">If the keys are the same but the values are different, the tags are also automatically joined with AND.</p>
|
|
<ul id="EN-US_TOPIC_0000001630328828__ul23734553342"><li id="EN-US_TOPIC_0000001630328828__li637310551343">Searching by a single tag<p id="EN-US_TOPIC_0000001630328828__p1111513123610"><a name="EN-US_TOPIC_0000001630328828__li637310551343"></a><a name="li637310551343"></a>In the search box, select <strong id="EN-US_TOPIC_0000001630328828__b769916326559">Tag</strong> and then a key-value pair, and press <strong id="EN-US_TOPIC_0000001630328828__b1370063211554">Enter</strong>.</p>
|
|
</li><li id="EN-US_TOPIC_0000001630328828__li837315518347">Searching by multiple tags<p id="EN-US_TOPIC_0000001630328828__p1048512137375"><a name="EN-US_TOPIC_0000001630328828__li837315518347"></a><a name="li837315518347"></a>In the search box, select multiple tag key-value pairs and press <strong id="EN-US_TOPIC_0000001630328828__b26992210126">Enter</strong> for search.</p>
|
|
<p id="EN-US_TOPIC_0000001630328828__p775251163917">If you search by multiple tags, the tags are in the AND relationship.</p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0030893661.html">Viewing ECS Information</a></div>
|
|
</div>
|
|
</div>
|
|
|