forked from docs/doc-exports
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>
273 lines
23 KiB
HTML
273 lines
23 KiB
HTML
<a name="vpc_flow_0004"></a><a name="vpc_flow_0004"></a>
|
|
|
|
<h1 class="topictitle1">Updating a VPC Flow Log</h1>
|
|
<div id="body1548225405722"><div class="section" id="vpc_flow_0004__section16780111824019"><h4 class="sectiontitle">Function</h4><p id="vpc_flow_0004__p108281192407">This API is used to update a VPC flow log.</p>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section137800183409"><h4 class="sectiontitle">URI</h4><p id="vpc_flow_0004__p1828101913402">PUT /v1/{project_id}/fl/flow_logs/{flowlog_id}</p>
|
|
<p id="vpc_flow_0004__p17789155311512"><a href="#vpc_flow_0004__table12780121844016">Table 1</a> describes the parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="vpc_flow_0004__table12780121844016"></a><a name="table12780121844016"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0004__table12780121844016" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_flow_0004__row78286197403"><th align="left" class="cellrowborder" valign="top" width="11.341134113411341%" id="mcps1.3.2.4.2.5.1.1"><p id="vpc_flow_0004__p11828219134015"><strong id="vpc_flow_0004__b1070313552557">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.491649164916492%" id="mcps1.3.2.4.2.5.1.2"><p id="vpc_flow_0004__p4828141913406"><strong id="vpc_flow_0004__b14452155611550">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.08360836083608%" id="mcps1.3.2.4.2.5.1.3"><p id="vpc_flow_0004__p582821914404"><strong id="vpc_flow_0004__b736475795514">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.08360836083608%" id="mcps1.3.2.4.2.5.1.4"><p id="vpc_flow_0004__p2828201984018"><strong id="vpc_flow_0004__b151484586552">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0004__row1382891994017"><td class="cellrowborder" valign="top" width="11.341134113411341%" headers="mcps1.3.2.4.2.5.1.1 "><p id="vpc_flow_0004__p148282198404">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.491649164916492%" headers="mcps1.3.2.4.2.5.1.2 "><p id="vpc_flow_0004__p17828219104017">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.08360836083608%" headers="mcps1.3.2.4.2.5.1.3 "><p id="vpc_flow_0004__p118281719104013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.08360836083608%" headers="mcps1.3.2.4.2.5.1.4 "><p id="vpc_flow_0004__p10487112">Project ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__row5828619154015"><td class="cellrowborder" valign="top" width="11.341134113411341%" headers="mcps1.3.2.4.2.5.1.1 "><p id="vpc_flow_0004__p5828819184010">flowlog_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.491649164916492%" headers="mcps1.3.2.4.2.5.1.2 "><p id="vpc_flow_0004__p6828219104014">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.08360836083608%" headers="mcps1.3.2.4.2.5.1.3 "><p id="vpc_flow_0004__p682841915404">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.08360836083608%" headers="mcps1.3.2.4.2.5.1.4 "><p id="vpc_flow_0004__p7828131904011">Flow log ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section2796518114016"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0004__table16811318174019" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameter</caption><thead align="left"><tr id="vpc_flow_0004__row6828819154020"><th align="left" class="cellrowborder" valign="top" width="10.71%" id="mcps1.3.3.2.2.5.1.1"><p id="vpc_flow_0004__p14828191944011"><strong id="vpc_flow_0004__b154110223565">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.62%" id="mcps1.3.3.2.2.5.1.2"><p id="vpc_flow_0004__p4937658183913"><strong id="vpc_flow_0004__b579310836">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.35%" id="mcps1.3.3.2.2.5.1.3"><p id="vpc_flow_0004__p282861917407"><strong id="vpc_flow_0004__b1828742315616_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="52.32%" id="mcps1.3.3.2.2.5.1.4"><p id="vpc_flow_0004__p11828519204010"><strong id="vpc_flow_0004__b28091025175615">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0004__row1282813194407"><td class="cellrowborder" valign="top" width="10.71%" headers="mcps1.3.3.2.2.5.1.1 "><p id="vpc_flow_0004__p16828181912405">flow_log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.62%" headers="mcps1.3.3.2.2.5.1.2 "><p id="vpc_flow_0004__p16937158183920">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.35%" headers="mcps1.3.3.2.2.5.1.3 "><p id="vpc_flow_0004__p12828919144018"><a href="#vpc_flow_0004__table13828101864013">flow_log</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.32%" headers="mcps1.3.3.2.2.5.1.4 "><p id="vpc_flow_0004__p382861918408"><strong id="vpc_flow_0004__b18370659132814">FlowLog</strong> objects. For details, see <a href="#vpc_flow_0004__table13828101864013">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_flow_0004__table13828101864013"></a><a name="table13828101864013"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0004__table13828101864013" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of the <strong id="vpc_flow_0004__b18491934185619">FlowLog</strong> field</caption><thead align="left"><tr id="vpc_flow_0004__row108280194407"><th align="left" class="cellrowborder" valign="top" width="18.36816318368163%" id="mcps1.3.3.3.2.5.1.1"><p id="vpc_flow_0004__p1482881944012"><strong id="vpc_flow_0004__b14180114215561">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.3.3.2.5.1.2"><p id="vpc_flow_0004__p1282815194401"><strong id="vpc_flow_0004__b1979922018591">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.3.3.2.5.1.3"><p id="vpc_flow_0004__p128281219104013"><strong id="vpc_flow_0004__b1773482145910">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.93530646935306%" id="mcps1.3.3.3.2.5.1.4"><p id="vpc_flow_0004__p108281919174014"><strong id="vpc_flow_0004__b758822265915">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0004__row198285199408"><td class="cellrowborder" valign="top" width="18.36816318368163%" headers="mcps1.3.3.3.2.5.1.1 "><p id="vpc_flow_0004__p5828131912409">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.3.2.5.1.2 "><p id="vpc_flow_0004__p138281119154015">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.3.2.5.1.3 "><p id="vpc_flow_0004__p08282019114019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.93530646935306%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="vpc_flow_0004__ul1573649133311"><li id="vpc_flow_0004__li65731149133314">Flow log name</li><li id="vpc_flow_0004__li15573349113313">The value can contain up to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__row98282194409"><td class="cellrowborder" valign="top" width="18.36816318368163%" headers="mcps1.3.3.3.2.5.1.1 "><p id="vpc_flow_0004__p10828119204019">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.3.2.5.1.2 "><p id="vpc_flow_0004__p19828131994019">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.3.2.5.1.3 "><p id="vpc_flow_0004__p15828181924013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.93530646935306%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="vpc_flow_0004__ul9605816153419"><li id="vpc_flow_0004__li146051916133410">Flow log description</li><li id="vpc_flow_0004__li1560519167342">The value can contain no more than 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__row12374417171619"><td class="cellrowborder" valign="top" width="18.36816318368163%" headers="mcps1.3.3.3.2.5.1.1 "><p id="vpc_flow_0004__p1960820250163">admin_state</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.3.2.5.1.2 "><p id="vpc_flow_0004__p4608525131617">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.3.2.5.1.3 "><p id="vpc_flow_0004__p13608122581620">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.93530646935306%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="vpc_flow_0004__ul1051945714220"><li id="vpc_flow_0004__li19519157154213">Whether to enable the flow log function</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section11972163311119"><h4 class="sectiontitle">Example Request</h4><ul id="vpc_flow_0004__ul1060736101119"><li id="vpc_flow_0004__li66013363117">Change the name of the VPC flow log whose ID is f49f00f1-0f15-470a-a8c5-4e879e461c8d to <strong id="vpc_flow_0004__b3818121322820">flow-log-update</strong>.<pre class="screen" id="vpc_flow_0004__screen19828171914019">PUT https://{Endpoint}/v1/b2782e6708b8475c993e6064bc456bf8/fl/flow_logs/f49f00f1-0f15-470a-a8c5-4e879e461c8d
|
|
|
|
{
|
|
"flow_log": {
|
|
"name": "flow-log-update",
|
|
"description": "update",
|
|
"admin_state": false
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
<p id="vpc_flow_0004__p38287192409"></p>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section4858131834011"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0004__table687451844017" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameter</caption><thead align="left"><tr id="vpc_flow_0004__row1982871904015"><th align="left" class="cellrowborder" valign="top" width="18.18%" id="mcps1.3.5.2.2.4.1.1"><p id="vpc_flow_0004__p118281019184012"><strong id="vpc_flow_0004__b19591146145919">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.25%" id="mcps1.3.5.2.2.4.1.2"><p id="vpc_flow_0004__p1782841917404"><strong id="vpc_flow_0004__b126148165919">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.5.2.2.4.1.3"><p id="vpc_flow_0004__p208281419194014"><strong id="vpc_flow_0004__b787584817592">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0004__row198281219134011"><td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.5.2.2.4.1.1 "><p id="vpc_flow_0004__p1482810192406">flow_log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.25%" headers="mcps1.3.5.2.2.4.1.2 "><p id="vpc_flow_0004__p182821915404"><a href="#vpc_flow_0004__table17299234185110">flow_log</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.5.2.2.4.1.3 "><p id="vpc_flow_0004__p3828141914015"><strong id="vpc_flow_0004__b12172121732911">FlowLog</strong> objects. For details, see <a href="#vpc_flow_0004__table17299234185110">Table 5</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_flow_0004__table17299234185110"></a><a name="table17299234185110"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0004__table17299234185110" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Description of the <strong id="vpc_flow_0004__b1646715895012">FlowLog</strong> field</caption><thead align="left"><tr id="vpc_flow_0004__en-us_topic_0151499961_row1993725815391"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.1"><p id="vpc_flow_0004__en-us_topic_0151499961_p293714582397"><strong id="vpc_flow_0004__b9467148205015">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.5.3.2.4.1.2"><p id="vpc_flow_0004__en-us_topic_0151499961_p149371458113917"><strong id="vpc_flow_0004__b1828742315616_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54%" id="mcps1.3.5.3.2.4.1.3"><p id="vpc_flow_0004__en-us_topic_0151499961_p159376583395"><strong id="vpc_flow_0004__b1546816811507">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0004__en-us_topic_0151499961_row29378583393"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1937205819397">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p5937105873915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul2042752118339"><li id="vpc_flow_0004__li1642742112337">Flow log ID</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row1293725816394"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p20937145883911">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p10937105813391">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul337991543011"><li id="vpc_flow_0004__li63791015133018">Flow log name</li><li id="vpc_flow_0004__li2379141553020">The value can contain up to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row6937758193914"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1793711586397">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p15937135818397">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul095835923313"><li id="vpc_flow_0004__li1995812591333">Project ID</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row8937258173912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p593705817390">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p093712588392">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul1154426163010"><li id="vpc_flow_0004__li131545264308">Flow log description</li><li id="vpc_flow_0004__li71544268301">The value can contain no more than 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row7937205883910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1393795823920">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p10937858133920">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul065112543412"><li id="vpc_flow_0004__li26511625133413">Type of the resource for which that the logs to be collected.</li><li id="vpc_flow_0004__li206511825153419">The value can be:<ul id="vpc_flow_0004__ul176511125113415"><li id="vpc_flow_0004__li186511225103416"><strong id="vpc_flow_0004__b17544144255211">port</strong>: a single network interface.</li><li id="vpc_flow_0004__li2651625143412"><strong id="vpc_flow_0004__b1974347191614">vpc</strong>: All network interfaces in a VPC.</li><li id="vpc_flow_0004__li106511625173410"><strong id="vpc_flow_0004__b12256135016166">network</strong>: All network interfaces in a subnet.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row189371758133919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p693745853910">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1893725843915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul1785754473419"><li id="vpc_flow_0004__li7857164415346">ID of the resource for which that the logs to be collected.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row19371458163912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p11937135813399">traffic_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p159371058143918">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul1366295614347"><li id="vpc_flow_0004__li2662175620343">Type of the traffic for which that the logs to be collected.</li><li id="vpc_flow_0004__li36621356143413">The value can be:<ul id="vpc_flow_0004__ul1766205616345"><li id="vpc_flow_0004__li16626563348"><strong id="vpc_flow_0004__b732111441513">all</strong>: specifies that both accepted and rejected traffic of the specified resource will be logged.</li><li id="vpc_flow_0004__li366215613342"><strong id="vpc_flow_0004__b1342134512516">accept</strong>: specifies that only accepted inbound and outbound traffic of the specified resource will be logged.</li><li id="vpc_flow_0004__li1666215653413"><strong id="vpc_flow_0004__b1495874665113">reject</strong>: specifies that only rejected inbound and outbound traffic of the specified resource will be logged.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row1993795813391"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p11937258153912">log_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1593716589399">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul187751810203512"><li id="vpc_flow_0004__li1577501010350">Log group ID</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row69371358193919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p9937105811399">log_topic_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p3937195853911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul1232516177351"><li id="vpc_flow_0004__li193251417103511">Log topic ID</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row149526285714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1948613611718">admin_state</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p11486936674">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul154618137318"><li id="vpc_flow_0004__li9546131318313">Whether to enable the flow log function</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row102334258716"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p74861036479">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1948613361478">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul12491821389"><li id="vpc_flow_0004__li20841825204218">Flow log status</li><li id="vpc_flow_0004__li109721541134211">The value can be:<ul id="vpc_flow_0004__ul697204113425"><li id="vpc_flow_0004__li199711441164218"><strong id="vpc_flow_0004__b6730121525216">ACTIVE</strong>: Enabled</li><li id="vpc_flow_0004__li209713415421"><strong id="vpc_flow_0004__b84235270619274">DOWN</strong>: Disabled</li><li id="vpc_flow_0004__li597216412420"><strong id="vpc_flow_0004__b1291641811522">ERROR</strong>: Abnormal</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row593715813910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p6937125803920">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p6937105823914">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul1227113165412"><li id="vpc_flow_0004__li10271531155411">Time when the flow log is created</li><li id="vpc_flow_0004__li490133325417">UTC time in the format of yyyy-MM-ddTHH:mm:ss</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row0937358193913"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1793713589392">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_flow_0004__en-us_topic_0151499961_p15937458113912">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_flow_0004__ul16087498548"><li id="vpc_flow_0004__li5608184915547">Time when the flow log is updated</li><li id="vpc_flow_0004__li121143521542">UTC time in the format of yyyy-MM-ddTHH:mm:ss</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section18163353151117"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="vpc_flow_0004__screen1456145019541">{
|
|
"flow_log": {
|
|
"id": "f49f00f1-0f15-470a-a8c5-4e879e461c8d",
|
|
"name": " flow-log-update",
|
|
"description": "update",
|
|
"tenant_id": "b2782e6708b8475c993e6064bc456bf8",
|
|
"resource_type": "port",
|
|
"resource_id": "05c4052d-8d14-488f-aa00-19fea5a25fde",
|
|
"traffic_type": "reject",
|
|
"log_group_id": "05c4052d-8d14-488f-aa00-19fea5a25fdd",
|
|
"log_topic_id": "a9d7dee7-37d2-4cba-a208-a016252aaa63",
|
|
"created_at": "2019-01-14T11:03:02",
|
|
"updated_at": "2019-01-14T12:03:02",
|
|
"status": "DOWN",
|
|
"admin_state": false
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_flow_0004__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_flow_0004__p17281622133910">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_flow_0000.html">VPC Flow Log</a></div>
|
|
</div>
|
|
</div>
|
|
|