Compare commits

..

2 Commits

Author SHA1 Message Date
1e587c7a37 KMS API 1117 2022-11-17 10:33:33 +08:00
“qiaoli”
e02b329e27 KMS API test1 version 2022-09-30 10:53:52 +08:00
32045 changed files with 99845 additions and 2799634 deletions

9
.gitignore vendored
View File

@ -133,12 +133,3 @@ dmypy.json
**/temp/ **/temp/
**/tmp_result/ **/tmp_result/
.stestr/
# Some people build submodule because of not understanding git basics
doc-exports
# Drop userless content of the docs
docs/**/*.js
docs/**/*.css

View File

@ -1,3 +0,0 @@
[DEFAULT]
test_path=./otc_doc_convertor/tests/unit
top_dir=./

136
1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
version=""
language="en-us"
type=""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +0,0 @@
<a name="antiddos_02_0016"></a><a name="antiddos_02_0016"></a>
<h1 class="topictitle1">Anti-DDoS APIs</h1>
<div id="body25138252"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="antiddos_02_0017.html">Querying Optional Anti-DDoS Defense Policies</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0018.html">Enabling Anti-DDoS</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0020.html">Querying Configured Anti-DDoS Defense Policies</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0021.html">Updating Anti-DDoS Defense Policies</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0022.html">Querying Anti-DDoS Tasks</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0023.html">Querying the List of Defense Statuses of EIPs</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0024.html">Querying the Defense Status of a Specified EIP</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0025.html">Querying the Traffic of a Specified EIP</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0026.html">Querying Events of a Specified EIP</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0027.html">Querying Weekly Defense Statistics</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0002.html">Querying All API Versions</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0007.html">Querying a Specified API Version</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0037.html">Querying the Default Protection Policy Configured for the Newly Purchased Public IP Addresses</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0038.html">Configuring the Default Protection Policy for Newly Purchased Public IP Addresses</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="antiddos_02_0040.html">API</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,79 +0,0 @@
<a name="antiddos_02_0024"></a><a name="antiddos_02_0024"></a>
<h1 class="topictitle1">Querying the Defense Status of a Specified EIP</h1>
<div id="body39349682"><div class="section" id="antiddos_02_0024__section35493489"><h4 class="sectiontitle">Functions</h4><p id="antiddos_02_0024__p33207705">This API allows you to query the defense status of a specified EIP.</p>
</div>
<div class="section" id="antiddos_02_0024__section51005947"><h4 class="sectiontitle">URI</h4><ul id="antiddos_02_0024__ul5469547"><li id="antiddos_02_0024__li49225929">URI format<p id="antiddos_02_0024__p3997403151136"><a name="antiddos_02_0024__li49225929"></a><a name="li49225929"></a>GET /v1/{project_id}/antiddos/{floating_ip_id}/status</p>
</li><li id="antiddos_02_0024__li49569014">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0024__table43467946" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0024__row29878402"><th align="left" class="cellrowborder" valign="top" width="30.92690730926907%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="antiddos_02_0024__p4231468">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.52824717528247%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="antiddos_02_0024__p7204610">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.617938206179375%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="antiddos_02_0024__p46702574">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.92690730926907%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="antiddos_02_0024__p24812117">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0024__row63624481"><td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="antiddos_02_0024__p53309370">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.52824717528247%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="antiddos_02_0024__p23091719">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.617938206179375%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="antiddos_02_0024__p58489969">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="antiddos_02_0024__p40067039">User ID</p>
</td>
</tr>
<tr id="antiddos_02_0024__row25059035"><td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="antiddos_02_0024__p16515979">floating_ip_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.52824717528247%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="antiddos_02_0024__p62725940">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.617938206179375%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="antiddos_02_0024__p47636349">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="antiddos_02_0024__p33339022">ID corresponding to the EIP of a user</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0024__section56400342"><h4 class="sectiontitle">Request</h4><p id="antiddos_02_0024__p72063462079"><strong id="antiddos_02_0024__b133853916584">Request parameters</strong></p>
<p id="antiddos_02_0024__p14332041145213">None</p>
</div>
<div class="section" id="antiddos_02_0024__section37841036"><h4 class="sectiontitle">Response</h4><ul id="antiddos_02_0024__ul58618290"><li id="antiddos_02_0024__li57802569">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0024__table50461073" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0024__row8925963"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="antiddos_02_0024__p51914417">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.84%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="antiddos_02_0024__p33008942">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.93%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="antiddos_02_0024__p56478678">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0024__row11370190"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="antiddos_02_0024__p48570174">status</p>
</td>
<td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="antiddos_02_0024__p36029352">String</p>
</td>
<td class="cellrowborder" valign="top" width="56.93%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><div class="p" id="antiddos_02_0024__p32696434">Defense status, the possible value of which is one of the following:<ul id="antiddos_02_0024__ul25832457"><li id="antiddos_02_0024__li31165525"><span class="parmvalue" id="antiddos_02_0024__parmvalue555125744114325"><b>normal</b></span>: indicates that the defense status is normal.</li><li id="antiddos_02_0024__li12054271"><span class="parmvalue" id="antiddos_02_0024__parmvalue404664094114337"><b>configuring</b></span>: indicates that defense is being configured.</li><li id="antiddos_02_0024__li41379576"><span class="parmvalue" id="antiddos_02_0024__parmvalue600552156114412"><b>notConfig</b></span>: indicates that defense is not configured.</li><li id="antiddos_02_0024__li36871865"><span class="parmvalue" id="antiddos_02_0024__parmvalue1506354986114925"><b>packetcleaning</b></span>: indicates that traffic cleaning is underway.</li><li id="antiddos_02_0024__li63411331"><span class="parmvalue" id="antiddos_02_0024__parmvalue1400332350143613"><b>packetdropping</b></span>: indicates that traffic is discarded.</li></ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0024__section17226558185213"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0024__ul178811332182913"><li id="antiddos_02_0024__li966416362293">Example request<pre class="codeblock" id="antiddos_02_0024__codeblock1591508415125">GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/1df977c2-fdc6-4483-bc1c-ba46829f57b8/status</pre>
</li></ul>
</div>
<ul id="antiddos_02_0024__ul623214583522"><li id="antiddos_02_0024__li10232105835220">Example response<pre class="screen" id="antiddos_02_0024__screen223245835219">{"status": "normal"}</pre>
</li></ul>
<div class="section" id="antiddos_02_0024__section5025004"><h4 class="sectiontitle">Status Code</h4><p id="antiddos_02_0024__p15839470">See <a href="antiddos_02_0031.html">Status Code</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="antiddos_02_0016.html">Anti-DDoS APIs</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +0,0 @@
<a name="antiddos_02_0028"></a><a name="antiddos_02_0028"></a>
<h1 class="topictitle1">Alarm Reminding APIs</h1>
<div id="body38386134"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="antiddos_02_0029.html">Querying Alarm Configuration</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0041.html">Updating Alarm Configuration</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="antiddos_02_0040.html">API</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +0,0 @@
<a name="antiddos_02_0030"></a><a name="antiddos_02_0030"></a>
<h1 class="topictitle1">Appendix</h1>
<div id="body1473320842492"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="antiddos_02_0031.html">Status Code</a></strong><br>
</li>
</ul>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -1,66 +0,0 @@
<a name="antiddos_02_0034"></a><a name="antiddos_02_0034"></a>
<h1 class="topictitle1">Change History</h1>
<div id="body1477278042389">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0034__table63136454111444" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0034__en-us_topic_0040422987_row2942532716410"><th align="left" class="cellrowborder" valign="top" width="27.33%" id="mcps1.3.1.1.3.1.1"><p id="antiddos_02_0034__en-us_topic_0040422987_p5627845516410"><strong id="antiddos_02_0034__b856695530">Release Date</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72.67%" id="mcps1.3.1.1.3.1.2"><p id="antiddos_02_0034__en-us_topic_0040422987_p2382284816410"><strong id="antiddos_02_0034__en-us_topic_0040422987_b3316380216410">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0034__row1842237134719"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p4422279474">2024-09-13</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__p1742247154713">Updated the response parameters for <span class="filepath" id="antiddos_02_0034__filepath1395414468474"><b>Querying the list of defense statuses of EIPs</b></span>.</p>
</td>
</tr>
<tr id="antiddos_02_0034__row181611243749"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p121611143845">2024-03-29</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><ul id="antiddos_02_0034__ul184731533860"><li id="antiddos_02_0034__li5473103315618">Optimized the response parameters in section "Querying Alarm Configuration Information".</li><li id="antiddos_02_0034__li455816351565">Added an example response in section "Updating Alarm Configuration Information".</li></ul>
</td>
</tr>
<tr id="antiddos_02_0034__row884562561617"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p9846102501613">2022-09-30</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__p7846325151619">Updated examples in section "Querying the Default Protection Policy Configured for the Newly Purchased Public IP Addresses".</p>
</td>
</tr>
<tr id="antiddos_02_0034__row6581822134515"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p059162254519">2020-07-08</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__p15597222459">Added section "Querying the Default Protection Policy Configured for the Newly Purchased Public IP Addresses".</p>
<p id="antiddos_02_0034__p5174185911454">Added section "Configuring the Default Protection Policy for Newly Purchased Public IP Addresses".</p>
</td>
</tr>
<tr id="antiddos_02_0034__row14362125124"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p9363051214">2020-03-10</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><ul id="antiddos_02_0034__ul1077692710211"><li id="antiddos_02_0034__li1777152714210">Added section "Querying All API Versions".</li><li id="antiddos_02_0034__li157772278218">Added section "Querying a Specified API Version".</li></ul>
</td>
</tr>
<tr id="antiddos_02_0034__row11697153312367"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p15697123310362">2019-12-09</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><ul id="antiddos_02_0034__ul198011271371"><li id="antiddos_02_0034__li18811327153715">Deleted section "Querying All API Versions".</li><li id="antiddos_02_0034__li15811227123713">Deleted section "Querying a Specified API Version".</li></ul>
</td>
</tr>
<tr id="antiddos_02_0034__row1175522819385"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p6988417195812">2018-09-30</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__p14566849123511">Added sections "Querying All API Versions" and "Querying a Specified API Version".</p>
</td>
</tr>
<tr id="antiddos_02_0034__row32105225152214"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p13357488152214">2017-04-28</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__p49257083152447">Updated examples in section "Querying Optional Anti-DDoS Defense Policies".</p>
</td>
</tr>
<tr id="antiddos_02_0034__row18307222155211"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p6490036155211">2016-11-24</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><ul id="antiddos_02_0034__ul1825788915596"><li id="antiddos_02_0034__li99482177368">Changed the parameter type of <span class="parmname" id="antiddos_02_0034__parmname9136676021527"><b>task_id</b></span> to <span class="uicontrol" id="antiddos_02_0034__uicontrol198576041715214"><b>string</b></span>.</li><li id="antiddos_02_0034__li2072773816215">Added parameters <span class="parmname" id="antiddos_02_0034__parmname210131544915234"><b>ip</b></span> and <span class="parmname" id="antiddos_02_0034__parmname164606454415234"><b>network_type</b></span> in section "Querying the List of Defense Statuses of EIPs."</li><li id="antiddos_02_0034__li495557001686">Added error codes 10005004 and 10005005 in section "Error Codes".</li><li id="antiddos_02_0034__li25158493153037">Modified section "AK and SK Generation."</li></ul>
</td>
</tr>
<tr id="antiddos_02_0034__en-us_topic_0040422987_row5947359616410"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__en-us_topic_0040422987_p648803616410">2016-10-29</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__en-us_topic_0040422987_p1946537916410">This is the first official release.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +0,0 @@
<a name="antiddos_02_0040"></a><a name="antiddos_02_0040"></a>
<h1 class="topictitle1">API</h1>
<div id="body1597044742079"><p id="antiddos_02_0040__p8060118"></p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="antiddos_02_0016.html">Anti-DDoS APIs</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="antiddos_02_0028.html">Alarm Reminding APIs</a></strong><br>
</li>
</ul>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
<a name="en-us_topic_0037386201"></a><a name="en-us_topic_0037386201"></a>
<h1 class="topictitle1">API Usage Guidelines</h1>
<div id="body1583744621332"><p id="en-us_topic_0037386201__en-us_topic_0020507759_p1645204610259">Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: <em id="en-us_topic_0037386201__en-us_topic_0020507759_i1385069210259">https://Endpoint/uri</em>. In the URL, <strong id="en-us_topic_0037386201__en-us_topic_0020507759_b5754736910259">uri</strong> indicates the resource path, that is, the API access path.</p>
<p id="en-us_topic_0037386201__en-us_topic_0020507759_p4816427810259">Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by <strong id="en-us_topic_0037386201__en-us_topic_0020507759_b3082532510259">Application/json</strong>.</p>
<p id="en-us_topic_0037386201__en-us_topic_0020507759_p188289482118">For details about how to use APIs, see <a href="https://docs.otc.t-systems.com/en-us/api/apiug/apig-en-api-180328001.html?tag=API Documents" target="_blank" rel="noopener noreferrer">API Usage Guidelines</a>.</p>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
version=""
language="en-us"
type=""

Some files were not shown because too many files have changed in this diff Show More