Compare commits

..

1 Commits

Author SHA1 Message Date
701d756f35 dealing with empty space in strong.span element 2023-02-16 16:44:33 +00:00
31797 changed files with 478751 additions and 2768632 deletions

View File

@ -1,81 +0,0 @@
# .gitea/workflows/class-txt-check.yml
name: Docs Precheck - CLASS.TXT.json Check
on:
pull_request:
types: [opened, reopened, synchronize, edited]
permissions:
contents: read
pull-requests: write
jobs:
class-txt-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Get changed CLASS.TXT.json files
id: changed-files
run: |
BASE_SHA="${{ gitea.event.pull_request.base.sha }}"
changed=$(git diff --name-only ${BASE_SHA}...HEAD | grep -E 'CLASS\.TXT\.json$' | tr '\n' ' ' || true)
echo "files=$changed" >> $GITHUB_OUTPUT
echo "CHANGED_FILES=$changed" >> $GITHUB_ENV
echo "Changed CLASS.TXT.json files: $changed"
- name: Run duplicate title check
id: class-check
run: |
python3 .gitea/workflows/helpers/class-txt-check.py
- name: Comment on PR with violations
if: failure() && steps.class-check.outcome == 'failure'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
REPO: ${{ gitea.repository }}
PR_NUMBER: ${{ gitea.event.pull_request.number }}
TOKEN: ${{ gitea.token }}
run: |
set -euo pipefail
# Ensure URL starts with http
if [[ ! "${GITEA_SERVER_URL}" =~ ^https?:// ]]; then
GITEA_SERVER_URL="http://${GITEA_SERVER_URL}"
echo "Added http:// prefix to URL"
fi
# Generate comment message
MSG=$(python3 .gitea/workflows/helpers/class-comment.py)
echo "$MSG"
# Extract body from JSON
BODY=$(echo "$MSG" | python3 -c "import sys, json; print(json.load(sys.stdin)['body'])")
# Build the full URL
FULL_URL="${GITEA_SERVER_URL}/api/v1/repos/${REPO}/issues/${PR_NUMBER}/comments"
echo "Posting comment to: ${FULL_URL}"
# Comment on PR
curl -sS -X POST \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${FULL_URL}" \
-d "$(echo "$BODY" | python3 -c "import sys, json; print(json.dumps({'body': sys.stdin.read()}))")"
- name: Final status
if: always()
run: |
if [ -f violations.json ]; then
echo "::error::CLASS.TXT.json check failed. See previous step for details."
exit 1
fi

View File

@ -1,84 +0,0 @@
# .gitea/workflows/docs-precheck.yml
name: Docs Precheck - Underscore Check
on:
pull_request:
types: [opened, reopened, synchronize, edited]
permissions:
contents: read
pull-requests: write
jobs:
docs-precheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install beautifulsoup4 lxml
- name: Get changed HTML files
id: changed-files
run: |
BASE_SHA="${{ gitea.event.pull_request.base.sha }}"
changed=$(git diff --name-only ${BASE_SHA}...HEAD | grep -E '\.(html|htm)$' | tr '\n' ' ' || true)
echo "files=$changed" >> $GITHUB_OUTPUT
echo "CHANGED_FILES=$changed" >> $GITHUB_ENV
echo "Changed HTML files: $changed"
- name: Run underscore check
id: underscore-check
run: |
python3 .gitea/workflows/helpers/underscore-check.py
- name: Comment on PR with violations
if: failure() && steps.underscore-check.outcome == 'failure'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
REPO: ${{ gitea.repository }}
PR_NUMBER: ${{ gitea.event.pull_request.number }}
TOKEN: ${{ gitea.token }}
run: |
set -euo pipefail
# Ensure URL starts with http
if [[ ! "${GITEA_SERVER_URL}" =~ ^https?:// ]]; then
GITEA_SERVER_URL="http://${GITEA_SERVER_URL}"
echo "Added http:// prefix to URL"
fi
# Generate comment message
MSG=$(python3 .gitea/workflows/helpers/underscore-comment.py)
echo "$MSG"
# Extract body from JSON
BODY=$(echo "$MSG" | python3 -c "import sys, json; print(json.load(sys.stdin)['body'])")
# Build the full URL
FULL_URL="${GITEA_SERVER_URL}/api/v1/repos/${REPO}/issues/${PR_NUMBER}/comments"
echo "Posting comment to: ${FULL_URL}"
# Comment on PR
curl -sS -X POST \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${FULL_URL}" \
-d "$(echo "$BODY" | python3 -c "import sys, json; print(json.dumps({'body': sys.stdin.read()}))")"
- name: Final status
if: always()
run: |
if [ -f violations.json ]; then
echo "::error::Underscore check failed. See previous step for details."
exit 1
fi

View File

@ -1,71 +0,0 @@
#!/usr/bin/env python3
"""
Generate PR comment for CLASS.TXT.json duplicate title violations.
This script reads violations.json (created by class-txt-check.py) and generates
a formatted markdown comment to be posted on the PR. The comment includes:
- File path where violations were found
- Parent document title and code
- The duplicate title
- Document codes that share the duplicate title
Usage:
Run after class-txt-check.py fails. Reads violations.json and outputs JSON
with 'body' field containing the markdown comment text.
"""
import json
import sys
def main():
try:
with open("violations.json", "r") as f:
violations = json.load(f)
except Exception:
violations = []
if not violations:
print(json.dumps({"body": "No violations to report"}))
sys.exit(0)
# Group violations by file
by_file = {}
for v in violations:
key = v["file"]
if key not in by_file:
by_file[key] = []
by_file[key].append(v)
# Build message
lines = [
"❌ **Duplicate title detected in CLASS.TXT.json**",
"",
"Found child documents with duplicate titles under the same parent:",
"",
]
for filepath, file_violations in by_file.items():
lines.append(f"**{filepath}:**")
for v in file_violations:
parent_code = v["parent_code"]
parent_title = v["parent_title"]
duplicate_title = v["duplicate_title"]
codes = v["codes"]
lines.append(f" - Parent: `{parent_title}` (code: `{parent_code}`)")
lines.append(f" Duplicate title: `{duplicate_title}`")
for code in codes:
lines.append(f" - Document code: `{code}`")
lines.append("")
lines.append(
"**Please ensure all child documents under the same parent have unique titles.**"
)
message = "\n".join(lines)
print(json.dumps({"body": message}))
if __name__ == "__main__":
main()

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,63 +0,0 @@
#!/usr/bin/env python3
"""
Generate PR comment for metadata registration check violations.
This script reads violations.json (created by metadata-check.py) and generates
a formatted markdown comment to be posted on the PR. The comment includes:
- HTML file path that was added but not registered
- Which metadata files it's missing from (CLASS.TXT.json, ALL_META.TXT.json)
- Whether the metadata files don't exist or the file is simply missing from them
Usage:
Run after metadata-check.py fails. Reads violations.json and outputs JSON
with 'body' field containing the markdown comment text.
"""
import json
import sys
def main():
try:
with open("violations.json", "r") as f:
violations = json.load(f)
except Exception:
violations = []
if not violations:
print(json.dumps({"body": "No violations to report"}))
sys.exit(0)
# Build message
lines = [
"❌ **HTML file not registered in metadata**",
"",
"The following HTML files were added but are not properly registered in the metadata files:",
"",
]
for v in violations:
html_file = v["file"]
missing_from = v["missing_from"]
lines.append(f"**{html_file}**")
for missing in missing_from:
# Check if it's a "file not found" case
if "(file not found)" in missing:
lines.append(
f" ❌ Missing from: `{missing.split(' (')[0]}` (metadata file does not exist)"
)
else:
lines.append(f" ❌ Missing from: `{missing}`")
lines.append("")
lines.append(
"**Please add the new HTML files to both `CLASS.TXT.json` and `ALL_META.TXT.json` in the same directory.**"
)
message = "\n".join(lines)
print(json.dumps({"body": message}))
if __name__ == "__main__":
main()

File diff suppressed because it is too large Load Diff

View File

@ -1,68 +0,0 @@
#!/usr/bin/env python3
"""
Generate PR comment for underscore check violations.
This script reads violations.json (created by underscore-check.py) and generates
a formatted markdown comment to be posted on the PR. The comment includes:
- File path where violations were found
- Line number of each violation
- The offending word (ending with underscore)
- Context showing where the violation appears in the HTML
Usage:
Run after underscore-check.py fails. Reads violations.json and outputs JSON
with 'body' field containing the markdown comment text.
"""
import json
import sys
def main():
try:
with open("violations.json", "r") as f:
violations = json.load(f)
except Exception:
violations = []
if not violations:
print(json.dumps({"body": "No violations to report"}))
sys.exit(0)
# Group violations by file
by_file = {}
for v in violations:
key = v["file"]
if key not in by_file:
by_file[key] = []
by_file[key].append(v)
# Build message
lines = [
"❌ **Underscore check failed**",
"",
"Found words ending with underscore (not followed by alphanumeric characters):",
"",
]
for filepath, file_violations in by_file.items():
lines.append(f"**{filepath}:**")
for v in file_violations:
word = v["word"]
line_num = v["line"]
context = v["context"]
# Escape markdown special chars in context
context = context.replace("`", "\\`")
lines.append(f" - Line {line_num}: `{word}` in context: `{context}`")
lines.append("")
lines.append(
"**Please fix these issues as soon as possible.** Words should not end with an underscore unless followed by alphanumeric characters (A-Za-z0-9)."
)
message = "\n".join(lines)
print(json.dumps({"body": message}))
if __name__ == "__main__":
main()

View File

@ -1,81 +0,0 @@
# .gitea/workflows/metadata-check.yml
name: Docs Precheck - Metadata Registration Check
on:
pull_request:
types: [opened, reopened, synchronize, edited]
permissions:
contents: read
pull-requests: write
jobs:
metadata-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Get added HTML files
id: added-files
run: |
BASE_SHA="${{ gitea.event.pull_request.base.sha }}"
added=$(git diff --name-status ${BASE_SHA}...HEAD | grep "^A" | awk '{print $2}' | grep -E '\.html$' | tr '\n' ' ' || true)
echo "files=$added" >> $GITHUB_OUTPUT
echo "ADDED_FILES=$added" >> $GITHUB_ENV
echo "Added HTML files: $added"
- name: Run metadata registration check
id: metadata-check
run: |
python3 .gitea/workflows/helpers/metadata-check.py
- name: Comment on PR with violations
if: failure() && steps.metadata-check.outcome == 'failure'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
REPO: ${{ gitea.repository }}
PR_NUMBER: ${{ gitea.event.pull_request.number }}
TOKEN: ${{ gitea.token }}
run: |
set -euo pipefail
# Ensure URL starts with http
if [[ ! "${GITEA_SERVER_URL}" =~ ^https?:// ]]; then
GITEA_SERVER_URL="http://${GITEA_SERVER_URL}"
echo "Added http:// prefix to URL"
fi
# Generate comment message
MSG=$(python3 .gitea/workflows/helpers/metadata-comment.py)
echo "$MSG"
# Extract body from JSON
BODY=$(echo "$MSG" | python3 -c "import sys, json; print(json.load(sys.stdin)['body'])")
# Build the full URL
FULL_URL="${GITEA_SERVER_URL}/api/v1/repos/${REPO}/issues/${PR_NUMBER}/comments"
echo "Posting comment to: ${FULL_URL}"
# Comment on PR
curl -sS -X POST \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${FULL_URL}" \
-d "$(echo "$BODY" | python3 -c "import sys, json; print(json.dumps({'body': sys.stdin.read()}))")"
- name: Final status
if: always()
run: |
if [ -f violations.json ]; then
echo "::error::Metadata registration check failed. See previous step for details."
exit 1
fi

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

2
.gitignore vendored
View File

@ -134,8 +134,6 @@ dmypy.json
**/temp/
**/tmp_result/
.stestr/
# Some people build submodule because of not understanding git basics
doc-exports

View File

@ -1,11 +0,0 @@
rules:
path-starts-with-slash-no-spaces:
description: Path must start with / and contain no spaces
message: "Path '{{property}}' must start with '/' and must not contain spaces"
severity: error
given: $.paths
then:
field: "@key"
function: pattern
functionOptions:
match: "^\\/[^\\s]*$"

View File

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

View File

@ -1,17 +0,0 @@
# .yamllint
extends: default
yaml-files:
- '*.yaml'
- '*.yml'
rules:
line-length:
max: 120
level: warning
indentation:
spaces: 2 # number of spaces per indent level
indent-sequences: consistent # or true/false/whatever
level: error
document-start:
level: warning

136
1

File diff suppressed because it is too large Load Diff

138
a

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

@ -9,7 +9,7 @@
<div class="section" id="antiddos_02_0002__section51086148"><h4 class="sectiontitle">Request</h4><p id="antiddos_02_0002__p57231627073"><strong id="antiddos_02_0002__b175141502119">Request parameters</strong></p>
<p id="antiddos_02_0002__p19704119165617">None</p>
</div>
<div class="section" id="antiddos_02_0002__section57122151"><h4 class="sectiontitle">Response Messages</h4><ul id="antiddos_02_0002__ul36643426"><li id="antiddos_02_0002__li61355386">Parameter description
<div class="section" id="antiddos_02_0002__section57122151"><h4 class="sectiontitle">Response</h4><ul id="antiddos_02_0002__ul36643426"><li id="antiddos_02_0002__li61355386">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0002__table15327568" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0002__row24486356"><th align="left" class="cellrowborder" valign="top" width="30.099999999999998%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="antiddos_02_0002__p37237828">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.99%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="antiddos_02_0002__p63474072">Type</p>
@ -75,26 +75,32 @@
</div>
</li></ul>
<ul id="antiddos_02_0002__ul549487"><li id="antiddos_02_0002__li4945391">Data structure description of <strong id="antiddos_02_0002__b121915511116">links</strong>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0002__table44508523" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0002__row13604004"><th align="left" class="cellrowborder" valign="top" width="37.34%" id="mcps1.3.4.3.1.2.1.4.1.1"><p id="antiddos_02_0002__p28182506">Parameter</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0002__table44508523" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0002__row13604004"><th align="left" class="cellrowborder" valign="top" width="30.61%" id="mcps1.3.4.3.1.2.1.5.1.1"><p id="antiddos_02_0002__p28182506">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.540000000000003%" id="mcps1.3.4.3.1.2.1.4.1.2"><p id="antiddos_02_0002__p20504736">Type</p>
<th align="left" class="cellrowborder" valign="top" width="18.02%" id="mcps1.3.4.3.1.2.1.5.1.2"><p id="antiddos_02_0002__p1081649">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.12%" id="mcps1.3.4.3.1.2.1.4.1.3"><p id="antiddos_02_0002__p50270944">Description</p>
<th align="left" class="cellrowborder" valign="top" width="20.94%" id="mcps1.3.4.3.1.2.1.5.1.3"><p id="antiddos_02_0002__p20504736">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.43%" id="mcps1.3.4.3.1.2.1.5.1.4"><p id="antiddos_02_0002__p50270944">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0002__row45414681"><td class="cellrowborder" valign="top" width="37.34%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0002__p54710514">href</p>
<tbody><tr id="antiddos_02_0002__row45414681"><td class="cellrowborder" valign="top" width="30.61%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0002__p54710514">href</p>
</td>
<td class="cellrowborder" valign="top" width="25.540000000000003%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0002__p53636340152723">String</p>
<td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0002__p2366611">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="37.12%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0002__p25189967">URLs of APIs</p>
<td class="cellrowborder" valign="top" width="20.94%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0002__p53636340152723">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.43%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0002__p25189967">URLs of APIs</p>
</td>
</tr>
<tr id="antiddos_02_0002__row25383117"><td class="cellrowborder" valign="top" width="37.34%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0002__p42766607">rel</p>
<tr id="antiddos_02_0002__row25383117"><td class="cellrowborder" valign="top" width="30.61%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0002__p42766607">rel</p>
</td>
<td class="cellrowborder" valign="top" width="25.540000000000003%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0002__p65381003152726">String</p>
<td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0002__p41543166">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="37.12%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0002__p35618305">self</p>
<td class="cellrowborder" valign="top" width="20.94%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0002__p65381003152726">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.43%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0002__p35618305">self</p>
</td>
</tr>
</tbody>

View File

@ -75,26 +75,32 @@
</div>
</li></ul>
<ul id="antiddos_02_0007__ul549487"><li id="antiddos_02_0007__li4945391">Data structure description of <strong id="antiddos_02_0007__b986916122420">links</strong>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0007__table44508523" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0007__row13604004"><th align="left" class="cellrowborder" valign="top" width="37.34%" id="mcps1.3.4.3.1.2.1.4.1.1"><p id="antiddos_02_0007__p28182506">Parameter</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0007__table44508523" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0007__row13604004"><th align="left" class="cellrowborder" valign="top" width="30.61%" id="mcps1.3.4.3.1.2.1.5.1.1"><p id="antiddos_02_0007__p28182506">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.540000000000003%" id="mcps1.3.4.3.1.2.1.4.1.2"><p id="antiddos_02_0007__p20504736">Type</p>
<th align="left" class="cellrowborder" valign="top" width="18.02%" id="mcps1.3.4.3.1.2.1.5.1.2"><p id="antiddos_02_0007__p1081649">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.12%" id="mcps1.3.4.3.1.2.1.4.1.3"><p id="antiddos_02_0007__p50270944">Description</p>
<th align="left" class="cellrowborder" valign="top" width="20.94%" id="mcps1.3.4.3.1.2.1.5.1.3"><p id="antiddos_02_0007__p20504736">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.43%" id="mcps1.3.4.3.1.2.1.5.1.4"><p id="antiddos_02_0007__p50270944">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0007__row45414681"><td class="cellrowborder" valign="top" width="37.34%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0007__p54710514">href</p>
<tbody><tr id="antiddos_02_0007__row45414681"><td class="cellrowborder" valign="top" width="30.61%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0007__p54710514">href</p>
</td>
<td class="cellrowborder" valign="top" width="25.540000000000003%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0007__p53636340152723">String</p>
<td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0007__p2366611">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="37.12%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0007__p25189967">URL of the API</p>
<td class="cellrowborder" valign="top" width="20.94%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0007__p53636340152723">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.43%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0007__p25189967">URL of the API</p>
</td>
</tr>
<tr id="antiddos_02_0007__row25383117"><td class="cellrowborder" valign="top" width="37.34%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0007__p42766607">rel</p>
<tr id="antiddos_02_0007__row25383117"><td class="cellrowborder" valign="top" width="30.61%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0007__p42766607">rel</p>
</td>
<td class="cellrowborder" valign="top" width="25.540000000000003%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0007__p65381003152726">String</p>
<td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0007__p41543166">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="37.12%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0007__p35618305">self</p>
<td class="cellrowborder" valign="top" width="20.94%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0007__p65381003152726">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.43%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0007__p35618305">self</p>
</td>
</tr>
</tbody>

View File

@ -6,13 +6,17 @@
<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_0019.html">Disabling 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 EIP Defense Statuses</a></strong><br>
<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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,95 @@
<a name="antiddos_02_0019"></a><a name="antiddos_02_0019"></a>
<h1 class="topictitle1">Disabling Anti-DDoS</h1>
<div id="body8565311"><div class="section" id="antiddos_02_0019__section35024756"><h4 class="sectiontitle">Functions</h4><p id="antiddos_02_0019__p22701601">This asynchronous API allows you to disable the Anti-DDoS traffic scrubbing. Successfully invoking this API only means that the service node has received the disabling request. You need to use the task querying API to check the task execution status. For details about the task querying API, see <a href="antiddos_02_0022.html">Querying Anti-DDoS Tasks</a>.</p>
</div>
<div class="section" id="antiddos_02_0019__section46787348"><h4 class="sectiontitle">URI</h4><ul id="antiddos_02_0019__ul40687155"><li id="antiddos_02_0019__li30640083">URI format<p id="antiddos_02_0019__p14122195143714"><a name="antiddos_02_0019__li30640083"></a><a name="li30640083"></a>DELETE /v1/{project_id}/antiddos/{floating_ip_id}</p>
</li><li id="antiddos_02_0019__li65927667">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0019__table38540791" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0019__row18176357"><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_0019__p62998845">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_0019__p2632805">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_0019__p11930629">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_0019__p26856902">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0019__row27925455"><td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="antiddos_02_0019__p47369417">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_0019__p11717596">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_0019__p9601199">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_0019__p39499626">User ID</p>
</td>
</tr>
<tr id="antiddos_02_0019__row19952318"><td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="antiddos_02_0019__p5525098">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_0019__p44879761">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_0019__p11382045">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_0019__p49530486">ID corresponding to the EIP of a user</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0019__section18432949"><h4 class="sectiontitle">Request</h4><p id="antiddos_02_0019__p27004153377">None</p>
</div>
<div class="section" id="antiddos_02_0019__section31678816"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0019__table56967030" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="antiddos_02_0019__row62110049"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.4.2.2.4.1.1"><p id="antiddos_02_0019__p64858045">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.14%" id="mcps1.3.4.2.2.4.1.2"><p id="antiddos_02_0019__p19010318">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.629999999999995%" id="mcps1.3.4.2.2.4.1.3"><p id="antiddos_02_0019__p63440828">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0019__row38433454"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0019__p26102093">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0019__p33894784">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0019__p61122992">Internal error code</p>
</td>
</tr>
<tr id="antiddos_02_0019__row13236018"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0019__p65484519">error_description</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0019__p2645837">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0019__p12986251">Internal error description</p>
</td>
</tr>
<tr id="antiddos_02_0019__row49767403"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0019__p4627874">task_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0019__p39313476">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0019__p50320472162213">ID of a task. This ID can be used to query the status of the task.</p>
<p id="antiddos_02_0019__p30275003">This field is reserved for use in task auditing later. It is temporarily unused.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="antiddos_02_0019__section555716477373"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0019__ul178811332182913"><li id="antiddos_02_0019__li966416362293">Example request<pre class="codeblock" id="antiddos_02_0019__codeblock10809699144055">DELETE /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/1df977c2-fdc6-4483-bc1c-ba46829f57b8</pre>
</li></ul>
</div>
<ul id="antiddos_02_0019__ul85717470379"><li id="antiddos_02_0019__li65712047153715">Example response<pre class="screen" id="antiddos_02_0019__screen1557114719378">{
"error_code": "10000000",
"error_description": "Task has been received and is being processed.",
"task_id": "d90dc577-abd2-4be0-b2cf-cb8f5f67ddb0"
}</pre>
</li></ul>
<div class="section" id="antiddos_02_0019__section16673895"><h4 class="sectiontitle">Status Code</h4><p id="antiddos_02_0019__p62919444">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>

View File

@ -42,47 +42,59 @@
<p id="antiddos_02_0020__p132721814194018">None</p>
</div>
<div class="section" id="antiddos_02_0020__section62747764"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0020__table32841884" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="antiddos_02_0020__row64992155"><th align="left" class="cellrowborder" valign="top" width="36.89%" id="mcps1.3.4.2.2.4.1.1"><p id="antiddos_02_0020__p29873218">Parameter</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0020__table32841884" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="antiddos_02_0020__row64992155"><th align="left" class="cellrowborder" valign="top" width="30.44%" id="mcps1.3.4.2.2.5.1.1"><p id="antiddos_02_0020__p29873218">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.299999999999997%" id="mcps1.3.4.2.2.4.1.2"><p id="antiddos_02_0020__p40305966">Type</p>
<th align="left" class="cellrowborder" valign="top" width="17.48%" id="mcps1.3.4.2.2.5.1.2"><p id="antiddos_02_0020__p3811622">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45.81%" id="mcps1.3.4.2.2.4.1.3"><p id="antiddos_02_0020__p43557827">Description</p>
<th align="left" class="cellrowborder" valign="top" width="16.54%" id="mcps1.3.4.2.2.5.1.3"><p id="antiddos_02_0020__p40305966">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.54%" id="mcps1.3.4.2.2.5.1.4"><p id="antiddos_02_0020__p43557827">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0020__row38523084"><td class="cellrowborder" valign="top" width="36.89%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0020__p33362098">enable_L7</p>
<tbody><tr id="antiddos_02_0020__row38523084"><td class="cellrowborder" valign="top" width="30.44%" headers="mcps1.3.4.2.2.5.1.1 "><p id="antiddos_02_0020__p33362098">enable_L7</p>
</td>
<td class="cellrowborder" valign="top" width="17.299999999999997%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0020__p46720306">Boolean</p>
<td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.4.2.2.5.1.2 "><p id="antiddos_02_0020__p17975388">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="45.81%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0020__p26248478">Whether L7 defense has been enabled.</p>
<td class="cellrowborder" valign="top" width="16.54%" headers="mcps1.3.4.2.2.5.1.3 "><p id="antiddos_02_0020__p46720306">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="35.54%" headers="mcps1.3.4.2.2.5.1.4 "><p id="antiddos_02_0020__p26248478">Whether L7 defense has been enabled.</p>
</td>
</tr>
<tr id="antiddos_02_0020__row34909710"><td class="cellrowborder" valign="top" width="36.89%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0020__p9114291">traffic_pos_id</p>
<tr id="antiddos_02_0020__row34909710"><td class="cellrowborder" valign="top" width="30.44%" headers="mcps1.3.4.2.2.5.1.1 "><p id="antiddos_02_0020__p9114291">traffic_pos_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.299999999999997%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0020__p3079683015913">Integer</p>
<td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.4.2.2.5.1.2 "><p id="antiddos_02_0020__p60129">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="45.81%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0020__p58963189">Position ID of traffic. The value ranges from 1 to 9, or 99, or 33 to 36.</p>
<td class="cellrowborder" valign="top" width="16.54%" headers="mcps1.3.4.2.2.5.1.3 "><p id="antiddos_02_0020__p3079683015913">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="35.54%" headers="mcps1.3.4.2.2.5.1.4 "><p id="antiddos_02_0020__p58963189">Position ID of traffic. The value ranges from 1 to 9, or 99, or 33 to 36.</p>
</td>
</tr>
<tr id="antiddos_02_0020__row60906657"><td class="cellrowborder" valign="top" width="36.89%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0020__p34492175">http_request_pos_id</p>
<tr id="antiddos_02_0020__row60906657"><td class="cellrowborder" valign="top" width="30.44%" headers="mcps1.3.4.2.2.5.1.1 "><p id="antiddos_02_0020__p34492175">http_request_pos_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.299999999999997%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0020__p6409858615917">Integer</p>
<td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.4.2.2.5.1.2 "><p id="antiddos_02_0020__p42402794">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="45.81%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0020__p38491397">Position ID of number of HTTP requests. The value ranges from 1 to 15 and 33 to 36.</p>
<td class="cellrowborder" valign="top" width="16.54%" headers="mcps1.3.4.2.2.5.1.3 "><p id="antiddos_02_0020__p6409858615917">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="35.54%" headers="mcps1.3.4.2.2.5.1.4 "><p id="antiddos_02_0020__p38491397">Position ID of number of HTTP requests. The value ranges from 1 to 15 and 33 to 36.</p>
</td>
</tr>
<tr id="antiddos_02_0020__row10878253"><td class="cellrowborder" valign="top" width="36.89%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0020__p8723262">cleaning_access_pos_id</p>
<tr id="antiddos_02_0020__row10878253"><td class="cellrowborder" valign="top" width="30.44%" headers="mcps1.3.4.2.2.5.1.1 "><p id="antiddos_02_0020__p8723262">cleaning_access_pos_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.299999999999997%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0020__p1175927815921">Integer</p>
<td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.4.2.2.5.1.2 "><p id="antiddos_02_0020__p35495616">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="45.81%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0020__p18980661">Position ID of access limit during cleaning. The value ranges from 1 to 8, or 99, or 33 to 36.</p>
<td class="cellrowborder" valign="top" width="16.54%" headers="mcps1.3.4.2.2.5.1.3 "><p id="antiddos_02_0020__p1175927815921">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="35.54%" headers="mcps1.3.4.2.2.5.1.4 "><p id="antiddos_02_0020__p18980661">Position ID of access limit during cleaning. The value ranges from 1 to 8, or 99, or 33 to 36.</p>
</td>
</tr>
<tr id="antiddos_02_0020__row36608226"><td class="cellrowborder" valign="top" width="36.89%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0020__p12476353">app_type_id</p>
<tr id="antiddos_02_0020__row36608226"><td class="cellrowborder" valign="top" width="30.44%" headers="mcps1.3.4.2.2.5.1.1 "><p id="antiddos_02_0020__p12476353">app_type_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.299999999999997%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0020__p4577985515925">Integer</p>
<td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.4.2.2.5.1.2 "><p id="antiddos_02_0020__p3951668">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="45.81%" headers="mcps1.3.4.2.2.4.1.3 "><div class="p" id="antiddos_02_0020__p5423486315930">Application type ID. Possible values:<ul id="antiddos_02_0020__ul3859304915932"><li id="antiddos_02_0020__li247061915932">0</li><li id="antiddos_02_0020__li3331034115936">1</li></ul>
<td class="cellrowborder" valign="top" width="16.54%" headers="mcps1.3.4.2.2.5.1.3 "><p id="antiddos_02_0020__p4577985515925">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="35.54%" headers="mcps1.3.4.2.2.5.1.4 "><div class="p" id="antiddos_02_0020__p5423486315930">Application type ID. Possible values:<ul id="antiddos_02_0020__ul3859304915932"><li id="antiddos_02_0020__li247061915932">0</li><li id="antiddos_02_0020__li3331034115936">1</li></ul>
</div>
</td>
</tr>

View File

@ -87,12 +87,12 @@
</div>
<div class="section" id="antiddos_02_0022__section89594226506"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0022__ul56581830155018"><li id="antiddos_02_0022__li1155961515018">Example request<pre class="codeblock" id="antiddos_02_0022__codeblock113342304561">GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/query_task_status?task_id=4a4fefe7-34a1-40e2-a87c-16932af3ac4a</pre>
</li></ul>
</div>
<ul id="antiddos_02_0022__ul6984722145017"><li id="antiddos_02_0022__li49844227506">Example response<pre class="screen" id="antiddos_02_0022__screen1498492215016">{
"task_status": "running",
"task_msg": ""
}</pre>
</li></ul>
</div>
<div class="section" id="antiddos_02_0022__section27813538"><h4 class="sectiontitle">Status Code</h4><p id="antiddos_02_0022__p50824621">See <a href="antiddos_02_0031.html">Status Code</a>.</p>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -42,19 +42,23 @@
<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>
<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="19.830000000000002%" id="mcps1.3.4.2.1.1.1.5.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 align="left" class="cellrowborder" valign="top" width="20.369999999999997%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="antiddos_02_0024__p44318255">Mandatory</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 align="left" class="cellrowborder" valign="top" width="14.899999999999999%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="antiddos_02_0024__p33008942">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.9%" id="mcps1.3.4.2.1.1.1.5.1.4"><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>
<tbody><tr id="antiddos_02_0024__row11370190"><td class="cellrowborder" valign="top" width="19.830000000000002%" headers="mcps1.3.4.2.1.1.1.5.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 class="cellrowborder" valign="top" width="20.369999999999997%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="antiddos_02_0024__p41870031">Yes</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>
<td class="cellrowborder" valign="top" width="14.899999999999999%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="antiddos_02_0024__p36029352">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><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>configging</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>

File diff suppressed because it is too large Load Diff

View File

@ -114,55 +114,69 @@
</div>
</li></ul>
<ul id="antiddos_02_0026__ul65449295"><li id="antiddos_02_0026__li52172744">Data structure description of <strong id="antiddos_02_0026__b84235270695528">logs</strong>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0026__table66901514" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0026__row55903933"><th align="left" class="cellrowborder" valign="top" width="29.79%" id="mcps1.3.4.3.1.2.1.4.1.1"><p id="antiddos_02_0026__p31924758">Parameter</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0026__table66901514" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0026__row55903933"><th align="left" class="cellrowborder" valign="top" width="25.16%" id="mcps1.3.4.3.1.2.1.5.1.1"><p id="antiddos_02_0026__p31924758">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.560000000000002%" id="mcps1.3.4.3.1.2.1.4.1.2"><p id="antiddos_02_0026__p11576397">Type</p>
<th align="left" class="cellrowborder" valign="top" width="20.09%" id="mcps1.3.4.3.1.2.1.5.1.2"><p id="antiddos_02_0026__p35768611">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="41.65%" id="mcps1.3.4.3.1.2.1.4.1.3"><p id="antiddos_02_0026__p65272955">Description</p>
<th align="left" class="cellrowborder" valign="top" width="17.37%" id="mcps1.3.4.3.1.2.1.5.1.3"><p id="antiddos_02_0026__p11576397">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.38%" id="mcps1.3.4.3.1.2.1.5.1.4"><p id="antiddos_02_0026__p65272955">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0026__row52618006"><td class="cellrowborder" valign="top" width="29.79%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0026__p34200069">start_time</p>
<tbody><tr id="antiddos_02_0026__row52618006"><td class="cellrowborder" valign="top" width="25.16%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0026__p34200069">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="28.560000000000002%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0026__p41722625">Long integer</p>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0026__p18742193">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="41.65%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0026__p24089437">Start time</p>
<td class="cellrowborder" valign="top" width="17.37%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0026__p41722625">Long integer</p>
</td>
<td class="cellrowborder" valign="top" width="37.38%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0026__p24089437">Start time</p>
</td>
</tr>
<tr id="antiddos_02_0026__row15478348"><td class="cellrowborder" valign="top" width="29.79%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0026__p45786662">end_time</p>
<tr id="antiddos_02_0026__row15478348"><td class="cellrowborder" valign="top" width="25.16%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0026__p45786662">end_time</p>
</td>
<td class="cellrowborder" valign="top" width="28.560000000000002%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0026__p27018949">Long integer</p>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0026__p17732161">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="41.65%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0026__p41051224">End time</p>
<td class="cellrowborder" valign="top" width="17.37%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0026__p27018949">Long integer</p>
</td>
<td class="cellrowborder" valign="top" width="37.38%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0026__p41051224">End time</p>
</td>
</tr>
<tr id="antiddos_02_0026__row33916704"><td class="cellrowborder" valign="top" width="29.79%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0026__p62898512">status</p>
<tr id="antiddos_02_0026__row33916704"><td class="cellrowborder" valign="top" width="25.16%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0026__p62898512">status</p>
</td>
<td class="cellrowborder" valign="top" width="28.560000000000002%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0026__p44557253152337">Integer</p>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0026__p61614692">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="41.65%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><div class="p" id="antiddos_02_0026__p57309018">Defense status, the possible value of which is one of the following:<ul id="antiddos_02_0026__ul46019115"><li id="antiddos_02_0026__li11518859"><span class="parmvalue" id="antiddos_02_0026__parmvalue1506354986114925"><b>1</b></span>: indicates that traffic cleaning is underway.</li><li id="antiddos_02_0026__li36560874"><span class="parmvalue" id="antiddos_02_0026__parmvalue1400332350143613"><b>2</b></span>: indicates that traffic is discarded.</li></ul>
<td class="cellrowborder" valign="top" width="17.37%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0026__p44557253152337">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="37.38%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><div class="p" id="antiddos_02_0026__p57309018">Defense status, the possible value of which is one of the following:<ul id="antiddos_02_0026__ul46019115"><li id="antiddos_02_0026__li11518859"><span class="parmvalue" id="antiddos_02_0026__parmvalue1506354986114925"><b>1</b></span>: indicates that traffic cleaning is underway.</li><li id="antiddos_02_0026__li36560874"><span class="parmvalue" id="antiddos_02_0026__parmvalue1400332350143613"><b>2</b></span>: indicates that traffic is discarded.</li></ul>
</div>
</td>
</tr>
<tr id="antiddos_02_0026__row60612418"><td class="cellrowborder" valign="top" width="29.79%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0026__p10658788">trigger_bps</p>
<tr id="antiddos_02_0026__row60612418"><td class="cellrowborder" valign="top" width="25.16%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0026__p10658788">trigger_bps</p>
</td>
<td class="cellrowborder" valign="top" width="28.560000000000002%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0026__p15266258152342">Integer</p>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0026__p58055515">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="41.65%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0026__p59436263">Traffic at the triggering point</p>
<td class="cellrowborder" valign="top" width="17.37%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0026__p15266258152342">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="37.38%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0026__p59436263">Traffic at the triggering point</p>
</td>
</tr>
<tr id="antiddos_02_0026__row65164324"><td class="cellrowborder" valign="top" width="29.79%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0026__p43818926">trigger_pps</p>
<tr id="antiddos_02_0026__row65164324"><td class="cellrowborder" valign="top" width="25.16%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0026__p43818926">trigger_pps</p>
</td>
<td class="cellrowborder" valign="top" width="28.560000000000002%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0026__p57307436152346">Integer</p>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0026__p59672145">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="41.65%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0026__p62941183">Packet rate at the triggering point</p>
<td class="cellrowborder" valign="top" width="17.37%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0026__p57307436152346">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="37.38%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0026__p62941183">Packet rate at the triggering point</p>
</td>
</tr>
<tr id="antiddos_02_0026__row29599739"><td class="cellrowborder" valign="top" width="29.79%" headers="mcps1.3.4.3.1.2.1.4.1.1 "><p id="antiddos_02_0026__p48768695">trigger_http_pps</p>
<tr id="antiddos_02_0026__row29599739"><td class="cellrowborder" valign="top" width="25.16%" headers="mcps1.3.4.3.1.2.1.5.1.1 "><p id="antiddos_02_0026__p48768695">trigger_http_pps</p>
</td>
<td class="cellrowborder" valign="top" width="28.560000000000002%" headers="mcps1.3.4.3.1.2.1.4.1.2 "><p id="antiddos_02_0026__p51299491152351">Integer</p>
<td class="cellrowborder" valign="top" width="20.09%" headers="mcps1.3.4.3.1.2.1.5.1.2 "><p id="antiddos_02_0026__p57950190">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="41.65%" headers="mcps1.3.4.3.1.2.1.4.1.3 "><p id="antiddos_02_0026__p39486963">HTTP request rate at the triggering point</p>
<td class="cellrowborder" valign="top" width="17.37%" headers="mcps1.3.4.3.1.2.1.5.1.3 "><p id="antiddos_02_0026__p51299491152351">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="37.38%" headers="mcps1.3.4.3.1.2.1.5.1.4 "><p id="antiddos_02_0026__p39486963">HTTP request rate at the triggering point</p>
</td>
</tr>
</tbody>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,33 +2,13 @@
<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__b620013998">Release Date</strong></p>
<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__b1237700129">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__row19105101411014"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p21055144012">2025-01-21</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><ul id="antiddos_02_0034__ul1157249104117"><li id="antiddos_02_0034__li15198215114211">Updated response parameters in <a href="antiddos_02_0023.html">Querying the List of EIP Defense Statuses</a>.</li><li id="antiddos_02_0034__li125725918414">Optimized the title of section <a href="antiddos_02_0023.html">Querying the List of EIP Defense Statuses</a>.</li><li id="antiddos_02_0034__li146331312416">Optimized the example request in <a href="antiddos_02_0037.html">Querying the Default Protection Policy Configured for the Newly Purchased Public IP Addresses</a>.</li><li id="antiddos_02_0034__li1931015515512">Optimized the example request in <a href="antiddos_02_0038.html">Configuring the Default Protection Policy for Newly Purchased Public IP Addresses</a>.</li></ul>
</td>
</tr>
<tr id="antiddos_02_0034__row533003615444"><td class="cellrowborder" valign="top" width="27.33%" headers="mcps1.3.1.1.3.1.1 "><p id="antiddos_02_0034__p133314362446">2024-10-25</p>
</td>
<td class="cellrowborder" valign="top" width="72.67%" headers="mcps1.3.1.1.3.1.2 "><p id="antiddos_02_0034__p2033143615443">Deleted section "Enabling Anti-DDoS".</p>
</td>
</tr>
<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 in section "Querying the List of EIP Defense Statuses".</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>
<tbody><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>

View File

@ -32,48 +32,60 @@
<div class="section" id="antiddos_02_0037__section33629549"><h4 class="sectiontitle">Request</h4><p id="antiddos_02_0037__p9930243125715"><strong id="antiddos_02_0037__b0200202219318">Request parameters</strong></p>
<p id="antiddos_02_0037__p1590674655719">None</p>
</div>
<div class="section" id="antiddos_02_0037__section34230492"><h4 class="sectiontitle">Response Messages</h4><ul id="antiddos_02_0037__ul48654403"><li id="antiddos_02_0037__li35236445">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0037__table48692557" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0037__row57013647"><th align="left" class="cellrowborder" valign="top" width="30.84%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="antiddos_02_0037__p54702703">Parameter</p>
<div class="section" id="antiddos_02_0037__section34230492"><h4 class="sectiontitle">Response</h4><ul id="antiddos_02_0037__ul48654403"><li id="antiddos_02_0037__li35236445">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0037__table48692557" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0037__row57013647"><th align="left" class="cellrowborder" valign="top" width="23.66%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="antiddos_02_0037__p54702703">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="29.110000000000003%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="antiddos_02_0037__p6231364">Type</p>
<th align="left" class="cellrowborder" valign="top" width="23.28%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="antiddos_02_0037__p1733939">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.050000000000004%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="antiddos_02_0037__p34978441">Description</p>
<th align="left" class="cellrowborder" valign="top" width="22.33%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="antiddos_02_0037__p6231364">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.73%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="antiddos_02_0037__p34978441">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0037__row14681450"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="antiddos_02_0037__p48346833">enable_L7</p>
<tbody><tr id="antiddos_02_0037__row14681450"><td class="cellrowborder" valign="top" width="23.66%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="antiddos_02_0037__p48346833">enable_L7</p>
</td>
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="antiddos_02_0037__p47080266">Boolean</p>
<td class="cellrowborder" valign="top" width="23.28%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="antiddos_02_0037__p23779363">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40.050000000000004%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="antiddos_02_0037__p28885026">Whether to enable layer-7 protection.</p>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="antiddos_02_0037__p47080266">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="30.73%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="antiddos_02_0037__p28885026">Whether to enable layer-7 protection.</p>
</td>
</tr>
<tr id="antiddos_02_0037__row58638646"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="antiddos_02_0037__p52109899">traffic_pos_id</p>
<tr id="antiddos_02_0037__row58638646"><td class="cellrowborder" valign="top" width="23.66%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="antiddos_02_0037__p52109899">traffic_pos_id</p>
</td>
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="antiddos_02_0037__p40496186">Integer</p>
<td class="cellrowborder" valign="top" width="23.28%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="antiddos_02_0037__p60152276">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40.050000000000004%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="antiddos_02_0037__p58965604">Position ID of traffic. The value ranges from 1 to 9, or 99, or 33 to 36.</p>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="antiddos_02_0037__p40496186">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="30.73%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="antiddos_02_0037__p58965604">Position ID of traffic. The value ranges from 1 to 9, or 99, or 33 to 36.</p>
</td>
</tr>
<tr id="antiddos_02_0037__row60928390"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="antiddos_02_0037__p36252562">http_request_pos_id</p>
<tr id="antiddos_02_0037__row60928390"><td class="cellrowborder" valign="top" width="23.66%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="antiddos_02_0037__p36252562">http_request_pos_id</p>
</td>
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="antiddos_02_0037__p19248251">Integer</p>
<td class="cellrowborder" valign="top" width="23.28%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="antiddos_02_0037__p50776406">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40.050000000000004%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="antiddos_02_0037__p56757654">Position ID of number of HTTP requests. The value ranges from 1 to 15 and 33 to 36.</p>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="antiddos_02_0037__p19248251">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="30.73%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="antiddos_02_0037__p56757654">Position ID of number of HTTP requests. The value ranges from 1 to 15 and 33 to 36.</p>
</td>
</tr>
<tr id="antiddos_02_0037__row3262153532716"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="antiddos_02_0037__p16262335182711">cleaning_access_pos_id</p>
<tr id="antiddos_02_0037__row3262153532716"><td class="cellrowborder" valign="top" width="23.66%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="antiddos_02_0037__p16262335182711">cleaning_access_pos_id</p>
</td>
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="antiddos_02_0037__p3262535152711">Integer</p>
<td class="cellrowborder" valign="top" width="23.28%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="antiddos_02_0037__p13262935172711">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40.050000000000004%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="antiddos_02_0037__p15422169">Position ID of access limit during cleaning. The value ranges from 1 to 8, or 99, or 33 to 36.</p>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="antiddos_02_0037__p3262535152711">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="30.73%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="antiddos_02_0037__p15422169">Position ID of access limit during cleaning. The value ranges from 1 to 8, or 99, or 33 to 36.</p>
</td>
</tr>
<tr id="antiddos_02_0037__row145501038152720"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="antiddos_02_0037__p15550238192718">app_type_id</p>
<tr id="antiddos_02_0037__row145501038152720"><td class="cellrowborder" valign="top" width="23.66%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="antiddos_02_0037__p15550238192718">app_type_id</p>
</td>
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="antiddos_02_0037__p13550438182713">Integer</p>
<td class="cellrowborder" valign="top" width="23.28%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="antiddos_02_0037__p18550438122716">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40.050000000000004%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><div class="p" id="antiddos_02_0037__p2630238915650">Application type ID. Possible values:<ul id="antiddos_02_0037__ul2584619815657"><li id="antiddos_02_0037__li4894818415657">0</li><li id="antiddos_02_0037__li546197471571">1</li></ul>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="antiddos_02_0037__p13550438182713">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="30.73%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><div class="p" id="antiddos_02_0037__p2630238915650">Application type ID. Possible values:<ul id="antiddos_02_0037__ul2584619815657"><li id="antiddos_02_0037__li4894818415657">0</li><li id="antiddos_02_0037__li546197471571">1</li></ul>
</div>
</td>
</tr>
@ -82,7 +94,7 @@
</div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0037__section11157820583"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0037__ul194081258134219"><li id="antiddos_02_0037__li6137121012436">Example request<pre class="codeblock" id="antiddos_02_0037__codeblock4650234015244">GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/default-config</pre>
<div class="section" id="antiddos_02_0037__section11157820583"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0037__ul194081258134219"><li id="antiddos_02_0037__li6137121012436">Example request<pre class="codeblock" id="antiddos_02_0037__codeblock4650234015244">GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/default/config</pre>
</li></ul>
</div>
<ul id="antiddos_02_0037__ul01288818584"><li id="antiddos_02_0037__li212816816584">Example response<pre class="screen" id="antiddos_02_0037__screen13128198105819">{

View File

@ -127,7 +127,7 @@
</div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0038__section1487315209019"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0038__ul25933367"><li id="antiddos_02_0038__li32073719">Example request<pre class="codeblock" id="antiddos_02_0038__codeblock6023557611459">POST /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/default-config </pre>
<div class="section" id="antiddos_02_0038__section1487315209019"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0038__ul25933367"><li id="antiddos_02_0038__li32073719">Example request<pre class="codeblock" id="antiddos_02_0038__codeblock6023557611459">POST /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/default/config </pre>
<pre class="screen" id="antiddos_02_0038__screen43109556114535">{
"enable_L7":true,
"traffic_pos_id":1,

View File

@ -64,7 +64,7 @@
</td>
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="antiddos_02_0041__p19248251">String</p>
</td>
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="antiddos_02_0041__p15604521">Specifies the name of the SMN topic used for sending alarm notifications.</p>
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="antiddos_02_0041__p15604521">Description of an alarm group</p>
</td>
</tr>
</tbody>
@ -83,7 +83,7 @@
</thead>
<tbody><tr id="antiddos_02_0041__row49251786"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.3.2.2.2.1.5.1.1 "><p id="antiddos_02_0041__p29971768">antiDDoS</p>
</td>
<td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.3.2.2.2.1.5.1.2 "><p id="antiddos_02_0041__p11794154">No</p>
<td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.3.2.2.2.1.5.1.2 "><p id="antiddos_02_0041__p11794154">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.16%" headers="mcps1.3.3.2.2.2.1.5.1.3 "><p id="antiddos_02_0041__p15802441">Boolean</p>
</td>
@ -161,41 +161,7 @@
</div></div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0041__section25104311547"><h4 class="sectiontitle">Response Message</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0041__table19277114418546" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0041__row227714414549"><th align="left" class="cellrowborder" valign="top" width="30.84%" id="mcps1.3.4.2.1.4.1.1"><p id="antiddos_02_0041__p927714445417">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="34.58%" id="mcps1.3.4.2.1.4.1.2"><p id="antiddos_02_0041__p327714442549">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="34.58%" id="mcps1.3.4.2.1.4.1.3"><p id="antiddos_02_0041__p122772044185412">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0041__row192775441542"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.4.1.1 "><p id="antiddos_02_0041__p124656562548">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="34.58%" headers="mcps1.3.4.2.1.4.1.2 "><p id="antiddos_02_0041__p124641556175411">String</p>
</td>
<td class="cellrowborder" valign="top" width="34.58%" headers="mcps1.3.4.2.1.4.1.3 "><p id="antiddos_02_0041__p1546312567548">Internal error code</p>
</td>
</tr>
<tr id="antiddos_02_0041__row2277174445411"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.4.1.1 "><p id="antiddos_02_0041__p18463195685418">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="34.58%" headers="mcps1.3.4.2.1.4.1.2 "><p id="antiddos_02_0041__p646265695420">String</p>
</td>
<td class="cellrowborder" valign="top" width="34.58%" headers="mcps1.3.4.2.1.4.1.3 "><p id="antiddos_02_0041__p16462956185415">Internal error description</p>
</td>
</tr>
<tr id="antiddos_02_0041__row19277114418543"><td class="cellrowborder" valign="top" width="30.84%" headers="mcps1.3.4.2.1.4.1.1 "><p id="antiddos_02_0041__p546185685415">task_id</p>
</td>
<td class="cellrowborder" valign="top" width="34.58%" headers="mcps1.3.4.2.1.4.1.2 "><p id="antiddos_02_0041__p646185616541">String</p>
</td>
<td class="cellrowborder" valign="top" width="34.58%" headers="mcps1.3.4.2.1.4.1.3 "><p id="antiddos_02_0041__p194373569542">Task ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="antiddos_02_0041__section144001912849"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0041__ul1771274275511"><li id="antiddos_02_0041__li87121542125519">Example request<pre class="screen" id="antiddos_02_0041__screen1644131219411">{
<div class="section" id="antiddos_02_0041__section144001912849"><h4 class="sectiontitle">Example</h4><div class="p" id="antiddos_02_0041__p2073111483416">Example request<pre class="screen" id="antiddos_02_0041__screen1644131219411">{
"warn_config": {
"antiDDoS": true,
"bruce_force": false,
@ -208,12 +174,7 @@
"topic_urn": "urn:smn:eu-de:67641fe6886f43fcb78edbbf0ad0b99f:test_soft",
"display_name": "group_1"
}</pre>
</li><li id="antiddos_02_0041__li15151124635515">Example response<pre class="screen" id="antiddos_02_0041__screen9882185219556">{
"error_code" : "10000000",
"error_msg" : "Ok",
"task_id" : ""
}</pre>
</li></ul>
</div>
</div>
<div class="section" id="antiddos_02_0041__section39638980"><h4 class="sectiontitle">Status Code</h4><p id="antiddos_02_0041__p1504051">For details, see <a href="antiddos_02_0031.html">Status Code</a>.</p>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 70 B

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

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

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