doc-exports/docs/config/api-ref/rms_04_0512.html
Wei, Hongmin da6ca4fb3c Config API First Version
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2024-08-22 10:49:27 +00:00

472 lines
31 KiB
HTML

<a name="rms_04_0512"></a><a name="rms_04_0512"></a>
<h1 class="topictitle1">Querying the Compliance Results of a Resource</h1>
<div id="body1834615511489"><div class="section" id="rms_04_0512__section13346351134816"><h4 class="sectiontitle">Function</h4><p id="rms_04_0512__p143471251124810">This API is used to query all compliance results of a resource evaluated by rules. The resource is searched by resource ID.</p>
</div>
<div class="section" id="rms_04_0512__atuogenerate_1"><h4 class="sectiontitle">Calling Method</h4><p id="rms_04_0512__p1334915119486">For details, see <a href="rms_03_0000.html">Calling APIs</a>.</p>
</div>
<div class="section" id="rms_04_0512__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="rms_04_0512__p3352651164814">GET /v1/resource-manager/domains/{domain_id}/resources/{resource_id}/policy-states</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__table83551513486" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="rms_04_0512__row5353451144819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="rms_04_0512__p143554516482">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="rms_04_0512__p8357351114820">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="rms_04_0512__p435875117488">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="rms_04_0512__p11359125111482">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row8353195134815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="rms_04_0512__p136025144810">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="rms_04_0512__p736111516485">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="rms_04_0512__p4362145119485">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="rms_04_0512__p16363175154813">Specifies tags.</p>
<p id="rms_04_0512__p1836416518481">Maximum: <strong id="rms_04_0512__b63641051204817">36</strong></p>
</td>
</tr>
<tr id="rms_04_0512__row113537519480"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="rms_04_0512__p8365185104812">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="rms_04_0512__p936615112481">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="rms_04_0512__p1536715114814">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="rms_04_0512__p3368551184818">Specifies the resource ID.</p>
<p id="rms_04_0512__p13369155154811">Maximum: <strong id="rms_04_0512__b173697516486">512</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__table4371251184815" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="rms_04_0512__row19370155154817"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="rms_04_0512__p837210512484">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="rms_04_0512__p1337395184820">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="rms_04_0512__p1337575119488">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="rms_04_0512__p153765516484">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row1737010513488"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="rms_04_0512__p14377145144816">compliance_state</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="rms_04_0512__p3378851154813">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="rms_04_0512__p1937985110481">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="rms_04_0512__p17381135114814">Specifies the compliance status.</p>
<p id="rms_04_0512__p143821512481">Maximum: <strong id="rms_04_0512__b238255144813">16</strong></p>
</td>
</tr>
<tr id="rms_04_0512__row17370151174816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="rms_04_0512__p1338375110489">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="rms_04_0512__p143841351184819">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="rms_04_0512__p16385135174816">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="rms_04_0512__p3386185104811">Specifies the maximum number of records to return.</p>
<p id="rms_04_0512__p14387195104811">Minimum: <strong id="rms_04_0512__b4387951114817">1</strong></p>
<p id="rms_04_0512__p238885104814">Maximum: <strong id="rms_04_0512__b143882514481">200</strong></p>
<p id="rms_04_0512__p193891051104819">Default: <strong id="rms_04_0512__b13389651144818">200</strong></p>
</td>
</tr>
<tr id="rms_04_0512__row1337013511488"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="rms_04_0512__p103908517480">marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="rms_04_0512__p839105116483">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="rms_04_0512__p639210511481">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="rms_04_0512__p123931751164811">Specifies the pagination parameter.</p>
<p id="rms_04_0512__p19394251134819">Minimum: <strong id="rms_04_0512__b3395145115488">4</strong></p>
<p id="rms_04_0512__p1839525115483">Maximum: <strong id="rms_04_0512__b3396105117481">400</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rms_04_0512__section103961251154816"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="rms_04_0512__row839735112482"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="rms_04_0512__p15399205115489">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="rms_04_0512__p174003516482">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="rms_04_0512__p4401195110483">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="rms_04_0512__p5402195164815">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row1539855117483"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="rms_04_0512__p1540319515484">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="rms_04_0512__p9404105124813">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="rms_04_0512__p540675112489">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="rms_04_0512__p17407185120487">Specifies the invoker's token.</p>
</td>
</tr>
<tr id="rms_04_0512__row939812514481"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="rms_04_0512__p740825118487">X-Security-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="rms_04_0512__p14091151104814">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="rms_04_0512__p1941020510487">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="rms_04_0512__p141118513482">Security token (session token) for temporary security credentials. This parameter is mandatory when you make an API call using temporary security credentials.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rms_04_0512__section1541335144810"><h4 class="sectiontitle">Response Parameters</h4><p id="rms_04_0512__p154141851184813"><strong id="rms_04_0512__b164141851194813">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_PolicyStatesQueryResults" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="rms_04_0512__row1941515118489"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="rms_04_0512__p144171451134817">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="rms_04_0512__p1418195119487">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="rms_04_0512__p5419175120485">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row124151751204820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="rms_04_0512__p1642075117486">value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="rms_04_0512__p1421135111483">Array of <a href="#rms_04_0512__response_PolicyState">PolicyState</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="rms_04_0512__p144229513488">Specifies the return value of querying the compliance result.</p>
</td>
</tr>
<tr id="rms_04_0512__row1841515117487"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="rms_04_0512__p1442345164818">page_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="rms_04_0512__p10424185113484"><a href="#rms_04_0512__response_PageInfo">PageInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="rms_04_0512__p3425125144817">Specifies the pagination object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="rms_04_0512__response_PolicyState"></a><a name="response_PolicyState"></a><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_PolicyState" frame="border" border="1" rules="all"><caption><b>Table 5 </b>PolicyState</caption><thead align="left"><tr id="rms_04_0512__row542725114486"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="rms_04_0512__p1242995194819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="rms_04_0512__p114301951164818">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="rms_04_0512__p154314514488">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row11427155194819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p12432135134813">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p343319511489">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p1434145115486">Specifies the user ID.</p>
</td>
</tr>
<tr id="rms_04_0512__row74271051114818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p14351651114817">region_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p5436951104813">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p11437951204811">Specifies the ID of the region the resource belongs to.</p>
</td>
</tr>
<tr id="rms_04_0512__row1842775118484"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p7438145194814">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p443912513487">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p0441105124813">Specifies the resource ID.</p>
</td>
</tr>
<tr id="rms_04_0512__row19427115116489"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p1544214516481">resource_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p0443155144818">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p12444451154816">Specifies the resource name.</p>
</td>
</tr>
<tr id="rms_04_0512__row54271651174810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p134481751134820">resource_provider</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p24491751184812">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p12450105174815">Specifies the cloud service name.</p>
</td>
</tr>
<tr id="rms_04_0512__row842785164814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p8451145117488">resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p164521451144817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p24531651104818">Specifies the resource type.</p>
</td>
</tr>
<tr id="rms_04_0512__row1342719510483"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p15454145144811">trigger_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p12455145115487">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p44561951164818">Specifies the trigger type. The value can be <strong id="rms_04_0512__b19457551124815">resource</strong> or <strong id="rms_04_0512__b1645718514484">period</strong>.</p>
</td>
</tr>
<tr id="rms_04_0512__row184271251174816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p16457125114811">compliance_state</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p1345885110483">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p445910514488">Specifies the compliance status.</p>
</td>
</tr>
<tr id="rms_04_0512__row342805174810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p16460175117485">policy_assignment_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p4461175174815">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p646210514482">Specifies the rule ID.</p>
</td>
</tr>
<tr id="rms_04_0512__row9428195174810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p1146485164817">policy_assignment_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p746515110481">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p5466185115485">Specifies the rule name.</p>
</td>
</tr>
<tr id="rms_04_0512__row2042820511488"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p15466155144814">policy_definition_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p146745115486">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p5470105154815">Specifies the policy ID.</p>
</td>
</tr>
<tr id="rms_04_0512__row15428195164817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="rms_04_0512__p10471155194819">evaluation_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="rms_04_0512__p14472651104815">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="rms_04_0512__p84731851164812">Specifies the evaluation time of compliance status.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="rms_04_0512__response_PageInfo"></a><a name="response_PageInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_PageInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>PageInfo</caption><thead align="left"><tr id="rms_04_0512__row9474451204819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="rms_04_0512__p15476175115482">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="rms_04_0512__p13477951164810">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="rms_04_0512__p19477165194815">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row647465104816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="rms_04_0512__p347865113487">current_count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="rms_04_0512__p247955113487">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="rms_04_0512__p2480551164813">Specifies the resource quantity on the current page.</p>
<p id="rms_04_0512__p34811451124819">Minimum: <strong id="rms_04_0512__b10482951114818">0</strong></p>
<p id="rms_04_0512__p12482115110484">Maximum: <strong id="rms_04_0512__b7483205115488">200</strong></p>
</td>
</tr>
<tr id="rms_04_0512__row647495174818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="rms_04_0512__p1348395174812">next_marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="rms_04_0512__p12485195144816">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="rms_04_0512__p9486125134813">Specifies the <strong id="rms_04_0512__b124871551164816">marker</strong> value of the next page.</p>
<p id="rms_04_0512__p1148775104815">Minimum: <strong id="rms_04_0512__b1348818516481">4</strong></p>
<p id="rms_04_0512__p6489185134818">Maximum: <strong id="rms_04_0512__b184909518488">400</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="rms_04_0512__p04902051194811"><strong id="rms_04_0512__b20490651144812">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="rms_04_0512__row114916518480"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="rms_04_0512__p1449395117485">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="rms_04_0512__p13494195124816">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="rms_04_0512__p9495125114482">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row74911051154814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="rms_04_0512__p19496135194815">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="rms_04_0512__p1249715512483">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="rms_04_0512__p104991551194819">Specifies the error code.</p>
</td>
</tr>
<tr id="rms_04_0512__row1149135116487"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="rms_04_0512__p050035154812">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="rms_04_0512__p1550175112485">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="rms_04_0512__p13502951194819">Specifies the error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="rms_04_0512__p7503155110484"><strong id="rms_04_0512__b205042051174810">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_ErrorResp_1" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="rms_04_0512__row165042511487"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.1"><p id="rms_04_0512__p155061051184811">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.2"><p id="rms_04_0512__p6507751114813">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.9.2.4.1.3"><p id="rms_04_0512__p175087516485">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row16504551174814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="rms_04_0512__p650965112484">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="rms_04_0512__p651065134810">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="rms_04_0512__p165111651164817">Specifies the error code.</p>
</td>
</tr>
<tr id="rms_04_0512__row150495184811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="rms_04_0512__p4512105164816">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="rms_04_0512__p8513105117485">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="rms_04_0512__p7514155134813">Specifies the error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="rms_04_0512__p13515651164816"><strong id="rms_04_0512__b1851695104819">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_ErrorResp_2" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="rms_04_0512__row2516451144811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.1"><p id="rms_04_0512__p9518175119486">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.2"><p id="rms_04_0512__p12519205124820">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.11.2.4.1.3"><p id="rms_04_0512__p8520155194815">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row1851765112484"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="rms_04_0512__p2052145164814">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="rms_04_0512__p155221351174819">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="rms_04_0512__p135231951134819">Specifies the error code.</p>
</td>
</tr>
<tr id="rms_04_0512__row13517105114815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="rms_04_0512__p852410516483">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="rms_04_0512__p252515124816">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="rms_04_0512__p1352645117487">Specifies the error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="rms_04_0512__p8527165110486"><strong id="rms_04_0512__b8527135114816">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__response_ErrorResp_3" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="rms_04_0512__row105281151124818"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.1"><p id="rms_04_0512__p153055111481">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.2"><p id="rms_04_0512__p25311451174810">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.13.2.4.1.3"><p id="rms_04_0512__p1953275144810">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row752865115481"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="rms_04_0512__p115326511484">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="rms_04_0512__p153335154815">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="rms_04_0512__p125351515485">Specifies the error code.</p>
</td>
</tr>
<tr id="rms_04_0512__row6528135124812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="rms_04_0512__p155364514489">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="rms_04_0512__p15537155124814">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="rms_04_0512__p1653845117480">Specifies the error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rms_04_0512__section35391451154818"><h4 class="sectiontitle">Example Requests</h4><p id="rms_04_0512__p854065119481">None</p>
</div>
<div class="section" id="rms_04_0512__section1954195124814"><h4 class="sectiontitle">Example Responses</h4><p id="rms_04_0512__p75421751154812"><strong id="rms_04_0512__b1554215112486">Status code: 200</strong></p>
<p id="rms_04_0512__p1754265115482">Operation succeeded.</p>
<pre class="screen" id="rms_04_0512__screen16277114118504">{
"value": [
{
"domain_id": "daf2557fc0de4da09e128441baa71697",
"region_id": "eu-de",
"resource_id": "d418cc33-dd14-43f7-aa1e-a72ecab1a9b3",
"resource_name": "ecs-aziuzko",
"resource_provider": "ecs",
"resource_type": "cloudservers",
"trigger_type": "resource",
"compliance_state": "NonCompliant",
"policy_assignment_id": "6672d6b0354ba95beef328d1",
"policy_assignment_name": "allowed-ecs-flavors",
"policy_definition_id": "5f8d549bffeecc14f1fb522a",
"evaluation_time": "1720441778399"
},
{
"domain_id": "daf2557fc0de4da09e128441baa71697",
"region_id": "eu-de",
"resource_id": "d418cc33-dd14-43f7-aa1e-a72ecab1a9b3",
"resource_name": "ecs-aziuzko",
"resource_provider": "ecs",
"resource_type": "cloudservers",
"trigger_type": "resource",
"compliance_state": "NonCompliant",
"policy_assignment_id": "6672d83777c56f4aeb50b892",
"policy_assignment_name": "allowed-ecs-flavorss3",
"policy_definition_id": "5f8d549bffeecc14f1fb522a",
"evaluation_time": "1720441808621"
}
],
"page_info": {
"current_count": 2,
"next_marker": null
}
}</pre>
</div>
<div class="section" id="rms_04_0512__section111791153174818"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rms_04_0512__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="rms_04_0512__row963385119484"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="rms_04_0512__p15179253164819">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="rms_04_0512__p17180175324818">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rms_04_0512__row14633951104811"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="rms_04_0512__p418015384820">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="rms_04_0512__p91801753144812">Operation succeeded.</p>
</td>
</tr>
<tr id="rms_04_0512__row1363495115482"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="rms_04_0512__p171811453164814">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="rms_04_0512__p1518165320485">Invalid parameters.</p>
</td>
</tr>
<tr id="rms_04_0512__row19634185117481"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="rms_04_0512__p17181353154813">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="rms_04_0512__p1918265316489">Authentication failed or you do not have the operation permissions.</p>
</td>
</tr>
<tr id="rms_04_0512__row176341951174813"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="rms_04_0512__p718214539482">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="rms_04_0512__p1182553154812">Resources not found.</p>
</td>
</tr>
<tr id="rms_04_0512__row1063475119487"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="rms_04_0512__p218315534486">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="rms_04_0512__p101833532480">Server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rms_04_0512__section5183145319482"><h4 class="sectiontitle">Error Codes</h4><p id="rms_04_0512__p14184155334817">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rms_04_0500.html">Compliance</a></div>
</div>
</div>