forked from docs/doc-exports
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
464 lines
45 KiB
HTML
464 lines
45 KiB
HTML
<a name="ListResourceGroups"></a><a name="ListResourceGroups"></a>
|
|
|
|
<h1 class="topictitle1">Querying Resource Groups</h1>
|
|
<div id="body8662426"><div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section1563763895415"><h4 class="sectiontitle">Function</h4><p id="ListResourceGroups__en-us_topic_0000001695093517_p86372388543">This API is used to query resource groups.</p>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section18637163895419"><h4 class="sectiontitle">URI</h4><p id="ListResourceGroups__en-us_topic_0000001695093517_p7637173855412">GET /v2/{project_id}/resource-groups</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_table1663818382543" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row163783817542"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p863863835410">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p11638123885414">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p7638153814542">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ListResourceGroups__en-us_topic_0000001695093517_p0638238195410">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row9638123895419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p176383384548">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1263818388543">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1463819380544">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListResourceGroups__p42316702175455">Project ID.</p>
|
|
<p id="ListResourceGroups__p191415137612">For details about how to obtain the project ID, see <a href="ces_03_0057.html">Obtaining a Project ID</a>.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001646899046_p18100524114814">Minimum: <strong id="ListResourceGroups__b154776057034123">1</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001646899046_p81001524104817">Maximum: <strong id="ListResourceGroups__b30697493183326">64</strong></p>
|
|
<p id="ListResourceGroups__p4697184133915"><strong id="ListResourceGroups__b9884588312520">Regular expression matching</strong>: ^[a-zA-Z0-9-]{1,64}$</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_table863912388547" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row206391038105419"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p563983816542">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p176391038195419">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p3639123818544">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="ListResourceGroups__en-us_topic_0000001695093517_p20639438165418">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row4639143835415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p0639153895416">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p863920381544">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p764018388542">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p764093865414">ID of the enterprise project that a resource group belongs to.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p264033865419"><strong id="ListResourceGroups__b52553726982737">Regular expression matching</strong>: ^((([a-z]|[0-9]){8}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){12})|0)$</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row1763903865410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p4640153813543">group_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p564013384549">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p964013813545">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p46401938175414">Resource group name. Fuzzy search is supported.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p2640183813543">Minimum: <strong id="ListResourceGroups__b47170503434123">1</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1764033835417">Maximum: <strong id="ListResourceGroups__b7490632638034">128</strong></p>
|
|
<p id="ListResourceGroups__p228310445335"><strong id="ListResourceGroups__b4507798278315">Regular expression matching:</strong> ^([\u4E00-\u9FFF]|[a-z]|[A-Z]|[0-9]|_|-)+$</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row76391538105412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p2640103825416">group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p136407387549">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p66401138135410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p164017384543">Resource group ID. The value starts with <strong id="ListResourceGroups__b9793174114344">rg</strong> and is followed by 22 characters of letters, digits, or a combination of both.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p2640138185416">Minimum: <strong id="ListResourceGroups__b15953209538396">24</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p20640538115417">Maximum: <strong id="ListResourceGroups__b210997073884056">24</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row36399386544"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p864093820545">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1064013383541">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p19640153810548">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p7640338105419">Start position for pagination query, indicating the sequence number of the data record where the query starts. The default value is <strong id="ListResourceGroups__b631204513419">0</strong>.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p064114388545">Minimum: <strong id="ListResourceGroups__b114486334144041">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p764153825414">Maximum: <strong id="ListResourceGroups__b20672198483411">10000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row1463933816547"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p264143816545">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1664143812542">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1264173865417">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p136411538165415">Number of items on each page during pagination query. The value ranges from <strong id="ListResourceGroups__b202651656173411">1</strong> to <strong id="ListResourceGroups__b437410581349">100</strong> (default).</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p6641338135413">Minimum: <strong id="ListResourceGroups__b213043740682842">1</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p2064133815546">Maximum: <strong id="ListResourceGroups__b16296003485181">100</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row2639838155415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p17641738185411">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p11641203818546">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p764115381540">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ListResourceGroups__p34954719369">Method for adding resources to a resource group. The value can only be <strong id="ListResourceGroups__b1081204117358">EPS</strong> (synchronizing resources from enterprise projects), <strong id="ListResourceGroups__b1240744343513">TAG</strong> (dynamic tag matching), or <strong id="ListResourceGroups__b56957461352">Manual</strong> (manually adding resources). If this parameter is not specified, all resource groups are queried.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p106412038115410">The value can be:</p>
|
|
<ul id="ListResourceGroups__en-us_topic_0000001695093517_ul2641938165412"><li id="ListResourceGroups__en-us_topic_0000001695093517_li464117383545"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1164116383545"><a name="ListResourceGroups__en-us_topic_0000001695093517_li464117383545"></a><a name="en-us_topic_0000001695093517_li464117383545"></a><strong id="ListResourceGroups__en-us_topic_0000001695093517_b5641438115414">EPS</strong></p>
|
|
</li><li id="ListResourceGroups__en-us_topic_0000001695093517_li9641183816547"><p id="ListResourceGroups__en-us_topic_0000001695093517_p4641123820546"><a name="ListResourceGroups__en-us_topic_0000001695093517_li9641183816547"></a><a name="en-us_topic_0000001695093517_li9641183816547"></a><strong id="ListResourceGroups__en-us_topic_0000001695093517_b136411838165413">TAG</strong></p>
|
|
</li><li id="ListResourceGroups__en-us_topic_0000001695093517_li17641183835411"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1564183810544"><a name="ListResourceGroups__en-us_topic_0000001695093517_li17641183835411"></a><a name="en-us_topic_0000001695093517_li17641183835411"></a><strong id="ListResourceGroups__en-us_topic_0000001695093517_b166411638145414">Manual</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section064213815414"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row464283825413"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p06421438135418">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p4642538155411">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1164293810540">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="ListResourceGroups__en-us_topic_0000001695093517_p6642163815415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row1964216384541"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1064219383542">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p164210380542">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p11642638115416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ListResourceGroups__p68017481376">User token. It is a response to the API for obtaining a user token. This API is the only one that does not require authentication. After a response is returned, the value of <strong id="ListResourceGroups__b120873789833929">X-Subject-Token</strong> in the response header is the token.</p>
|
|
<p id="ListResourceGroups__p12801174812375">Minimum: <strong id="ListResourceGroups__b22203234123">1</strong></p>
|
|
<p id="ListResourceGroups__p98011948103710">Maximum: <strong id="ListResourceGroups__b9735404104344">16384</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section13643138125412"><h4 class="sectiontitle">Response Parameters</h4><p id="ListResourceGroups__en-us_topic_0000001695093517_p864311385549"><strong id="ListResourceGroups__b20234371028307">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_response_GetResourceGroupsResp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row13643173835418"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1264353865410">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1364343812548">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p8643113895413">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row1164313819546"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1664318389545">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p86441538195416">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p264483815546">Total number of resource groups.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p17644183813542">Minimum: <strong id="ListResourceGroups__b152237447244041">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p264415380545">Maximum: <strong id="ListResourceGroups__en-us_topic_0000001695093517_b464463835412">1000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row36435382541"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p11644638185415">resource_groups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p11644103818546">Array of <a href="#ListResourceGroups__en-us_topic_0000001695093517_response_OneResourceGroupResp">OneResourceGroupResp</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p66441938135412">Resource group list.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p15644103885418">Array length: <strong id="ListResourceGroups__b5622870946180">0</strong> to <strong id="ListResourceGroups__b6657042976180">100</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListResourceGroups__en-us_topic_0000001695093517_response_OneResourceGroupResp"></a><a name="en-us_topic_0000001695093517_response_OneResourceGroupResp"></a><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_response_OneResourceGroupResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>OneResourceGroupResp</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row206443386549"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p36451338165416">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1964513382546">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p136451538195417">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row3644538105412"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p364514388543">group_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p4645133855417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1064523814547">Resource group name.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p3645183825411"><strong id="ListResourceGroups__b188916361782737">Regular expression matching</strong>: ^((([a-z]|[0-9]){8}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){12})|0)$</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row13644133815416"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p26454381543">group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p3645173818547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1664553817541">Resource group ID. The value starts with <strong id="ListResourceGroups__b19697125353620">rg</strong> and is followed by 22 characters of letters, digits, or a combination of both.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1064523816544">Minimum: <strong id="ListResourceGroups__b28404256922925">2</strong><strong id="ListResourceGroups__b60477822622925">4</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p36452038205412">Maximum: <strong id="ListResourceGroups__b78570208484056">24</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row3644173814543"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1645838165415">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p17645183875414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p2064563855418">Time when the resource group was created. The value is in the 2006-01-02T15:04:05.000Z format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row1764453845416"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p2645738155420">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1645103865415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p964583845416">ID of the enterprise project that a resource group belongs to.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1564513865417"><strong id="ListResourceGroups__b75751529482737">Regular expression matching</strong>: ^((([a-z]|[0-9]){8}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){12})|0)$</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row664423835410"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1264611388544">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p5646183812543">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p15646113818548">Method for adding resources to a resource group. The value can only be <strong id="ListResourceGroups__b113452053143710">EPS</strong> (synchronizing resources from enterprise projects), <strong id="ListResourceGroups__b143451853193711">TAG</strong> (dynamic tag matching), or <strong id="ListResourceGroups__b23451753153720">Manual</strong> (manually adding resources).</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p464663855410">The value can be:</p>
|
|
<ul id="ListResourceGroups__en-us_topic_0000001695093517_ul166461385544"><li id="ListResourceGroups__en-us_topic_0000001695093517_li7646638195412"><p id="ListResourceGroups__en-us_topic_0000001695093517_p12646163855420"><a name="ListResourceGroups__en-us_topic_0000001695093517_li7646638195412"></a><a name="en-us_topic_0000001695093517_li7646638195412"></a><strong id="ListResourceGroups__en-us_topic_0000001695093517_b1164613384547">EPS</strong></p>
|
|
</li><li id="ListResourceGroups__en-us_topic_0000001695093517_li96461038145411"><p id="ListResourceGroups__en-us_topic_0000001695093517_p4646193812543"><a name="ListResourceGroups__en-us_topic_0000001695093517_li96461038145411"></a><a name="en-us_topic_0000001695093517_li96461038145411"></a><strong id="ListResourceGroups__en-us_topic_0000001695093517_b1864619384546">TAG</strong></p>
|
|
</li><li id="ListResourceGroups__en-us_topic_0000001695093517_li13646123811547"><p id="ListResourceGroups__en-us_topic_0000001695093517_p2646738125412"><a name="ListResourceGroups__en-us_topic_0000001695093517_li13646123811547"></a><a name="en-us_topic_0000001695093517_li13646123811547"></a><strong id="ListResourceGroups__en-us_topic_0000001695093517_b106469382549">Manual</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p964613388545"><strong id="ListResourceGroups__b96134506054053">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_response_GoAPIErrorResponseV2" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row166466387541"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p0646163815548">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p11647163855414">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p564773895413">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row064623805417"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1064712385548">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1364717382548">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p764763817545">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p964720381545">Minimum: <strong id="ListResourceGroups__b25050127774821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p2647173885415">Maximum: <strong id="ListResourceGroups__b66236409151249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row1464613814548"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p206479389545">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p564718386547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p5647183820542">Request error message.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p664723820541">Minimum: <strong id="ListResourceGroups__b208905741174821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p7647153816541">Maximum: <strong id="ListResourceGroups__b157411839351249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row664613815418"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p3647183865410">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p864773815418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p96471238125418">Request ID.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p7647163810543">Minimum: <strong id="ListResourceGroups__b168812386274821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p664716382549">Maximum: <strong id="ListResourceGroups__b88759344951249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1864714382540"><strong id="ListResourceGroups__b733349471113918">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_table13647538195413" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row1164813813542"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1364843855416">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p864833885414">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.8.2.4.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p26481938185412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row864833816549"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p86481438115413">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p11648133817546">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p18648153819542">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1364813386549">Minimum: <strong id="ListResourceGroups__b39439389774821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1064817380543">Maximum: <strong id="ListResourceGroups__b173471195651249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row26488386544"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p9648538165415">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p564853812547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p364916383548">Request error message.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p146494384547">Minimum: <strong id="ListResourceGroups__b78351882074821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p06491238125418">Maximum: <strong id="ListResourceGroups__b46175136351249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row186483381546"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1364993845412">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p6649143855412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p3649438155411">Request ID.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p764943812543">Minimum: <strong id="ListResourceGroups__b17183344774821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p364943815546">Maximum: <strong id="ListResourceGroups__b121900498551249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p11649173819546"><strong id="ListResourceGroups__en-us_topic_0000001695093517_b136491738165418">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_table12649173816543" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row1564910385543"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p1864983895411">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p864963845411">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.10.2.4.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p0650173875418">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row1649123811549"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1765093895412">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p9650938165414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p13650123875414">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p365083895418">Minimum: <strong id="ListResourceGroups__b135023622874821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1265023835415">Maximum: <strong id="ListResourceGroups__b187045777351249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row264918388549"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p865023835415">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1965063875411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p86505386545">Request error message.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p665010383549">Minimum: <strong id="ListResourceGroups__b117854478574821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p265013825418">Maximum: <strong id="ListResourceGroups__b128237512651249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row5649143810543"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p86501385541">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p136501238115415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p18650338115413">Request ID.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p665063815546">Minimum: <strong id="ListResourceGroups__b192363481274821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p8650153845414">Maximum: <strong id="ListResourceGroups__b16788308351249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p965093815544"><strong id="ListResourceGroups__b18846063333204">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_table11650143895417" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row13651173820544"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p116511138155414">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p4651183895418">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.12.2.4.1.3"><p id="ListResourceGroups__en-us_topic_0000001695093517_p465153885419">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row16511138125418"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p2651838205420">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p165143865414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1651163885414">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p765143865416">Minimum: <strong id="ListResourceGroups__b172141356974821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p18651238145410">Maximum: <strong id="ListResourceGroups__b212288680651249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row3651203810543"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p15651238115418">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1765110383545">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1652938165417">Request error message.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p12652143816549">Minimum: <strong id="ListResourceGroups__b140195649274821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p10652938145419">Maximum: <strong id="ListResourceGroups__b193863431651249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row76513385548"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p26525385541">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p117681138185414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p117683384540">Request ID.</p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p1576813812545">Minimum: <strong id="ListResourceGroups__b96193184874821">0</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p177687388547">Maximum: <strong id="ListResourceGroups__b160071917351249">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section1768193865412"><h4 class="sectiontitle">Example Requests</h4><p id="ListResourceGroups__en-us_topic_0000001695093517_p1076843818546">Querying resource groups</p>
|
|
<pre class="screen" id="ListResourceGroups__en-us_topic_0000001695093517_screen20768163815543">/v2/{project_id}/resource-groups?offset=0&limit=100</pre>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section137681238155418"><h4 class="sectiontitle">Example Responses</h4><p id="ListResourceGroups__en-us_topic_0000001695093517_p576812382540"><strong id="ListResourceGroups__b605563188307">Status code: 200</strong></p>
|
|
<p id="ListResourceGroups__en-us_topic_0000001695093517_p87681438165412">OK</p>
|
|
<pre class="screen" id="ListResourceGroups__en-us_topic_0000001695093517_screen4768938155410">{
|
|
"resource_groups" : [ {
|
|
"group_name" : "group1",
|
|
"create_time" : "2006-01-02T15:04:05.000Z",
|
|
"group_id" : "rg1761380163308Dxxxxxxxx",
|
|
"enterprise_project_id" : "0",
|
|
"type" : "Manual"
|
|
}, {
|
|
"group_name" : "band",
|
|
"type" : "EPS",
|
|
"create_time" : "2006-01-02T15:04:05.000Z",
|
|
"group_id" : "rg1761380163309Dxxxxxxxx",
|
|
"enterprise_project_id" : "d61d4705-5658-42f5-8e0c-70eb34d17b02"
|
|
}, {
|
|
"group_name" : "group2",
|
|
"type" : "TAG",
|
|
"create_time" : "2006-01-02T15:04:05.000Z",
|
|
"group_id" : "rg1761380163310Dxxxxxxxx",
|
|
"enterprise_project_id" : "0"
|
|
} ],
|
|
"count" : 3
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section1776963819548"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListResourceGroups__en-us_topic_0000001695093517_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ListResourceGroups__en-us_topic_0000001695093517_row1165416386545"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ListResourceGroups__en-us_topic_0000001695093517_p19769738125418">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ListResourceGroups__en-us_topic_0000001695093517_p6769538145410">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListResourceGroups__en-us_topic_0000001695093517_row176541338165418"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p16769338135410">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p6769938175415">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row146546381543"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1276916388548">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p11769113875417">Parameter verification failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row965413855413"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p2769638165412">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1876943895420">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row465473865417"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p2076903875410">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p177694380547">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListResourceGroups__en-us_topic_0000001695093517_row1654113875410"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p1976933855414">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListResourceGroups__en-us_topic_0000001695093517_p15769638115414">Failed to complete the request because of an internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListResourceGroups__en-us_topic_0000001695093517_section127699387541"><h4 class="sectiontitle">Error Codes</h4><p id="ListResourceGroups__en-us_topic_0000001695093517_p976916387548">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000007.html">Resource Groups</a></div>
|
|
</div>
|
|
</div>
|
|
|