doc-exports/docs/vpc/api-ref/vpc_sg02_0002.html
Qin Ying, Fan 310d2d9eb1 VPC API 20230106 version
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2024-02-06 08:38:37 +00:00

279 lines
22 KiB
HTML

<a name="vpc_sg02_0002"></a><a name="vpc_sg02_0002"></a>
<h1 class="topictitle1">Querying a Security Group</h1>
<div id="body1495612290168"><div class="section" id="vpc_sg02_0002__section1267425416057"><h4 class="sectiontitle">Function</h4><p id="vpc_sg02_0002__p3808600416057">This API is used to query details about a specific security group.</p>
</div>
<div class="section" id="vpc_sg02_0002__section875125616057"><h4 class="sectiontitle">URI</h4><p id="vpc_sg02_0002__p13978170156">GET /v2.0/security-groups/{security_group_id}</p>
</div>
<div class="section" id="vpc_sg02_0002__section2359582416057"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_sg02_0002__p4339653616057">None</p>
</div>
<div class="section" id="vpc_sg02_0002__section1724614218503"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_sg02_0002__screen09442157507">GET https://{Endpoint}/v2.0/security-groups/0431c9c5-1660-42e0-8a00-134bec7f03e2</pre>
</div>
<div class="section" id="vpc_sg02_0002__section486156316057"><h4 class="sectiontitle">Response Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_sg02_0002__table160014516057" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Response parameter</caption><thead align="left"><tr id="vpc_sg02_0002__row2053996016057"><th align="left" class="cellrowborder" valign="top" width="23.169999999999998%" id="mcps1.3.5.2.2.4.1.1"><p id="vpc_sg02_0002__p1331511416057">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.61%" id="mcps1.3.5.2.2.4.1.2"><p id="vpc_sg02_0002__p3394174716057">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51.22%" id="mcps1.3.5.2.2.4.1.3"><p id="vpc_sg02_0002__p1630093716057">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_sg02_0002__row4208527116057"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.5.2.2.4.1.1 "><p id="vpc_sg02_0002__p4615654016057">security_group</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.5.2.2.4.1.2 "><p id="vpc_sg02_0002__p2281800716057"><a href="#vpc_sg02_0002__table513726041607">security_group </a>object</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.5.2.2.4.1.3 "><p id="vpc_sg02_0002__p1778085216057">Specifies the security group. For details, see <a href="#vpc_sg02_0002__table513726041607">Table 2</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="vpc_sg02_0002__table513726041607"></a><a name="table513726041607"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_sg02_0002__table513726041607" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="vpc_sg02_0002__b18249118151415">Security Group</strong> objects</caption><thead align="left"><tr id="vpc_sg02_0002__row72893461607"><th align="left" class="cellrowborder" valign="top" width="26.669999999999998%" id="mcps1.3.5.3.2.4.1.1"><p id="vpc_sg02_0002__p647825491607"><strong id="vpc_sg02_0002__b93861810191418">Attribute</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.330000000000002%" id="mcps1.3.5.3.2.4.1.2"><p id="vpc_sg02_0002__p245230881607"><strong id="vpc_sg02_0002__b143174114145">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="vpc_sg02_0002__p4542071607"><strong id="vpc_sg02_0002__b197912112140">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_sg02_0002__row284118681607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p6322881607">id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p206339641607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p538811831607">Specifies the security group ID.</p>
<p id="vpc_sg02_0002__p7631141813810">This parameter is not mandatory when you query security groups.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__row487759591607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p499705331607">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p26621541607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p10487112">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_sg02_0002__row356666781607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p270644691607">name</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p426717071607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p29740751607">Specifies the security group name.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__row5261561607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p76095411607">description</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p597100051607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p40269061607">Provides supplementary information about the security group.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__row141788771607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p574773991607">security_group_rules</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p263715271607">Array of <a href="#vpc_sg02_0002__table655457801607">Security Group Rule</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p577222241607">Specifies the security group rule list. For details, see <a href="#vpc_sg02_0002__table655457801607">Table 3</a>.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__row19560720141817"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p870051413911">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p15700614790">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p99794297306">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_sg02_0002__row5768162761818"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p1953114119914">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p595318416919">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p1395374115919">Specifies the time (UTC) when the security group is created.</p>
<p id="vpc_sg02_0002__p65980291419">Format: <em id="vpc_sg02_0002__i557617524147">yyyy-MM-ddTHH:mm:ss</em></p>
</td>
</tr>
<tr id="vpc_sg02_0002__row4242824111816"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_sg02_0002__p139719548912">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_sg02_0002__p53971154594">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_sg02_0002__p1339713549918">Specifies the time (UTC) when the security group is updated.</p>
<p id="vpc_sg02_0002__p4739012101210">Format: <em id="vpc_sg02_0002__i127588351519">yyyy-MM-ddTHH:mm:ss</em></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="vpc_sg02_0002__table655457801607"></a><a name="table655457801607"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_sg02_0002__table655457801607" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="vpc_sg02_0002__vpc_sg02_0006_b842352706151318">Security Group Rule</strong> objects</caption><thead align="left"><tr id="vpc_sg02_0002__vpc_sg02_0006_row54478641607"><th align="left" class="cellrowborder" valign="top" width="26.669999999999998%" id="mcps1.3.5.4.2.4.1.1"><p id="vpc_sg02_0002__vpc_sg02_0006_p389969021607"><strong id="vpc_sg02_0002__vpc_sg02_0006_b195868418291">Attribute</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.330000000000002%" id="mcps1.3.5.4.2.4.1.2"><p id="vpc_sg02_0002__vpc_sg02_0006_p36789391607"><strong id="vpc_sg02_0002__vpc_sg02_0006_b582815515290">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.4.2.4.1.3"><p id="vpc_sg02_0002__vpc_sg02_0006_p433861031607"><strong id="vpc_sg02_0002__vpc_sg02_0006_b198338642916">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_sg02_0002__vpc_sg02_0006_row134774871607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p269083981607">id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p630670281607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p334792201607">Specifies the security group rule ID.</p>
<p id="vpc_sg02_0002__vpc_sg02_0006_p529374054010">This parameter is not mandatory when you query security group rules.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row250554771607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p254411021607">description</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p505368621607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p480145951607">Provides supplementary information about the security group rule.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row569401671607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p115724181607">security_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p615991711607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p587796621607">Specifies the ID of the belonged security group.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row654332091607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p113008931607">remote_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p170542961607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p141218971607">Specifies the peer ID of the belonged security group.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row9932071607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p657989401607">direction</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p507988391607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p570991491607">Specifies the direction of the traffic for which the security group rule takes effect.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row97529031607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p478834691607">remote_ip_prefix</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p622759951607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p146708701607">Specifies the peer IP address segment.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row315033981607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p163656291607">protocol</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p628340441607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p99902671607">Specifies the protocol type or the IP protocol number.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row551583771607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p97886331607">port_range_max</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p343603851607">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p188144701607">Specifies the maximum port number. When ICMP is used, the value is the ICMP code.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row456604071607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p630384091607">port_range_min</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p337362901607">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p258562691607">Specifies the minimum port number. If the ICMP protocol is used, this parameter indicates the ICMP type.</p>
<p id="vpc_sg02_0002__vpc_sg02_0006_p5690808615417">When the TCP or UDP protocol is used, both <strong id="vpc_sg02_0002__vpc_sg02_0006_b84235270621055">port_range_max</strong> and <strong id="vpc_sg02_0002__vpc_sg02_0006_b8423527062112">port_range_min</strong> must be specified, and the <strong id="vpc_sg02_0002__vpc_sg02_0006_b43870256421149">port_range_max</strong> value must be greater than the <strong id="vpc_sg02_0002__vpc_sg02_0006_b70589128621159">port_range_min</strong> value.</p>
<p id="vpc_sg02_0002__vpc_sg02_0006_p4241072615417">When the ICMP protocol is used, if you specify the ICMP code (<strong id="vpc_sg02_0002__vpc_sg02_0006_b84235270621317">port_range_max</strong>), you must also specify the ICMP type (<strong id="vpc_sg02_0002__vpc_sg02_0006_b84235270621326">port_range_min</strong>).</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row360773491607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p364292801607">ethertype</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p339523071607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p34728681607">Specifies the network type.</p>
<p id="vpc_sg02_0002__vpc_sg02_0006_p568898621607">IPv4 and IPv6 are supported.</p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row532124261607"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p593368391607">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p130282191607">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p10487112">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row226972613121"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p114291339201219">remote_address_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p6429183913122">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_sg02_0002__vpc_sg02_0006_ul871718283154"><li id="vpc_sg02_0002__vpc_sg02_0006_vpc_sg01_0001_li106781571627">Specifies the remote IP address group ID.</li><li id="vpc_sg02_0002__vpc_sg02_0006_vpc_sg01_0001_li767815571025">The value is mutually exclusive with parameters <strong id="vpc_sg02_0002__vpc_sg02_0006_vpc_sg01_0001_b1185142797">remote_ip_prefix</strong> and <strong id="vpc_sg02_0002__vpc_sg02_0006_vpc_sg01_0001_b64611932598">remote_group_id</strong>.</li></ul>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row11992111863317"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p169261732143314">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p69311132153317">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p13646103310">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row10903153923318"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p6634195714335">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p12638157153319">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p1364635713332">Specifies the time (UTC) when the security group rule is created.</p>
<p id="vpc_sg02_0002__vpc_sg02_0006_p65980291419">Format: <em id="vpc_sg02_0002__vpc_sg02_0006_i1034411227245">yyyy-MM-ddTHH:mm:ss</em></p>
</td>
</tr>
<tr id="vpc_sg02_0002__vpc_sg02_0006_row1797311427338"><td class="cellrowborder" valign="top" width="26.669999999999998%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_sg02_0002__vpc_sg02_0006_p1725445103416">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="23.330000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_sg02_0002__vpc_sg02_0006_p192601514345">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_sg02_0002__vpc_sg02_0006_p1127018513343">Specifies the time (UTC) when the security group rule is updated.</p>
<p id="vpc_sg02_0002__vpc_sg02_0006_p19850105451210">Format: <em id="vpc_sg02_0002__vpc_sg02_0006_i1647183316242">yyyy-MM-ddTHH:mm:ss</em></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="vpc_sg02_0002__section6307928016057"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="vpc_sg02_0002__screen1717633703214">{
"security_group": {
"id": "0431c9c5-1660-42e0-8a00-134bec7f03e2",
"name": "sg-ad3f",
"description": "",
"tenant_id": "bbfe8c41dd034a07bebd592bf03b4b0c",
"project_id": "bbfe8c41dd034a07bebd592bf03b4b0c",
"security_group_rules": [
{
"id": "d90e55ba-23bd-4d97-b722-8cb6fb485d69",
"direction": "ingress",
"protocol": null,
"ethertype": "IPv4",
"description": null,
"remote_group_id": "0431c9c5-1660-42e0-8a00-134bec7f03e2",
"remote_ip_prefix": null,
"tenant_id": "bbfe8c41dd034a07bebd592bf03b4b0c",
"port_range_max": null,
"port_range_min": null,
"security_group_id": "0431c9c5-1660-42e0-8a00-134bec7f03e2",
"remote_address_group_id": "0150a3a7-82ca-4569-865c-04e46e5e9249"
},
{
"id": "aecff4d4-9ce9-489c-86a3-803aedec65f7",
"direction": "egress",
"protocol": null,
"ethertype": "IPv4",
"description": null,
"remote_group_id": null,
"remote_ip_prefix": null,
"tenant_id": "bbfe8c41dd034a07bebd592bf03b4b0c",
"port_range_max": null,
"port_range_min": null,
"security_group_id": "0431c9c5-1660-42e0-8a00-134bec7f03e2",
"remote_address_group_id": null
}
],
"created_at": "2018-09-12T08:24:14",
"updated_at": "2018-09-12T08:24:14"
}
}</pre>
</div>
<div class="section" id="vpc_sg02_0002__section10470352390"><h4 class="sectiontitle">Status Code</h4><p id="vpc_sg02_0002__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="vpc_sg02_0002__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_sg02_0002__p7233105282813">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_sg02_0000.html">Security Group</a></div>
</div>
</div>