All Products
Search
Document Center

Edge Security Acceleration:DescribeHttpDDoSAttackRules

Last Updated:Jun 11, 2026

Mengkueri aturan perlindungan Serangan DDoS HTTP.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

SiteId

integer

Yes

ID situs. Anda dapat memanggil operasi ListSites untuk mendapatkan ID situs.

123456****

PageNumber

integer

Yes

Nomor halaman saat ini. Nilai default: 1. Nilai valid: 1 hingga 65535.

1

PageSize

integer

No

Jumlah entri per halaman.

10

Elemen respons

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

D4030CD2-0D9D-5E92-B358-421AE58307C6

TotalCount

integer

The total number of entries.

100

PageNumber

integer

The current page number.

1

PageSize

integer

The number of entries per page.

10

RuleInfos

array<object>

A list of rule details.

object

RuleName

string

The name of the rule.

Illegal request。

RuleIdInfo

string

The short name of the rule.

global_01_s

RuleDesc

string

The description of the rule.

The HTTP request's Accept header contains invalid features#1

Status

string

The status of the rule. Valid values:

  • on: The rule is enabled.

  • off: The rule is disabled.

on

DefaultAction

string

The default action.

deny

Action

string

The action to perform.

deny

RuleId

integer

The ID of the HTTP DDoS protection rule.

20203578

LogRuleId

integer

The ID of the protection rule used for log records.

100010

Contoh

Respons sukses

JSONformat

{
  "RequestId": "D4030CD2-0D9D-5E92-B358-421AE58307C6",
  "TotalCount": 100,
  "PageNumber": 1,
  "PageSize": 10,
  "RuleInfos": [
    {
      "RuleName": "Illegal request。",
      "RuleIdInfo": "global_01_s",
      "RuleDesc": "The HTTP request's Accept header contains invalid features#1",
      "Status": "on",
      "DefaultAction": "deny",
      "Action": "deny",
      "RuleId": 20203578,
      "LogRuleId": 100010
    }
  ]
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter.SiteId The specified SiteId is invalid.
400 ErrSiteIdNoteEnterprise This feature is unavailable because your website is not associated with an Enterprise plan. Upgrade your plan to Enterprise.
500 InternalError Failed to call the service. Try again later or contact technical support.
403 SiteIdDDoSVersionCheckFailed SiteId DDoS version check failed.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.