forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
102 lines
7.6 KiB
HTML
102 lines
7.6 KiB
HTML
<a name="dds_api_0100"></a><a name="dds_api_0100"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Links for Downloading Audit Logs</h1>
|
|
<div id="body0000001072354786"><div class="section" id="dds_api_0100__section4850156117316"><h4 class="sectiontitle">Function</h4><p id="dds_api_0100__p3631239417316">This API is used to obtain the link for downloading audit logs.</p>
|
|
</div>
|
|
<div class="section" id="dds_api_0100__section28961517113719"><h4 class="sectiontitle">URI</h4><ul id="dds_api_0100__ul3084351717316"><li id="dds_api_0100__li915620217316">URI format<p id="dds_api_0100__p1095871918714"><a name="dds_api_0100__li915620217316"></a><a name="li915620217316"></a>POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-links</p>
|
|
</li><li id="dds_api_0100__li15430535">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dds_api_0100__table4657088" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="dds_api_0100__row60083059"><th align="left" class="cellrowborder" valign="top" width="24%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="dds_api_0100__p34889605">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.9%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="dds_api_0100__p7485743">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51.1%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="dds_api_0100__p2775334615440">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dds_api_0100__row57385070"><td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="dds_api_0100__p732920567115">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.9%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="dds_api_0100__p532935613116">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.1%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="dds_api_0100__p4329756415">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_api_0100__row2864326155157"><td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="dds_api_0100__p963319528116">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.9%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="dds_api_0100__p1032910565114">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.1%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="dds_api_0100__p15330656516">Specifies the instance ID, which can be obtained by calling the API for querying instances. If you do not have an instance, you can call the API used for creating an instance.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dds_api_0100__section3074340117316"><h4 class="sectiontitle">Requests</h4><ul id="dds_api_0100__ul5099287616954"><li id="dds_api_0100__li5628270116954">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dds_api_0100__table3678226816954" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="dds_api_0100__row1340482316954"><th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="dds_api_0100__p1204887716954">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.75%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="dds_api_0100__p15184124818564">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.64%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="dds_api_0100__p3643495116954">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.44%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="dds_api_0100__p222501215320">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dds_api_0100__row794180116954"><td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="dds_api_0100__p136227461579">ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.75%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="dds_api_0100__p107333911419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="dds_api_0100__p1195115413716">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.44%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="dds_api_0100__p669518114810">Specifies the list of audit logs. A maximum of 50 audit log IDs are allowed in the list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="dds_api_0100__ul1041877316954"><li id="dds_api_0100__li2666010016954">Request example<div class="p" id="dds_api_0100__p833711252554"><a name="dds_api_0100__li2666010016954"></a><a name="li2666010016954"></a>POST https://dds.eu-de.otc.t-systems.com/v3/0549b4a43100d4f32f51c01c2fe4acdb/instances/2870a411522849aa901cd4351c96a3b7in02/auditlog-links<pre class="codeblock" id="dds_api_0100__codeblock207161024145515">{
|
|
"ids": ["10190012aae94b38a10269b8ad025fc1no02_1607681849871", "12390012aae94b38a10269b8ad025fc1no02_1607681849871"]
|
|
}</pre>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dds_api_0100__section205941912322"><h4 class="sectiontitle">Responses</h4><ul id="dds_api_0100__ul45947916328"><li id="dds_api_0100__li105947933215">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dds_api_0100__table1659413923216" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameter description</caption><thead align="left"><tr id="dds_api_0100__row16594991324"><th align="left" class="cellrowborder" valign="top" width="28.442844284428443%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="dds_api_0100__p1159419993215">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.412441244124413%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="dds_api_0100__p959479163212">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.14471447144714%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="dds_api_0100__p15595169183218">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dds_api_0100__row17595199193210"><td class="cellrowborder" valign="top" width="28.442844284428443%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="dds_api_0100__p1159516983211">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.412441244124413%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="dds_api_0100__p5595159123219">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.14471447144714%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="dds_api_0100__p14595793320">Indicates the list of audit log download links. The validity period is 5 minutes.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="dds_api_0100__ul259515963212"><li id="dds_api_0100__li959518916326">Response example<pre class="codeblock" id="dds_api_0100__codeblock15951296327">{
|
|
"links": ["https://obs.domainname.com/ddsbucket.username.1/xxxxxx", "https://obs.domainname.com/ddsbucket.username.2/xxxxxx"]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dds_api_0100__section5382712154838"><h4 class="sectiontitle">Status Code</h4><p id="dds_api_0100__dds_api_0018_p16131712193312">Status Code:200.</p>
|
|
<p id="dds_api_0100__dds_api_0018_p480617135329">For more information, see <a href="dds_status_code.html">Status Code</a>.</p>
|
|
</div>
|
|
<div class="section" id="dds_api_0100__section6522193710339"><h4 class="sectiontitle">Error Code</h4><p id="dds_api_0100__dds_api_0018_p20466124120334">For more information, see <a href="dds_error_code.html">Error Code</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_api_0092.html">Log Information Queries</a></div>
|
|
</div>
|
|
</div>
|
|
|