forked from docs/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>
291 lines
25 KiB
HTML
291 lines
25 KiB
HTML
<a name="vpc_flow_0002"></a><a name="vpc_flow_0002"></a>
|
|
|
|
<h1 class="topictitle1">Querying VPC Flow Logs</h1>
|
|
<div id="body1548225405722"><div class="section" id="vpc_flow_0002__section638721504117"><h4 class="sectiontitle">Function</h4><p id="vpc_flow_0002__p1266921544114">This API is used to query all VPC flow logs of the tenant submitting the request. The VPC flow logs are filtered based on the filtering condition.</p>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0002__section1838713156413"><h4 class="sectiontitle">URI</h4><p id="vpc_flow_0002__p366971564114">GET /v1/{project_id}/fl/flow_logs</p>
|
|
<p id="vpc_flow_0002__p107651815220">Example:</p>
|
|
<pre class="screen" id="vpc_flow_0002__screen19478144803918">GET https://{Endpoint}/v1/b2782e6708b8475c993e6064bc456bf8/fl/flow_logs?name=flowlog</pre>
|
|
<p id="vpc_flow_0002__p17789155311512"><a href="#vpc_flow_0002__table238711153416">Table 1</a> describes the parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="vpc_flow_0002__table238711153416"></a><a name="table238711153416"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0002__table238711153416" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_flow_0002__row14669101554118"><th align="left" class="cellrowborder" valign="top" width="32.993299329932995%" id="mcps1.3.2.6.2.5.1.1"><p id="vpc_flow_0002__p166911154415"><strong id="vpc_flow_0002__b1912452434917">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.431443144314432%" id="mcps1.3.2.6.2.5.1.2"><p id="vpc_flow_0002__p18669101519419"><strong id="vpc_flow_0002__b28922248495">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.46154615461546%" id="mcps1.3.2.6.2.5.1.3"><p id="vpc_flow_0002__p26694151414"><strong id="vpc_flow_0002__b516511278495">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="37.11371137113711%" id="mcps1.3.2.6.2.5.1.4"><p id="vpc_flow_0002__p176841515164110"><strong id="vpc_flow_0002__b155321728194918">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0002__row4684415134110"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p1168471519417">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p15684715104120">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p17684121514416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p10487112">Specifies the project ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row20684415194112"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p15684815104119">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p176846156418">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p196847155410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p6684715154116">Specifies the VPC flow log UUID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row468461544117"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p8684121518411">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p868411153419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p268441514413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><ul id="vpc_flow_0002__ul16841015174115"><li id="vpc_flow_0002__li1768491564117">Specifies the VPC flow log name.</li><li id="vpc_flow_0002__li8684131514113">The value can contain no more than 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row1368431515411"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p1668491518416">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p18684161519419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p1968419159414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p1468471534118">Specifies the type of resource on which to create the VPC flow log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row11684121574118"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p968411564111">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p66847153416">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p1368431518417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p268471594117">Specifies the unique resource ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row1568431515411"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p146841715144111">traffic_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p8684111518413">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p15684171513416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p96846151412">Specifies the type of traffic to log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row368416157412"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p1968451514411">log_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p7684015114118">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p4684115144113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p6684715144111">Specifies the log group ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row166842015104110"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p19684171534116">log_topic_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p1684191516418">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p1568411564116">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p186841152412">Specifies the log topic ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row121318184513"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p1613216181558">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p43114521558">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p10311125217516">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p12311152556">Specifies the VPC flow log status.</p>
|
|
<ul id="vpc_flow_0002__ul12491821389"><li id="vpc_flow_0002__li1649621783"><strong id="vpc_flow_0002__b842352706192644">ACTIVE</strong>: Enabled</li><li id="vpc_flow_0002__li94915211488"><strong id="vpc_flow_0002__b84235270619274">DOWN</strong>: Disabled</li><li id="vpc_flow_0002__li8498211781"><strong id="vpc_flow_0002__b842352706192830">ERROR</strong>: Abnormal fault</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row9684201574115"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p1768418154410">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p16684715144119">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p116841415164112">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p2017153116589">Specifies the number of records that will be returned on each page. The value is from 0 to intmax.</p>
|
|
<p id="vpc_flow_0002__p125192338584"><strong id="vpc_flow_0002__vpc_api01_0003_b7164124258">limit</strong> can be used together with <strong id="vpc_flow_0002__vpc_api01_0003_b15985310854">marker</strong>. For details, see the parameter description of <strong id="vpc_flow_0002__vpc_api01_0003_b193281854847">marker</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__row3684171513419"><td class="cellrowborder" valign="top" width="32.993299329932995%" headers="mcps1.3.2.6.2.5.1.1 "><p id="vpc_flow_0002__p1684161564111">marker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.431443144314432%" headers="mcps1.3.2.6.2.5.1.2 "><p id="vpc_flow_0002__p26841315104116">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.46154615461546%" headers="mcps1.3.2.6.2.5.1.3 "><p id="vpc_flow_0002__p1968481564115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.2.6.2.5.1.4 "><p id="vpc_flow_0002__p28526205175853">Specifies a resource ID for pagination query, indicating that the query starts from the next record of the specified resource ID.</p>
|
|
<p id="vpc_flow_0002__p538818488578">This parameter can work together with the parameter <strong id="vpc_flow_0002__vpc_api01_0003_b650614119446">limit</strong>.</p>
|
|
<ul id="vpc_flow_0002__ul12704811125810"><li id="vpc_flow_0002__vpc_api01_0003_li325418407124">If parameters <strong id="vpc_flow_0002__vpc_api01_0003_b736582413514">marker</strong> and <strong id="vpc_flow_0002__vpc_api01_0003_b17435293518">limit</strong> are not passed, all resource records will be returned.</li><li id="vpc_flow_0002__vpc_api01_0003_li1923817171338">If the parameter <strong id="vpc_flow_0002__vpc_api01_0003_b1505159195414">marker</strong> is not passed and the value of parameter <strong id="vpc_flow_0002__vpc_api01_0003_b14146122925417">limit</strong> is set to <strong id="vpc_flow_0002__vpc_api01_0003_b13594516546">10</strong>, the first 10 resource records will be returned.</li><li id="vpc_flow_0002__vpc_api01_0003_li2076741203417">If the value of the parameter <strong id="vpc_flow_0002__vpc_api01_0003_b13589356163415">marker</strong> is set to the resource ID of the 10th record and the value of parameter <strong id="vpc_flow_0002__vpc_api01_0003_b1557415118357">limit</strong> is set to <strong id="vpc_flow_0002__vpc_api01_0003_b10574171193511">10</strong>, the 11th to 20th resource records will be returned.</li><li id="vpc_flow_0002__vpc_api01_0003_li108512113551">If the value of the parameter <strong id="vpc_flow_0002__vpc_api01_0003_b9403193716543">marker</strong> is set to the resource ID of the 10th record and the parameter <strong id="vpc_flow_0002__vpc_api01_0003_b10358823165519">limit</strong> is not passed, resource records starting from the 11th records (including 11th) will be returned.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0002__section15450181516413"><h4 class="sectiontitle">Request Message</h4><ul id="vpc_flow_0002__ul14684181519412"><li id="vpc_flow_0002__li1684141594110">Request parameter<p id="vpc_flow_0002__p13684131519419"><a name="vpc_flow_0002__li1684141594110"></a><a name="li1684141594110"></a>None</p>
|
|
</li></ul>
|
|
<ul id="vpc_flow_0002__ul668416159411"><li id="vpc_flow_0002__li6684191574114">Example request<p id="vpc_flow_0002__p1068441594111"><a name="vpc_flow_0002__li6684191574114"></a><a name="li6684191574114"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0002__section18465111518417"><h4 class="sectiontitle">Response Message</h4><ul id="vpc_flow_0002__ul1468416154419"><li id="vpc_flow_0002__li13684161594110">Response parameter
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0002__table1346521554119" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameter</caption><thead align="left"><tr id="vpc_flow_0002__row4684115164112"><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_0002__p136841215114112"><strong id="vpc_flow_0002__b167561740165013">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_0002__p11684181510415"><strong id="vpc_flow_0002__b145886415502">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_0002__p16847153414"><strong id="vpc_flow_0002__b941164245018">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0002__row9684215134119"><td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="vpc_flow_0002__p3684121513412">flow_logs</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_0002__p13684101534119">Array of <a href="#vpc_flow_0002__table34811015184118">FlowLog</a> objects</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_0002__p668481574120">Specifies the <strong id="vpc_flow_0002__b1287253319279">FlowLog</strong> object list. For details, see <a href="#vpc_flow_0002__table34811015184118">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="p" id="vpc_flow_0002__p7684131510416">
|
|
<div class="tablenoborder"><a name="vpc_flow_0002__table34811015184118"></a><a name="table34811015184118"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_flow_0002__table34811015184118" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of the <strong id="vpc_flow_0002__b1327717276111">FlowLog</strong> field</caption><thead align="left"><tr id="vpc_flow_0002__en-us_topic_0151499961_row1993725815391"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.2.1.2.4.1.1"><p id="vpc_flow_0002__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.1.2.4.1.2"><p id="vpc_flow_0002__en-us_topic_0151499961_p149371458113917"><strong id="vpc_flow_0002__b1721250789">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54%" id="mcps1.3.4.2.1.2.1.2.4.1.3"><p id="vpc_flow_0002__en-us_topic_0151499961_p159376583395"><strong>Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_flow_0002__en-us_topic_0151499961_row29378583393"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1937205819397">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p5937105873915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p29371758183911">Specifies the VPC flow log UUID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row1293725816394"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p20937145883911">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p10937105813391">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p3618473146">Specifies the VPC flow log name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row6937758193914"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1793711586397">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p15937135818397">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__p19640125119213">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row8937258173912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p593705817390">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p093712588392">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p26023187145">Provides supplementary information about the VPC flow log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row7937205883910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1393795823920">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p10937858133920">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__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_0002__en-us_topic_0151499961_row189371758133919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p693745853910">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1893725843915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p893718589392">Specifies the unique resource ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row19371458163912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p11937135813399">traffic_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p159371058143918">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p49371958143918">Specifies the type of traffic to log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row1993795813391"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p11937258153912">log_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1593716589399">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p13937458163911">Specifies the log group ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row69371358193919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p9937105811399">log_topic_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p3937195853911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p8937105811390">Specifies the log topic ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row149526285714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1948613611718">admin_state</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p11486936674">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p184867361474">Specifies whether to enable the VPC flow log function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row102334258716"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p74861036479">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1948613361478">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1092449185">Specifies the VPC flow log status.</p>
|
|
<ul id="vpc_flow_0002__en-us_topic_0151499961_ul12491821389"><li id="vpc_flow_0002__en-us_topic_0151499961_li1649621783"><strong id="vpc_flow_0002__b1327354916">ACTIVE</strong>: Enabled</li><li id="vpc_flow_0002__en-us_topic_0151499961_li94915211488"><strong id="vpc_flow_0002__b1000564868">DOWN</strong>: Disabled</li><li id="vpc_flow_0002__en-us_topic_0151499961_li8498211781"><strong id="vpc_flow_0002__b458287663">ERROR</strong>: Abnormal fault</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row593715813910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p6937125803920">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p6937105823914">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1193719586393">Specifies the time when the VPC flow log was created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_flow_0002__en-us_topic_0151499961_row0937358193913"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="vpc_flow_0002__en-us_topic_0151499961_p1793713589392">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="vpc_flow_0002__en-us_topic_0151499961_p15937458113912">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="vpc_flow_0002__en-us_topic_0151499961_p293725893919">Specifies the time when the VPC flow log was updated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</li></ul>
|
|
<p id="vpc_flow_0002__p668411516418"></p>
|
|
<ul id="vpc_flow_0002__ul168471514415"><li id="vpc_flow_0002__li16684915164117">Example response<pre class="screen" id="vpc_flow_0002__screen1227124514484">{
|
|
"flow_logs": [
|
|
{
|
|
"id": "35868d55-443e-4d5c-90a4-ac618dc45c1a",
|
|
"name": "flow",
|
|
"description": "just a test",
|
|
"tenant_id": "b2782e6708b8475c993e6064bc456bf8",
|
|
"resource_type": "port",
|
|
"resource_id": "05c4052d-8d14-488f-aa00-19fea5a25fde",
|
|
"traffic_type": "reject",
|
|
"log_group_id": "05c4052d-8d14-488f-aa00-19fea5a25fff",
|
|
"log_topic_id": "a9d7dee7-37d2-4cba-a208-a016252aaa63",
|
|
"created_at": "2019-01-14T11:03:02",
|
|
"updated_at": "2019-01-14T11:03:02"
|
|
"status": "ACTIVE",
|
|
"admin_state": true
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0002__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_flow_0002__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="vpc_flow_0002__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_flow_0002__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>
|
|
|