forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
245 lines
25 KiB
HTML
245 lines
25 KiB
HTML
<a name="EN-US_TOPIC_0090187681"></a><a name="EN-US_TOPIC_0090187681"></a>
|
|
|
|
<h1 class="topictitle1">Querying Details About a Security Group (Discarded)</h1>
|
|
<div id="body1514024530118"><div class="section" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_section33142240"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p11842506">This API is used to query details about a security group.</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p1176725611507">This API can only query the inbound security group rules. To query the outbound security group rules, see "Querying a Security Group" in "Security Group (Native OpenStack API)" in the <em id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_i84235269716461">Virtual Private Cloud API Reference</em>.</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972662_p1146061620560">This API has been discarded. Use the API described in section "Security Group (OpenStack Neutron APIs) > Querying a Security Group" in <em id="EN-US_TOPIC_0090187681__i226420012156">Virtual Private Network API Reference</em>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_section29844704"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0090187681__p321954713411">GET /v2/{project_id}/os-security-groups/{security_group_id}</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p66228246145352">GET /v2.1/{project_id}/os-security-groups/{security_group_id}</p>
|
|
<div class="p" id="EN-US_TOPIC_0090187681__p7326428142418"><a href="#EN-US_TOPIC_0090187681__en-us_topic_0057972663_table55945983">Table 1</a> describes the parameters in the URI.
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table55945983"></a><a name="en-us_topic_0057972663_table55945983"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table55945983" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row11302482"><th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.2.4.2.2.4.1.1"><p id="EN-US_TOPIC_0090187681__p5187119">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.2.4.2.2.4.1.2"><p id="EN-US_TOPIC_0090187681__p17503500">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.2.4.2.2.4.1.3"><p id="EN-US_TOPIC_0090187681__p8497414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row49888896"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p14468758">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p31118786">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__p37593705">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row3928161611210"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p4928516101217">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p18928816181213">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p292821613128">Specifies the security group ID, which is specified in the URI.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_section1501966"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p1835172143213">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_section13517702"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0090187681__p3267163619244"><a href="#EN-US_TOPIC_0090187681__en-us_topic_0057972663_table50358210">Table 2</a> describes the response parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table50358210"></a><a name="en-us_topic_0057972663_table50358210"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table50358210" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row59455556"><th align="left" class="cellrowborder" valign="top" width="29.75%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0090187681__en-us_topic_0058745339_p39560242204918">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.46%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0090187681__en-us_topic_0058745339_p50263001204918">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.79%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0090187681__en-us_topic_0058745339_p2596798204918">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row49313939"><td class="cellrowborder" valign="top" width="29.75%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p35006119">security_group</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p46619622"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.46%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p18093058">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.79%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p60087944">Specifies the security group. For details, see <a href="#EN-US_TOPIC_0090187681__en-us_topic_0057972663_table35285314">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table35285314"></a><a name="en-us_topic_0057972663_table35285314"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table35285314" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b897031316622">security_group</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row39516413"><th align="left" class="cellrowborder" valign="top" width="28.54%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0090187681__p1383765811115">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.54%" id="mcps1.3.4.4.2.4.1.2"><p id="EN-US_TOPIC_0090187681__p883715815113">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.92%" id="mcps1.3.4.4.2.4.1.3"><p id="EN-US_TOPIC_0090187681__p98533582112">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row54881489"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p16215635">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p548500816121">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p3143429">Specifies information about a security group. It must contain 0 to 255 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row28290863"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p9858548">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p347153016121">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p47953287">Specifies the security group ID in UUID format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row28926407"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p61337593">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p4539265916121">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p53855148">Specifies the security group name. It must contain 0 to 255 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row14934289"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p1717931">rules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p125837516121">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p30423852">Specifies security group rules. For details, see <a href="#EN-US_TOPIC_0090187681__en-us_topic_0057972663_table19372405">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row5379216"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p33063388">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p3987464816121">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p59062984">Specifies the tenant or project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table19372405"></a><a name="en-us_topic_0057972663_table19372405"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table19372405" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0090187681__b161041010">security_group_rule</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row4839561"><th align="left" class="cellrowborder" valign="top" width="28.54%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0090187681__p175981212129">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.54%" id="mcps1.3.4.5.2.4.1.2"><p id="EN-US_TOPIC_0090187681__p1759810131216">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.92%" id="mcps1.3.4.5.2.4.1.3"><p id="EN-US_TOPIC_0090187681__p2059812110124">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row4945408"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p56578005161223">parent_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p18781264161223">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p9733511161223">Specifies the associated security group ID in UUID format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row63243911"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p26945308161223">ip_protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p9056775161223">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p55279498161223">Specifies the protocol type or the IP protocol number. The value can be <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b84235270618469">icmp</strong>, <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b84235270619548">tcp</strong>, <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b842352706184613">udp</strong>, or the IP protocol number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row56252285"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p30626161161223">from_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p4441238161223">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p6386144517180">Specifies the start port number. The value ranges from <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b842352706202922">1</strong> to <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b842352706202927">65,535</strong> and cannot be greater than <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b84235270692028">to_port</strong>.</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p30133528161223">When <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b842352706184658">ip_protocol</strong> is <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b84235270618473">icmp</strong>, this parameter indicates the ICMP type field with a length from 0 to 255 characters.</p>
|
|
<div class="note" id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_note136113314412"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_p203633310418">The ICMP message type is determined by the type field and code field in the packet. For details, see <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_b842352706145053">Appendix</strong> > <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_b842352706145058">ICMP-Port Range Relationship Table</strong> in <em id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_i84235269714516">Virtual Private Cloud API Reference</em>. <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_b441067081144424">port_range_min</strong> indicates the ICMP type, and <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057973221_b55704280614455">port_range_max</strong> indicates the ICMP code.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row63695501"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p41230774161223">to_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p37983567161223">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p18967244171848">Specifies the stop port number. The value ranges from 1 to 65,535 and cannot be less than <strong id="EN-US_TOPIC_0090187681__b493472675">from_port</strong>.</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p1492837161223">When <strong id="EN-US_TOPIC_0090187681__b1212546076">ip_protocol</strong> is <strong id="EN-US_TOPIC_0090187681__b502065518">icmp</strong>, this parameter indicates the ICMP code field with a length from 0 to 255 characters.</p>
|
|
<div class="note" id="EN-US_TOPIC_0090187681__note78601422175013"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0090187681__p11860122195012">The ICMP message type is determined by the type field and code field in the packet. For details, see <strong id="EN-US_TOPIC_0090187681__b774449102">Appendix</strong> > <strong id="EN-US_TOPIC_0090187681__b1244160605">ICMP-Port Range Relationship Table</strong> in <em id="EN-US_TOPIC_0090187681__i460077493">Virtual Private Cloud API Reference</em>. <strong id="EN-US_TOPIC_0090187681__b16959889">port_range_min</strong> indicates the ICMP type, and <strong id="EN-US_TOPIC_0090187681__b1620133508">port_range_max</strong> indicates the ICMP code.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row43938279"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p6965923161223">ip_range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p12065754161223">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p6066882171936">Specifies the peer IP segment in CIDR format. For details, see <a href="#EN-US_TOPIC_0090187681__en-us_topic_0057972663_table4101480163218">Table 5</a>.</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p55778039161223">Specify either <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b1800397364144646">ip_range</strong> or <strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b1399083018144646">group</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row16612996"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p66972938161223">group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p4606072161223">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p41556366172037">Specifies the name of the peer security group and the ID of the tenant in the peer security group. For details, see <a href="#EN-US_TOPIC_0090187681__en-us_topic_0057972663_table9527961163416">Table 6</a>.</p>
|
|
<p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p59656689161223">Specify either <strong id="EN-US_TOPIC_0090187681__b1470448180">ip_range</strong> or <strong id="EN-US_TOPIC_0090187681__b1916432064">group</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row47280229"><td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p40774675161223">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.54%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p61404227161223">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.92%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p13931595161223">Specifies the security group rule ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table4101480163218"></a><a name="en-us_topic_0057972663_table4101480163218"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table4101480163218" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="EN-US_TOPIC_0090187681__b637597071">ip_range</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row55642344163218"><th align="left" class="cellrowborder" valign="top" width="30.023002300230022%" id="mcps1.3.4.6.2.4.1.1"><p id="EN-US_TOPIC_0090187681__p17550121241216">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.792979297929794%" id="mcps1.3.4.6.2.4.1.2"><p id="EN-US_TOPIC_0090187681__p7565312191212">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.184018401840184%" id="mcps1.3.4.6.2.4.1.3"><p id="EN-US_TOPIC_0090187681__p12565171216127">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row5649056163218"><td class="cellrowborder" valign="top" width="30.023002300230022%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p54920430163218">cidr</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.792979297929794%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p19369856163218">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.184018401840184%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p48550802163218">Specifies the peer IP segment in CIDR format.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table9527961163416"></a><a name="en-us_topic_0057972663_table9527961163416"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_table9527961163416" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_b842352706185646">group</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row57542164163416"><th align="left" class="cellrowborder" valign="top" width="29.690000000000005%" id="mcps1.3.4.7.2.4.1.1"><p id="EN-US_TOPIC_0090187681__p792151481211">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.460000000000004%" id="mcps1.3.4.7.2.4.1.2"><p id="EN-US_TOPIC_0090187681__p199211514141217">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.85%" id="mcps1.3.4.7.2.4.1.3"><p id="EN-US_TOPIC_0090187681__p39211914131219">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row46600064163416"><td class="cellrowborder" valign="top" width="29.690000000000005%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p16508853163416">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.460000000000004%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p62148702163416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.85%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p4179246163416">Specifies the ID of the tenant of the peer security group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_row37613216163416"><td class="cellrowborder" valign="top" width="29.690000000000005%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p26771660163416">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.460000000000004%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p21020848163416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.85%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_p9073859163416">Specifies the name of the peer security group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_section54550461"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_screen25100141">GET https://{endpoint}/v2/bb1118612ba64af3a6ea63a1bdcaa5ae/os-security-groups/81f1d23b-b1e2-42cd-bdee-359b4a065a42
|
|
GET https://{endpoint}/v2.1/bb1118612ba64af3a6ea63a1bdcaa5ae/os-security-groups/81f1d23b-b1e2-42cd-bdee-359b4a065a42</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0090187681__section19105192262719"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0090187681__screen3111162202713">{
|
|
"security_group": {
|
|
"rules": [],
|
|
"tenant_id": "bb1118612ba64af3a6ea63a1bdcaa5ae",
|
|
"id": "81f1d23b-b1e2-42cd-bdee-359b4a065a42",
|
|
"name": "test-sg",
|
|
"description": "desc-sg"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_en-us_topic_0020212692_section22960139"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0090187681__en-us_topic_0057972663_en-us_topic_0020212692_p23670760">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0267427144.html">Security Group Management (OpenStack Nova APIs)</a></div>
|
|
</div>
|
|
</div>
|
|
|