forked from laiweijian4/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
268 lines
21 KiB
HTML
268 lines
21 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">Name</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">Specifies the 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">Specifies the VPC flow log ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0004__section2796518114016"><h4 class="sectiontitle">Request Message</h4><ul id="vpc_flow_0004__ul1582841915401"><li id="vpc_flow_0004__li482811915409">Request parameter
|
|
<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="18.18%" id="mcps1.3.3.2.1.1.2.4.1.1"><p id="vpc_flow_0004__p14828191944011"><strong id="vpc_flow_0004__b154110223565">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.25%" id="mcps1.3.3.2.1.1.2.4.1.2"><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="56.57%" id="mcps1.3.3.2.1.1.2.4.1.3"><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="18.18%" headers="mcps1.3.3.2.1.1.2.4.1.1 "><p id="vpc_flow_0004__p16828181912405">flow_log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.25%" headers="mcps1.3.3.2.1.1.2.4.1.2 "><p id="vpc_flow_0004__p12828919144018"><a href="#vpc_flow_0004__table13828101864013">flow_log</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.3.2.1.1.2.4.1.3 "><p id="vpc_flow_0004__p382861918408">Specifies the <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.2.1.2.2.5.1.1"><p id="vpc_flow_0004__p1482881944012"><strong id="vpc_flow_0004__b14180114215561">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.3.2.1.2.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.2.1.2.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.2.1.2.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.2.1.2.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.2.1.2.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.2.1.2.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.2.1.2.2.5.1.4 "><ul id="vpc_flow_0004__ul29861294319"><li id="vpc_flow_0004__li4299123314317">Specifies the VPC flow log name.</li><li id="vpc_flow_0004__li1298614292316">The value can contain no more than 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.2.1.2.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.2.1.2.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.2.1.2.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.2.1.2.2.5.1.4 "><ul id="vpc_flow_0004__ul74054431539"><li id="vpc_flow_0004__li653018461836">Provides supplementary information about the VPC flow log.</li><li id="vpc_flow_0004__li840516431733">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.2.1.2.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.2.1.2.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.2.1.2.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.2.1.2.2.5.1.4 "><p id="vpc_flow_0004__p06081825141614">Specifies whether to enable the VPC flow log function.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="vpc_flow_0004__p5828219174010"></p>
|
|
</li><li id="vpc_flow_0004__li382871994017">Example request<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 Message</h4><ul id="vpc_flow_0004__ul68281019144011"><li id="vpc_flow_0004__li1582861917409">Response parameter
|
|
<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.4.2.1.1.2.4.1.1"><p id="vpc_flow_0004__p118281019184012"><strong id="vpc_flow_0004__b19591146145919">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.25%" id="mcps1.3.4.2.1.1.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.4.2.1.1.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.4.2.1.1.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.4.2.1.1.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.4.2.1.1.2.4.1.3 "><p id="vpc_flow_0004__p3828141914015">Specifies the <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>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.4.2.1.2.2.4.1.1"><p id="vpc_flow_0004__en-us_topic_0151499961_p293714582397"><strong>Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.4.2.1.2.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.4.2.1.2.2.4.1.3"><p id="vpc_flow_0004__en-us_topic_0151499961_p159376583395"><strong>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.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p29371758183911">Specifies the VPC flow log UUID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row1293725816394"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p3618473146">Specifies the VPC flow log name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row6937758193914"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__p165613352211">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row8937258173912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p26023187145">Provides supplementary information about the VPC flow log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row7937205883910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1293717582396">Specifies the type of resource on which to create the VPC flow log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row189371758133919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p893718589392">Specifies the unique resource ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row19371458163912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p49371958143918">Specifies the type of traffic to log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row1993795813391"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p13937458163911">Specifies the log group ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row69371358193919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p8937105811390">Specifies the log topic ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row149526285714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p184867361474">Specifies whether to enable the VPC flow log function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row102334258716"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1092449185">Specifies the VPC flow log status.</p>
|
|
<ul id="vpc_flow_0004__en-us_topic_0151499961_ul12491821389"><li id="vpc_flow_0004__en-us_topic_0151499961_li1649621783"><strong id="vpc_flow_0004__b842352706192644">ACTIVE</strong>: Enabled</li><li id="vpc_flow_0004__en-us_topic_0151499961_li94915211488"><strong id="vpc_flow_0004__b84235270619274">DOWN</strong>: Disabled</li><li id="vpc_flow_0004__en-us_topic_0151499961_li8498211781"><strong id="vpc_flow_0004__b842352706192830">ERROR</strong>: Abnormal fault</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row593715813910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p1193719586393">Specifies the time when the VPC flow log was created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0004__en-us_topic_0151499961_row0937358193913"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.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.4.2.1.2.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.4.2.1.2.2.4.1.3 "><p id="vpc_flow_0004__en-us_topic_0151499961_p293725893919">Specifies the time when the VPC flow log was updated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="vpc_flow_0004__p1784311911407"></p>
|
|
</li><li id="vpc_flow_0004__li284318196409">Example response<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>
|
|
</li></ul>
|
|
</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>
|
|
|