tencent cloud

Data Types

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-30 15:22:33

AbnormalConnectCondition

Abnormal connection conditions.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
SynRatioThreshold Integer Yes

SYN packet ratio threshold (percentage). 0 indicates that the check is disabled. If the SYN packet ratio in a connection exceeds the configured threshold, the connection is considered abnormal.

Valid range: [0, 100]

SynCountThreshold Integer Yes

SYN packet ratio threshold (percentage). 0 indicates that the check is disabled. If the SYN packet ratio in a connection exceeds the configured threshold, the connection is considered abnormal.

Valid range: [0, 65535]

ConnectTimeout Integer Yes

Connection timeout (in seconds). 0 indicates that the check is disabled. If no data is received within the configured timeout period, the connection is considered abnormal.

Valid range: [0, 65535]

EmptyConnection String Yes

Whether to enable empty connection protection. If a large number of empty connections are associated with the same client, they are considered abnormal connections.

Valid values:

  • on: Enable
  • off: Disable

AbnormalConnectionLimit

Abnormal connection protection configuration.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
AbnormalConnectThreshold Integer Yes

Limit on the number of abnormal connections, which limits the number of abnormal connections from a single source IP at the same time. 0 indicates that the limit is disabled. Value range: 0-4294967295.

Valid range: [0, 4294967295]

AbnormalConnectCondition AbnormalConnectCondition Yes

Conditions for determining abnormal connections. If any condition is met, it is counted as one abnormal connection.

ConnectionProtectionConfig

Connection attack protection configuration.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
SourceIPNewConnectionLimit Integer Yes

Limit on the number of new connections per second from a source IP. 0 indicates no limit (disabled), and a value greater than 0 enables the limit. New connections are limited after the threshold is reached.

Value range: [0, 4294967295]

SourceIPConcurrentConnectionLimit Integer Yes

Limit on the number of concurrent connections from a source IP. 0 indicates no limit (disabled), and a value greater than 0 enables the limit. New connections are limited after the threshold is reached.

Value range: [0, 4294967295]

DestinationIPNewConnectionLimit Integer Yes

Limit on the number of new connections per second to a destination IP. 0 indicates no limit (disabled), and a value greater than 0 enables the limit. New connections are limited after the threshold is reached.

Value range: [0, 4294967295]

DestinationIPConcurrentConnectionLimit Integer Yes

Limit on the number of concurrent connections to a destination IP. 0 indicates no limit (disabled), and a value greater than 0 enables the limit. New connections are limited after the threshold is reached.

Value range: [0, 4294967295]

AbnormalConnectionLimit AbnormalConnectionLimit Yes

Limit on abnormal connections from a source IP.

DDoSBlockRecord

Block history

Used by actions: DescribeDDoSBlockRecords.

Name Type Description
Resource String

Blocked resources, public IP address, for example:

  • Public IP address: 117.175.94.231.
BlockTime Timestamp ISO8601

The time when it was blocked.

Status String

Blocking and unblocking status.

Enumeration value:

  • Blocked: Blocked;
  • Unblocking: Unblocking;
  • Unblocked: Unblocked.

DDoSUnblockQuota

Unconsumed unblocking quota info of the current account. Users who purchase Anti-DDoS products have a default unblocking quota of 3 resources. The system will reset the unblocking quota count at zero point (UTC+8) time zone each day. Unused unblocking quota on the day will not accumulate to the next day. The unblocking quota for Anti-DDoS Package (Lite) is 3 resources per month and resets monthly.

Used by actions: DescribeDDoSBlockRecords.

Name Type Description
TotalQuota Integer

Total quota of the number of unblocking times.

UsedQuota Integer

Total quota used.

QuotaStartTime Timestamp ISO8601

Start time when the quota takes effect.

QuotaEndTime Timestamp ISO8601

End time when the quota takes effect.

DefaultProtectionConfig

DDoS default protection configuration, which is used to set the sensitivity level of the cleansing policy.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
SensitivityLevel String Yes

DDoS protection sensitivity level configuration, which determines the sensitivity of the cleansing policy.

Valid values:

  • high: High sensitivity. The cleansing policy is relatively strict. It is recommended when attack traffic passes through in normal mode.
  • medium: Medium sensitivity (default). The cleansing policy is suitable for most services and can effectively protect against common attacks.
  • low: Low sensitivity. The cleansing policy is relatively loose and only protects against attack packets with clear attack characteristics.

For details, see Protection Policies for Each Protection Sensitivity Level.

Filter

Describe key-value pair filter, used for condition filtering query, such as filtering ID, name, status. When multiple Filters exist, the relationship between Filters is logical AND. When the same Filter has multiple Values, the relationship between Values under the same Filter is logical OR.

Used by actions: DescribeDDoSBlockRecords.

Name Type Required Description
Name String Yes

Fields to be filtered. Check corresponding API for specific available values.

