forked from docs/doc-exports
Reviewed-by: Szirovicza Gergő <a94652429@noreply.gitea.eco.tsi-dev.otc-service.com> Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: fanqinying <fanqinying@huawei.com> Co-committed-by: fanqinying <fanqinying@huawei.com>
493 lines
43 KiB
HTML
493 lines
43 KiB
HTML
<a name="vpc_apiv3_0012"></a><a name="vpc_apiv3_0012"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Details of a Security Group</h1>
|
|
<div id="body1708331107508"><div class="section" id="vpc_apiv3_0012__section53089218813"><h4 class="sectiontitle">Function</h4><p id="vpc_apiv3_0012__p2030822118820">After a security group is created, you can call this API to query all information about the security group, including the name, ID, and description.</p>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section13082214820"><h4 class="sectiontitle">URI</h4><p id="vpc_apiv3_0012__p1830802112820">GET /v3/{project_id}/vpc/security-groups/{security_group_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiv3_0012__table33091321386" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="vpc_apiv3_0012__row33083211387"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="vpc_apiv3_0012__p17309122116815">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="vpc_apiv3_0012__p1630902120819">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="vpc_apiv3_0012__p63092219811">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="vpc_apiv3_0012__p103091421088">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiv3_0012__row12309321281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="vpc_apiv3_0012__p2030916211784">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="vpc_apiv3_0012__p133098212812">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="vpc_apiv3_0012__p230918211385">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="vpc_apiv3_0012__ul1130917211786"><li id="vpc_apiv3_0012__li8309172110814"><p id="vpc_apiv3_0012__p63091321686"><a name="vpc_apiv3_0012__li8309172110814"></a><a name="li8309172110814"></a>Definition: ID of the project that a security group belongs to.</p>
|
|
</li><li id="vpc_apiv3_0012__li9309621982"><p id="vpc_apiv3_0012__p430914211581"><a name="vpc_apiv3_0012__li9309621982"></a><a name="li9309621982"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row530918211586"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="vpc_apiv3_0012__p931010211487">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="vpc_apiv3_0012__p103102211089">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="vpc_apiv3_0012__p83109214816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="vpc_apiv3_0012__ul73101721383"><li id="vpc_apiv3_0012__li53106211817"><p id="vpc_apiv3_0012__p13101021381"><a name="vpc_apiv3_0012__li53106211817"></a><a name="li53106211817"></a>Definition: ID of a security group.</p>
|
|
</li><li id="vpc_apiv3_0012__li7310221580"><p id="vpc_apiv3_0012__p10310182120818"><a name="vpc_apiv3_0012__li7310221580"></a><a name="li7310221580"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section1131018218812"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_apiv3_0012__p113101521281">None</p>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section43104211486"><h4 class="sectiontitle">Response Parameters</h4><p id="vpc_apiv3_0012__p431018212813"><strong id="vpc_apiv3_0012__b1331082116814">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiv3_0012__response_ShowSecurityGroupResponseBody" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response body parameters</caption><thead align="left"><tr id="vpc_apiv3_0012__row431011219817"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="vpc_apiv3_0012__p163119211816">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="vpc_apiv3_0012__p931117212819">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="vpc_apiv3_0012__p731112216812">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiv3_0012__row19310172112814"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="vpc_apiv3_0012__p1231118219816">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="vpc_apiv3_0012__p103111421685">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><ul id="vpc_apiv3_0012__ul5311142112816"><li id="vpc_apiv3_0012__li931110212815"><p id="vpc_apiv3_0012__p1331172112812"><a name="vpc_apiv3_0012__li931110212815"></a><a name="li931110212815"></a>Definition: Request ID.</p>
|
|
</li><li id="vpc_apiv3_0012__li1831115210819"><p id="vpc_apiv3_0012__p53111221889"><a name="vpc_apiv3_0012__li1831115210819"></a><a name="li1831115210819"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row193109217811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="vpc_apiv3_0012__p19311102119814">security_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="vpc_apiv3_0012__p1131142116811"><a href="#vpc_apiv3_0012__response_SecurityGroupInfo">SecurityGroupInfo</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><ul id="vpc_apiv3_0012__ul18311172111815"><li id="vpc_apiv3_0012__li9311192113817"><p id="vpc_apiv3_0012__p43129211281"><a name="vpc_apiv3_0012__li9311192113817"></a><a name="li9311192113817"></a>Definition: Response body for querying details about a security group.</p>
|
|
</li><li id="vpc_apiv3_0012__li431202120810"><p id="vpc_apiv3_0012__p83124211982"><a name="vpc_apiv3_0012__li431202120810"></a><a name="li431202120810"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiv3_0012__response_SecurityGroupInfo"></a><a name="response_SecurityGroupInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiv3_0012__response_SecurityGroupInfo" frame="border" border="1" rules="all"><caption><b>Table 3 </b>SecurityGroupInfo</caption><thead align="left"><tr id="vpc_apiv3_0012__row5312721288"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="vpc_apiv3_0012__p231312110810">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="vpc_apiv3_0012__p1231318214819">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="vpc_apiv3_0012__p43132021284">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiv3_0012__row93122211381"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p1931318211888">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p173137213810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul13131221687"><li id="vpc_apiv3_0012__li1431311211818"><p id="vpc_apiv3_0012__p1131312211083"><a name="vpc_apiv3_0012__li1431311211818"></a><a name="li1431311211818"></a>Definition: ID of a security group. After a security group is created, a security group ID is generated, which uniquely identifies the security group.</p>
|
|
</li><li id="vpc_apiv3_0012__li131412219811"><p id="vpc_apiv3_0012__p4314721482"><a name="vpc_apiv3_0012__li131412219811"></a><a name="li131412219811"></a>Range: The value is in UUID format with hyphens (-).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row831216219812"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p431419217812">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p43146214818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul11314921987"><li id="vpc_apiv3_0012__li163142214813"><p id="vpc_apiv3_0012__p1131416217811"><a name="vpc_apiv3_0012__li163142214813"></a><a name="li163142214813"></a>Definition: Name of a security group.</p>
|
|
</li><li id="vpc_apiv3_0012__li1531432115818"><p id="vpc_apiv3_0012__p1631415213819"><a name="vpc_apiv3_0012__li1531432115818"></a><a name="li1531432115818"></a>Range: The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row10312121982"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p33141721286">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p163141521282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul23141321486"><li id="vpc_apiv3_0012__li431414212815"><p id="vpc_apiv3_0012__p231452112814"><a name="vpc_apiv3_0012__li431414212815"></a><a name="li431414212815"></a>Definition: Description of a security group.</p>
|
|
</li><li id="vpc_apiv3_0012__li133144217811"><p id="vpc_apiv3_0012__p53141321486"><a name="vpc_apiv3_0012__li133144217811"></a><a name="li133144217811"></a>Range: The value can contain no more than 255 characters and cannot contain angle brackets (< or >).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row73139217810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p93141421287">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p23149211882">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul15315721485"><li id="vpc_apiv3_0012__li13151021889"><p id="vpc_apiv3_0012__p7315152119813"><a name="vpc_apiv3_0012__li13151021889"></a><a name="li13151021889"></a>Definition: ID of the project that a security group belongs to.</p>
|
|
</li><li id="vpc_apiv3_0012__li731510219819"><p id="vpc_apiv3_0012__p153154215811"><a name="vpc_apiv3_0012__li731510219819"></a><a name="li731510219819"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row231314211481"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p2315132115817">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p14315202114819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul7315621283"><li id="vpc_apiv3_0012__li2031511215819"><p id="vpc_apiv3_0012__p173153217814"><a name="vpc_apiv3_0012__li2031511215819"></a><a name="li2031511215819"></a>Definition: Time when a security group was created.</p>
|
|
</li><li id="vpc_apiv3_0012__li63155211182"><p id="vpc_apiv3_0012__p1831519212086"><a name="vpc_apiv3_0012__li63155211182"></a><a name="li63155211182"></a>Range: UTC time in the format of yyyy-MM-ddTHH:mm:ssZ</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row133132211084"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p33158219815">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p2315421381">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul631518211786"><li id="vpc_apiv3_0012__li2031517218814"><p id="vpc_apiv3_0012__p83154218817"><a name="vpc_apiv3_0012__li2031517218814"></a><a name="li2031517218814"></a>Definition: Time when a security group was updated.</p>
|
|
</li><li id="vpc_apiv3_0012__li10315202114811"><p id="vpc_apiv3_0012__p93151721582"><a name="vpc_apiv3_0012__li10315202114811"></a><a name="li10315202114811"></a>Range: UTC time in the format of yyyy-MM-ddTHH:mm:ssZ</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row231312119816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p831592113814">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p831692119813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul03165211387"><li id="vpc_apiv3_0012__li153163217811"><p id="vpc_apiv3_0012__p1831620211985"><a name="vpc_apiv3_0012__li153163217811"></a><a name="li153163217811"></a>Definition: ID of the enterprise project that a security group belongs to.</p>
|
|
</li><li id="vpc_apiv3_0012__li8316102112810"><p id="vpc_apiv3_0012__p1831617216818"><a name="vpc_apiv3_0012__li8316102112810"></a><a name="li8316102112810"></a>Range: The value is <strong id="vpc_apiv3_0012__b1231610211589">0</strong> or a string that contains a maximum of 36 characters in UUID format with hyphens (-). <strong id="vpc_apiv3_0012__b183161221986">0</strong> indicates the default enterprise project.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row173130211983"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p231618214815">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p331617211886">Array of <a href="#vpc_apiv3_0012__response_ResponseTag">ResponseTag</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul163165211484"><li id="vpc_apiv3_0012__li153167212813"><p id="vpc_apiv3_0012__p131615210811"><a name="vpc_apiv3_0012__li153167212813"></a><a name="li153167212813"></a>Definition: Tags of a security group, including tag keys and tag values, which can be used to classify and identify resources. For details, see the tag objects.</p>
|
|
</li><li id="vpc_apiv3_0012__li1631617211789"><p id="vpc_apiv3_0012__p2316521483"><a name="vpc_apiv3_0012__li1631617211789"></a><a name="li1631617211789"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row1731313212811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="vpc_apiv3_0012__p2317121683">security_group_rules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="vpc_apiv3_0012__p2317121785">Array of <a href="#vpc_apiv3_0012__response_SecurityGroupRule">SecurityGroupRule</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="vpc_apiv3_0012__ul1317142111810"><li id="vpc_apiv3_0012__li131742113819"><p id="vpc_apiv3_0012__p731772115814"><a name="vpc_apiv3_0012__li131742113819"></a><a name="li131742113819"></a>Definition: Security group rule list.</p>
|
|
</li><li id="vpc_apiv3_0012__li93177219812"><p id="vpc_apiv3_0012__p1831720211382"><a name="vpc_apiv3_0012__li93177219812"></a><a name="li93177219812"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiv3_0012__response_ResponseTag"></a><a name="response_ResponseTag"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiv3_0012__response_ResponseTag" frame="border" border="1" rules="all"><caption><b>Table 4 </b>ResponseTag</caption><thead align="left"><tr id="vpc_apiv3_0012__row831712218816"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="vpc_apiv3_0012__p143182210813">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="vpc_apiv3_0012__p13182211185">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="vpc_apiv3_0012__p1031842110811">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiv3_0012__row63176214816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="vpc_apiv3_0012__p113187211987">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="vpc_apiv3_0012__p1531862118817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><ul id="vpc_apiv3_0012__ul3585326104"><li id="vpc_apiv3_0012__li145851921103"><p id="vpc_apiv3_0012__p65857241011"><a name="vpc_apiv3_0012__li145851921103"></a><a name="li145851921103"></a>Definition: Tag key.</p>
|
|
</li><li id="vpc_apiv3_0012__li4585622108"><p id="vpc_apiv3_0012__p158592191010"><a name="vpc_apiv3_0012__li4585622108"></a><a name="li4585622108"></a>Range:</p>
|
|
<ul id="vpc_apiv3_0012__ul1058511241010"><li id="vpc_apiv3_0012__li0585102141010"><p id="vpc_apiv3_0012__p1158519211011"><a name="vpc_apiv3_0012__li0585102141010"></a><a name="li0585102141010"></a>Each key can contain up to 36 Unicode characters and cannot be left blank.</p>
|
|
</li><li id="vpc_apiv3_0012__li155853212101"><p id="vpc_apiv3_0012__p185857291017"><a name="vpc_apiv3_0012__li155853212101"></a><a name="li155853212101"></a>Each key value of a resource must be unique.</p>
|
|
</li><li id="vpc_apiv3_0012__li3585025105"><p id="vpc_apiv3_0012__p2586102171014"><a name="vpc_apiv3_0012__li3585025105"></a><a name="li3585025105"></a>The value can contain:</p>
|
|
<ul id="vpc_apiv3_0012__ul1358618271019"><li id="vpc_apiv3_0012__li658611215104"><p id="vpc_apiv3_0012__p17586192201013"><a name="vpc_apiv3_0012__li658611215104"></a><a name="li658611215104"></a>Letters</p>
|
|
</li><li id="vpc_apiv3_0012__li6586102191017"><p id="vpc_apiv3_0012__p658616271010"><a name="vpc_apiv3_0012__li6586102191017"></a><a name="li6586102191017"></a>Digits</p>
|
|
</li><li id="vpc_apiv3_0012__li758619218107"><p id="vpc_apiv3_0012__p558618214106"><a name="vpc_apiv3_0012__li758619218107"></a><a name="li758619218107"></a>Special characters: underscores (_) ,at signs (@), and hyphens (-)</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row43179211988"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="vpc_apiv3_0012__p8319721486">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="vpc_apiv3_0012__p831916211783">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><ul id="vpc_apiv3_0012__ul10586625104"><li id="vpc_apiv3_0012__li7586172161016"><p id="vpc_apiv3_0012__p7586102121011"><a name="vpc_apiv3_0012__li7586172161016"></a><a name="li7586172161016"></a>Definition: Tag value.</p>
|
|
</li><li id="vpc_apiv3_0012__li458612213107"><p id="vpc_apiv3_0012__p185861261014"><a name="vpc_apiv3_0012__li458612213107"></a><a name="li458612213107"></a>Range:</p>
|
|
<ul id="vpc_apiv3_0012__ul1058622161018"><li id="vpc_apiv3_0012__li35861222107"><p id="vpc_apiv3_0012__p19586722108"><a name="vpc_apiv3_0012__li35861222107"></a><a name="li35861222107"></a>Each value can contain up to 43 Unicode characters and can be left blank.</p>
|
|
</li><li id="vpc_apiv3_0012__li45861423105"><p id="vpc_apiv3_0012__p55864231017"><a name="vpc_apiv3_0012__li45861423105"></a><a name="li45861423105"></a>The value can contain:</p>
|
|
<ul id="vpc_apiv3_0012__ul13586102131015"><li id="vpc_apiv3_0012__li85865271019"><p id="vpc_apiv3_0012__p1958632151014"><a name="vpc_apiv3_0012__li85865271019"></a><a name="li85865271019"></a>Letters</p>
|
|
</li><li id="vpc_apiv3_0012__li758613211016"><p id="vpc_apiv3_0012__p458617211106"><a name="vpc_apiv3_0012__li758613211016"></a><a name="li758613211016"></a>Digits</p>
|
|
</li><li id="vpc_apiv3_0012__li1758614241017"><p id="vpc_apiv3_0012__p135867215104"><a name="vpc_apiv3_0012__li1758614241017"></a><a name="li1758614241017"></a>Special characters: underscore (_), at signs (@), and hyphen (-)</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiv3_0012__response_SecurityGroupRule"></a><a name="response_SecurityGroupRule"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiv3_0012__response_SecurityGroupRule" frame="border" border="1" rules="all"><caption><b>Table 5 </b>SecurityGroupRule</caption><thead align="left"><tr id="vpc_apiv3_0012__row10320921485"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="vpc_apiv3_0012__p143211921489">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="vpc_apiv3_0012__p1032122120817">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="vpc_apiv3_0012__p1632102112811">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiv3_0012__row1432017211689"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p103211421584">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p9321221583">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul532117211187"><li id="vpc_apiv3_0012__li032122119819"><p id="vpc_apiv3_0012__p153217216811"><a name="vpc_apiv3_0012__li032122119819"></a><a name="li032122119819"></a>Definition: ID of a security group rule. After a security group rule is created, a security group rule ID is generated, which uniquely identifies the security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li332182112812"><p id="vpc_apiv3_0012__p183212217814"><a name="vpc_apiv3_0012__li332182112812"></a><a name="li332182112812"></a>Range: The value is in UUID format with hyphens (-).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row1232015211810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p1532119218819">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p17321132110812">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul532111216816"><li id="vpc_apiv3_0012__li163211221380"><p id="vpc_apiv3_0012__p432113211985"><a name="vpc_apiv3_0012__li163211221380"></a><a name="li163211221380"></a>Definition: Description of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li1732192115819"><p id="vpc_apiv3_0012__p732213211888"><a name="vpc_apiv3_0012__li1732192115819"></a><a name="li1732192115819"></a>Range: The value can contain no more than 255 characters and cannot contain angle brackets (< or >).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row63201321489"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p1832214216813">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p1232292119813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul193226211289"><li id="vpc_apiv3_0012__li1432232116810"><p id="vpc_apiv3_0012__p33225211815"><a name="vpc_apiv3_0012__li1432232116810"></a><a name="li1432232116810"></a>Definition: ID of the security group that a security group rule belongs to.</p>
|
|
</li><li id="vpc_apiv3_0012__li1832232119815"><p id="vpc_apiv3_0012__p1232212211987"><a name="vpc_apiv3_0012__li1832232119815"></a><a name="li1832232119815"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row15320202112820"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p33228211686">direction</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p1322021486">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul53221721985"><li id="vpc_apiv3_0012__li232212213818"><p id="vpc_apiv3_0012__p163222211814"><a name="vpc_apiv3_0012__li232212213818"></a><a name="li232212213818"></a>Definition: Inbound or outbound direction of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li1532222110817"><p id="vpc_apiv3_0012__p332216218813"><a name="vpc_apiv3_0012__li1532222110817"></a><a name="li1532222110817"></a>Range:</p>
|
|
<ul id="vpc_apiv3_0012__ul0322202118810"><li id="vpc_apiv3_0012__li23228211811"><p id="vpc_apiv3_0012__p63227211283"><a name="vpc_apiv3_0012__li23228211811"></a><a name="li23228211811"></a><strong id="vpc_apiv3_0012__b1322121884">ingress</strong>: inbound direction</p>
|
|
</li><li id="vpc_apiv3_0012__li1232222119818"><p id="vpc_apiv3_0012__p732232115812"><a name="vpc_apiv3_0012__li1232222119818"></a><a name="li1232222119818"></a><strong id="vpc_apiv3_0012__b63221321185">egress</strong>: outbound direction</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row1032010212820"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p163224211884">protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p93222211781">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul1132313213816"><li id="vpc_apiv3_0012__li1632315210814"><p id="vpc_apiv3_0012__p183234211181"><a name="vpc_apiv3_0012__li1632315210814"></a><a name="li1632315210814"></a>Definition: Communication protocol of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li11323182119812"><p id="vpc_apiv3_0012__p1232320211987"><a name="vpc_apiv3_0012__li11323182119812"></a><a name="li11323182119812"></a>Range:</p>
|
|
<ul id="vpc_apiv3_0012__ul10323122110816"><li id="vpc_apiv3_0012__li153231721889"><p id="vpc_apiv3_0012__p1032318212812"><a name="vpc_apiv3_0012__li153231721889"></a><a name="li153231721889"></a><strong id="vpc_apiv3_0012__b132392116815">icmp</strong></p>
|
|
</li><li id="vpc_apiv3_0012__li432310212081"><p id="vpc_apiv3_0012__p123235215820"><a name="vpc_apiv3_0012__li432310212081"></a><a name="li432310212081"></a><strong id="vpc_apiv3_0012__b1832311211819">tcp</strong></p>
|
|
</li><li id="vpc_apiv3_0012__li103236214812"><p id="vpc_apiv3_0012__p53239213819"><a name="vpc_apiv3_0012__li103236214812"></a><a name="li103236214812"></a><strong id="vpc_apiv3_0012__b632313211813">udp</strong></p>
|
|
</li><li id="vpc_apiv3_0012__li133234217811"><p id="vpc_apiv3_0012__p3323102114816"><a name="vpc_apiv3_0012__li133234217811"></a><a name="li133234217811"></a><strong id="vpc_apiv3_0012__b1323142110813">icmpv6</strong></p>
|
|
</li><li id="vpc_apiv3_0012__li532320212085"><p id="vpc_apiv3_0012__p43231321088"><a name="vpc_apiv3_0012__li532320212085"></a><a name="li532320212085"></a>IP protocol number</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row11320172120817"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p17323821183">ethertype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p932310211487">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul232315211083"><li id="vpc_apiv3_0012__li332352120820"><p id="vpc_apiv3_0012__p4323121484"><a name="vpc_apiv3_0012__li332352120820"></a><a name="li332352120820"></a>Definition: IP address version of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li1632319211688"><p id="vpc_apiv3_0012__p153231321482"><a name="vpc_apiv3_0012__li1632319211688"></a><a name="li1632319211688"></a>Range:</p>
|
|
<ul id="vpc_apiv3_0012__ul18324921387"><li id="vpc_apiv3_0012__li193244217813"><p id="vpc_apiv3_0012__p103241421887"><a name="vpc_apiv3_0012__li193244217813"></a><a name="li193244217813"></a>IPv4</p>
|
|
</li><li id="vpc_apiv3_0012__li1332412211288"><p id="vpc_apiv3_0012__p63248211810"><a name="vpc_apiv3_0012__li1332412211288"></a><a name="li1332412211288"></a>IPv6</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row732082111810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p33241621685">multiport</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p12324142115817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul4324102114819"><li id="vpc_apiv3_0012__li20324721181"><p id="vpc_apiv3_0012__p73240214815"><a name="vpc_apiv3_0012__li20324721181"></a><a name="li20324721181"></a>Definition: Port range of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li1532442120815"><p id="vpc_apiv3_0012__p1932422111818"><a name="vpc_apiv3_0012__li1532442120815"></a><a name="li1532442120815"></a>Range: The value can be a single port (80), a port range (1-30), or inconsecutive ports separated by commas (22,3389,80).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row15320112113816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p183241211484">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p103243216810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul63249212088"><li id="vpc_apiv3_0012__li532417216811"><p id="vpc_apiv3_0012__p9324121988"><a name="vpc_apiv3_0012__li532417216811"></a><a name="li532417216811"></a>Definition: Action of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li932452113820"><p id="vpc_apiv3_0012__p332411211984"><a name="vpc_apiv3_0012__li932452113820"></a><a name="li932452113820"></a>Range:</p>
|
|
<ul id="vpc_apiv3_0012__ul53241213819"><li id="vpc_apiv3_0012__li1932411211687"><p id="vpc_apiv3_0012__p432452116820"><a name="vpc_apiv3_0012__li1932411211687"></a><a name="li1932411211687"></a><strong id="vpc_apiv3_0012__b15324182113816">allow</strong></p>
|
|
</li><li id="vpc_apiv3_0012__li1332415211281"><p id="vpc_apiv3_0012__p1032415211286"><a name="vpc_apiv3_0012__li1332415211281"></a><a name="li1332415211281"></a><strong id="vpc_apiv3_0012__b12324142114817">deny</strong></p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row43201921588"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p632514211584">priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p532513211188">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul4325192117814"><li id="vpc_apiv3_0012__li1732518211482"><p id="vpc_apiv3_0012__p1732522111818"><a name="vpc_apiv3_0012__li1732518211482"></a><a name="li1732518211482"></a>Definition: Priority of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li13254214817"><p id="vpc_apiv3_0012__p173259211481"><a name="vpc_apiv3_0012__li13254214817"></a><a name="li13254214817"></a>Range: The value is from 1 to 100. The value 1 indicates the highest priority.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row332017212084"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p8325421989">remote_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p2325132110812">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul1832516214813"><li id="vpc_apiv3_0012__li13325192111810"><p id="vpc_apiv3_0012__p1032516212814"><a name="vpc_apiv3_0012__li13325192111810"></a><a name="li13325192111810"></a>Definition: ID of the remote security group of a security group rule. If the action of the rule is <strong id="vpc_apiv3_0012__b163256217811">allow</strong>, the traffic from the remote security group is allowed. If the action of the rule is <strong id="vpc_apiv3_0012__b1432513216817">deny</strong>, the traffic from the remote security group is denied.</p>
|
|
</li><li id="vpc_apiv3_0012__li1532592115810"><p id="vpc_apiv3_0012__p15325521789"><a name="vpc_apiv3_0012__li1532592115810"></a><a name="li1532592115810"></a>Range: ID of an existing security group.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row16320102112813"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p173254216819">remote_ip_prefix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p113251121386">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul332582110815"><li id="vpc_apiv3_0012__li113258214816"><p id="vpc_apiv3_0012__p13325172116818"><a name="vpc_apiv3_0012__li113258214816"></a><a name="li113258214816"></a>Definition: Remote IP address of a security group rule.</p>
|
|
<ul id="vpc_apiv3_0012__ul5325121181"><li id="vpc_apiv3_0012__li1932592117816"><p id="vpc_apiv3_0012__p13252211685"><a name="vpc_apiv3_0012__li1932592117816"></a><a name="li1932592117816"></a>If <strong id="vpc_apiv3_0012__b93268214820">direction</strong> is set to <strong id="vpc_apiv3_0012__b93262219817">egress</strong>, the IP address is the outbound destination and will be accessed by instances in the security group.</p>
|
|
</li><li id="vpc_apiv3_0012__li123265216820"><p id="vpc_apiv3_0012__p193261521588"><a name="vpc_apiv3_0012__li123265216820"></a><a name="li123265216820"></a>If <strong id="vpc_apiv3_0012__b1232614211188">direction</strong> is set to <strong id="vpc_apiv3_0012__b232611211487">ingress</strong>, the IP address is the inbound source and will access the instances in the security group.</p>
|
|
</li></ul>
|
|
</li><li id="vpc_apiv3_0012__li23268211182"><p id="vpc_apiv3_0012__p14326421681"><a name="vpc_apiv3_0012__li23268211182"></a><a name="li23268211182"></a>Range: CIDR notation format. If an IP address is transferred in the request, the IP address is automatically formatted with /32 as the subnet mask, for example, 192.168.21.45/32.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row12320621487"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p0326172111813">remote_address_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p6326162120817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul93261721387"><li id="vpc_apiv3_0012__li143261421388"><p id="vpc_apiv3_0012__p0326182120813"><a name="vpc_apiv3_0012__li143261421388"></a><a name="li143261421388"></a>Definition: ID of the remote IP address group of a security group rule.</p>
|
|
</li><li id="vpc_apiv3_0012__li1732615211819"><p id="vpc_apiv3_0012__p16326192110819"><a name="vpc_apiv3_0012__li1732615211819"></a><a name="li1732615211819"></a>Range: ID of an existing IP address group.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row23201216812"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p143261211986">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p193265211811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul15326221986"><li id="vpc_apiv3_0012__li1632618212081"><p id="vpc_apiv3_0012__p732614211686"><a name="vpc_apiv3_0012__li1632618212081"></a><a name="li1632618212081"></a>Definition: Time when a security group rule was created.</p>
|
|
</li><li id="vpc_apiv3_0012__li4326162112818"><p id="vpc_apiv3_0012__p23265218813"><a name="vpc_apiv3_0012__li4326162112818"></a><a name="li4326162112818"></a>Range: UTC time in the format of yyyy-MM-ddTHH:mm:ssZ</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row632019215810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p10327421584">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p12327182115817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul23271921988"><li id="vpc_apiv3_0012__li03275216819"><p id="vpc_apiv3_0012__p8327621284"><a name="vpc_apiv3_0012__li03275216819"></a><a name="li03275216819"></a>Definition: Time when a security group rule was updated.</p>
|
|
</li><li id="vpc_apiv3_0012__li3327142111812"><p id="vpc_apiv3_0012__p17327521487"><a name="vpc_apiv3_0012__li3327142111812"></a><a name="li3327142111812"></a>Range: UTC time in the format of yyyy-MM-ddTHH:mm:ssZ</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiv3_0012__row123203214811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="vpc_apiv3_0012__p193277211683">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="vpc_apiv3_0012__p23271821785">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><ul id="vpc_apiv3_0012__ul5327202118817"><li id="vpc_apiv3_0012__li332714211987"><p id="vpc_apiv3_0012__p1032719216813"><a name="vpc_apiv3_0012__li332714211987"></a><a name="li332714211987"></a>Definition: ID of the project that a security group rule belongs to.</p>
|
|
</li><li id="vpc_apiv3_0012__li1032718211888"><p id="vpc_apiv3_0012__p163271121582"><a name="vpc_apiv3_0012__li1032718211888"></a><a name="li1032718211888"></a>Range: None</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section15507217812"><h4 class="sectiontitle">Example Requests</h4><p id="vpc_apiv3_0012__p19550162117814">Querying the details of a security group</p>
|
|
<pre class="screen" id="vpc_apiv3_0012__screen65501218814">GET https://{Endpoint}/v3/{project_id}/vpc/security-groups/69c999ad-d9ef-4d79-94fd-35e6ceb75325</pre>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section555017214820"><h4 class="sectiontitle">Example Responses</h4><p id="vpc_apiv3_0012__p1655020215810"><strong id="vpc_apiv3_0012__b115501021482">Status code: 200</strong></p>
|
|
<p id="vpc_apiv3_0012__p1155015211185">Normal response to the GET operation. For more status codes, see <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
<pre class="screen" id="vpc_apiv3_0012__screen1155072115813">{
|
|
"security_group" : {
|
|
"id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"name" : "security_group_1",
|
|
"project_id" : "060576782980d5762f9ec014dd2f1148",
|
|
"description" : "security group description",
|
|
"enterprise_project_id" : 0,
|
|
"tags" : [ {
|
|
"key" : "a",
|
|
"value" : "b"
|
|
} ],
|
|
"security_group_rules" : [ {
|
|
"id" : "f11a3824-ac19-4fad-b4f1-c5f4a6dd0a80",
|
|
"project_id" : "060576782980d5762f9ec014dd2f1148",
|
|
"security_group_id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"remote_group_id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"direction" : "ingress",
|
|
"description" : "",
|
|
"created_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"updated_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"ethertype" : "IPv6",
|
|
"action" : "allow",
|
|
"priority" : 100,
|
|
"protocol" : null,
|
|
"multiport" : null,
|
|
"remote_ip_prefix" : null,
|
|
"remote_address_group_id" : null
|
|
}, {
|
|
"id" : "3d6480e8-9ea4-46dc-bb1b-8db190cd5677",
|
|
"project_id" : "060576782980d5762f9ec014dd2f1148",
|
|
"security_group_id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"direction" : "egress",
|
|
"description" : "",
|
|
"created_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"updated_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"ethertype" : "IPv6",
|
|
"action" : "allow",
|
|
"priority" : 100,
|
|
"protocol" : null,
|
|
"multiport" : null,
|
|
"remote_ip_prefix" : null,
|
|
"remote_group_id" : null,
|
|
"remote_address_group_id" : null
|
|
}, {
|
|
"id" : "9581f18c-1fdd-43da-ace9-7758a56ef28a",
|
|
"project_id" : "060576782980d5762f9ec014dd2f1148",
|
|
"security_group_id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"direction" : "egress",
|
|
"description" : "",
|
|
"created_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"updated_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"ethertype" : "IPv4",
|
|
"action" : "allow",
|
|
"priority" : 100,
|
|
"protocol" : null,
|
|
"multiport" : null,
|
|
"remote_ip_prefix" : null,
|
|
"remote_group_id" : null,
|
|
"remote_address_group_id" : null
|
|
}, {
|
|
"id" : "a3ba270e-e58b-432d-a912-aeb7eace9fb8",
|
|
"project_id" : "060576782980d5762f9ec014dd2f1148",
|
|
"security_group_id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"remote_group_id" : "69c999ad-d9ef-4d79-94fd-35e6ceb75325",
|
|
"direction" : "ingress",
|
|
"description" : "",
|
|
"created_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"updated_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"ethertype" : "IPv4",
|
|
"action" : "allow",
|
|
"priority" : 100,
|
|
"protocol" : null,
|
|
"multiport" : null,
|
|
"remote_ip_prefix" : null,
|
|
"remote_address_group_id" : null
|
|
} ],
|
|
"created_at" : "2020-07-09T05:56:27.000+00:00",
|
|
"updated_at" : "2020-07-09T05:56:27.000+00:00"
|
|
},
|
|
"request_id" : "a8cf4f79ca3c22ca685e7e8872e8c20b"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section1455116211587"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiv3_0012__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="vpc_apiv3_0012__row113328217820"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="vpc_apiv3_0012__p65511321588">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="vpc_apiv3_0012__p135511021980">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiv3_0012__row233252118810"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="vpc_apiv3_0012__p6551192119815">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="vpc_apiv3_0012__p145511211183">Normal response to the GET operation. For more status codes, see <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_apiv3_0012__section5551162115818"><h4 class="sectiontitle">Error Codes</h4><p id="vpc_apiv3_0012__p9551921580">See <a href="vpc_api_0003.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpc_apiv3_0009.html">Security Group</a></div>
|
|
</div>
|
|
</div>
|
|
|