Values Array of String Yes

Field's filter value.

GeoBlockingConfig

Region blocking configuration.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
GeoCode Array of String Yes

List of regions to block. Two-letter codes compliant with the ISO 3166-1 alpha-2 standard are used.

IPACLRule

IP allowlist and blocklist rule.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Action String Yes

Action.

Valid values:

  • drop: blocklist (block).
  • allow: allowlist (allow).
IPs Array of String Yes

IP list.

Format: IPv4, IPv6, and CIDR formats are supported.

IPACLRules

List of IP allowlist and blocklist rules.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Rules Array of IPACLRule Yes

List of IP allowlist and blocklist rules.

PacketFilterCondition

Packet matching condition.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
MatchBegin String Yes

Start position of packet matching.

Valid values:

  • ip_header: Match from the IP header.
  • transport_header: Match from the TCP/UDP header.
  • payload: Match from the application-layer payload.
Content PacketMatchContent Yes

Packet matching content.

PacketFilterRule

Feature filtering rule.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Action String Yes

Action to perform after a match.

Valid values:

  • drop: Drop the traffic.
  • allow: Allow the traffic.
  • drop_and_block: Drop the traffic and block the source.
  • forward: Continue protection, that is, continue to execute the next protection sub-policy instead of other rules in feature filtering.
Protocol String Yes

Protocol type.

Valid values:

  • tcp: TCP protocol.
  • udp: UDP protocol.
  • all: All protocols.
PacketSizeRange SizeRange Yes

Packet length range.

SourcePortRange PortRange Yes

Source port range.

DestinationPortRange PortRange Yes

Destination port range.

PacketFilterConditions Array of PacketFilterCondition No

List of packet matching conditions.

PacketFilterRules

List of feature filtering rules.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Rules Array of PacketFilterRule Yes

List of feature filtering rules.

PacketMatchContent

Packet matching content.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Type String Yes

Format type of the match Value.

Valid values:

  • string: Plaintext string.
  • hex: Hexadecimal string.
Value String Yes

Match value. When Type=string, it is a plaintext string, for example, GET /index; When Type=hex, it is a hexadecimal string, for example, 0x7e2f68656c6c6f.

Offset Integer Yes

Match start offset, calculated from the match start position (MatchBegin).

Value range: [0, 1500]

Unit: byte

Depth Integer Yes

Inspection depth, that is, the maximum number of bytes to inspect starting from Offset.

Value range: [0, 1500]

Unit: byte

PortACLRule

Port filtering rules.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
SourcePortRange PortRange Yes

Source port range.

DestinationPortRange PortRange Yes

Destination port range.

Protocol String Yes

Protocol type.

Valid values:

  • all: All protocols.
  • tcp: TCP protocol.
  • udp: UDP protocol.
Action String Yes

Action.

Valid values:

  • drop: Drop.
  • allow: Allow.
  • forward: Continue protection, that is, continue to execute the next protection sub-policy module instead of other rules in port filtering.

PortACLRules

List of port filtering rules.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Rules Array of PortACLRule Yes

List of port filtering rules.

PortRange

Port range.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
FromPort Integer Yes

Start port.

Value range: [1, 65535]

When it is the same as ToPort, it indicates a single port.

ToPort Integer Yes

End port.

Value range: [1, 65535]

ProtectionFilter

Used to filter query results by specified fields, such as protection instance ID, name, and status. Multiple filters are combined with a logical AND relationship. Multiple Values within the same Filter are combined with a logical OR relationship.

Used by actions: DescribeProtectionResources, DescribeProtections.

Name Type Required Description
Name String Yes

Name of the field to filter by.

Values Array of String Yes

Filter value of the corresponding field.

Fuzzy Boolean No

Whether to enable fuzzy query.

ProtectionInfo

DDoS protection instance information.

Used by actions: DescribeProtections.

Name Type Description
ProtectionId String

ID of the protection instance.

Name String

Name of the protection instance.

ProtectionLevel String

Protection level of the protection instance.

Valid values:

  • advanced: Advanced protection;
  • ultimate: Ultimate protection.
Status String

Status of the protection instance.

Valid values:

  • protecting: Protecting;
  • processing: Processing;
  • disabling: Disabling;
  • disabled: Disabled.
Tags Array of TagInfo

List of resource tags.

ResourceCount Integer

Number of protected resources in the protection instance.

ProtectionPolicy

L3/4 DDoS protection policy of the protection instance.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
DefaultProtection DefaultProtectionConfig No

Default protection configuration.

IPACLRules IPACLRules No

List of IP allowlist and blocklist rules.

PortACLRules PortACLRules No

List of port filtering rules.

SpeedLimitRules SpeedLimitRules No

List of rate limiting rules.

PacketFilterRules PacketFilterRules No

List of packet feature filtering rules.

GeoBlocking GeoBlockingConfig No

Region blocking configuration.

ProtocolBlocking ProtocolBlockingConfig No

Protocol blocking configuration.

ConnectionProtection ConnectionProtectionConfig No

Connection attack protection configuration.

TrafficSignature TrafficSignatureConfig No

Traffic signature configuration.

ProtocolBlockingConfig

Protocol blocking configuration.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
TCPProtocol String Yes

TCP protocol blocking.

Valid values:

  • on: Enable
  • off: Disable
UDPProtocol String Yes

UDP protocol blocking.

Valid values:

  • on: Enable
  • off: Disable
ICMPProtocol String Yes

ICMP protocol blocking.

Valid values:

  • on: Enable
  • off: Disable
OtherProtocol String Yes

Blocking of other protocols (protocols other than TCP/UDP/ICMP).

Valid values:

  • on: Enable
  • off: Disable

ResourceInfo

Detailed information of the protected resource.

Used by actions: DescribeProtectionResources.

Name Type Description
Resource String

Six-segment resource identifier of the protected resource.

ResourceType String

Protected resource type.

Valid values:

  • cvm: Cloud Virtual Machine
  • lighthouse: Lighthouse
  • clb: Cloud Load Balancer
  • eip: Elastic IP
  • waf: Web Application Firewall
  • teo_l7_domain: EdgeOne domain
  • teo_l4_proxy: EdgeOne L4 proxy
Status String

Protection status of the protected resource.

Valid values:

  • protecting: Protection in progress
  • processing: Protection change in progress
  • disabling: Protection being disabled
  • disabled: Protection disabled
  • process_failed: Protection change failed
  • disabled_failed: Protection disabling failed
Region String

Region to which the protected resource belongs, for example, ap-beijing.

If the resource type is EdgeOne-related, valid values of Region are as follows:

  • global: Global area.
  • mainland: Chinese mainland area.
  • overseas: Global area (excluding the Chinese mainland).
PublicAddresses Array of String

Public access address.

  • If the resource type is a cloud asset that provides access through a public IP, the corresponding public IP is returned.
  • If the resource type is a cloud asset that provides access through a domain name, the corresponding domain name is returned, for example, domain-based load balancer instances.
  • If the resource type is an EdgeOne L4 proxy or L7 domain, this field is not returned.

ResourceProtection

Protected resources and their bound protection instances.

Used by actions: DescribeResourceProtections.

Name Type Description
Resource String

Six-segment resource identifier of the protected resource.

ProtectionId String

ID of the protection instance bound to the resource.

SizeRange

Value range.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Min Integer Yes

Minimum value.

When it is equal to Max, it indicates a single value.

Max Integer Yes

Maximum value.

SpeedLimitRule

Port rate limiting rule.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
IPProtocolNumbers Array of String Yes

IP protocol number. For valid values, see List of IP protocol numbers.

Format: a number in the range of 0-255. A single IP protocol number or an IP protocol number range is supported.

0-255 indicates all protocols.

DestinationPortRanges Array of PortRange Yes

List of destination port ranges.

Mode String Yes

Rate limiting aggregation dimension.

Valid values:

  • destination_ip: Aggregates by destination IP.
  • source_destination_ip: Aggregates by source IP + destination IP.
BandwidthLimit Integer No

Traffic bandwidth limit.

Value range: [0, 4294967295]

Unit: bps

0 indicates no limit. At least one of BandwidthLimit and PacketRateLimit must be set to a value greater than 0.

PacketRateLimit Integer No

Packet rate limit.

Value range: [0, 4294967295]

Unit: pps

0 indicates no limit. At least one of BandwidthLimit and PacketRateLimit must be set to a value greater than 0.

SpeedLimitRules

List of port rate limiting rules.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Rules Array of SpeedLimitRule Yes

List of port rate limiting rules.

TagInfo

Tag configuration.

Used by actions: CreateProtection, DescribeProtections.

Name Type Required Description
TagKey String Yes

Tag key.

TagValue String Yes

Tag value.

TrafficSignatureConfig

Traffic signature verification configuration.

Used by actions: DescribeDDoSProtectionPolicy, ModifyDDoSProtectionPolicy.

Name Type Required Description
Switch String Yes

Switch for traffic signature configuration.

TrafficSignatureKeys Array of String Yes

Traffic signature key.

UdpCheckPortRanges Array of PortRange Yes

Port range for UDP protocol verification. Multiple ports or port ranges are supported.

TcpCheckPortRanges Array of PortRange Yes

Port range for TCP protocol verification. Multiple ports or port ranges are supported.

UdpTrafficSignatureOffset Integer No

Start offset of the signature in the packet payload for the UDP protocol. The offset ranges from 0 to 100 bytes. Default value: 0.

TcpTrafficSignatureOffset Integer No

Start offset of the signature in the packet payload for the TCP protocol. The offset ranges from 0 to 100 bytes. Default value: 0.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック