Specific configuration for AI crawler detection.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Whether AI crawler detection is enabled. Valid values:on: Enable; |
| Action | SecurityAction | No | Execution action of AI crawler detection. Required if Enabled is on. Name of SecurityAction only supports: |
API resource.
Used by actions: CreateSecurityAPIResource, DescribeSecurityAPIResource, ModifySecurityAPIResource.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | Resource ID. |
| Name | String | No | Resource name. |
| APIServiceIds | Array of String | No | List of API service IDs associated with the API resource. |
| Path | String | No | Resource path. |
| Methods | Array of String | No | Request method list. Supports the following values: GET, POST, PUT, HEAD, PATCH, OPTIONS, DELETE. |
| RequestConstraint | String | No | Specific content of the request content matching rule. It must comply with the expression syntax. For detailed specifications, see the product document. |
API service configuration.
Used by actions: CreateSecurityAPIService, DescribeSecurityAPIService, ModifySecurityAPIService.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | API service ID. |
| Name | String | No | API service name. |
| BasePath | String | No | Base path. |
Destination information of the AWS S3 bucket. EdgeOne is authorized to deliver real-time logs to your AWS S3 bucket through an IAM role and an external ID, with no need to provide a long-term access key. For details, see Delivering Logs to AWS S3.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Endpoint | String | Yes | Service endpoint domain name of the AWS S3 bucket. For valid values, see AWS Endpoints. Example: s3.us-west-2.amazonaws.com. |
| BucketName | String | Yes | Name of the AWS S3 bucket. You can view the bucket name in the Buckets list in the AWS S3 console. It must be 3 to 63 characters in length, contain only lowercase letters, digits, periods (.), and hyphens (-), and start and end with a letter or a digit. |
| Path | String | Yes | Directory path where log files are stored in the AWS S3 bucket. Multiple directory levels can be created by separating with If the directory path exists, it is used directly; if it does not exist, it is automatically created. Directory names can only consist of letters, digits, and Example: |
| RoleARN | String | Yes | ARN of the IAM role that authorizes EdgeOne to access the AWS S3 bucket. You need to first create an IAM role in your AWS account that grants EdgeOne write permissions (for how to create it, see Delivering Logs to AWS S3). After creation, you can view and copy the ARN at the top of the role details page in the AWS IAM console. Example: |
| CompressType | String | No | Data compression type. Valid values:
|
Acceleration optimization configuration for the Chinese mainland.
Used by actions: CreateApplicationProxy, DescribeApplicationProxies, DescribeZoneSetting, ModifyApplicationProxy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether acceleration optimization configuration is enabled for the Chinese mainland. Valid values:on: Enable; |
Acceleration optimization configuration in Chinese mainland.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Mainland China acceleration optimization configuration switch. Valid values:on: Enable; |
Acceleration type
Used by actions: DescribeHostsSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Acceleration switch. Value range:on: Enable; |
Acceleration domain name
Used by actions: DescribeAccelerationDomains.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Site ID. |
| DomainName | String | Acceleration domain name. |
| DomainStatus | String | Acceleration domain name status Enumeration values:
|
| Cname | String | CNAME address. |
| IPv6Status | String | IPv6 status. Valid values: |
| IdentificationStatus | String | Acceleration domain ownership verification status. Valid values: |
| OwnershipVerification | OwnershipVerification | When the acceleration domain name needs to perform ownership verification to continue providing services, this object will carry the information required for the corresponding verification method. |
| OriginDetail | OriginDetail | Origin server information. |
| OriginProtocol | String | Origin-pull protocol. Valid values: |
| HttpOriginPort | Integer | HTTP origin port. |
| HttpsOriginPort | Integer | HTTPS origin port. |
| Certificate | AccelerationDomainCertificate | Acceleration domain name certificate information. |
| CreatedOn | Timestamp ISO8601 | Creation time. |
| ModifiedOn | Timestamp ISO8601 | Last modified. |
| ComplianceRestrictions | Array of ComplianceRestriction | List of region access restrictions on a domain name due to compliance issues. |
Certificate information of the acceleration domain name.
Used by actions: DescribeAccelerationDomains.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | No | Mode for configuring the server certificate. Valid values:
|
| List | Array of CertificateInfo | No | List of server certificates. The related certificates are deployed at the EO entry side. |
| ClientCertInfo | MutualTLS | No | In the edge mutual authentication scenario, this field represents the client's CA certificate, which is deployed inside the EO node and used for EO node authentication of the client certificate. |
| UpstreamCertInfo | UpstreamCertInfo | No | Used to enable or disable origin-pull mutual authentication and origin certificate verification. The certificate for origin-pull mutual authentication is carried during EO origin-pull. The origin server can choose to verify this certificate to ensure the request originates from a trusted EO node. When origin certificate verification is enabled, the certificate configuration is used for EO nodes to verify whether the origin certificate is trustworthy. |
Access URL redirection configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| StatusCode | Integer | No | Status code, value is one of 301, 302, 303, 307, 308. |
| Protocol | String | No | Target request protocol. Enumeration values:
|
| HostName | HostName | No | Target HostName. |
| URLPath | URLPath | No | Target path. |
| QueryString | AccessURLRedirectQueryString | No | Query string. |
| Port | AccessURLRedirectPort | No | Target port configuration. If this parameter is not specified, it is processed in FollowProtocol mode, meaning the redirect address does not explicitly specify a port. The target protocol uses the default port: 80 for HTTP and 443 for HTTPS. |
Access URL redirected destination port configuration parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | No | Target port configuration Enumeration values:
|
| Value | Integer | No | Custom destination port. Value range: [1, 65535] Required when Action is Custom. It is ineffective when Action is FollowProtocol or FollowRequest. |
Access URL redirection configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | No | Execution action. Valid values: |
Account protection configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Account protection feature switch. Enumeration values:
Default value: off. |
| RequestPurpose | String | No | Request target. Used to identify the business operation scenario the request belongs to. Enumeration values:
|
| UserIDSource | String | No | The location of the user identity in the request source, where key is replaced with the actual parameter name. Valid values:
|
| UserRiskProfile | UserRiskProfile | No | User Risk Level configuration. |
Precise protection condition
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| MatchFrom | String | Yes | Matching field. Valid values:url: Request URL; |
| MatchParam | String | Yes | Matching string. When MatchFrom is header, the key of the header can be set to this parameter. |
| Operator | String | Yes | Matching relationship. Valid values: |
| MatchContent | String | Yes | Matching content. |
ACL configurations.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
| AclUserRules | Array of AclUserRule | Yes | User-defined rules. |
| Customizes | Array of AclUserRule | No | Managed custom rule |
User-defined rules
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleName | String | Yes | Rule name. |
| Action | String | Yes | Penalty action. Valid values: |
| RuleStatus | String | Yes | Rule status. Valid values:on: Take effect; |
| AclConditions | Array of AclCondition | Yes | Custom rule. |
| RulePriority | Integer | Yes | Rule priority. Value range: 0-100. |
| RuleID | Integer | No | Rule Id. Output only. |
| UpdateTime | String | No | Update time. For output usage only. |
| PunishTime | Integer | No | Penalty duration for ip blocking. Required when Action is ban. It cannot be empty and the value ranges from 0 to 2 days. |
| PunishTimeUnit | String | No | Penalty time unit for ip blocking. Valid values: |
| Name | String | No | Name of the custom return page. Required when Action is page, and cannot be empty. |
| PageId | Integer | No | Instance Id for the custom return page. Default value: 0, which means the system default blocking page is used. This parameter is deprecated. |
| CustomResponseId | String | No | Custom response Id, which can be obtained through the API for querying the custom error page list. The default value is default, which uses the system default page. Required and cannot be empty when Action is page. |
| ResponseCode | Integer | No | code of the custom return page. Required when Action is page. The value cannot be empty. Value range: 100-600. 3xx response codes are unsupported. Default value: 567. |
| RedirectUrl | String | No | Address for redirection. Required when Action is redirect and cannot be empty. |
Rule engine feature item operations. For a feature, it corresponds to only one of the following three types. Each item in the RuleAction array can only be one of these types. For more feature item completion specifications, call the API to query the rule engine parameter settings (https://www.tencentcloud.com/document/product/1552/80618?from_cn_redirect=1).
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| NormalAction | NormalAction | No | Normal feature operation. Feature items of this type: |
| RewriteAction | RewriteAction | No | Feature operations with request/response headers. Feature items of this type include: |
| CodeAction | CodeAction | No | Feature operation with a status code. Feature items of this type: |
Adaptive frequency control
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | Yes | Whether adaptive frequency control is enabled. Valid values: |
| Id | String | No | Rule ID of adaptive frequency control, returned only as an output parameter. |
| Sensitivity | String | No | The limitation level of adaptive frequency control. This field is required when Enabled is on. Valid values: |
| Action | SecurityAction | No | Handling method of adaptive frequency control. This field is required when Enabled is on. Supported values for SecurityAction Name: |
IP range details.
Used by actions: DescribeAvailableOriginACLFamily, DescribeMultiPathGatewayOriginACL, DescribeOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| IPv4 | Array of String | No | IPv4 IP range list. |
| IPv6 | Array of String | No | IPv6 IP range list. |
Description key-value pair filter, which is used for conditional filtering queries and supports fuzzy query. For example, filter by ID, name, and status.
If there are multiple Filters, the logical relationship between them is AND.
If there are multiple Values in the same Filter, the logical relationship between the Values under the same Filter is OR.
Used by actions: DescribeAccelerationDomains, DescribeAliasDomains, DescribeAvailableCustomActionsForRuleEngine, DescribeConfigGroupVersions, DescribeContentIdentifiers, DescribeCustomErrorPages, DescribeDeployHistory, DescribeDnsRecords, DescribeEdgeKVNamespaces, DescribeFunctionComponentBindings, DescribeFunctionReplicas, DescribeInferenceServices, DescribeLogAnalysisDownloadTasks, DescribeOriginGroup, DescribePrefetchTasks, DescribePurgeTasks, DescribeRealtimeLogDeliveryTasks, DescribeSharedCNAME, DescribeZones.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Fields to be filtered. |
| Values | Array of String | Yes | Filter value of the field. |
| Fuzzy | Boolean | No | Whether to enable fuzzy query. |
Advanced origin optimization configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Direction | String | Yes | Origin optimization direction. Valid values: |
AI rule engine protection
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | Yes | AI rule engine status. Valid values: |
Bot proactive feature recognition client behavior validation.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | No | Operation name. |
| WorkLevel | String | No | Proof of Work (proof_Of-Work) verification strength. Default value: low. Valid values: |
| ExecuteMode | Integer | No | Execution mode. The time when js delay execution is triggered. Unit: ms. Default value: 500. Value range: 0–1000. |
| InvalidStatTime | Integer | No | Statistical cycle for clients that do not have JS enabled (test not completed). Unit: seconds. Default: 10. Value range: 5–3600. |
| InvalidThreshold | Integer | No | Client JS not enabled (test not completed) trigger threshold. Count. Default: 300. Value: 1–100000000. |
| AlgDetectResults | Array of AlgDetectResult | No | Bot proactive feature recognition client behavior validation result. |
Proactive feature recognition check results for Bot.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Result | String | No | Check results. Valid values: |
| Action | String | No | Penalty action. Valid values: |
Bot active feature detection rule.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleID | Integer | No | Rule id. |
| RuleName | String | No | Rule name. |
| Switch | String | No | Rule switch. |
| AlgConditions | Array of AclCondition | No | Custom rule. |
| AlgDetectSession | AlgDetectSession | No | Cookie checksum and session behavior analysis. |
| AlgDetectJS | Array of AlgDetectJS | No | Client behavior validation. |
| UpdateTime | String | No | Update time. For output usage only. |
Cookie verification and session tracking.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | No | Operation name. |
| DetectMode | String | No | Verification method. Default value: update_detect. Valid values: |
| SessionAnalyzeSwitch | String | No | Switch for session rate and periodic feature verification. Default value: off. Valid values:on: Enable. |
| InvalidStatTime | Integer | No | Statistical cycle for the check result indicating no Cookie is carried or the Cookie has expired. Unit: seconds. Default: 10. Value range: 5–3600. |
| InvalidThreshold | Integer | No | Trigger threshold for the check result indicating no Cookie is carried or the Cookie has expired. Unit: count. Default: 300. Value range: 1–100000000. |
| AlgDetectResults | Array of AlgDetectResult | No | Cookie verification result. |
| SessionBehaviors | Array of AlgDetectResult | No | Session rate and periodic feature verification result. |
Alias domain information.
Used by actions: DescribeAliasDomains.
| Name | Type | Description |
|---|---|---|
| AliasName | String | Alias domain name. |
| ZoneId | String | Zone ID. |
| TargetName | String | Target domain name. |
| Status | String | Status of the alias domain name. Valid values: |
| ForbidMode | Integer | Blocking mode. Valid values:0: not blocked; |
| CreatedOn | Timestamp ISO8601 | Alias domain creation time. |
| ModifiedOn | Timestamp ISO8601 | Alias domain name modification time. |
Additional parameter when the executed action is allow.
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and the Allow action is executed.
Different handling actions are configured with different fixed parameter combinations. The system will determine the actually effective handling action type according to the configured parameter combination.
During the same release execution, only one handling action can be configured and made effective. Parameters for multiple handling actions cannot appear at the same time. Otherwise, it is deemed as an invalid configuration. If empty, the default release action is used.
AllowActionParameters supports the following additional handling actions:
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| MinDelayTime | String | No | Minimum delayed response time. When configured as 0s, it means no delay and direct response. Supported units: |
| MaxDelayTime | String | No | Maximum delayed response time. Supported units: |
Application proxy instance
Used by actions: DescribeApplicationProxies.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Site ID. |
| ZoneName | String | Site name. |
| ProxyId | String | Proxy ID. |
| ProxyName | String | When ProxyType=hostname, it indicates a domain name or subdomain. When ProxyType=instance, it indicates the proxy name. |
| ProxyType | String | L4 proxy mode. Valid values:hostname: Create by subdomain name;instance: Create by instance. |
| PlatType | String | Scheduling mode. Valid values:ip: Anycast IP;domain: CNAME. |
| Area | String | Acceleration region. Valid values: Default value: overseas |
| SecurityType | Integer | Whether security is enabled. Valid values: |
| AccelerateType | Integer | Whether to enable acceleration. Valid values: |
| SessionPersistTime | Integer | Session hold time, in seconds. |
| Status | String | Status. Valid values:online: Enable;offline: Disable; |
| BanStatus | String | Blocking status. Valid values:recovering: The name server is being unblocked. |
| ScheduleValue | Array of String | Scheduling information. |
| HostId | String | When ProxyType=hostname: Indicates the unique ID of the proxy acceleration. |
| Ipv6 | Ipv6 | Ipv6 access configuration. |
| UpdateTime | Timestamp ISO8601 | Update time. |
| ApplicationProxyRules | Array of ApplicationProxyRule | Rule list. |
| AccelerateMainland | AccelerateMainland | Acceleration optimization configuration for the Chinese mainland. |
Application proxy rule
Used by actions: CreateApplicationProxy, DescribeApplicationProxies.
| Name | Type | Required | Description |
|---|---|---|---|
| Proto | String | Yes | Protocol. Valid values: |
| Port | Array of String | Yes | Port. Supported formats: Note: Up to 20 ports can be input for each rule. |
| OriginType | String | Yes | Origin server type. Valid values:custom: Manually added; |
| OriginValue | Array of String | Yes | Details of the origin server:["8.8.8.8","9.9.9.9"] or OriginValue=["test.com"]; |
| RuleId | String | No | Rule ID. |
| Status | String | No | Status. Valid values:online: Enable;offline: Disable; |
| ForwardClientIp | String | No | Passing the client IP address. Valid values: |
| SessionPersist | Boolean | No | Whether to enable session persistence. Valid values: |
| SessionPersistTime | Integer | No | Duration for session persistence, in seconds. The value takes effect only when SessionPersist is true. |
| OriginPort | String | No | Origin server port. Supported formats: |
| RuleTag | String | No | Rule tag. |
Site ownership information
Used by actions: DescribeIdentifications, IdentifyZone.
| Name | Type | Description |
|---|---|---|
| Subdomain | String | Host record. |
| RecordType | String | Record type. |
| RecordValue | String | Record value. |
Audio stream configuration parameters.
Used by actions: CreateJustInTimeTranscodeTemplate, DescribeJustInTimeTranscodeTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | Yes | Audio stream encoding format. Optional values: |
| AudioChannel | Integer | No | Audio channel quantity. Available values: |
Token authentication configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| AuthType | String | No | Authentication type. Valid values: |
| SecretKey | String | No | Primary authentication key. It contains 6–40 uppercase/lowercase letters or digits and cannot contain " or $. |
| Timeout | Integer | No | Valid duration of the authentication URL, in seconds. Value range: 1–630720000. It is used to determine whether the client access request is expired: |
| BackupSecretKey | String | No | Backup authentication key. It contains 6–40 uppercase/lowercase letters or digits and cannot contain " or $. |
| AuthParam | String | No | Authentication parameter name. The node will validate the value corresponding to this parameter name. It consists of 1–100 upper- and lower-case letters, digits, or underscores. Note: This field is required when AuthType is one of TypeA and TypeD. |
| TimeParam | String | No | Authentication timestamp. It cannot be the same as the AuthParam field value. Note: This field is required when AuthType is TypeD. |
| TimeFormat | String | No | Authentication time format. Valid values: |
Bandwidth abuse protection configuration (only applicable to the Chinese mainland).
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | Yes | Whether bandwidth abuse protection (only applicable to the Chinese mainland) is enabled. Valid values: |
| Id | String | No | Rule ID for bandwidth abuse protection. Returned as an output parameter only. |
| Action | SecurityAction | No | Handling method for bandwidth abuse protection (applicable to Chinese mainland only). This field is required when Enabled is on. Supported values for SecurityAction Name: |
Basic configuration of Bot management, which takes effect for all domain names associated with the policy. Fine-grained customization can be done through CustomRules.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SourceIDC | SourceIDC | No | Source IDC configuration of the client IP, used for handling access requests from client IPs in IDCs (data centers). This type of source request is not directly accessed from a mobile terminal or browser side. |
| SearchEngineBots | SearchEngineBots | No | Search engine crawler configuration, used for handling requests from search engine crawlers. The IP, User-Agent, or rDNS results of such requests match known search engine crawlers. |
| KnownBotCategories | KnownBotCategories | No | UA feature configuration for commercial or open-source tools (formerly UA feature rules), used for handling access requests from known commercial or open-source tools. The User-Agent header of such requests matches the features of known commercial or open-source tools. |
| IPReputation | IPReputation | No | IP threat intelligence database (formerly client profile analysis) configuration, used for handling client IP addresses with specific risk characteristics in recent access behavior. |
| BotIntelligence | BotIntelligence | No | Specific configuration for Bot intelligent analysis. |
Billing data item.
Used by actions: DescribeBillingData.
| Name | Type | Description |
|---|---|---|
| Time | Timestamp ISO8601 | Data timestamp. |
| Value | Integer | Numeric value. |
| ZoneId | String | Site ID to which the data point belongs. If the content identifier feature is used, the value of this item is the content identifier. |
| Host | String | Domain name to which the data point belongs. |
| ProxyId | String | ID of the Layer 4 Proxy instance to which the data point belongs. |
| RegionId | String | ID of the billing region to which the data point belongs. The billing region is determined by the region of the EdgeOne node that actually serves the user client. Valid values: |
Billing data filter criteria.
Used by actions: DescribeBillingData.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Parameter name. |
| Value | String | Yes | Parameter value. |
Domain name info bound to the policy template
Used by actions: DescribeWebSecurityTemplates.
| Name | Type | Description |
|---|---|---|
| Domain | String | Domain name. |
| ZoneId | String | Site ID of the domain name. |
| Status | String | Binding status. Valid values: |
Binding relationship between the shared CNAME and domain name.
Used by actions: BindSharedCNAME.
| Name | Type | Required | Description |
|---|---|---|---|
| SharedCNAME | String | Yes | Shared CNAME to bind or unbind. |
| DomainNames | Array of String | Yes | Acceleration domain names. You can pass multiple ones, up to 20. |
Additional parameter for IP blocking in Web Security
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Duration | String | Yes | Penalty duration for blocked IPs. Supported units: |
Security Bot configuration
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | bot switch. Valid values:on: Enable; |
| BotManagedRule | BotManagedRule | No | Common detailed basic rules. If it is null, use the last set configuration by default. |
| BotPortraitRule | BotPortraitRule | No | User profiling rule. If it is null, use the last set configuration by default. |
| IntelligenceRule | IntelligenceRule | No | Bot intelligent analysis. If it is null, use the last set configuration by default. |
| BotUserRules | Array of BotUserRule | No | Bot custom rule. If it is null, the last set configuration is used by default. |
| AlgDetectRule | Array of AlgDetectRule | No | Bot active feature detection rule. |
| Customizes | Array of BotUserRule | No | Bot managed custom policy. This input parameter is optional and is only used as an output parameter. |
Bot extension handling method, a composite of multiple disposal actions.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | Disposal actions. Valid values: |
| Percent | Integer | No | Probability for triggering the handling method. Value range: 0-100. |
Specific configuration for Bot intelligent analysis.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Specific configuration switch for Bot intelligent analysis. Valid values: on: enable; off: Disable. |
| Id | String | No | Rule ID of Bot intelligent analysis, returned only as an output parameter. |
| BotRatings | BotRatings | No | Based on the client and request features, divide the request source into human requests, valid Bot requests, suspected Bot requests, and high-risk Bot requests, and provide request handling options. |
Bot Rules. The following rule IDs can be found in the ID information returned by the DescribeBotManagedRules API.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | Handling method after the trigger rule is triggered. Valid values: |
| RuleID | Integer | No | Rule ID. Output only. |
| TransManagedIds | Array of Integer | No | Rule ID to allow. By default, no rule is allowed. |
| AlgManagedIds | Array of Integer | No | Rule ID of the JS challenge. By default, no JS challenge is configured for all rules. |
| CapManagedIds | Array of Integer | No | Rule ID of the digit verification code. By default, no digit verification code is configured for all rules. |
| MonManagedIds | Array of Integer | No | Rule ID to observe. By default, no rule is configured for observation. |
| DropManagedIds | Array of Integer | No | Rule ID to intercept. By default, no rule is intercepted. |
BOT rule structure for Web security.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Whether Bot management is enabled. Valid values: |
| CustomRules | BotManagementCustomRules | No | Custom rule for Bot management combines various types of crawlers and request behavior characteristics to precisely define bots and configure customized handling methods. |
| BasicBotSettings | BasicBotSettings | No | Basic configuration of Bot management, which takes effect on all domains associated with the policy. It can be customized through CustomRules. |
| ClientAttestationRules | ClientAttestationRules | No | Definition list of client authentication rules. This feature is in beta test. If needed, submit a ticket. |
| BrowserImpersonationDetection | BrowserImpersonationDetection | No | Configure browser spoofing identification rules (formerly active feature detection rules). Set the response page range for JavaScript injection, browser check options, and handling method for non-browser clients. |
Configuration of a Bot rule item, used to overwrite the upper-layer default configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Ids | Array of String | No | Specific item under the Bot rule group, used to rewrite the configuration content of this individual rule item. For detailed information corresponding to the Ids, see the returned message of the DescribeBotManagedRules API. |
| Action | SecurityAction | No | Handling action for the Bot rule item specified in Ids. Supported values for SecurityAction Name: |
Custom Bot rules for Web security.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | ID of the bot custom rule. |
| Name | String | No | Name of the Bot custom rule. |
| Enabled | String | No | Whether the custom Bot rule is enabled. Valid values: |
| Priority | Integer | No | Priority of Bot custom rules, ranging from 1 to 100, with a default value of 50. |
| Condition | String | No | For specific content of the Bot custom rule, it must comply with the expression grammar. For detailed specifications, see the product document. |
| Action | Array of SecurityWeightedAction | No | List of safe execution actions by weight assignment. |
Configuration of the Bot custom rule.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of BotManagementCustomRule | No | List of Bot custom Rules. When using ModifySecurityPolicy to modify the Web protection configuration: |
Structure of BOT rules for Web security.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| CAPTCHAPageChallenge | CAPTCHAPageChallenge | No | Configuration of the CAPTCHA page. |
| AICrawlerDetection | AICrawlerDetection | No | Specific configuration for AI crawler detection. |
bot user profiling rules
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Feature switch. Valid values:on: Enable; |
| RuleID | Integer | No | Rule ID. Output only. |
| AlgManagedIds | Array of Integer | No | Rule ID of the JS challenge. All rules have no JS challenge configured by default. |
| CapManagedIds | Array of Integer | No | Rule ID of the digit verification code. By default, no digit verification code is configured for all rules. |
| MonManagedIds | Array of Integer | No | Rule ID for observation. By default, no rule is configured for observation. |
| DropManagedIds | Array of Integer | No | Rule ID for interception. By default, no interception is configured for all rules. |
Based on client and request features, request sources are divided into human requests, legal Bot requests, suspected Bot requests, and high-risk Bot requests, with request handling options provided.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| HighRiskBotRequestsAction | SecurityAction | No | Execution action for malicious Bot requests. Supported values for the Name parameter of SecurityAction: |
| LikelyBotRequestsAction | SecurityAction | No | Execution action for suspected Bot requests. Supported values for the Name parameter of SecurityAction: |
| VerifiedBotRequestsAction | SecurityAction | No | Execution action of friendly Bot requests. The Name parameter of SecurityAction supports the following values: |
| HumanRequestsAction | SecurityAction | No | Execution action for normal Bot requests. Valid values of SecurityAction Name: |
Cookie verification and session tracking behavior configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| IssueNewBotSessionCookie | String | No | Whether to update the Cookie and verify. Valid values: |
| MaxNewSessionTriggerConfig | MaxNewSessionTriggerConfig | No | Update threshold for cookie update and validation. Valid only when IssueNewBotSessionCookie is on. |
| SessionExpiredAction | SecurityAction | No | Execution action without a Cookie or with an expired Cookie. Supported Name values for SecurityAction: |
| SessionInvalidAction | SecurityAction | No | Execution action for invalid Cookie. The Name parameter of SecurityAction supports the following values: |
| SessionRateControl | SessionRateControl | No | Specific configuration for session rate and periodic feature verification. |
Bot custom rule
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleName | String | Yes | Rule name can only contain English characters, digits, and underscores, and cannot begin with an underscore. |
| Action | String | Yes | Disposal actions. Valid values: |
| RuleStatus | String | Yes | Rule status. Valid values:on: Take effect; |
| AclConditions | Array of AclCondition | Yes | Rule details. |
| RulePriority | Integer | Yes | Rule weight. Value range: 0-100. |
| RuleID | Integer | No | Rule Id. Output only. |
| ExtendActions | Array of BotExtendAction | No | Disposal method and proportion of random disposal. Optional for non-random disposal. Not currently supported. |
| FreqFields | Array of String | No | Filter word. Valid values: Defaults to an empty string. |
| UpdateTime | String | No | Update time. For output usage only. |
| FreqScope | Array of String | No | Statistical scope. Valid values: Default value: source_to_eo. |
| Name | String | No | Name of the custom return page. Required when Action is page, and cannot be empty. |
| CustomResponseId | String | No | Custom response Id, which can be obtained through the customized error page list interface. The default value is default, which uses the system default page. Required and cannot be empty when Action is page. |
| ResponseCode | Integer | No | Custom response code for the return to page. Required when Action is page, and cannot be empty. Value range: 100–600. 3xx response codes are not supported. Default value: 567. |
| RedirectUrl | String | No | Address for redirection. Required when Action is redirect and cannot be empty. |
Configuration of browser spoofing identification rules (formerly active feature detection rules).
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of BrowserImpersonationDetectionRule | No | List of browser spoofing identification rules. When using ModifySecurityPolicy to modify Web protection configuration: |
Action of the Bot browser verification rule (formerly active feature detection rule).
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BotSessionValidation | BotSessionValidation | No | Cookie verification and session tracking configuration. |
| ClientBehaviorDetection | ClientBehaviorDetection | No | Client behavior validation configuration. |
Browser spoofing identification rule (formerly active feature detection rule).
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | ID of the browser spoofing identification rule. You can perform different rule configuration operations by rule ID: |
| Name | String | No | Name of the browser spoofing identification rule. |
| Enabled | String | No | Whether to enable the browser forgery identification rule. Valid values: |
| Condition | String | No | Specific content of the browser spoofing identification rule. It only supports the configuration of request Method, request Path, and request URL, which must comply with expression syntax. For detailed specifications, see the product document. |
| Action | BrowserImpersonationDetectionAction | No | Handling method for browser spoofing identification rules, including Cookie verification, session tracking configuration, and client behavior validation configuration. |
Specific configuration of the CAPTCHA page.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Whether human-machine verification is enabled. Valid values: |
cc configuration item.
Used by actions: DescribeHostsSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Waf switch. Value:on: Enable; |
| PolicyId | Integer | No | Policy ID. |
Configuration information of real-time log delivery to Tencent Cloud CLS.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks.
| Name | Type | Required | Description |
|---|---|---|---|
| LogSetId | String | Yes | Tencent Cloud CLS log set ID. |
| TopicId | String | Yes | Tencent Cloud CLS log topic ID. |
| LogSetRegion | String | Yes | Region of the Tencent Cloud CLS log set. |
Details of the site parameters for the CNAME access type.
Used by actions: DescribeZones.
| Name | Type | Description |
|---|---|---|
| IsFake | Integer | Whether it is a fake site. Valid values: |
| OwnershipVerification | OwnershipVerification | Ownership verification information. For details, see Site/Domain Ownership Verification. |
Cache time setting
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Cache configuration switch. Valid values:on: Enable; |
| CacheTime | Integer | No | Cache expiration time settings. Unit: seconds. Maximum settable to 365 days. |
Cache rule configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Cache | Cache | No | Cache configuration. |
| NoCache | NoCache | No | No cache configuration. |
| FollowOrigin | FollowOrigin | No | Follow the origin server configuration. |
Node cache TTL custom cache time config.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Custom cache time switch. Valid values:on: Enable; |
| CacheTime | Integer | No | Custom cache time value, in seconds. Value range: 0-315360000. Note: This field is required when Switch is on. When Switch is off, no need to specify this field, and it does not take effect if specified. |
Node cache TTL config.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| FollowOrigin | FollowOrigin | No | Cache configuration follows the origin site. At most one of FollowOrigin, NoCache, and CustomTime can be configured with Switch on. |
| NoCache | NoCache | No | No cache configuration. For FollowOrigin, NoCache, and CustomTime, at most one Switch can be set to on. |
| CustomTime | CacheConfigCustomTime | No | Custom cache time configuration. For FollowOrigin, NoCache, and CustomTime, at most one can have Switch set to on. |
Cache key configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| FullUrlCache | String | No | Whether to enable full path cache. Valid values: |
| IgnoreCase | String | No | Whether to ignore case-insensitive cache. Valid values: |
| QueryString | QueryString | No | CacheKey contains request parameters. |
Cache key configuration.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| FullURLCache | String | No | Whether to enable full path cache. Valid values: |
| IgnoreCase | String | No | Whether to ignore case-insensitive cache. Valid values: |
| QueryString | CacheKeyQueryString | No | Query string retention configuration parameter. This field and FullURLCache must be set simultaneously, but cannot both be on. |
Configuration parameters for custom Cache Key Cookie.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Function switch. Valid values:on: Enable; |
| Action | String | No | Cache action, with values: |
| Values | Array of String | No | List of custom Cache Key Cookie names. Note: This field is required when Action is includeCustom or excludeCustom. It is not required when Action is full or ignore, and will not take effect if specified. |
Custom Cache Key HTTP request header configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Function switch. Valid values:on: Enable; |
| Values | Array of String | No | List of custom Cache Key HTTP request headers. Note: This field is required when Switch is on. It is not required when Switch is off, and will not take effect if specified. |
Custom Cache Key configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| FullURLCache | String | No | Switch to retain all query strings. Valid values:on: Enable; |
| QueryString | CacheKeyQueryString | No | Query string reserved configuration parameter. This field and FullURLCache must be set simultaneously, but cannot both be on. |
| IgnoreCase | String | No | Case-insensitive switch. Valid values:on: Enable; |
| Header | CacheKeyHeader | No | HTTP request header configuration parameters. Set at least one configuration for FullURLCache, IgnoreCase, Header, Scheme, or Cookie. |
| Scheme | String | No | Request protocol switch. Valid values:on: Enable; |
| Cookie | CacheKeyCookie | No | Cookie configuration parameters. Set at least one configuration for FullURLCache, IgnoreCase, Header, Scheme, or Cookie. |
Parameter for custom Cache Key query string configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch to reserve or ignore specified parameters in the query string. Valid values:on: Enable; |
| Action | String | No | Action to reserve or ignore specified parameters in the query string. Valid values: |
| Values | Array of String | No | List of parameter names to reserve/ignore in the query string. Note: When Switch is on, this field is required; when Switch is off, no need to specify this field, and if specified, it does not take effect. |
Node cache TTL config.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| FollowOrigin | FollowOrigin | No | Cache follows the origin site. Leave unset means this configuration is not set. At most one of FollowOrigin, NoCache, and CustomTime can be configured with Switch on. |
| NoCache | NoCache | No | No cache. If left empty, this configuration is not set. Among FollowOrigin, NoCache, and CustomTime, only one can have Switch set to on. |
| CustomTime | CustomTime | No | Custom cache time. Leave it unset means this configuration is not set. A maximum of one of FollowOrigin, NoCache, and CustomTime can be configured with Switch on. |
Cache pre-refresh
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Cache pre-refresh configuration switch. Valid values:on: Enable; |
| Percent | Integer | No | Cache pre-refresh percentage. Value range: 1-99. |
Cache pre-refresh configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Cache pre-refresh switch. Valid values:on: Enable; |
| CacheTimePercent | Integer | No | The pre-refresh time is set to a percentage value of the node cache time. Value range: 1–99. Note: When Switch is on, this field is required. When Switch is off, no need to specify this field. If specified, it does not take effect. |
The information attached when the node cache purge type is set to purge_cache_tag.
Used by actions: CreatePurgeTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Domains | Array of String | Yes | List of domain names to purge cache for. |
https certificate configuration.
Used by actions: DescribeAccelerationDomains, ModifyHostsCertificate.
| Name | Type | Required | Description |
|---|---|---|---|
| CertId | String | Yes | Certificate ID, which originates from the SSL side. You can check the CertId from the SSL Certificate List. |
| Alias | String | No | Certificate remark name. |
| Type | String | No | Certificate type. Valid values: |
| ExpireTime | Timestamp ISO8601 | No | Certificate expiration time. |
| DeployTime | Timestamp ISO8601 | No | Deployment time of the certificate. |
| SignAlgo | String | No | Signature algorithm. |
| Status | String | No | Certificate status. Valid values: |
Additional parameter for the safe execution action when it is a challenge.
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and a challenge action is executed.
Challenge disposal actions are segmented through ChallengeOption. Different challenge types correspond to different interaction forms and parameter requirements. The system will bring the corresponding parameter configuration into effect according to the selected challenge type.
ChallengeActionParameters supports the following challenge disposition types:
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ChallengeOption | String | Yes | Specific challenge action for safe execution. Enumeration values:
|
| Interval | String | No | Time interval for repeating the challenge. This field is required when ChallengeOption is InterstitialChallenge/InlineChallenge. Default value: 300s. Supported units: |
| AttesterId | String | No | Client authentication method ID. This field is required when Name is InterstitialChallenge/InlineChallenge. |
Health status of origin servers in each health check region.
Used by actions: DescribeOriginGroupHealthStatus.
| Name | Type | Description |
|---|---|---|
| Region | String | Health check region, which is a two-letter code according to ISO-3166-1. |
| Healthy | String | Health status of origin servers in a single health check region. Valid values: |
| OriginHealthStatus | Array of OriginHealthStatus | Origin server health status. |
Client authentication rules
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | ID of the client authentication rule. |
| Name | String | No | Name of the client authentication rule. |
| Enabled | String | No | Whether the rule is enabled. Valid values: |
| Priority | Integer | No | Priority of rules. A smaller value indicates higher priority. Value range: 0-100. Default value: 0. |
| Condition | String | No | The specific content of the rule must comply with the expression syntax. For detailed specifications, see the product document. |
| AttesterId | String | No | Client authentication option ID. |
| InvalidAttestationAction | SecurityAction | No | Handling method when client authentication fails. SecurityAction.Name values are as follows:
|
| DeviceProfiles | Array of DeviceProfile | No | Client device configuration. If the DeviceProfiles parameter value is not specified in the ClientAttestationRules parameter: keep the existing client device configuration without modification. |
| AccountProtectionSettings | AccountProtectionSettings | No | Account protection configuration. |
Client authentication configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of ClientAttestationRule | No | List of client authentication. When using ModifySecurityPolicy to modify Web protection configuration: |
Authentication option configuration.
Used by actions: CreateSecurityClientAttester, DescribeSecurityClientAttester, ModifySecurityClientAttester.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | Authentication option ID. |
| Name | String | No | Authentication option name. |
| Type | String | No | Authentication rule type. Returned only as an output parameter. Valid values: |
| AttesterSource | String | No | Authentication method. Valid values: |
| AttesterDuration | String | No | Authentication validity time. Default is 60s. Supported units: |
| UsageLimit | String | No | Whether to enable usage limits on authentication results. Enumeration values:
Default value: off |
| MaxUsageCount | Integer | No | Maximum number of uses for the authentication result. This field is required when UsageLimit is on. Value range: [1, 100000] |
| TCRCEOption | TCRCEOption | No | Configuration message for TC-RCE certification. |
| TCCaptchaOption | TCCaptchaOption | No | Configuration message for TC-CAPTCHA authentication. |
| TCEOCaptchaOption | TCEOCaptchaOption | No | Configuration message for TC-EO-CAPTCHA authentication. |
Client behavior validation
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| CryptoChallengeIntensity | String | No | Proof-of-work strength. Valid values: |
| CryptoChallengeDelayBefore | String | No | Execution mode of client behavior validation. Valid values: |
| MaxChallengeCountInterval | String | No | Time window for trigger threshold statistics. Valid values: |
| MaxChallengeCountThreshold | Integer | No | Cumulative count of trigger threshold statistics. Value range: 1-100000000. |
| ChallengeNotFinishedAction | SecurityAction | No | Execution action when client-side JavaScript is not enabled (test not completed). Supported values for SecurityAction Name: |
| ChallengeTimeoutAction | SecurityAction | No | Execution action for client-side detection timeout. Supported values of SecurityAction Name: |
| BotClientAction | SecurityAction | No | Execution action of the Bot client. Supported values of Name in SecurityAction: |
Intelligent client filtering
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | Yes | Whether intelligent client filtering is enabled. Valid values: |
| Id | String | No | Rule ID of intelligent client filtering. Output only. |
| Action | SecurityAction | No | Handling method for intelligent client filtering. This field is required when Enabled is on. Supported values for SecurityAction Name: |
Carry the regional information of the client IP during origin-pull. The value format is an ISO-3166-1 two-letter code.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Configuration switch. Valid values:on: Enable; |
| HeaderName | String | No | Request header name for storing the region of the client IP address. Valid when Switch is on. If empty, the default value EO-Client-IPCountry is used. |
Header configuration for storing client request IPs.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Configuration switch. Valid values:on: Enable; |
| HeaderName | String | No | Name of the request header containing the client IP address for origin-pull. When Switch is on, this parameter is required. X-Forwarded-For is not allowed for this parameter. |
Carry the regional information of the client IP during origin-pull. The value format is an ISO-3166-1 two-letter code.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Configuration switch. Valid values:on: Enable; |
| HeaderName | String | No | Request header name for storing the region of the client IP. Valid when Switch is on. If it is empty, use the default value: EO-Client-IPCountry. |
Header configuration for storing client request IPs
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Configuration switch. Valid values:on: Enable; |
| HeaderName | String | No | Name of the request header containing the client IP address for origin-pull. When Switch is on, this parameter is required. X-Forwarded-For is not allowed for this parameter. |
CNAME configuration status of the integration domain
Used by actions: CheckCnameStatus.
| Name | Type | Description |
|---|---|---|
| RecordName | String | Domain name. |
| Cname | String | CNAME assigned to the domain name integrated with EdgeOne. |
| Status | String | CNAME configuration status check results. Valid values: |
Action with a status code for the rule engine
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | Feature name. For completion specifications, call the API to query the parameter settings of the rule engine (https://www.tencentcloud.com/document/product/1552/80618?from_cn_redirect=1). |
| Parameters | Array of RuleCodeActionParams | Yes | Operation parameter. |
Information on regional access restrictions for resources due to government laws and regulations, user agreements, and other requirements.
Used by actions: DescribeAccelerationDomains, DescribeFunctions.
| Name | Type | Description |
|---|---|---|
| Reason | String | The causes for access restriction. Enumeration values:
|
| Region | String | Restrict access to specific country/region codes using the "ISO 3166 country/region code standard". Parameter format: view link: https://www.iso.org/iso-3166-country-codes.html. |
Instance information referenced by the component, used to show the binding relationship between the component and resources such as edge functions. When an edge function needs to access a component (such as a KV namespace), a reference relationship is created. This struct allows you to view the specific instance details and associated site information.
Used by actions: DescribeEdgeKVNamespaces.
| Name | Type | Description |
|---|---|---|
| ReferenceType | String | Instance type to refer. Valid values: |
| ReferenceId | String | ID of the referenced instance. Based on the value of ReferenceType, return the corresponding instance ID: |
| ReferenceName | String | Name of the referenced instance. Based on the value of ReferenceType, the corresponding instance name is returned: |
| ZoneId | String | Zone ID. Site identifier of the instance that references the namespace. |
| ZoneName | String | Site name. The name of the site to which the instances in this namespace belong. |
| AliasZoneName | String | Alias of the site that the instance in the namespace belongs to. If no site alias is set, an empty string is returned. |
Intelligent compression configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Intelligent compression configuration switch. Valid values:on: Enable; |
| Algorithms | Array of String | No | List of supported compression algorithms. Valid values: |
Intelligent compression configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Intelligent compression configuration switch. Valid values:on: Enable; |
| Algorithms | Array of String | No | List of supported compression algorithms. Required if Switch is on, unless it is ineffective. Valid values: |
Region policy settings.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Function | String | Yes | Specify the function executed. The value is the unique identifier of the function in the site. This parameter is valid only when TriggerType is direct. |
| Regions | Array of String | Yes | List of countries/regions. Example value: CN: China, CN.GD: Guangdong, China. For values, see Countries/Regions and Corresponding Codes. |
Trigger rules for an edge function
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Condition | String | Yes | |
| TriggerType | String | No | Function selection configuration type: Enumeration values:
|
| Function | String | No | Specify the function executed. The value is the unique identifier of the function in the site. This parameter is valid only when TriggerType is direct. |
| RegionMappingSelections | Array of ConfigGroupFunctionRegionSelection | No | Function selection configuration based on client IP country/region. |
| WeightedSelections | Array of ConfigGroupFunctionWeightedSelection | No | Weight-based function selection configuration. |
| Remark | String | No | Rule description. |
Weight strategy configuration.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Function | String | Yes | Specify the function executed. The value is the unique identifier of the function in the site. This parameter is valid only when TriggerType is direct. |
| Weight | Integer | Yes | Select the weight. The value ranges from 0 to 100, and the sum of all weights must be 100. The probability of being selected is calculated as: weight/100. For example, if two functions A and B are set, where the weight of A is 30, then the weight of B must be 70. Finally, the probability of selecting A is 30%, and the probability of selecting B is 70%. |
L7 acceleration rules. The execution order is determined by the array sequence.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleName | String | No | Rule name. The name must be no more than 255 characters. |
| Description | Array of String | No | Rule note. Multiple notes can be filled. |
| Branches | Array of RuleBranch | No | Sub-rule branch. This list currently only supports filling in one rule. Additional entries are invalid. |
Configuration group version information.
Used by actions: DeployConfigGroupVersion, DescribeConfigGroupVersionDetail, DescribeConfigGroupVersions, DescribeDeployHistory, DescribeEnvironments.
| Name | Type | Required | Description |
|---|---|---|---|
| VersionId | String | Yes | Configuration group version ID, a unique resource ID assigned by EdgeOne when creating a configuration group version. Parameter format: ver-2kplomhisdcb For reference:
|
| VersionNumber | String | No | Configuration group version number. This parameter is only for display. Each time a new version is created for the configuration group, the version number increases by one. The initial version number is "0". For reference: DescribeConfigGroupVersions return value |
| SourceVersion | String | No | The source version ID on which the configuration group version is based. Specify the source version ID when creating a configuration group version. The new version will be derived from the configuration of the source version. Parameter format: ver-2kplomhisdcb Parameter values for reference:
|
| GroupType | String | No | Configuration group type to which the version belongs. Enumeration values:
|
| GroupId | String | No | ID of the configuration group to which the version belongs. Parameter format: cg-2kplomhisdcb |
| Description | String | No | Version description. |
| Status | String | No | Version effective status. Enumeration values:
|
| CreateTime | Timestamp ISO8601 | No | Version creation time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
Version management configuration group working mode information.
Used by actions: DescribeZones, ModifyZoneWorkMode.
| Name | Type | Required | Description |
|---|---|---|---|
| ConfigGroupType | String | Yes | Configuration group type. Options are as follows: |
| WorkMode | String | Yes | Working mode. Options are as follows: |
Content compression configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Content compression configuration switch. Valid values:on: Enable;When Switch is on, brotli and gzip compression algorithms are simultaneously supported. |
Content identifier. The feature is open only in the allowlist.
Used by actions: DescribeContentIdentifiers.
| Name | Type | Description |
|---|---|---|
| ContentId | String | Content identifier ID. |
| Description | String | Content identifier description. |
| ReferenceCount | Integer | Number of times referenced by the rule engine. |
| PlanId | String | Bound package ID. |
| Tags | Array of Tag | Bound tag. |
| Status | String | Content identifier status. Valid values: |
| CreatedOn | Timestamp ISO8601 | Creation time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
| ModifiedOn | Timestamp ISO8601 | Latest update time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
| DeletedOn | Timestamp ISO8601 | Deletion time. It is empty when the status is not "deleted". The time is in Coordinated Universal Time (UTC), following the ISO 8601 date and time format. |
Currently effective origin-pull IP range.
Used by actions: DescribeOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| EntireAddresses | Addresses | No | Origin-pull IP range details. |
| Version | String | No | Version. |
| ActiveTime | String | No | Version effective time, which adopts Beijing time (UTC+8) and follows the date and time format of the ISO 8601 standard. |
| IsPlaned | String | No | This parameter is used to record whether "I have updated to the latest origin-pull IP range" is confirmed before the current version takes effect. Valid values: |
Custom configuration
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| ActionId | String | Yes | Configuration item ID for custom configuration. You can get it through the returned value CustomActionSet[].ActionId of the DescribeAvailableCustomActionsForRuleEngine API. |
| Parameters | Array of CustomActionParameter | Yes | Values of each parameter field under this custom configuration item. You can obtain them through the CustomActionSet[].Parameters field in the return value of the DescribeAvailableCustomActionsForRuleEngine API. |
Parameter content of a single field in the custom configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Field names of Parameters under custom configuration. You can get them through the API return value CustomActionSet[].Parameters[].Name of DescribeAvailableCustomActionsForRuleEngine, for example, "Seconds", "Ports", "StatusCode". |
| ValueType | String | Yes | Data type of each parameter field in the custom configuration. Enumeration values:
You can obtain it through the API return value CustomActionSet[].Parameters[].Type of DescribeAvailableCustomActionsForRuleEngine. |
| StringValue | String | No | String type parameter value. This parameter is required when ValueType is String. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters API return value of DescribeAvailableCustomActionsForRuleEngine. |
| IntegerValue | Integer | No | Integer type parameter value. This parameter is required when ValueType is Integer. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters return value of the DescribeAvailableCustomActionsForRuleEngine API. |
| FloatValue | Float | No | Floating-point parameter value. This parameter is required when ValueType is Float. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters API return value of DescribeAvailableCustomActionsForRuleEngine. |
| BooleanValue | Boolean | No | Boolean parameter value. This parameter is required when ValueType is Boolean. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters API return value of DescribeAvailableCustomActionsForRuleEngine. |
| StringArrayValue | Array of String | No | Array of strings type parameter value. This parameter is required when ValueType is ArrayOfString. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters API return value of DescribeAvailableCustomActionsForRuleEngine. |
| IntegerArrayValue | Array of Integer | No | Integer array type parameter value. This parameter is required when ValueType is ArrayOfInteger. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters API return value of DescribeAvailableCustomActionsForRuleEngine. |
| FloatArrayValue | Array of Float | No | Floating-point array type parameter value. This parameter is required when ValueType is ArrayOfFloat. You can get the default value, unit, limit, and other descriptions of the parameter value through the CustomActionSet[].Parameters return value of the DescribeAvailableCustomActionsForRuleEngine API. |
Custom configuration operation parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| CustomActions | Array of CustomAction | Yes | List of custom configurations that need to be configured. |
The configuration information of real-time log delivery to a custom HTTP(S) interface
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | Yes | Address of the custom HTTP API for real-time log shipping. Currently, only HTTP and HTTPS protocols are supported. |
| AccessId | String | No | Custom SecretId used for generating an encrypted signature. This parameter is required if the origin server needs authentication. |
| AccessKey | String | No | Custom SecretKey used for generating an encrypted signature. This parameter is required if the origin server needs authentication. |
| CompressType | String | No | Type of data compression. Valid values: |
| Protocol | String | No | Type of the application layer protocol used in POST requests for log shipping. Valid values: |
| Headers | Array of Header | No | Custom request header carried in log shipping. For a header carried by default in EdgeOne log pushing, such as Content-Type, the header value you input will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of log entries included in each POST request. |
Custom error code page structure.
Used by actions: DescribeCustomErrorPages.
| Name | Type | Description |
|---|---|---|
| PageId | String | Custom error page ID. |
| ZoneId | String | Zone ID. |
| Name | String | Custom error page name. |
| ContentType | String | Custom error page type. |
| Description | String | Custom error page description. |
| Content | String | Custom error page content. |
| References | Array of ErrorPageReference | Custom error page reference. |
Custom log field in a real-time log delivery task. You can define a custom field name and configure a value expression for it. For details, see Custom Log Field Expressions.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Custom log field name. Enter 1-100 characters. Allowed characters are letters, digits, and _. It must start with a letter. This name must be unique. |
| Expression | String | Yes | The value expression of a custom log field. The maximum length of the expression is 4KB. For syntax details, see Custom Log Field Expression. |
| Enabled | Boolean | No | Whether to deliver this field. If left blank, it means not to deliver this field. |
The custom log field in a real-time log delivery task.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Type of the custom log field, which indicates extracting data from specified positions in HTTP requests and responses. Valid values: |
| Value | String | Yes | Enter the field value definition based on the field type (Name). This parameter is case-sensitive.ReqHeader, RspHeader, or Cookie, enter the parameter name for value extraction, such as Accept-Language. You can enter 1-100 characters. the name must start with a letter, contain letters, digits, or hyphens (-) in the middle, and end with a letter or digit.ReqBody, enter the Google RE2 regular expression. The maximum length of the regular expression is 4 KB. |
| Enabled | Boolean | No | Whether to deliver this field. Leave blank to skip delivery. |
A security custom group is used to centrally manage a set of reusable security matching entries. For example, you can save multiple JA3/JA4 TLS fingerprints as a TLS fingerprint group and directly reference the group in security rules, avoiding the need to maintain the same fingerprint list in multiple rules.
Used by actions: DescribeCustomGroups.
| Name | Type | Required | Description |
|---|---|---|---|
| GroupId | String | No | The unique ID of the custom group. |
| GroupName | String | No | Custom group name. |
| GroupType | String | No | Custom group type. Valid values:
|
| GroupItems | Array of CustomGroupItem | No | List of custom group entries. |
| GroupItemTotalCount | Integer | No | Total number of custom group entries. |
| RefCount | Integer | No | Number of times the custom group is referenced. |
Custom group entry.
Used by actions: CreateCustomGroup, DescribeCustomGroup, DescribeCustomGroups, ModifyCustomGroup.
| Name | Type | Required | Description |
|---|---|---|---|
| Content | String | Yes | Entry content. |
| ItemType | String | Yes | Entry type. Valid values:
|
Security module that references the custom group
Used by actions: DescribeCustomGroupReferences.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | No | Site ID. |
| EntityType | String | No | Entity type. Valid values:
|
| EntityId | String | No | Entity identifier, which has different meanings depending on EntityType:
|
| EntityName | String | No | Entity identifier, which has different meanings depending on EntityType:
|
| SubEntityType | String | No | Sub-entity type. Valid values:
|
| SubEntityId | String | No | Sub-entity identifier, which has different meanings depending on SubEntityType:
EntityType and SubEntityType are in a mapping relationship. Different EntityTypes support different SubEntityTypes.
|
| SubEntityName | String | No | Sub-entity name, which has different meanings depending on SubEntityType:
|
Custom rule under the Web protection feature.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Name of the custom rule. |
| Condition | String | Yes | The specific content of the custom rule must comply with the expression grammar. For detailed specifications, see the product document. |
| Action | SecurityAction | Yes | Handling action of the custom rule. SecurityAction.Name values are as follows:
|
| Enabled | String | Yes | Whether the custom rule is enabled. Valid values:
|
| Id | String | No | ID of the custom rule. You can perform different rule configuration operations by rule ID:
|
| RuleType | String | No | Type of the custom rule. Valid values:
PreciseMatchRule. |
| Priority | Integer | No | Priority of custom rules, ranging from 0 to 100, with a default value of 0. Only exact matching rules ( |
Custom rule structure for Web security
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of CustomRule | No | Definition list of custom rules. When using ModifySecurityPolicy to modify Web protection configuration: - If the Rules parameter is not specified, or the parameter length of Rules is zero: clear ALL custom rule configurations. - If the CustomRules parameter value is not specified in the SecurityPolicy parameter: keep the existing custom rule configuration and do not modify it. |
Node cache TTL custom cache time parameter configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Custom cache time switch. Valid values:on: Enable; |
| IgnoreCacheControl | String | No | Ignore the origin-pull CacheControl switch. Valid values:on: Enable; |
| CacheTime | Integer | No | Custom cache time value, in seconds. Value range: 0–315360000. Note: This field is required when Switch is on. When Switch is off, this field is not required and does not take effect if specified. |
Custom variable details.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeZoneCustomVariables, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyZoneCustomVariables.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Variable name. The complete prefix must be filled in: user.zone.* refers to a site-level custom variable, and user.rule.* refers to a rule-level custom variable. The custom part after the prefix supports only uppercase and lowercase letters, digits, and underscores. Variable names are case-sensitive and cannot exceed 50 characters in length. Once a variable is created successfully, its name cannot be modified. |
| InitialValue | String | No | Initial value of the variable. Supports the use of constant strings, variables, and formulas. Length cannot exceed 255 characters. |
| Description | String | No | Variable description. Length limited to no more than 60 characters. |
Operation details of custom variables.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeZoneCustomVariables, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyZoneCustomVariables.
| Name | Type | Required | Description |
|---|---|---|---|
| Branches | Array of CustomVariableOperationRuleBranch | No | Sub-rule branch. This list currently only supports filling in one rule. Additional rules are invalid. |
| Description | Array of String | No | Rule annotation. Multiple annotations can be filled. |
Custom Variable rule operation.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeZoneCustomVariables, ModifyL7AccRule, ModifyZoneCustomVariables.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Operation name. The name should correspond to the parameter structure. For example, if Name=Set, SetParameters is required. Currently only support filling in Set. |
| SetParameters | SetParameters | No | Custom Variable parameter settings. If there are multiple operations in this parameter, they are executed in sequence according to the array order. When the value of Name is Set, this parameter is required. |
Custom Variable operation sub-rule branch.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeZoneCustomVariables, ModifyL7AccRule, ModifyZoneCustomVariables.
| Name | Type | Required | Description |
|---|---|---|---|
| Condition | String | No | |
| Actions | Array of CustomVariableOperationRuleAction | No | Operate. |
| SubRules | Array of CustomVariableOperationSubRule | No | Sub-rule list. If there are multiple rules in the list, they are executed in order from top to bottom. |
Custom Variable operation sub-rule.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeZoneCustomVariables, ModifyL7AccRule, ModifyZoneCustomVariables.
| Name | Type | Required | Description |
|---|---|---|---|
| Branches | Array of CustomVariableOperationRuleBranch | No | Sub-rule branch |
| Description | Array of String | No | Rule note. |
Custom header that can be configured for HTTP/HTTPS health check policies under a LoadBalancer.
Used by actions: CreateLoadBalancer, ModifyLoadBalancer.
| Name | Type | Required | Description |
|---|---|---|---|
| Key | String | Yes | Custom header Key. |
| Value | String | Yes | Value of the custom header. |
DDoS configuration
Used by actions: DescribeHostsSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
DDoS attack event objects
Used by actions: DescribeDDoSAttackEvent.
| Name | Type | Description |
|---|---|---|
| EventId | String | Event ID. |
| AttackType | String | Attack type. |
| AttackStatus | Integer | Attack status. Enumeration values:
|
| AttackMaxBandWidth | Integer | Maximum attack bandwidth, in bps. |
| AttackPacketMaxRate | Integer | Peak attack packet rate, unit: pps. |
| AttackStartTime | Integer | Attack start timestamp. Unit: second |
| AttackEndTime | Integer | Attack end timestamp. Unit: second |
| PolicyId | Integer | DDoS policy group ID. |
| ZoneId | String | Zone ID. |
| Area | String | Region of the attack event. Enumeration values:
|
| DDoSBlockData | Array of DDoSBlockData | Block and unblock info. |
| DDoSAttackDips | Array of String | List of target IPs under DDoS attack. |
DDoS unblocking information
Used by actions: DescribeDDoSAttackEvent.
| Name | Type | Description |
|---|---|---|
| StartTime | Integer | Start time in unix timestamp. |
| EndTime | Integer | Termination time in unix timestamp. 0 means the ban is still in effect. |
| BlockArea | String | Block the affected area. |
Exclusive DDoS protection configuration.
Used by actions: DescribeDDoSProtection, ModifyDDoSProtection.
| Name | Type | Required | Description |
|---|---|---|---|
| ProtectionOption | String | Yes | Specify the protection scope of standalone DDoS. Value: |
| DomainDDoSProtections | Array of DomainDDoSProtection | No | Exclusive DDoS protection configuration of the domain. In the input parameter scenario: |
| SharedCNAMEDDoSProtections | Array of DomainDDoSProtection | No | Configuration of exclusive DDoS protection with a shared CNAME. Used only as an output parameter. |
Details of the DNSPod managed type site parameters.
Used by actions: DescribeZones.
| Name | Type | Description |
|---|---|---|
| IsFake | Integer | Whether it is a fake site, with values: |
Default block action configuration. When a security rule is hit and triggers a block action, if SecurityAction specifies only Name as Deny and DenyActionParameters is not specified, the default parameter configuration defined here is matched by feature module dimension and used:
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ManagedRules | DenyActionParameters | No | Default interception disposition action configuration for managed rules. Supported configuration parameters of DenyActionParameters: |
| OtherModules | DenyActionParameters | No | Security protection rules other than managed rules (custom rules, rate limit, and Bot management function) default interception disposition action configuration. Configuration parameters supported by DenyActionParameters: |
https server certificate configuration
Used by actions: DescribeDefaultCertificates.
| Name | Type | Required | Description |
|---|---|---|---|
| CertId | String | Yes | Server certificate ID. |
| Alias | String | No | Certificate remark name. |
| Type | String | No | Certificate type. Valid values:default: Default certificate;upload: External certificate;managed: Tencent Cloud managed certificate. |
| ExpireTime | Timestamp ISO8601 | No | Certificate expiration time. |
| EffectiveTime | Timestamp ISO8601 | No | Certificate Validation Time. |
| CommonName | String | No | Certificate common name. |
| SubjectAltName | Array of String | No | SAN domain of the certificate. |
| Status | String | No | Deployment status. Valid values: |
| Message | String | No | If the Status is failed, this field returns the failure reason. |
| SignAlgo | String | No | Certificate algorithm. |
Real-time log delivery conditions, used to define the scope of delivered logs. Multiple items in the DeliveryCondition array are in an "OR" relationship, and multiple items in the inner Conditions array are in an "AND" relationship.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Conditions | Array of QueryCondition | No | Log filter conditions. The supported conditions are as follows:
|
Additional parameter for the safe execution action when it is interception.
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and an intercept action is executed.
Different handling actions are configured with different fixed parameter combinations. The system will determine the actually effective handling action type according to the configured parameter combination.
Only one handling action can be configured and made effective during the same block execution. Parameters corresponding to multiple handling actions cannot appear simultaneously, otherwise the configuration is deemed invalid. If empty, the default block handling action is used.
DenyActionParameters supports the following extra handling actions:
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BlockIp | String | No | Whether to extend the block on the source IP. Valid values:on: Enable;After enabled, the client IP that triggers the rule will be continuously blocked. When this option is enabled, the BlockIpDuration parameter must be specified simultaneously. Note: This option cannot intersect with ReturnCustomPage or Stall. |
| BlockIpDuration | String | No | IP ban duration when BlockIP is on. |
| ReturnCustomPage | String | No | Whether to use custom pages. Valid values:on: Enable;Enabled. Use custom page content to intercept (respond to) requests. When this option is enabled, you must specify the ResponseCode and ErrorPageId parameters simultaneously. Note: This option cannot intersect with BlockIp or Stall. |
| ResponseCode | String | No | Status code of the custom page. |
| ErrorPageId | String | No | PageId of the custom page. |
| Stall | String | No | Whether to suspend requests from the request source without processing. Valid values:on: Enable;Enabled. It no longer responds to requests in the current connection session and does not actively disconnect. When used for crawler counteraction, it consumes client connection resources. Note: This option cannot intersect with BlockIp or ReturnCustomPage. |
Details of configuration group version release notes.
Used by actions: DescribeDeployHistory.
| Name | Type | Description |
|---|---|---|
| ConfigGroupVersionInfos | Array of ConfigGroupVersionInfo | Detailed information of the released version. |
| DeployTime | Timestamp ISO8601 | Release time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
| Status | String | Publishing status. Valid values: |
| Message | String | Publish result information. |
| RecordId | String | Release record ID. |
| Description | String | Change description. |
Domain configuration information
Used by actions: DescribeHostsSetting.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Site ID. |
| Status | String | Acceleration service status. Valid values: |
| Host | String | Domain name. |
| ZoneName | String | Site name. |
| Cname | String | Assigned Cname domain name |
| Id | String | Resource ID. |
| InstanceId | String | Instance ID. |
| Lock | Integer | Lock status. |
| Mode | Integer | Domain name status type. |
| Area | String | Domain name acceleration area. Valid values: |
| AccelerateType | AccelerateType | Acceleration type configuration item. |
| Https | Https | Https configuration item. |
| CacheConfig | CacheConfig | Cache configuration item. |
| Origin | Origin | Origin server configuration item. |
| SecurityType | SecurityType | Security type. |
| CacheKey | CacheKey | Cache key configuration item. |
| Compression | Compression | Intelligent compression configuration item. |
| Waf | Waf | Waf protection configuration item. |
| CC | CC | CC protection configuration item. |
| DDoS | DDoS | DDoS protection configuration. |
| SmartRouting | SmartRouting | Intelligent routing configuration item. |
| Ipv6 | Ipv6 | Ipv6 access configuration item. |
| ClientIpCountry | ClientIpCountry | Configuration of whether to carry the region of the client IP during origin-pull. |
Detect the length limit configuration condition.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Parameter name of the match condition. Valid values: |
| Values | Array of String | Yes | Parameter value of the match condition. It is used with Name as a pair. When the value of Name is body_depth, Values only support passing in a single value. Valid values: |
Length limit for detection
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| DetectLengthLimitRules | Array of DetectLengthLimitRule | Yes | Rule list for detection length limit. |
Detection length limit rule details
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleId | Integer | Yes | Rule Id. Output only. |
| RuleName | String | Yes | Rule name. Output usage only. |
| Description | String | Yes | Rule description. For output usage only. |
| Conditions | Array of DetectLengthLimitCondition | Yes | Rule configuration condition. For output usage only. |
| Action | String | Yes | Handling method. Valid values: |
Client device configuration
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ClientType | String | Yes | Client device type. Valid values: |
| HighRiskMinScore | Integer | No | Minimum risk score for high-risk requests. A request is considered high-risk when its score is equal to or greater than this value. Value range: [2, 99] Default value: 50 |
| HighRiskRequestAction | SecurityAction | No | Handling method for high-risk requests. Supported values for the Name parameter of SecurityAction: |
| MediumRiskMinScore | Integer | No | The minimum risk score for a medium-risk request. When the score is equal to or greater than this value and less than HighRiskMinScore, it is determined as medium-risk. When it is below this value, it is determined as low risk. Value range: [1, 98] Default value: 15 |
| MediumRiskRequestAction | SecurityAction | No | Handling method for medium risk requests. Supported values for the Name of SecurityAction: |
Difference between the latest IP whitelist list and the current IP whitelist list
Used by actions: DescribeOriginProtection.
| Name | Type | Description |
|---|---|---|
| LatestIPWhitelist | IPWhitelist | Latest IP whitelist list. |
| AddedIPWhitelist | IPWhitelist | Newly added part of the latest IP whitelist list compared with the current IP whitelist list. |
| RemovedIPWhitelist | IPWhitelist | The latest IP whitelist list has partially deleted entries compared with the current IP whitelist list. |
| NoChangeIPWhitelist | IPWhitelist | Unchanged part of the latest IP allowlist compared with the current IP allowlist. |
DNS record.
Used by actions: DescribeDnsRecords, ModifyDnsRecords.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | No | Site ID. Note: ZoneId is for output usage only. It cannot be used as an input parameter in ModifyDnsRecords. If this parameter is input, it will be ignored. |
| RecordId | String | No | DNS record ID. |
| Name | String | No | DNS record name. |
| Type | String | No | DNS record type. Valid values: |
| Location | String | No | DNS record resolution route. If not specified, it defaults to Default, which means the default resolution route and represents that it takes effect in all regions. Route configuration is applicable only when Type (DNS record type) is A, AAAA, or CNAME. For values, see Resolution routes and corresponding code enumeration. |
| Content | String | No | DNS record content. Fill in the corresponding content based on the Type value. |
| TTL | Integer | No | Cache time. Value range: 60–86400. A smaller value means the modification record takes effect faster in each region. Unit: seconds. |
| Weight | Integer | No | DNS record weight. Value range: -1 to 100. -1 means no weight is assigned, and 0 indicates no parsing. Weight configuration is applicable only when Type (DNS record type) is A, AAAA, or CNAME. |
| Priority | Integer | No | MX record priority. Value range: 0–50. A smaller value indicates a higher priority. |
| Status | String | No | DNS record resolution status. Valid values: |
| CreatedOn | Timestamp ISO8601 | No | Creation time. Note: CreatedOn is for output only and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is input, it will be ignored. |
| ModifiedOn | Timestamp ISO8601 | No | Last modified. Note: ModifiedOn is for output only and cannot be used as an input parameter in ModifyDnsRecords. If this parameter is input, it will be ignored. |
Information required to verify ownership or domain name for site CNAME mode integration or free certificate application using DNS resolution.
Used by actions: ApplyFreeCertificate, CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeInferenceDomains, DescribeZones.
| Name | Type | Description |
|---|---|---|
| Subdomain | String | Host record. |
| RecordType | String | Record type. |
| RecordValue | String | Record value. |
Exclusive DDoS protection info of the domain.
Used by actions: DescribeDDoSProtection, ModifyDDoSProtection.
| Name | Type | Required | Description |
|---|---|---|---|
| Domain | String | Yes | Domain name. |
| Switch | String | Yes | Standalone DDoS switch of the domain. Value:on: enabled; |
Overall configuration of the interception page, used to configure the post-interception action for various modules.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Configuration switch. Valid values:on: Enable; |
| WafDropPageDetail | DropPageDetail | No | Interception page configuration of the Waf (managed rule) module. If null, the last set configuration is used by default. |
| AclDropPageDetail | DropPageDetail | No | Interception page configuration for custom pages. If it is null, use the last set configuration by default. |
Configuration message of the interception page
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| PageId | Integer | Yes | Unique Id of the interception page. The system includes a built-in interception page by default, with Id 0. The Id can be obtained by uploading via the blocking page creation interface. If 0 is passed in, the system default blocking page is used. This parameter is deprecated. |
| StatusCode | Integer | Yes | HTTP status code of the interception page. Value range: 100–600. 3xx status codes are not supported. Default for managed rule interception page: 566. Default for security protection (excluding managed rules) interception page: 567. |
| Name | String | Yes | Page file name or url. |
| Type | String | Yes | Page type, with values: |
| CustomResponseId | String | No | Id. You can obtain this Id through the API for querying the custom error page list. The default value is default, which uses the system default page. This field is required and cannot be empty when Type is page. |
Security instance status.
Used by actions: DescribeSecurityTemplateBindings.
| Name | Type | Description |
|---|---|---|
| Entity | String | Instance name. Currently, only subdomains are available. |
| Status | String | Instance configuration issuance status. Valid values: |
| Message | String | Prompt for instance configuration distribution. |
Environment information.
Used by actions: DescribeEnvironments.
| Name | Type | Description |
|---|---|---|
| EnvId | String | Environment ID. |
| EnvType | String | Environment type. Valid values: |
| Status | String | Environment status. Valid values: |
| Scope | Array of String | Configuration effective range in the current environment: |
| CurrentConfigGroupVersionInfos | Array of ConfigGroupVersionInfo | Versions that actually take effect for each configuration group in the current environment. According to the value of Status, there are the following two scenarios: |
| CreateTime | Timestamp ISO8601 | Creation time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
| UpdateTime | Timestamp ISO8601 | Update time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
Custom error page.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| StatusCode | Integer | Yes | Status code. Supported values: 400, 403, 404, 405, 414, 416, 451, 500, 501, 502, 503, 504. |
| RedirectURL | String | Yes | Redirect URL. It needs to be a complete jump path, for example, https://www.test.com/error.html. |
Configuration parameters for the custom error page.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| ErrorPageParams | Array of ErrorPage | No | List of custom error page configurations. |
Custom error page's referenced source
Used by actions: DescribeCustomErrorPages.
| Name | Type | Description |
|---|---|---|
| BusinessId | String | Referenced business ID, such as the custom block rule ID. |
Exception rule for configuring rules that need to skip specific scenarios
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Configuration switch. Valid values:on: Enable; |
| ExceptUserRules | Array of ExceptUserRule | No | Exception rule details. If null, use the last set configuration by default. |
Configuration of exception rules, including effective conditions and effective ranges.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleName | String | Yes | Rule name, which cannot use Chinese. |
| Action | String | Yes | Handling method of the rule. Currently only support skip: skip all managed rules. |
| RuleStatus | String | Yes | Rule effective status. Valid values: |
| RuleID | Integer | No | Rule ID. Output only. Generated by the underlying layer by default. |
| UpdateTime | Timestamp ISO8601 | No | Last update time. If it is null, the underlying layer generates it based on the current time by default. |
| ExceptUserRuleConditions | Array of ExceptUserRuleCondition | No | Match condition. |
| ExceptUserRuleScope | ExceptUserRuleScope | No | Scope where the rule takes effect. |
| RulePriority | Integer | No | Priority. Value ranges from 0 to 100. If null, the default is set to 0 by the underlying layer. |
Specific conditions for an exception rule to take effect.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| MatchFrom | String | No | Matching item. Valid values:url: Request URL; |
| MatchParam | String | No | Parameter of the matching item. Only when MatchFrom is header, you can use this parameter, and the key of the header can be set to this parameter. |
| Operator | String | No | Matching operator. Valid values: |
| MatchContent | String | No | Matching value. |
Effective scope of the exception rule.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Exception rule type. Among them, complete mode represents exceptions for full data, while partial mode represents selecting specified modules and specified fields for exceptions. The field values include: |
| Modules | Array of String | No | Effective module. Valid values: |
| PartialModules | Array of PartialModule | No | Skip the exception rule details of some rule IDs. If it is null, use the last set configuration by default. |
| SkipConditions | Array of SkipCondition | No | Exception rule details for skipping specific fields during scan. If null, use the last set configuration by default. |
Exception rule for Web security
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | ID of the exception rule. Different rule configuration operations can be performed by rule ID: |
| Name | String | No | Name of the exception rule. |
| Condition | String | No | Specific content of the exception rule must comply with the expression grammar. For detailed specifications, please refer to the product document. |
| SkipScope | String | No | Exception rule execution options. Valid values: |
| SkipOption | String | No | Skip the specific type of request. Valid values: |
| WebSecurityModulesForException | Array of String | No | Security protection module for the exception rule. Valid only when SkipScope is WebSecurityModules. Valid values: |
| WebSecuritySubmodulesForException | Array of String | No | Specifies the security protection submodule for the exception rule. Valid only when SkipScope is WebSecuritySubmodules. Valid values:
|
| ManagedRulesForException | Array of String | No | Specify the specific managed rule for the exception rule. This parameter is valid only when SkipScope is ManagedRules. |
| ManagedRuleGroupsForException | Array of String | No | Managed rule group with specified exception rules. This parameter is valid only when SkipScope is ManagedRuleGroups. |
| RequestFieldsForException | Array of RequestFieldsForException | No | Configuration for specifying exception rules to skip specified request fields. This is valid only when SkipScope is ManagedRules or ManagedRuleGroups and SkipOption is SkipOnSpecifiedRequestFields. |
| Enabled | String | No | Whether the exception rule is enabled. Valid values: |
Exception rule for Web security
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of ExceptionRule | No | Definition list of exception Rules. When using ModifySecurityPolicy to modify Web protection configuration: |
Failure cause.
Used by actions: CreatePrefetchTask, CreatePurgeTask.
| Name | Type | Description |
|---|---|---|
| Reason | String | Failure reason. |
| Targets | Array of String | List of resources that failed processing. |
Site ownership verification — file verification information.
Used by actions: DescribeIdentifications, IdentifyZone.
| Name | Type | Description |
|---|---|---|
| IdentifyPath | String | File verification directory. |
| IdentifyContent | String | File content verification. |
Information required for HTTP access verification file when verifying ownership or applying for a free certificate for a domain name in CNAME mode site integration.
Used by actions: ApplyFreeCertificate, CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeInferenceDomains, DescribeZones.
| Name | Type | Description |
|---|---|---|
| Path | String | The EdgeOne backend server will get the file verification information via http://{Host}{URL Path} (for example, http://www.example.com/.well-known/teo-verification/z12h416twn.txt). This field is the URL Path part you need to create, and Host is the current accelerated domain. |
| Content | String | Verify the content of the file. You need to fill in the content of this field into the txt file returned by the Path field. |
Description key-value pair filter, which is used for conditional filtering queries. For example, filter by ID, name, and status.
If there are multiple Filters, the logical relationship between them is AND.
If there are multiple Values in the same Filter, the logical relationship between the Values under the same Filter is OR.
Used by actions: DescribeApplicationProxies, DescribeAvailableOriginACLFamily, DescribeDefaultCertificates, DescribeFunctionRules, DescribeFunctions, DescribeHostsSetting, DescribeIdentifications, DescribeJustInTimeTranscodeTemplates, DescribeL4Proxy, DescribeL4ProxyRules, DescribeL7AccRules, DescribeLoadBalancerList, DescribeMultiPathGateways, DescribeOriginProtection, DescribePlans, DescribePrefetchOriginLimit, DescribeRules.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Fields to be filtered. |
| Values | Array of String | Yes | Filter value of the field. |
Slow attack first segment packet configuration.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
| StatTime | Integer | No | Statistical period of the first segment packet, in seconds. This is the expected statistical period of the first segment packet. Default value: 5 seconds. |
Statistics curve data item
Used by actions: DescribeOverviewL7Data, DescribeTimingFunctionAnalysisData, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, DescribeTimingL7OriginPullData.
| Name | Type | Description |
|---|---|---|
| Timestamp | Integer | Time point for returning data, in the format of Unix timestamp in seconds. |
| Value | Float | Specific values. |
Detailed data of time series type
Used by actions: DescribeOverviewL7Data, DescribeTimingFunctionAnalysisData, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, DescribeTimingL7OriginPullData.
| Name | Type | Description |
|---|---|---|
| Sum | Float | Data and. |
| Max | Float | Maximum value. |
| Avg | Float | Mean. |
| MetricName | String | Metric name. |
| Detail | Array of FloatTimingDataItem | Details. |
Following origin server configuration for caching.
Used by actions: CreateL7AccRules, DescribeHostsSetting, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Follow the origin site configuration switch. Valid values:on: Enable; |
| DefaultCache | String | No | Whether to cache when an origin server does not return the Cache-Control header. This field is required when Switch is on. When Switch is off, no need to specify this field, and it does not take effect if specified. Valid values:on: cache; |
| DefaultCacheStrategy | String | No | Whether to use the default caching policy when an origin server does not return the Cache-Control header. This field is required when DefaultCache is on; otherwise, it is ineffective. This field must be off when DefaultCacheTime is not 0. Valid values: |
| DefaultCacheTime | Integer | No | The default cache time in seconds when an origin server does not return the Cache-Control header. Value range: 0-315360000. This field is required when DefaultCache is set to on; otherwise, it is ineffective. When DefaultCacheStrategy is on, this field must be 0. |
Forced HTTPS redirect configuration for access protocols.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Access forced redirect configuration switch. Valid values:on: Enable; |
| RedirectStatusCode | Integer | No | Redirection status code. Valid values: |
Forced HTTPS redirect configuration for access protocols.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Access forced redirect configuration switch. Valid values:on: Enable; |
| RedirectStatusCode | Integer | No | Redirection status code. When Switch is on, this field is required; otherwise, it is ineffective. Valid values: |
High frequency scan protection configuration options. When a visitor's requests frequently hit managed rules configured as block, all requests from the visitor are blocked within a period of time.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Whether high-frequency scan protection is enabled. Valid values: |
| Id | String | No | Rule ID of high-frequency scan protection, returned only as an output parameter. |
| Action | SecurityAction | No | Handling action for high frequency scan protection. When Enabled is on, this field is required. The Name parameter of SecurityAction supports: |
| CountBy | String | No | Match mode for request statistics. This field is required when Enabled is on. Valid values: |
| BlockThreshold | Integer | No | This parameter specifies the threshold for high-frequency scan protection, which is the total interception count when managed rules configured for interception are hit within the time range set by CountingPeriod. The value ranges from 1 to 4294967294, for example, 100. When this statistical value is exceeded, subsequent requests trigger the handling action set by Action. This field is required when Enabled is on. |
| CountingPeriod | String | No | This parameter specifies the time window for high-frequency scan protection statistics, that is, the statistical time window for requests that hit managed rules configured for interception. Value range: 5-1800. The unit only supports seconds (s), for example, 5s. Required when Enabled is on. |
| ActionDuration | String | No | This parameter specifies the duration of the handling Action set by the high frequency scan protection Action parameter. The value ranges from 60 to 86400. The unit only supports seconds (s), for example, 60s. This field is required when Enabled is on. |
Details of an edge function.
Used by actions: DescribeFunctions.
| Name | Type | Description |
|---|---|---|
| FunctionId | String | Function ID. |
| ZoneId | String | Site ID. |
| Name | String | Function name. |
| Remark | String | Function description. |
| Content | String | Function content. |
| Domain | String | Default domain name of a function. |
| DomainComplianceRestrictions | Array of ComplianceRestriction | List of regional access restrictions on the default domain name of edge functions due to compliance issues. |
| CreateTime | String | Creation time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
| UpdateTime | String | Modification time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
Bind configuration of the edge function component, used to establish the relationship between edge functions and components (such as KV namespaces). With bind configuration, edge function code can access bound resources at runtime through the specified variable name.
Used by actions: DescribeFunctionComponentBindings, ModifyFunctionComponentBindings.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Bound component type. Valid values: |
| VariableName | String | Yes | Variable name for binding. It can contain 1-50 characters, including letters, digits, and underscores. It cannot start with a digit. In edge function code, access the bound component through this variable name. Usage varies based on the value of Type as follows: |
| KVNamespaceParameters | KVNamespaceParameters | No | KV namespace configuration parameter. Used to specify the bound KV namespace details. Required when Type is kv_namespace. |
Environment variables of an edge function
Used by actions: DescribeFunctionRuntimeEnvironment, HandleFunctionRuntimeEnvironment.
| Name | Type | Required | Description |
|---|---|---|---|
| Key | String | Yes | Variable name, which should be unique and can only contain uppercase and lowercase letters, digits, and special characters including at signs (@), periods (.), hyphens (-), and underscores (_). Its maximum size is 64 bytes. |
| Value | String | No | Variable value. Its maximum size is 5000 bytes. The default value is empty. |
| Type | String | No | Variable type. Valid values: |
Region policy settings.
Used by actions: CreateFunctionRule, DescribeFunctionRules, ModifyFunctionRule.
| Name | Type | Required | Description |
|---|---|---|---|
| FunctionId | String | Yes | Function ID. |
| Regions | Array of String | Yes | List of countries/regions. Example value: CN: China, CN.GD: Guangdong, China. For values, see Countries/Regions and Corresponding Codes. |
Replica of an edge function.
Used by actions: DescribeFunctionReplicas.
| Name | Type | Description |
|---|---|---|
| FunctionId | String | Function ID. |
| ReplicaName | String | Name of the edge function copy. |
| Content | String | Content of the edge function copy. Format: JavaScript code. |
| Remark | String | Description of the edge function replica. |
| CreatedOn | Timestamp ISO8601 | Creation time of the edge function replica. |
| ModifiedOn | Timestamp ISO8601 | Last update time of the edge function replica. |
Trigger rules for an edge function
Used by actions: DescribeFunctionRules.
| Name | Type | Description |
|---|---|---|
| RuleId | String | Rule ID. |
| FunctionRuleConditions | Array of FunctionRuleCondition | Rule condition list. There is an OR relationship between items in the list. |
| TriggerType | String | Function selection configuration type. |
| FunctionId | String | Specify the function ID to be executed. Valid when TriggerType is direct. |
| FunctionName | String | Name of the function to execute. |
| RegionMappingSelections | Array of FunctionRegionSelection | Function selection configuration based on client IP country/region. |
| WeightedSelections | Array of FunctionWeightedSelection | Function selection configuration based on weight. |
| Priority | Integer | Priority of a trigger rule for a function. The larger the value, the higher the priority. |
| Remark | String | Rule description. |
| CreateTime | Timestamp ISO8601 | Creation time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
| UpdateTime | Timestamp ISO8601 | Update time, which adopts Coordinated Universal Time (UTC) and follows the date and time format of the ISO 8601 standard. |
Condition of a trigger rule for an edge function.
Used by actions: CreateFunctionRule, DescribeFunctionRules, ModifyFunctionRule.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleConditions | Array of RuleCondition | Yes | Condition of a trigger rule for an edge function. This condition is considered met if all items in the list are met. |
Weight strategy configuration.
Used by actions: CreateFunctionRule, DescribeFunctionRules, ModifyFunctionRule.
| Name | Type | Required | Description |
|---|---|---|---|
| FunctionId | String | Yes | Function ID. |
| Weight | Integer | Yes | Select a weight. Value range: 0-100. The sum of all weights must be 100. Probability calculation method when selected: weight/100. For example, if two functions A and B are set, and the weight of A is 30, then the weight of B must be 70. Finally, the probability of selecting A is 30%, and the probability of selecting B is 70%. |
Available regions of the multi-channel security gateway
Used by actions: DescribeMultiPathGatewayRegions.
| Name | Type | Description |
|---|---|---|
| RegionId | String | Region ID. |
| CNName | String | Chinese region name. |
| ENName | String | English region name. |
Grpc configuration item
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether Grpc configuration is enabled. Valid values:on: Enable; |
gRPC configuration item.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | gRPC configuration switch. Valid values:on: Enable; |
HSTS configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | HSTS configuration switch. Valid values:on: Enable; |
| Timeout | Integer | No | Cache HSTS header time in seconds. Value range: 1-31536000. Note: This field is required when Switch is on. When Switch is off, no need to specify this field, and it does not take effect if specified. |
| IncludeSubDomains | String | No | Whether other subdomains are allowed to inherit the same HSTS header. Valid values: |
| Preload | String | No | Whether the browser is allowed to preload the HSTS header. Valid values: |
HTTP/2 access configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | HTTP/2 integration configuration switch. Valid values:on: Enable; |
HTTP response configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| StatusCode | Integer | No | status code. Supports 2XX, 4XX, 5XX, excluding 499, 514, 101, 301, 302, 303, 509, 520-599. |
| ResponsePage | String | No | page ID. |
Layer-7 origin-pull timeout configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| ResponseTimeout | Integer | No | HTTP response timeout. Valid values: [5, 600] Unit: seconds Default value: 15 The node starts timing after sending the request to the origin server. If no data is returned by the origin server within the specified time, a timeout is determined. After the response starts to be received, if the interval between two consecutive data receptions exceeds the specified value, a timeout is also determined. When the node uploads the request body to the origin server, the interval between two consecutive data transmissions is also limited by this value. This value does not limit the total duration of the entire response. As long as the origin server keeps returning data, large file downloads will not be interrupted. |
| TCPConnectTimeout | Integer | No | Timeout for establishing a TCP connection to the origin server. Valid values: [5, 120] Unit: seconds Default value: 5 After the node initiates a TCP connection to the origin server, if the origin server does not complete the response within the specified time, the connection establishment is determined to have timed out. This value only constrains the TCP connection establishment itself. The time to wait for the origin server response after the connection is established is controlled by ResponseTimeout. |
| KeepaliveTimeout | Integer | No | Idle timeout for persistent connections to the origin server. Valid values: [5, 600] Unit: seconds After an origin-pull request is completed, the connection between the node and the origin server is returned to the connection pool and enters the idle state. If no new origin-pull request reuses this connection within the specified time, the node actively closes the connection. This parameter only applies to connections that directly connect to the origin server. Internal connections between EdgeOne nodes are not affected. This parameter only takes effect for HTTP/1.x connections. HTTP/2 and HTTP/3 (QUIC) connections are not affected. It is recommended that this value be smaller than the persistent connection timeout of the origin server (for example, the default keepalive_timeout of Nginx is 75 seconds). Otherwise, the node may reuse a connection that has been closed by the origin server, causing origin-pull failure or retries. |
HTTP header, used as input for the CreatePrefetchTask API
Used by actions: CreatePrefetchTask, CreateRealtimeLogDeliveryTask, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | HTTP header name. |
| Value | String | Yes | HTTP header value |
HTTP header setting rule.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | HTTP header setting method. Valid values: |
| Name | String | Yes | HTTP header name. |
| Value | String | No | HTTP header value. This parameter is required when Action is set or add, and not required when Action is del. |
LoadBalancer health check policy.
Used by actions: CreateLoadBalancer, DescribeLoadBalancerList, ModifyLoadBalancer.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Health check policy. Valid values: |
| Port | Integer | No | Check port, which is required when Type = HTTP, Type = HTTPS, Type = TCP, or Type = UDP. |
| Interval | Integer | No | Check frequency, in seconds. It indicates how often a health check task is initiated. Configurable range: 10-600 seconds. |
| Timeout | Integer | No | Timeout for each health check, in seconds. If the health check time exceeds this value, the check result is determined as "unhealthy". The default value is 5s, and the value should be less than Interval. |
| HealthThreshold | Integer | No | Health threshold, in the number of times. It indicates that if the consecutive health check results are "healthy" for a certain number of times, an origin server is considered "healthy". The default value is 3 times, with the minimum value of 1 time. |
| CriticalThreshold | Integer | No | Unhealthy state threshold, in the number of times. It indicates that if the consecutive health check results are "unhealthy" for a certain number of times, an origin server is considered "unhealthy". The default value is 2 times. |
| Path | String | No | Probe path. This parameter is valid only when Type = HTTP or Type = HTTPS. It needs to include the complete host/path and should not contain a protocol, for example, www.example.com/test. |
| HostHeaderPolicy | String | No | Probe request Host Header policy. It takes effect only when Type=HTTP or Type=HTTPS and the instance type is HTTP-dedicated (V2). Valid values: |
| Method | String | No | Request method. This parameter is valid only when Type = HTTP or Type = HTTPS. Valid values: |
| ExpectedCodes | Array of String | No | The status codes used to determine that the probe result is healthy when the probe node initiates a health check to an origin server. This parameter is valid only when Type = HTTP or Type = HTTPS. |
| Headers | Array of CustomizedHeader | No | This parameter is valid only when Type=HTTP or Type=HTTPS. It refers to the custom HTTP request header carried in the probe request. Up to 10 can be configured. |
| FollowRedirect | String | No | Whether to follow 301/302 redirect. When enabled, 301/302 is considered a "healthy" status code, redirecting 3 times by default. This parameter is valid only when Type = HTTP or Type = HTTPS. |
| SendContext | String | No | The content sent by a health check. Only ASCII visible characters are allowed, with up to 500 characters. This parameter is valid only when Type = UDP. |
| RecvContext | String | No | The expected return result from an origin server during health check. Only ASCII visible characters are allowed, with up to 500 characters. This parameter is valid only when Type = UDP. |
| ProbeCluster | String | No | Health check probe cluster. Specifies the cluster region scope from which this load balancer instance initiates health probes. For details on the regional distribution of probe clusters, see Health Check Policy Introduction. This can be configured only for HTTP-dedicated (V2) load balancer instances. Valid values: |
https server certificate configuration
Used by actions: DescribeInferenceDomains.
| Name | Type | Description |
|---|---|---|
| CertId | String | Server certificate ID. |
| Alias | String | Certificate remark name. |
| Type | String | Certificate type. Valid values: |
| ExpireTime | Timestamp ISO8601 | Certificate expiration time. |
| DeployTime | Timestamp ISO8601 | Certificate deployment time. |
| SignAlgo | String | Signature algorithm. |
| Status | String | Certificate status. Valid values: |
Host Header rewrite configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | No | Execution action. Valid values:followOrigin: Follow source site domain; |
| ServerName | String | No | Host Header rewrite requires a complete domain name. Note: When Switch is on, this field is required. When Switch is off, no need to specify this field, and if specified, it does not take effect. |
HostName configuration parameter for access URL redirection.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | No | Target HostName configuration. Valid values: |
| Value | String | No | custom value of the target HostName. Maximum length: 1024. Note: This field is required when Action is custom, and it is ineffective when Action is follow. |
Domain-level policy.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| Host | String | No | Site-level policy, a policy that takes effect for all domain names under the site. For details, see Site-level Policy. |
| PolicyType | String | No | Policy type used by the current domain. Valid values: |
| Policy | SecurityPolicy | No | Optional. When PolicyType is Custom, this field is the detailed policy configuration of the current domain name, which takes effect on the current domain. |
| TemplateId | String | No | Optional. When PolicyType is Template, this field is used to specify the Id of the policy Template used by the current domain. |
Domain name certificate configuration
Used by actions: DescribeInferenceDomains.
| Name | Type | Description |
|---|---|---|
| Host | String | Domain name. |
| Mode | String | Certificate configuration mode. Valid values: |
| HostCertInfo | Array of HostCertInfo | Server certificate configuration. |
Hsts configuration
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether it is enabled. Valid values:on: Enable; |
| MaxAge | Integer | No | MaxAge value, in seconds. Maximum value: 1 day. |
| IncludeSubDomains | String | No | Whether it contains subdomains. Valid values:on: Enable; |
| Preload | String | No | Whether to enable preloading. Valid values:on: Enable; |
HTTP DDOS protection configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| AdaptiveFrequencyControl | AdaptiveFrequencyControl | No | Specific configuration of adaptive frequency control. |
| ClientFiltering | ClientFiltering | No | Specific configuration for intelligent client filtering. |
| BandwidthAbuseDefense | BandwidthAbuseDefense | No | Bandwidth abuse protection configuration. |
| SlowAttackDefense | SlowAttackDefense | No | Specific configuration of slow attack protection. |
https acceleration configuration for the domain name. Disabled by default.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Http2 | String | No | http/2 configuration switch. Valid values:on: Enable; |
| OcspStapling | String | No | OCSP configuration switch. Valid values:on: Enable; |
| TlsVersion | Array of String | No | Tls version settings. Valid values: |
| Hsts | Hsts | No | HSTS configuration. |
| CertInfo | Array of ServerCertInfo | No | Certificate configuration. |
| ApplyType | String | No | Application type. Valid values: |
| CipherSuite | String | No | Cipher suite. Valid values: |
Store the scheduled expiration time and corresponding IP.
Used by actions: CreateSecurityIPGroup, DescribeSecurityIPGroup, DescribeSecurityIPGroupInfo, ModifySecurityIPGroup.
| Name | Type | Required | Description |
|---|---|---|---|
| ExpireTime | Timestamp ISO8601 | No | Scheduled expiration time, following the ISO 8601 date and time format. For example, "2022-01-01T00:00:00+08:00". |
| IPList | Array of String | No | IP list. Only IPs and IP ranges are supported. |
IP range group
Used by actions: CreateSecurityIPGroup, DescribeSecurityIPGroup, DescribeSecurityIPGroupInfo, ModifySecurityIPGroup.
| Name | Type | Required | Description |
|---|---|---|---|
| GroupId | Integer | Yes | IP group Id. Enter 0 upon creation. |
| Name | String | Yes | IP group name. |
| Content | Array of String | Yes | IP group content. Only IP and IP range are supported. |
| IPTotalCount | Integer | No | Number of IPs or IP ranges currently effective in the IP group. Valid as an output parameter. As an input parameter, no need to specify this field. |
| IPExpireInfo | Array of IPExpireInfo | No | IP scheduled expiration info. |
| RefCount | Integer | No | The number of times the IP group is referenced. |
Security module that refers to an IP group
Used by actions: DescribeIPGroupReferences.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Site ID. |
| EntityType | String | Entity type. Enumeration values:
|
| EntityId | String | Entity identification, representing different meanings based on EntityType:
|
| EntityName | String | Entity identifier. Its meaning varies based on EntityType:
|
| SubEntityType | String | Sub-entity type. Enumeration values:
|
| SubEntityId | String | Sub-entity identifier. It represents different meanings based on SubEntityType:
EntityType corresponds to SubEntityType. Different EntityType supports different SubEntityType.
|
| SubEntityName | String | Sub-entity name, which represents different meanings according to SubEntityType:
|
IP location information query
Used by actions: DescribeIPRegion.
| Name | Type | Description |
|---|---|---|
| IP | String | IP, IPV4, or IPV6. |
| IsEdgeOneIP | String | Whether the IP belongs to an EdgeOne node. Valid values: |
IP Intelligence Library (formerly client profile analysis) configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | IP Intelligence Library (formerly client profile analysis). Valid values: |
| IPReputationGroup | IPReputationGroup | No | Specific configuration content of the IP Intelligence Library (formerly client profile analysis). |
Specific configuration of IP Intelligence Library (formerly client profile analysis).
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BaseAction | SecurityAction | No | Execution action of the IP Intelligence Library (formerly client profile analysis). Supported values for SecurityAction Name: |
| BotManagementActionOverrides | Array of BotManagementActionOverrides | No | Specific configuration of the IP Intelligence Library (formerly client profile analysis), used to override the default configuration in BaseAction. The Ids of BotManagementActionOverrides can be filled with: |
IP SSL information
Used by actions: DescribeSharedCNAME.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | No | ID of the site associated with the IP SSL domain name. If the Status value is unbound, this field is empty. |
| AssociatedDomain | String | No | The domain name associated with the IP SSL. If the Status value is unbound, this field is empty. |
| Status | String | No | Association status. Values as follows: |
IP SSL configuration message
Used by actions: ModifySharedCNAME.
| Name | Type | Required | Description |
|---|---|---|---|
| Operation | String | Yes | Operation type. Values are as follows: |
| AssociatedDomain | String | Yes | Domain name of the IP SSL that should be bound. |
IP allowlist for origin protection
Used by actions: DescribeOriginProtection.
| Name | Type | Description |
|---|---|---|
| IPv4 | Array of String | IPv4 list. |
| IPv6 | Array of String | IPv6 list. |
IPv6 access configuration.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | IPv6 access feature configuration. Valid values: |
Site verification info
Used by actions: DescribeIdentifications.
| Name | Type | Description |
|---|---|---|
| ZoneName | String | Site name. |
| Domain | String | Verify a subdomain. This value is empty when verifying a site. A subdomain is verified for a specific subdomain. |
| Status | String | Verification status. Valid values: |
| Ascription | AscriptionInfo | Site ownership verification: Dns verification information. |
| OriginalNameServers | Array of String | Current NS record of the domain name. |
| FileAscription | FileAscriptionInfo | Site ownership verification: file verification information. |
Image optimization configuration.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
Token information for the reasoning API.
Used by actions: DescribeInferenceAPITokens.
| Name | Type | Description |
|---|---|---|
| TokenId | String | Reasoning API Token ID. |
| Name | String | Name of the reasoning API Token. |
| Content | String | Content of the reasoning API Token. |
| CreateTime | String | Creation time in ISO date format. |
Affinity configurations for the inference service
Used by actions: CreateInferenceService, DescribeInferenceServiceDeploymentRecords, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Master switch for inference service affinity. Enumeration values:
|
| AffinityMode | String | No | Affinity approach for inference service. Enumeration values:
Default value: SessionId. |
| SessionIdAffinityConfig | SessionIdAffinityConfig | No | Inference service affinity configuration. Required when AffinityMode is SessionId. |
Scaling configuration for automatic scaling of the inference service.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| MinInstanceCount | Integer | Yes | Minimum number of instances. It will not take effect when a scaling policy is configured and the policy is in its valid period. |
| ScalingPolicies | Array of InferenceScalingPolicy | No | Auto Scaling policy list. Supports up to 5 policies. |
Container configuration for the inference service.
Used by actions: CreateInferenceService, DescribeInferenceServiceDeploymentRecords, DescribeInferenceServices.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageType | String | Yes | Image type. Valid values: |
| TcrRepositoryConfig | InferenceTCRRepositoryConfig | No | TCR image repository info. Required when ImageType is TCR. |
| StartupCommand | String | No | Command executed at container startup. If left empty, the image's Entrypoint/CMD is used by default. Supports up to 1024 characters. |
| EnvironmentVariables | Array of InferenceEnvironmentVariable | No | Environment variables for the container runtime. Supports up to 10 variables. |
Parameter modification for the inference service container configuration.
Used by actions: ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| ImageType | String | No | Image type. Valid values: |
| TcrRepositoryConfig | InferenceTCRRepositoryConfig | No | TCR image repository info. Required when ImageType is TCR. |
| StartupCommand | String | No | Command executed at container startup. If left empty, the image's Entrypoint/CMD is used by default. Supports up to 1024 characters. |
| EnvironmentVariables | Array of InferenceEnvironmentVariable | No | Environment variables of the container runtime. Supports up to 10 variables. |
Domain information of the inference service.
Used by actions: DescribeInferenceDomains.
| Name | Type | Description |
|---|---|---|
| Domain | String | Domain name. |
| Status | String | Domain name status. Enumeration values:
|
| AuthSwitch | String | Authentication switch for inference task requests. Enumeration values:
Default value: On. |
| Cname | String | CNAME address. To validate the CNAME configuration status of a domain, see the CheckCnameStatus api. |
| OwnershipVerification | OwnershipVerification | When the domain name needs to perform ownership verification to continue providing services, this object will carry the information required for the corresponding verification method. To verify ownership, see the VerifyOwnership API. |
| Certificate | HostsCertificate | Domain name certificate information. To apply for a free certificate, see the ApplyFreeCertificate API; |
| CreateTime | String | Creation time. |
| UpdateTime | String | Last modified. |
Environment variable of the reasoning container runtime.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| Key | String | Yes | Variable name. Only letters, digits, and underscores are allowed, and it must start with a letter or underscore. Length limited to 64 characters. |
| Value | String | No | Variable value. Supports any visible characters, such as letters, digits, and symbols. Length limit: no more than 2048 characters. |
Hardware configuration for the inference service.
Used by actions: CreateInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| GPUNum | Float | No | Number of GPU cards assigned to each inference service instance. Currently, supports integers only, and must be an available value in If not filled, the default |
| CPUNum | Float | No | Number of CPU cores allocated to each inference service instance. Currently only supports integer values. If left blank, use the default |
| MemSize | Integer | No | Memory size allocated to a single instance of the inference service. Unit: MB If left blank, use the default |
| DiskSize | Integer | No | Temporary disk capacity allocated to a single instance of the inference service. Unit: MB If not filled, the default |
Parameter modification for the configured resource hardware of the inference service.
Used by actions: ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| CPUNum | Float | No | CPU cores per instance allocation for the inference service. Currently only support integer values. If left blank, no modification will be made. |
| MemSize | Integer | No | Memory size allocated to a single instance of the inference service. Unit: MB If left blank, no modification is made; if filled, it must be an integral multiple of |
| DiskSize | Integer | No | Temporary disk space allocated to a single instance of the inference service. Unit: MB If left blank, no modification is made; if filled, it must be an integral multiple of |
Reasoning hardware specification info.
Used by actions: DescribeInferenceHardwareSpecifications.
| Name | Type | Description |
|---|---|---|
| HardwareSpecId | String | Unique identification ID of the specification. |
| Name | String | Specification name. |
| GPUNum | Float | Number of GPU cards assigned by default for the specification. |
| CPUNum | Float | Default number of CPU cores allocated to the specification. |
| MemSize | Integer | Default allocated memory size for the specification. In MB. |
| GPUMemSize | Integer | GPU VRAM size assigned by default in the specification. Unit: MB |
| DiskSize | Integer | Default disk space allocated for the specification. Unit: MB |
| AllowedGPUNums | Array of Float | List of GPU card counts currently supported by the specification. If not filled or filled with an empty array, only the GPU card count assigned by default for the specification is supported. |
Manually set configurations for the inference service.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| FixedInstanceCount | Integer | Yes | Fixed instance count. |
Resource configuration of the inference service.
Used by actions: CreateInferenceService, DescribeInferenceServiceDeploymentRecords, DescribeInferenceServices.
| Name | Type | Required | Description |
|---|---|---|---|
| ScalingMode | String | Yes | Scaling method. Valid values: |
| HardwareSpecId | String | No | Unique identification ID of the hardware specification. You can obtain the supported hardware specifications of the current site through the By default, the system configures the required resources for the inference service according to the hardware specification corresponding to the selected |
| HardwareConfig | InferenceHardwareConfig | No | Hardware configuration for the inference service. As an input parameter, if unpadded, hardware resources are configured according to the default value of the selected |
| AutoScalingConfig | InferenceAutoScalingConfig | No | Automatic scaling configuration of the inference service. Required when ScalingMode is Auto. |
| ManualInstanceConfig | InferenceManualInstanceConfig | No | Inference service manual setting instance configuration. Required when ScalingMode is Manual. |
| Concurrency | Integer | No | Concurrency of a single instance. Default value: 1. |
Parameter modification for inference service resource configuration.
Used by actions: ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| ScalingMode | String | No | Scaling method. Valid values: |
| AutoScalingConfig | InferenceAutoScalingConfig | No | Automatic scaling configuration for the inference service. Required when ScalingMode is Auto. |
| ManualInstanceConfig | InferenceManualInstanceConfig | No | Inference service manual setting instance configuration. Required when ScalingMode is Manual. |
| Concurrency | Integer | No | Concurrency of a single instance. Default value: 1. |
| HardwareConfig | InferenceHardwareConfigForModify | No | Hardware resource configuration of the inference service. |
Auto scaling policy for edge reasoning.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| PolicyName | String | Yes | Policy Name. Length limit: 1–30 characters. Must be unique within the same service. |
| PolicyType | String | Yes | Policy type. It cannot be modified after creation. Value: |
| ScheduledScalingPolicy | InferenceScheduledScalingPolicy | No | Scheduled scaling configuration. This field is required when the value of PolicyType is ScheduledScaling. |
Scheduled scaling action configuration for edge reasoning, for description of a specific scheduled scaling action.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| CronExpression | String | Yes | Cron expression for description of the trigger time of a scheduled scaling action. It uses the standard 5-field cron format: minute hour date month week. The second and year fields are not supported. |
| MinInstanceCount | Integer | Yes | Minimum number of instances required for the inference service after this scheduled scaling action is hit. If multiple scheduled scaling actions are hit at the same time within the same estimation window, use the maximum MinInstanceCount. |
Configuration of the validity period range for scheduled scaling of edge reasoning.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| EffectiveType | String | Yes | Validity period type. Valid values: |
| StartDate | Timestamp ISO8601 | No | Start date of the valid period. Required when EffectiveType is Custom; do not pass this field when EffectiveType is LongTerm. |
| EndDate | Timestamp ISO8601 | No | Termination date of the valid period. Required when EffectiveType is Custom, and cannot be earlier than StartDate. Do not pass this field when EffectiveType is LongTerm. |
Scheduled scaling policy configuration for edge reasoning.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| ScheduledActions | Array of InferenceScheduledScalingAction | Yes | List of scheduled scaling actions. Fill in at least 1 and up to 10. |
| EffectiveRange | InferenceScheduledScalingEffectiveRange | Yes | Validity period range, for description of whether the scheduled scaling policy is long-term valid or valid only within a specified date range. |
| TimeZone | String | No | Time zone. Use the IANA time zone to identify the trigger time in ScheduledActions, such as UTC, Asia/Shanghai, America/New_York, Europe/London, and Asia/Kolkata. UTC is used by default if this parameter is not specified. |
Inference service information.
Used by actions: DescribeInferenceServices.
| Name | Type | Description |
|---|---|---|
| ServiceId | String | Inference service ID. |
| Name | String | Name of the inference service. |
| Description | String | Description information. |
| ListenPort | Integer | Ports that the model service needs to monitor. Only integers between 1 and 65535 are supported. |
| RequestPaths | Array of String | Request path list for the inference service. Supports up to 20 paths. |
| Containers | Array of InferenceContainerConfig | Container configuration of the inference service. |
| ResourceConfig | InferenceResourceConfig | Resource configuration of the inference service. |
| Status | String | Status of the inference service, including the following: |
| ScalingStatus | String | Scaling status. Valid values: |
| CurrentInstanceCount | Integer | Number of currently running instances. |
| InferenceURL | String | Inference access address. You can access the underlying model for reasoning via links. |
| CreateTime | String | Creation time in ISO date format. |
| UpdateTime | String | Last modification time in ISO date format. |
Deployment configuration of a single inference service.
Used by actions: DescribeInferenceServiceDeploymentRecords.
| Name | Type | Description |
|---|---|---|
| ListenPort | Integer | Ports monitored by the model service. |
| RequestPaths | Array of String | Request path list of the inference service. |
| Containers | Array of InferenceContainerConfig | Container configuration for the inference service. |
| ResourceConfig | InferenceResourceConfig | Resource configuration of the inference service. |
| AffinityConfig | InferenceAffinityConfig | Inference service affinity configuration. |
Deployment log information for the reasoning service.
Used by actions: DescribeInferenceServiceDeploymentLogs.
| Name | Type | Description |
|---|---|---|
| LogMessage | String | Log message content. |
| Timestamp | Timestamp ISO8601 | Log generation time. |
Reasoning service deployment history.
Used by actions: DescribeInferenceServiceDeploymentRecords.
| Name | Type | Description |
|---|---|---|
| RecordId | String | Deployment record ID. |
| Operation | String | Deployment operation type. Valid values: |
| Status | String | Deployment state. Valid values: |
| Duration | Integer | Deployment duration. Unit: seconds. |
| InferenceServiceConfig | InferenceServiceConfig | Configuration of this inference service deployment. |
| CreateTime | String | Deployment initiation time in ISO date format. |
| ActiveStatus | String | Whether the deployment configuration is currently effective. Value: |
Reasoning service monitoring data item.
Used by actions: DescribeInferenceServiceMonitorData.
| Name | Type | Description |
|---|---|---|
| Timestamp | Timestamp ISO8601 | Time point of the monitoring data. |
| Value | Float | Specific values. |
Reasoning service monitoring data records.
Used by actions: DescribeInferenceServiceMonitorData.
| Name | Type | Description |
|---|---|---|
| ServiceId | String | Inference service ID. |
| MetricName | String | Metric name. |
| InferenceServiceMonitorItems | Array of InferenceServiceMonitorItem | Detailed reasoning service monitoring data. |
TCR image repository configuration for reasoning.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| TCRType | String | Yes | TCR service type. Valid values: |
| Image | String | Yes | Image URL. |
| RegistryId | String | No | Mirror repository instance ID. Required when TCRType is Enterprise. |
| RegionName | String | No | Region name. |
Intelligent analysis rule
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Switch. Valid values:on: Enable; |
| IntelligenceRuleItems | Array of IntelligenceRuleItem | No | Rule details. |
Bot intelligent analysis rule detail
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Label | String | Yes | Intelligent analysis tag. Valid values: |
| Action | String | Yes | Trigger the handling method corresponding to the Intelligent Analysis tag. Valid values: |
IP whitelist/blacklist and IP region control configuration
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
| IpTableRules | Array of IpTableRule | No | Basic access control rule. If it is null, use the last set configuration by default. |
Custom rule - basic access control configuration.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | Action. Valid values: |
| MatchFrom | String | Yes | According to type matching. Valid values: |
| Operator | String | No | Match method of the rule. Valid values: |
| RuleID | Integer | No | Rule id. Output only. |
| UpdateTime | Timestamp ISO8601 | No | Update time. For output usage only. |
| Status | String | No | Rule enablement status. Valid values:on: Enable;If the input parameter is not specified, the value defaults to on. |
| RuleName | String | No | Rule name. |
| MatchContent | String | No | Matching content. Multi-value input is supported. |
Ipv6 access configuration
Used by actions: CreateApplicationProxy, DescribeApplicationProxies, DescribeHostsSetting, DescribeZoneSetting, ModifyApplicationProxy, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Ipv6 access feature configuration. Valid values: |
Just-in-time media processing configuration.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Just-in-time media processing configuration switch. Valid values:on: Enable; |
JavaScript injection rule.
Used by actions: CreateSecurityJSInjectionRule, DescribeSecurityJSInjectionRule, ModifySecurityJSInjectionRule.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleId | String | No | Rule ID. |
| Name | String | No | Rule name. |
| Priority | Integer | No | Rule priority. A smaller value indicates higher priority. Value range: 0-100. Default value: 0. |
| Condition | String | No | Match condition content. It must comply with the expression syntax. For detailed specifications, see the product document. |
| InjectJS | String | No | JavaScript injection options. Default value: run-attestations. Valid values: |
Details of the just in time transcoding template.
Used by actions: DescribeJustInTimeTranscodeTemplates.
| Name | Type | Description |
|---|---|---|
| TemplateId | String | Unique identifier of the instant transcoding template. |
| TemplateName | String | Transcoding template name. |
| Comment | String | Template description information. |
| Type | String | Template type. Valid values: |
| VideoStreamSwitch | String | Enable the video stream switch. Value: |
| AudioStreamSwitch | String | Enable the audio stream switch. Valid values: |
| VideoTemplate | VideoTemplateInfo | Video stream configuration parameters. This field is valid only when VideoStreamSwitch is on. |
| AudioTemplate | AudioTemplateInfo | Audio stream configuration parameters. This field is valid only when AudioStreamSwitch is on. |
| CreateTime | String | Template creation time in ISO date format. |
| UpdateTime | String | Template last modified time, use the ISO date format. |
KV namespace information, including the basic attributes, storage capacity utilization, and reference relationships of the namespace. A KV namespace is a container for edge functions to store key-value pair data, which can be read and written in edge functions through binding.
Used by actions: DescribeEdgeKVNamespaces.
| Name | Type | Description |
|---|---|---|
| Namespace | String | Namespace name. It is unique within the same site. |
| Remark | String | Namespace description. Remark information filled in upon creation, used to describe the purpose or business meaning of the namespace. Supports up to 256 characters. |
| Capacity | Integer | Available capacity of the KV storage space, in bytes. It indicates the maximum capacity limit of storable data in the namespace, which defaults to 1 GB. |
| CapacityUsed | Integer | Used KV storage capacity in bytes. It indicates the currently used storage space size of the namespace. |
| References | Array of ComponentReference | List of instances that reference the namespace. Shows which edge function instances currently reference the namespace, as well as the site information of the references. If not referenced, return an empty array. |
| CreatedOn | Timestamp ISO8601 | Namespace creation time in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ (UTC time). |
| ModifiedOn | Timestamp ISO8601 | Last modification time of the namespace, following the ISO 8601 standard, format: YYYY-MM-DDThh:mm:ssZ (UTC time). |
Detailed configuration parameters required for binding a KV namespace to an edge function, used to specify the source of the bound namespace. With this configuration, the edge function can operate the KV namespace under the specified site.
Used by actions: DescribeFunctionComponentBindings, ModifyFunctionComponentBindings.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | Yes | Site ID to which the KV namespace belongs. Specify the site where the KV namespace that should be bound is located. Cross-site binding is supported. |
| Namespace | String | Yes | KV namespace name. Specify the specific namespace that should be bound. You can obtain the list of namespaces under a site through the DescribeKVNamespace API. |
KV key-value pair data, including key name, key value, and expiration time info.
Used by actions: EdgeKVGet.
| Name | Type | Description |
|---|---|---|
| Key | String | Key name. Each key name cannot be empty, with a length of 1-512 characters. Valid UTF-8 characters are supported. |
| Value | String | Key-value. It cannot be empty as an input parameter and supports up to 1 MB. As an output parameter, if the key does not exist, an empty string is returned. |
| Expiration | Timestamp ISO8601 | Expiration time, following the ISO 8601 standard, formatted as YYYY-MM-DDThh:mm:ssZ (UTC time). In output, an empty string means the key-value pair never expires. |
UA feature configuration for commercial or open-source tools (formerly UA feature rule).
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BaseAction | SecurityAction | No | Handling method for access requests from known commercial or open-source tools. Supported values of SecurityAction Name: |
| BotManagementActionOverrides | Array of BotManagementActionOverrides | No | Specify the handling method for access requests from known commercial or open-source tools. |
Offline log details
Used by actions: DownloadL4Logs.
| Name | Type | Description |
|---|---|---|
| ProxyId | String | Layer 4 Proxy Instance ID. |
| Area | String | Log region. Valid values: |
| LogPacketName | String | Name of the offline log data packet. |
| Url | String | Offline log download URL. |
| LogTime | Integer | Log packaging time. This parameter has been deprecated. |
| LogStartTime | Timestamp ISO8601 | Start time for log packaging. |
| LogEndTime | Timestamp ISO8601 | Log packaging end time. |
| Size | Integer | Log size in bytes. |
L4 proxy instance.
Used by actions: DescribeL4Proxy.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | No | Zone ID. |
| ProxyId | String | No | Layer 4 Proxy Instance ID. |
| ProxyName | String | No | Name of the L4 proxy instance. |
| Area | String | No | Acceleration zone of the Layer 4 proxy instance. |
| Cname | String | No | Access via CNAME. |
| Ips | Array of String | No | After fixed IP address is enabled, this value returns the corresponding access IP address. If not enabled, this value is empty. |
| Status | String | No | Status of the Layer 4 proxy instance.banned: The name server is banned. |
| Ipv6 | String | No | Specifies whether to enable IPv6 access. on: Enable; |
| StaticIp | String | No | Specifies whether to enable the fixed IP address.on: Enable;off: Disable. |
| AccelerateMainland | String | No | Specifies whether to enable network optimization in the Chinese mainland. |
| L4ProxyRuleCount | Integer | No | Number of forwarding rules under the layer 4 proxy instance. |
| UpdateTime | Timestamp ISO8601 | No | Latest modification time. |
L4 remote authentication information.
Used by actions: CreateL4ProxyRules, DescribeL4ProxyRules, ModifyL4ProxyRules.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | L4 remote authentication switch. Valid values: |
| Address | String | Yes | Remote authentication service address, in the format of domain/ip:port, such as example.auth.com:8888. |
| ServerFaultyBehavior | String | Yes | Default origin-pull behavior based on L4 forwarding rules after remote authentication service inaccessibility. Valid values: |
Layer 4 proxy forwarding rule details.
Used by actions: CreateL4ProxyRules, DescribeL4ProxyRules, ModifyL4ProxyRules.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleId | String | No | Forwarding rule ID. Note: Do not fill in L4ProxyRule as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, this parameter is required. |
| Protocol | String | No | Forwarding protocol. Valid values: Note: L4ProxyRule is required as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| PortRange | Array of String | No | Forwarding port. You can fill it in based on the following format: Note: L4ProxyRule is required as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| OriginType | String | No | Origin server type. Valid values: Note: L4ProxyRule is required as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| OriginValue | Array of String | No | Origin server address: Note: L4ProxyRule is required as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| OriginPortRange | String | No | Origin server port, which can be set as follows: Note: L4ProxyRule is required as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| ClientIPPassThroughMode | String | No | Transmission of the client IP address. Valid values:OFF: Do not pass the client IP.Note: L4ProxyRule is optional as an input parameter in CreateL4ProxyRules. If not specified, it defaults to OFF. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| SessionPersist | String | No | Whether to enable session persistence. Valid values:on: Enable;Note: When L4ProxyRule is used as an input parameter in CreateL4ProxyRules, this parameter is optional and defaults to off if left empty. When used as an input parameter in ModifyL4ProxyRules, this parameter is optional and retains its existing value if not specified. |
| SessionPersistTime | Integer | No | Session persistence duration, in seconds. Value range: 30-3600. Note: L4ProxyRule is optional as an input parameter in CreateL4ProxyRules. It is valid only when SessionPersist = on. If not specified when SessionPersist = on, it defaults to 3600. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| RuleTag | String | No | Rule tag. Enter 1-50 characters. Note: L4ProxyRule is optional as an input parameter in CreateL4ProxyRules. In ModifyL4ProxyRules, it is optional. If not specified, it will retain its existing value. |
| Status | String | No | Rule status. Valid values: Note: Do not fill in this parameter when L4ProxyRule is used as an input parameter in CreateL4ProxyRules or ModifyL4ProxyRules. |
| BuId | String | No | BuID. |
| RemoteAuth | L4ProxyRemoteAuth | No | Remote authentication information. Note: RemoteAuth cannot be used as an input parameter in CreateL4ProxyRules or ModifyL4ProxyRules. If this parameter is input, it will be ignored. If the returned data of DescribeL4ProxyRules is empty, it indicates that remote authentication is disabled. |
Layer-7 offline log details.
Used by actions: DownloadL7Logs.
| Name | Type | Description |
|---|---|---|
| Domain | String | Offline log domain name. |
| Area | String | Log associated region. Valid values: |
| LogPacketName | String | Offline log data packet name. |
| Url | String | Offline log download address. |
| LogTime | Integer | Log packaging time. This parameter has been deprecated. |
| LogStartTime | Timestamp ISO8601 | Log packaging start time. |
| LogEndTime | Timestamp ISO8601 | Log packaging end time. |
| Size | Integer | Log original size in bytes. |
LoadBalancer information.
Used by actions: DescribeLoadBalancerList.
| Name | Type | Description |
|---|---|---|
| InstanceId | String | Instance ID. |
| Name | String | Instance name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-). |
| Type | String | Instance type. Valid values: |
| HealthChecker | HealthChecker | Health check policy. For details, refer to Health Check Policies. |
| SteeringPolicy | String | Traffic scheduling policy among origin server groups. Valid values: |
| FailoverPolicy | String | Request retry policy when access to an origin server fails. For details, refer to Introduction to Request Retry Strategy. Valid values: |
| OriginGroupHealthStatus | Array of OriginGroupHealthStatus | Origin server group health status. |
| Status | String | Load balancing status. Valid values: |
| L4UsedList | Array of String | List of L4 proxy instances bound to the load balancing instance. |
| L7UsedList | Array of String | List of Layer-7 domain names bound to the load balancing instance. |
| References | Array of OriginGroupReference | List of referenced instances of the load balancer. |
Log analysis log download task.
Used by actions: DescribeLogAnalysisDownloadTasks.
| Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| ZoneId | String | Zone ID. |
| Area | String | Data ownership region. Valid values:
|
| StartTime | Timestamp ISO8601 | Start time. Example value: 2020-04-29T00:00:00Z. |
| EndTime | Timestamp ISO8601 | End time. Example value: 2020-04-30T00:00:00Z. |
| LogType | String | Log type. Valid values:
|
| Condition | String | Log match condition, with a maximum length of 12 KB. |
| Format | String | File format. Valid values:
|
| Sort | String | Whether raw logs are returned in time sequence. Valid values:
|
| Status | String | Task status. Valid values:
|
| CreateTime | Timestamp ISO8601 | Task creation time. It will be retained for 3 days after successful task creation. |
| Url | String | Download URL. It is returned only when Status = completed. |
| ExpireTime | Timestamp ISO8601 | Task expiration time for download. The download address will be unavailable after expiry. Obtain a new download address through this API. |
Output format for real-time log delivery. You can directly use the specified predefined log output format (JSON Lines / csv) through the FormatType parameter, or define a variant output format through additional parameters based on the predefined log output format. For usage details, see Custom Log Output Format.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| FormatType | String | Yes | Log output format. Valid values:
|
| BatchPrefix | String | No | A string added before each log delivery batch. Each log delivery batch may contain multiple log records. |
| BatchSuffix | String | No | A string appended after each log delivery batch. |
| RecordPrefix | String | No | Prefix of a single log entry. String added before each log record. |
| RecordSuffix | String | No | Suffix of a single log entry. String appended after each log record. |
| RecordDelimiter | String | No | Log delimiter. String inserted between log records as a separator. Valid values:
|
| RecordTemplate | String | No | Log template. Output template of a single log entry, with a length limit of 4 KB. It takes effect only when |
| FieldDelimiter | String | No | Field delimiter. String inserted between fields within a single log record as a separator. It takes effect only when
|
Log information for log analysis
Used by actions: DescribeLogAnalysisDetail.
| Name | Type | Description |
|---|---|---|
| Timestamp | Integer | Time point when the log is generated, using a unix millisecond-level timestamp. |
| LogJson | String | Specific contents of the log in JSON String Format. |
Item configuration of a managed rule
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleId | String | Yes | Specific item under the managed rule group, used for rewriting the configuration content of this individual rule. For details, refer to the product documentation. |
| Action | SecurityAction | Yes | Specifies the handling action for the managed rule item in RuleId. Supported values for SecurityAction Name: |
Automatic update options for managed rules
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| AutoUpdateToLatestVersion | String | Yes | Whether automatic update to the latest version is enabled. Valid values: |
| RulesetVersion | String | No | Currently used version in ISO 8601 format, for example, 2023-12-21T12:00:32Z. Empty by default. Output only. |
Details of managed rules
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| RuleId | String | No | Managed rule Id. |
| RiskLevel | String | No | Protection level of the managed rule. Valid values: |
| Description | String | No | Rule description. |
| Tags | Array of String | No | Rule tag. Some types of rules do not have tags. |
| RuleVersion | String | No | Rule version. |
Managed rule group configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| GroupId | String | Yes | Group name of the managed rule. If no rule group is specified, the default configuration is used. For the specific value of GroupId, refer to the product documentation. |
| SensitivityLevel | String | Yes | Protection level of the managed rule group. Valid values: |
| Action | SecurityAction | Yes | Handling action of the managed rule group. Supported values for SecurityAction Name: |
| RuleActions | Array of ManagedRuleAction | No | Specific configuration of rule items in the managed rule group. This configuration is effective only when SensitivityLevel is custom. |
| MetaData | ManagedRuleGroupMeta | No | Managed rule group information. This is an output-only parameter. |
Managed rule group information
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| GroupDetail | String | No | Managed rule group description. For output usage only. |
| GroupName | String | No | Managed rule group name. Output parameter only. |
| RuleDetails | Array of ManagedRuleDetail | No | Rule information of all sub-rules in the current managed rule group. Output parameter only. |
Managed rules for Web security
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | Yes | Whether managed rules are enabled. Valid values: |
| DetectionOnly | String | Yes | Whether evaluation mode is enabled. This parameter is valid only when the |
| SemanticAnalysis | String | No | Whether the deep analysis option for managed rules is enabled. This parameter is valid only when the This parameter is to be deprecated. The switch for deep analysis rules is migrated to the SemanticAnalysisRules.Enabled parameter. |
| SemanticAnalysisRules | SemanticAnalysisRules | No | Deep analysis configuration option. Identifies malicious behaviors in requests (such as SQL injection and XSS attacks), and logs and blocks malicious requests. |
| AutoUpdate | ManagedRuleAutoUpdate | No | Auto-update option for managed rules. |
| ManagedRuleGroups | Array of ManagedRuleGroup | No | Configuration of managed rule groups. If an empty array is passed for this structure or |
| FrequentScanningProtection | FrequentScanningProtection | No | High-frequency scan protection configuration option. When a visitor's requests frequently trigger managed rules configured as block, all requests from this visitor are blocked for a period of time. |
Browser cache rule configuration, used to set the default MaxAge. Disabled by default.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| FollowOrigin | String | No | Whether to follow the origin site, with values: |
| MaxAgeTime | Integer | No | MaxAge time setting, in seconds. Value range: 0–315360000. Note: If the time is 0, no cache is used. |
Browser cache TTL config.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| FollowOrigin | String | No | Follow the origin server Cache-Control switch. Valid values: |
| CacheTime | Integer | No | Custom cache time value in seconds. Value range: 0–315360000. Note: When FollowOrigin is off, it means not to follow the origin site and use CacheTime to set the cache time. Otherwise, this field is ineffective. |
Trigger threshold of verification in Bot management.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| MaxNewSessionCountInterval | String | No | Time window for trigger threshold statistics. Valid values: |
| MaxNewSessionCountThreshold | Integer | No | Cumulative count of trigger threshold statistics. Value range: 1-100000000. |
Configuration of the minimum body transfer rate threshold.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| MinimalAvgTransferRateThreshold | String | Yes | Minimum body transfer rate threshold. The measurement unit only supports bps. |
| CountingPeriod | String | Yes | Statistical time range for minimum body transfer rate. Valid values: |
| Enabled | String | Yes | Whether the minimum body transfer rate threshold is enabled. Valid values: |
Modify origin server configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| OriginType | String | No | Origin server type. Valid values: |
| Origin | String | No | Origin server address, which varies according to the value of OriginType: |
| OriginProtocol | String | No | Origin-pull protocol configuration. This parameter is required when OriginType is IPDomain, OriginGroup, or LoadBalance. Valid values: |
| HTTPOriginPort | Integer | No | HTTP origin-pull port, value ranges from 1 to 65535. This parameter is required when the origin-pull protocol OriginProtocol is http or follow. |
| HTTPSOriginPort | Integer | No | HTTPS origin-pull port, value range: 1–65535. This parameter is required when OriginProtocol is https or follow. |
| PrivateAccess | String | No | Whether access to the private object storage origin server is allowed. This parameter is required when the origin server type OriginType is COS or AWSS3. Valid values: |
| PrivateParameters | OriginPrivateParameters | No | Private authentication parameter. This parameter is valid only when OriginType = AWSS3 and PrivateAccess = on. |
Modify HTTP back-to-origin request header configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| HeaderActions | Array of HeaderAction | No | HTTP header setting rule list. |
HTTP node response header configuration parameter modification.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| HeaderActions | Array of HeaderAction | No | List of HTTP origin-pull header rules. |
Multi-channel security gateway details
Used by actions: DescribeMultiPathGateway, DescribeMultiPathGateways.
| Name | Type | Description |
|---|---|---|
| GatewayId | String | Gateway ID. |
| GatewayName | String | Gateway name. |
| GatewayType | String | Gateway type. Valid values: |
| GatewayPort | Integer | Gateway port. Range: 1–65535 (excluding 8888). |
| Status | String | Gateway status. Valid values: |
| GatewayIP | String | Gateway IP in IPv4 format. |
| RegionId | String | Gateway region ID. You can obtain the RegionId list through the DescribeMultiPathGatewayRegions API. |
| Lines | Array of MultiPathGatewayLine | Line information. It will be returned when querying gateway information details via DescribeMultiPathGateway, but not when querying the gateway list via DescribeMultiPathGateways. |
| NeedConfirm | String | Whether the origin-pull IP list of the gateway has changed and needs confirmation. Valid values: |
Currently effective origin-pull IP range.
Used by actions: DescribeMultiPathGatewayOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| EntireAddresses | Addresses | No | Origin-pull IP range details. |
| Version | Integer | No | Version. |
| IsPlaned | String | No | This parameter is used to record whether the confirmation of "I have updated to the latest origin-pull IP range" is completed before the current version takes effect. Valid values: Note: When this parameter returns false, confirm in time whether your origin server firewall settings are updated to the latest origin-pull IP range to avoid origin-pull failure. |
Line information of the multi-channel security gateway
Used by actions: DescribeMultiPathGateway, DescribeMultiPathGatewayLine, DescribeMultiPathGateways.
| Name | Type | Description |
|---|---|---|
| LineId | String | Line ID. Among them, line-0 and line-1 are built-in line IDs. Valid values: |
| LineType | String | Line type. Valid values: |
| LineAddress | String | Line address in the format of host:port. |
| ProxyId | String | Layer 4 proxy instance ID, returned when the line type LineType is proxy (EdgeOne Layer 4 proxy). |
| RuleId | String | Forwarding rule ID, returned when the line type LineType is proxy (EdgeOne Layer 4 proxy). |
When the origin-pull IP range is updated, this field will return the origin-pull IP range that will take effect in the next version, including a comparison with the currently effective origin-pull IP range.
Used by actions: DescribeMultiPathGatewayOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| Version | Integer | No | Version. |
| EntireAddresses | Addresses | No | Origin-pull IP range details. |
| AddedAddresses | Addresses | No | Latest origin-pull IP range compared with the newly-added part of the origin-pull IP range in MultiPathGatewayCurrentOrginACL. |
| RemovedAddresses | Addresses | No | Latest origin IP range compared with the part deleted from the origin IP range in MultiPathGatewayCurrentOrginACL. |
| NoChangeAddresses | Addresses | No | The part of the latest origin-pull IP range that is unchanged compared with the origin-pull IP range in MultiPathGatewayCurrentOrginACL. |
Binding relationship between a multi-channel gateway example instance and the origin-pull IP range, as well as the origin-pull IP range details.
Used by actions: DescribeMultiPathGatewayOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| MultiPathGatewayCurrentOriginACL | MultiPathGatewayCurrentOriginACL | No | Currently effective origin-pull IP range. |
| MultiPathGatewayNextOriginACL | MultiPathGatewayNextOriginACL | No | When the origin-pull IP range is updated, this field will return the origin-pull IP range that will take effect in the next version, including a contrast with the current origin-pull IP range. If there is no update, this field is empty. |
HTTPS mutual authentication.
Used by actions: DescribeAccelerationDomains, ModifyHostsCertificate.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Mutual authentication configuration switch. Valid values:on: Enable; |
| CertInfos | Array of CertificateInfo | No | List of mutual authentication certificates. Note: When using MutualTLS as an input parameter in ModifyHostsCertificate, you only need to provide the CertId of the corresponding certificate. You can check the CertId from the SSL Certificate List. |
NS access type site parameter details.
Used by actions: DescribeZones.
| Name | Type | Description |
|---|---|---|
| CnameSpeedUp | String | Whether CNAME acceleration is enabled. Valid values: |
| IsFake | Integer | Existence of a site with the same name. Valid values: |
| OwnershipVerification | OwnershipVerification | Ownership verification information. For sites with NS access type, switching the current NS server to the NS server designated by Tencent Cloud EdgeOne is deemed as passing ownership verification. For details, see Site/Domain Ownership Verification. |
| OriginalNameServers | Array of String | List of NS servers currently in use by the site detected by EdgeOne. |
| NameServers | Array of String | List of NS servers assigned by Tencent Cloud EdgeOne. Point the NS server of the current site to this address for the site to take effect. |
| VanityNameServers | VanityNameServers | User-customized NS server domain info. If the custom NS service is enabled, the NS need to be pointed to this address at the domain name registered vendor. |
| VanityNameServersIps | Array of VanityNameServersIps | IP address information corresponding to the user-customized NS server. |
Network error log configuration item
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to enable network error log configuration. Valid values:on: Enable; |
Network error log configuration item.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Network error log configuration switch. Valid values:on: Enable; |
When the origin-pull IP range is updated, this field will return the origin-pull IP range that will be effective in the next version, including a comparison with the currently effective origin-pull IP range.
Used by actions: DescribeOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| Version | String | No | Version. |
| PlannedActiveTime | String | No | Version effective time, which adopts Beijing time (UTC+8) and follows the date and time format of the ISO 8601 standard. |
| EntireAddresses | Addresses | No | Origin-pull IP range details. |
| AddedAddresses | Addresses | No | Latest origin-pull IP range newly added compared with the origin-pull IP range in CurrentOrginACL. |
| RemovedAddresses | Addresses | No | The part deleted from the latest origin-pull IP range compared with the origin-pull IP range in CurrentOrginACL. |
| NoChangeAddresses | Addresses | No | The part of the latest origin-pull IP range that is unchanged compared with the origin-pull IP range in CurrentOrginACL. |
No cache configuration
Used by actions: CreateL7AccRules, DescribeHostsSetting, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | No cache configuration switch. Valid values:on: Enable; |
Action of the normal type for the rule engine
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | Feature name. For feature name completion specifications, call the api Query parameter settings of the rule engine to view. |
| Parameters | Array of RuleNormalActionParams | Yes | Parameter. |
Information required for NS access and DNS server switchover.
Used by actions: CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeInferenceDomains, DescribeZones.
| Name | Type | Description |
|---|---|---|
| NameServers | Array of String | DNS server address assigned to the user for NS access. Switch the domain's NameServer to this address. |
OCSP stapling configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | OCSP stapling configuration switch. Valid values:on: Enable; |
Whether offline cache is enabled
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether offline cache is enabled. Valid values:on: Enable; |
Whether offline cache is enabled.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Offline cache switch. Valid values:on: Enable; |
Origin server configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Origins | Array of String | No | Primary origin server list. |
| BackupOrigins | Array of String | No | Backup origin list. |
| OriginPullProtocol | String | No | Origin-pull protocol configuration, with values: |
| CosPrivateAccess | String | No | Whether the origin server is a private access bucket when it is Tencent Cloud COS. Valid values: |
Instances that need to be configured for origin-pull from specific origin IP ranges.
Used by actions: ModifyOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Instance type. Valid values: - l7: layer-7 accelerated domain; - l4: layer-4 proxy instance. |
| Instances | Array of String | Yes | Instance details. Valid values: - When Type = l7, enter the layer-7 accelerated domain; - When Type = l4, enter the layer-4 proxy instance ID. |
| OperationMode | String | Yes | Operation mode. Valid values: |
Version information of origin-pull IP ranges.
Used by actions: DescribeAvailableOriginACLFamily.
| Name | Type | Required | Description |
|---|---|---|---|
| Version | String | No | Origin protection version number. Format description: Standard version. Simplified edition (platform-level version) Abbreviation description: |
| ActiveTime | String | No | Version effective time, which adopts Beijing time (UTC+8) and follows the date and time format of the ISO 8601 standard. |
| EntireAddresses | Addresses | No | Origin-pull IP range details. |
| OriginACLFamily | String | No | Origin protection origin-pull ACL control domain. Parameter values are as follows: |
Binding relationship between the layer-7 acceleration domain name/layer-4 proxy instance and the origin IP range, including the origin IP range details and the list of switchable origin IP ranges.
Used by actions: DescribeOriginACL.
| Name | Type | Required | Description |
|---|---|---|---|
| L7EnableMode | String | No | Origin protection mode for layer-7 acceleration domain names. Valid values: |
| L7Hosts | Array of String | No | List of layer-7 acceleration domain names that have origin-pull from specific origin IP ranges enabled. Empty when origin protection is not enabled. |
| L4EnableMode | String | No | Origin protection mode for layer-4 proxy instances. Valid values: |
| L4ProxyIds | Array of String | No | List of layer-4 proxy instances that have origin-pull from specific origin IP ranges enabled. Empty when origin protection is not enabled. |
| CurrentOriginACL | CurrentOriginACL | No | Currently effective origin IP range. Empty when origin protection is not enabled. |
| NextOriginACL | NextOriginACL | No | When the origin IP range is updated, this field returns the origin IP range that will take effect in the next version, including a comparison with the current origin IP range. Empty when there is no update or origin protection is not enabled. |
| Status | String | No | Origin protection status. Valid values: |
| OriginACLFamily | String | No | Origin protection origin-pull ACL control domain. |
Origin-pull authentication parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| RequestProperties | Array of OriginAuthenticationRequestProperties | Yes | Origin-pull authentication request attributes. |
Origin-pull authentication request attribute.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Set the origin-pull authentication parameter type. Valid values: |
| Name | String | Yes | Name of the parameter corresponding to the origin-pull authentication type. |
| Value | String | Yes | Set the parameter value corresponding to the origin-pull authentication type. |
Mode of HTTPS origin certificate verification.
Used by actions: ModifyHostsCertificate.
| Name | Type | Required | Description |
|---|---|---|---|
| VerificationMode | String | Yes | Origin certificate verification mode. Valid values: |
| CustomCACerts | Array of CertificateInfo | No | Specify the trusted CA certificate list. The origin certificate must be issued by this CA to pass verification. Note: This parameter is required only when VerificationMode is custom_ca. Specify the trusted CA certificate information. When OriginCertificateVerify is used as an input parameter in ModifyHostsCertificate, just pass in the CertId of the corresponding certificate. You can go to the SSL certificate list to check the CertId. |
Origin server information of the acceleration domain name.
Used by actions: DescribeAccelerationDomains.
| Name | Type | Description |
|---|---|---|
| OriginType | String | Origin server type. Valid values: |
| Origin | String | Origin server address, which varies according to the value of OriginType: |
| BackupOrigin | String | Secondary origin group ID. This parameter is valid only when OriginType = ORIGIN_GROUP and a secondary origin group is configured. |
| OriginGroupName | String | Primary origin group name. This parameter returns a value when OriginType = ORIGIN_GROUP. |
| BackOriginGroupName | String | Secondary origin group name. This parameter is valid only when OriginType = ORIGIN_GROUP and a secondary origin group is configured. |
| PrivateAccess | String | Whether access to the private object storage origin server is allowed. This parameter is valid only when the origin server type OriginType is COS or AWS_S3. Valid values: If this field is not specified, the default value 'off' will be used. |
| PrivateParameters | Array of PrivateParameter | Private authentication parameter. This parameter is valid only when the origin server type is PrivateAccess = on. |
| HostHeader | String | Origin-pull HOST header of the current configuration. |
| VodOriginScope | String | VOD origin-pull scope. This parameter returns a value when OriginType = VOD. Valid values: |
| VodBucketId | String | VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: storage ID of the bucket under the VOD professional application. |
Origin server group information
Used by actions: DescribeOriginGroup.
| Name | Type | Description |
|---|---|---|
| GroupId | String | Origin server group ID. |
| Name | String | Origin server group name. |
| Type | String | Origin server group type. Valid values: |
| Records | Array of OriginRecord | Origin server record information. |
| References | Array of OriginGroupReference | List of instances that reference the origin group. |
| CreateTime | Timestamp ISO8601 | Origin group creation time. |
| UpdateTime | Timestamp ISO8601 | Origin-pull group update time. |
| HostHeader | String | Origin-pull Host Header. |
Origin server group health status.
Used by actions: DescribeLoadBalancerList.
| Name | Type | Description |
|---|---|---|
| OriginGroupID | String | Origin server group ID. |
| OriginGroupName | String | Origin server group name. |
| OriginType | String | Origin server group type. Valid values: |
| Priority | String | Priority. |
| OriginHealthStatus | Array of OriginHealthStatus | Health status of each origin server in an origin server group. |
Details of origin server group health status.
Used by actions: DescribeOriginGroupHealthStatus.
| Name | Type | Description |
|---|---|---|
| OriginGroupId | String | Origin server group ID. |
| OriginHealthStatus | Array of OriginHealthStatus | The health status of each origin server in an origin server group, which is comprehensively decided based on the results of all detection regions. If more than half of the regions determine that the origin server is unhealthy, the corresponding status is unhealthy; otherwise, it is healthy. |
| CheckRegionHealthStatus | Array of CheckRegionHealthStatus | Health status of origin servers in each health check region. |
The origin server groups that need to be bound in a LoadBalancer and their priorities.
Used by actions: CreateLoadBalancer, ModifyLoadBalancer.
| Name | Type | Required | Description |
|---|---|---|---|
| Priority | String | Yes | Priority, in the format of "priority_" + "number". The highest priority is "priority_1". Reference values: |
| OriginGroupId | String | Yes | Origin server group ID. |
Origin server group reference service.
Used by actions: DescribeLoadBalancerList, DescribeOriginGroup.
| Name | Type | Description |
|---|---|---|
| InstanceType | String | Reference service type. Valid values: |
| InstanceId | String | ID of the referenced instance. |
| InstanceName | String | Instance name of the reference type. |
| ZoneId | String | Referer ID. |
| ZoneName | String | Refer to the site name. |
| AliasZoneName | String | Refer to the site alias. |
Health status of origin servers in an origin server group.
Used by actions: DescribeLoadBalancerList, DescribeOriginGroupHealthStatus.
| Name | Type | Description |
|---|---|---|
| Origin | String | Origin server. |
| Healthy | String | Origin server health status. Valid values: |
Acceleration domain name origin server information.
Used by actions: CreateAccelerationDomain, ModifyAccelerationDomain.
| Name | Type | Required | Description |
|---|---|---|---|
| OriginType | String | Yes | Origin server type. Valid values: |
| Origin | String | Yes | Origin server address, which varies according to the value of OriginType: |
| BackupOrigin | String | No | Secondary origin group ID. This parameter is valid only when OriginType = ORIGIN_GROUP. This field indicates the old version capability. After calling, you cannot modify the configuration in the console. If needed, submit a ticket for consultation. |
| PrivateAccess | String | No | Whether access to the private object storage origin server is allowed. This parameter is valid only when the origin server type OriginType is COS or AWS_S3. Valid values: |
| PrivateParameters | Array of PrivateParameter | No | Private authentication parameter. This parameter is valid only when the origin server type is PrivateAccess = on. |
| HostHeader | String | No | Custom origin server HOST header. This parameter is valid only when OriginType is IP_DOMAIN. For other origin server types, this parameter is not required, otherwise an error will be reported. When OriginType is COS or AWS_S3, the origin-pull HOST header remains the same as the origin server domain name. When OriginType = ORIGIN_GROUP, the origin-pull HOST header follows the configuration in the origin group. If there is no configuration, it defaults to the acceleration domain name. When OriginType is VOD or SPACE, no configuration is required for this header. It takes effect based on the corresponding origin server domain name. |
| VodOriginScope | String | No | VOD origin-pull scope. This parameter is valid only when OriginType = VOD. Valid values: |
| VodBucketId | String | No | VOD bucket ID. This parameter is required when OriginType = VOD and VodOriginScope = bucket. Data source: storage ID of a bucket under a VOD professional application. |
Private authentication parameter for the COS origin server.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| AccessKeyId | String | Yes | Access Key ID authentication parameter. |
| SecretAccessKey | String | Yes | Secret Access Key authentication parameter. |
| SignatureVersion | String | Yes | Authentication version. Valid values: |
| Region | String | No | Bucket region. |
Origin protection info
Used by actions: DescribeOriginProtection.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Site ID. |
| Hosts | Array of String | Domain name list. |
| ProxyIds | Array of String | List of proxy IDs. |
| CurrentIPWhitelist | IPWhitelist | IP allowlist of the current version. |
| NeedUpdate | Boolean | Whether to update the origin server allowlist for this site. Valid values: |
| Status | String | Origin protection status. Valid values: |
| PlanSupport | Boolean | Whether origin protection is supported for the site package, with values: |
| DiffIPWhitelist | DiffIPWhitelist | Comparison between the latest IP allowlist and the current IP allowlist. |
Back-to-origin HTTPS configuration parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Protocol | String | No | Origin-pull protocol configuration, with values: |
Origin server group records
Used by actions: CreateOriginGroup, DescribeOriginGroup, ModifyOriginGroup.
| Name | Type | Required | Description |
|---|---|---|---|
| Record | String | Yes | Origin server record value, excluding port information. It can be an IPv4 address, IPv6 address, or domain name format. |
| Type | String | No | Origin server type. Valid values: |
| RecordId | String | No | Origin record ID. |
| Weight | Integer | No | 【Origin server weight】: A parameter used to control traffic assignment priority. Value range: 0-100 (integer): |
| Private | Boolean | No | Whether to use private authentication. This parameter is valid only when RecordType is COS or AWS_S3. Valid values: |
| PrivateParameters | Array of PrivateParameter | No | Private authentication parameter. Valid when the origin server type is Private=true. |
This structure represents the content used to verify user ownership of a site domain name in various scenarios and modes.
Used by actions: CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeInferenceDomains, DescribeZones.
| Name | Type | Description |
|---|---|---|
| DnsVerification | DnsVerification | Information required for CNAME and domainless access when using DNS resolution verification. For details, see [Site/Domain Ownership Verification]. ](https://www.tencentcloud.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5). |
| FileVerification | FileVerification | CNAME, when there is no domain name access, the information required for file verification is used. For details, see Site/Domain Ownership Verification . |
| NsVerification | NsVerification | Information required for access via NS and switching DNS servers. For details, see Modify DNS Server. |
Detailed module configuration of the exception rule.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Module | String | No | Module name. Valid values: |
| Include | Array of Integer | No | List of specific rule IDs that require exceptions under the module. |
Plan information
Used by actions: DescribePlans.
| Name | Type | Description |
|---|---|---|
| PlanType | String | Plan type. Valid values: Valid values:
|
| PlanId | String | Plan ID, in the format of edgeone-2y041pblwaxe. |
| Area | String | Service region. Valid values: |
| AutoRenewal | Boolean | Auto-renewal switch. Valid values: |
| Status | String | Plan status. Valid values: |
| PayMode | Integer | Billing type. Valid values: |
| ZonesInfo | Array of ZoneInfo | Information of the sites bound to the plan, including site id, site name, and site status. |
| SmartRequestCapacity | Integer | Quota of smart acceleration requests in the plan, in the unit of requests. |
| VAUCapacity | Integer | VAU quota in the plan, in the unit of VAUs. |
| AccTrafficCapacity | Integer | Quota of content acceleration traffic in the plan, in the unit of bytes. |
| ClientAuthTrafficCapacity | Integer | Quota of client authentication traffic in the plan, in the unit of bytes. |
| SmartTrafficCapacity | Integer | Quota of smart acceleration traffic in the plan, in the unit of bytes. |
| DDoSTrafficCapacity | Integer | Quota of DDoS protection traffic in the plan, in the unit of bytes. |
| SecTrafficCapacity | Integer | Quota of security traffic in the plan, in the unit of bytes. |
| SecRequestCapacity | Integer | Quota of security requests in the plan, in the unit of requests. |
| L4TrafficCapacity | Integer | Quota of L4 acceleration traffic in the plan, in the unit of bytes. |
| CrossMLCTrafficCapacity | Integer | Quota of network optimization traffic for the Chinese mainland in the plan, in the unit of bytes. |
| Bindable | String | Whether the plan allows binding new sites. Valid values: |
| EnabledTime | Timestamp ISO8601 | Time when the plan takes effect. |
| ExpiredTime | Timestamp ISO8601 | Expiration time of the plan. |
| Features | Array of String | Features supported by the plan. Valid values: |
edgeone package information
Used by actions: DescribeAvailablePlans.
| Name | Type | Description |
|---|---|---|
| Currency | String | Settlement currency type. Valid values: |
| Flux | Integer | Total traffic included in the package. This value is the sum of security acceleration traffic, content acceleration traffic, and smart acceleration traffic (unit: byte). |
| Frequency | String | Billing cycle. Valid values: |
| PlanType | String | Package type. Valid values: |
| Price | Float | Package pricing (unit: cent). |
| Request | Integer | Request count included in the package. This is the security acceleration request count. (Unit: count). |
| SiteNumber | Integer | Number of sites that can be bound to the package. |
| Area | String | Acceleration region type of the package. Valid values: |
POST request upload file streaming transmission maximum limit
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to enable the POST request upload file limit. The platform defaults to a limit of 32 MB. Valid values: |
| MaxSize | Integer | No | Maximum limit. This field is valid only when Switch is on. The value ranges from 1 MB to 800 MB, in bytes. |
Maximum limit for file streaming transmission in a POST request upload.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Whether to enable the upload file limit for POST requests, in bytes. The platform defaults to a limit of 32 * 220 bytes. Valid values: |
| MaxSize | Integer | No | Maximum limit for file streaming transmission in a POST request upload. This field is valid only when Switch is on. Value range: 1–800 MB, in bytes. |
Origin-pull speed limit details.
Used by actions: DescribePrefetchOriginLimit.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Zone ID. |
| DomainName | String | Acceleration domain name. |
| Area | String | Acceleration region restricted by origin-pull rate limiting. During preheating, the acceleration region will be subject to the configured Bandwidth value limit. Valid values: |
| Bandwidth | Integer | Origin-pull bandwidth limit. Upper limit of bandwidth for returning to the origin during preheating. Value range: 100–100,000. Unit: Mbps. |
| CreateTime | Timestamp ISO8601 | The time when the origin-pull speed limit was created. |
| UpdateTime | Timestamp ISO8601 | The time when the origin-pull rate limit is updated. |
Prepaid Plan Billing Parameters
Used by actions: CreatePlan.
| Name | Type | Required | Description |
|---|---|---|---|
| Period | Integer | No | Prepaid plan duration, unit: month. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If this field is not specified, the default value '1' will be used. |
| RenewFlag | String | No | Auto-renewal flag for prepaid plan. Valid values: If this field is not specified, the default value 'off' will be used. When auto-renewal is enabled, it defaults to renewing for one month. |
Private authentication parameters for the COS origin server
Used by actions: CreateAccelerationDomain, CreateOriginGroup, DescribeAccelerationDomains, DescribeOriginGroup, ModifyAccelerationDomain, ModifyOriginGroup.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Private authentication parameter name. Valid values: |
| Value | String | Yes | Private authentication parameter value. |
QUIC configuration item.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | QUIC configuration switch. Valid values:on: Enable; |
The query condition
Used by actions: CreateRealtimeLogDeliveryTask, DescribeDDoSAttackData, DescribeOverviewL7Data, DescribeTimingFunctionAnalysisData, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, DescribeTimingL7OriginPullData, DescribeTopFunctionAnalysisData, DescribeTopL7AnalysisData, DescribeTopL7CacheData, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Key | String | Yes | The key of QueryCondition. |
| Operator | String | Yes | The conditional operator. Values:equals: EqualsnotEquals: Does not equalinclude: ContainsnotInclude: Does not containstartWith: Starts withnotStartWith: Does not start withendWith: Ends withnotEndWith: Does not end with |
| Value | Array of String | Yes | The value of QueryCondition. |
CacheKey contains the request parameter
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether CacheKey consists of QueryString. Valid values: |
| Action | String | No | CacheKey uses QueryString. Valid values: |
| Value | Array of String | No | url parameter array for usage or exclusion. |
Quic configuration item
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Whether to enable Quic configuration. Valid values:on: Enable; |
Refresh/preheat available amount and quotas
Used by actions: DescribeContentQuota.
| Name | Type | Description |
|---|---|---|
| Batch | Integer | Quota limit for a single batch submission. |
| Daily | Integer | Daily submission quota limit. |
| DailyAvailable | Integer | Daily unconsumed submission quota. |
| Type | String | Purge and prefetch cache type. Valid values: |
Sharding origin-pull configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Range-based origin pull switch. Valid values:on: Enable; |
Rate limiting rule
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
| RateLimitUserRules | Array of RateLimitUserRule | No | Rate limit - user rule list. If null, use the last set configuration by default. |
| RateLimitTemplate | RateLimitTemplate | No | Rate limit template feature. If null, use the last set configuration by default. |
| RateLimitIntelligence | RateLimitIntelligence | No | Intelligent client filtering. If it is null, use the last set configuration by default. |
| RateLimitCustomizes | Array of RateLimitUserRule | No | Rate limit - Managed Custom Rules. If null, use the last set configuration by default. |
Intelligent client filtering
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Function switch. Valid values:on: Enable; |
| Action | String | Yes | Execution action. Valid values: |
| RuleId | Integer | No | Rule id, output only. |
Rate limit template
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | Yes | Template level name. Valid values: |
| Action | String | No | Template action. Valid values: |
| RateLimitTemplateDetail | RateLimitTemplateDetail | No | Description of the template value. Returned only as an output parameter. |
Current detailed configuration of the template
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | Yes | Template level name. Valid values: |
| ID | Integer | Yes | Unique ID. |
| Action | String | Yes | Template action. Valid values: |
| PunishTime | Integer | Yes | Penalty duration, in seconds. Value range: 0-2 days. |
| Threshold | Integer | Yes | Statistical threshold, in times. Value range: 0-4294967294. |
| Period | Integer | Yes | Statistical cycle. Value range: 0-120 seconds. |
RateLimit rule
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Threshold | Integer | Yes | Rate limit statistical threshold, in times. Value range: 0-4294967294. |
| Period | Integer | Yes | Rate limit statistical time. Value range: 10/20/30/40/50/60. Unit: seconds. |
| RuleName | String | Yes | Rule name can only contain English characters, digits, and underscores, and cannot begin with an underscore. |
| Action | String | Yes | Handling action. Valid values: |
| PunishTime | Integer | Yes | Penalty duration. Value range: 0-2 days. |
| PunishTimeUnit | String | Yes | Penalty duration unit. Valid values: |
| RuleStatus | String | Yes | Rule status. Valid values: |
| AclConditions | Array of AclCondition | Yes | Rule details. |
| RulePriority | Integer | Yes | Rule weight. Value range: 0-100. |
| RuleID | Integer | No | Rule Id. Output only. |
| FreqFields | Array of String | No | Filter word. Valid values: Defaults to an empty string. |
| UpdateTime | String | No | Update time. Output usage only. Defaults to the current time when modified. |
| FreqScope | Array of String | No | Statistical scope. Valid values: Default value: source_to_eo. |
| Name | String | No | Name of the custom return page. Required when Action is page, and cannot be empty. |
| CustomResponseId | String | No | Custom response Id, which can be obtained through the API for querying the custom error page list. The default value is default, which uses the system default page. Required and cannot be empty when Action is page. |
| ResponseCode | Integer | No | code of the custom return page. Required when Action is page. The value cannot be empty. Value range: 100-600. 3xx response codes are unsupported. Default value: 567. |
| RedirectUrl | String | No | Address for redirection. Required when Action is redirect and cannot be empty. |
Specific configuration of the rate limit.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Id | String | No | ID of the precise rate limiting rule. |
| Name | String | No | Name of the precise rate limit. |
| Condition | String | No | The specific content of precise rate limiting must comply with expression syntax. For detailed specifications, see product document. |
| Mode | String | No | Bandwidth limit mode. Within the statistical time window CountingPeriod, for requests that meet the CountBy feature, the following bandwidth limit modes can be configured: Default value: Block. |
| CountBy | Array of String | No | Match mode of the rate threshold request feature. Required when Enabled is on. |
| MaxRequestThreshold | Integer | No | Cumulative number of interceptions by precise rate limiting within the time range, with a value range of 1 to 100000. |
| CountingPeriod | String | No | Time window for statistics. Valid values: |
| ActionDuration | String | No | Duration of the Action. Supported units: When Mode is Throttle, this parameter will be ignored and will not take effect. |
| Action | SecurityAction | No | Handling method for precise rate limiting. SecurityAction.Name value range is as follows:
|
| Priority | Integer | No | Priority of precise rate limiting, ranging from 0 to 100, with a default value of 0. |
| Enabled | String | No | Whether the precise rate limiting rule is enabled. Valid values: |
Configuration of precise rate limiting
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of RateLimitingRule | No | Definition list of precise rate limiting. When using ModifySecurityPolicy to modify Web protection configuration: |
Real-time log delivery task.
Used by actions: DescribeRealtimeLogDeliveryTasks.
| Name | Type | Description |
|---|---|---|
| TaskId | String | ID of the real-time log delivery task. |
| TaskName | String | Name of the real-time log delivery task. |
| DeliveryStatus | String | Status of the real-time log delivery task. Valid values:
|
| TaskType | String | Type of the real-time log delivery task. Valid values:
|
| EntityList | Array of String | List of entities that the real-time log delivery task applies to (Layer 7 domain names or Layer 4 proxy instances). Examples:
|
| LogType | String | Data delivery type. Valid values:
|
| Area | String | Data delivery area. Valid values:
|
| Fields | Array of String | List of preset fields to deliver. |
| CustomFields | Array of CustomField | List of custom fields to deliver. |
| CustomExpressionFields | Array of CustomExpressionField | List of custom expression fields to deliver. |
| DeliveryConditions | Array of DeliveryCondition | Filter conditions for log delivery. |
| Sample | Integer | Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. |
| LogFormat | LogFormat | Output format for log delivery. A null value indicates the default format. The default format logic is as follows:
|
| CLS | CLSTopic | Configuration of CLS. |
| CustomEndpoint | CustomEndpoint | Configuration of the custom HTTP service. |
| S3 | S3 | Configuration of the S3-compatible (SigV4 authentication algorithm compatible) object storage. |
| AWSS3 | AWSS3 | Configuration of the AWS S3 object storage. It uses IAM role authorization, requires no long-term key, and applies only to AWS native S3. |
| CreateTime | Timestamp ISO8601 | Creation time. |
| UpdateTime | Timestamp ISO8601 | Update time. |
Additional parameter for safe execution when the action is set to redirect.
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and a redirection action is executed.
Different handling actions are configured with different fixed parameter combinations. The system will determine the effective handling action type according to the configured parameter combination.
Only one handling action can be configured and made effective during the same redirection. Parameter composites corresponding to multiple handling actions cannot appear at the same time. Otherwise, it is deemed as an invalid configuration.
RedirectActionParameters supports the following extra handling actions:
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| URL | String | Yes | Redirect URL. |
Instance information that is cited or referencing.
Used by actions: DescribeSharedCNAME.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | Yes | Site ID. |
| Type | String | Yes | Instance type. Valid values: |
| Instance | String | Yes | Instance information that is cited or referencing. |
Auto-renewal configuration item in a prepaid plan.
Used by actions: ModifyPlan.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Auto-renewal flag for prepaid plan. Valid values: |
Specific configuration of the body transfer timeout duration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| IdleTimeout | String | Yes | Body transfer timeout duration. Value range: 5–120. Unit: seconds (s) only. |
| Enabled | String | Yes | Whether body transfer timeout duration is enabled. Valid values: |
Skipped field configuration in the exception rule
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Scope | String | Yes | Specific fields to skip. Supported values: |
| Condition | String | Yes | Expression of the specific field to skip, which must comply with the expression grammar. Condition supports expression configuration syntax: For example: |
| TargetField | String | Yes | When the Scope parameter takes different values, the supported values in the TargetField expression are as follows: |
Billing resource
Used by actions: DescribeZones.
| Name | Type | Description |
|---|---|---|
| Id | String | Resource ID. |
| PayMode | Integer | Payment mode. Valid values: |
| CreateTime | Timestamp ISO8601 | Creation time. |
| EnableTime | Timestamp ISO8601 | Effective time. |
| ExpireTime | Timestamp ISO8601 | Expiration time. |
| Status | String | Package status. Valid values: |
| Sv | Array of Sv | Price inquiry parameters. |
| AutoRenewFlag | Integer | Whether it is automatically renewed. Valid values:1: auto-renewal;2: no auto-renewal. |
| PlanId | String | ID of the associated resource in the package. |
| Area | String | Region. Valid values: |
| Group | String | Resource type. Valid values: |
| ZoneNumber | Integer | Number of sites bound to the current resource. |
| Type | String | Resource tag type, with values: |
Single connection download speed limit configuration parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | Yes | Download speed limit mode. Valid values: |
| MaxSpeed | String | Yes | Rate-limiting value. Specify the rate limit. Fill in a value with a unit or a variable. Currently supported unit: KB/s. |
| StartAt | String | No | Speed limit start value, which can be the download size or specified duration. Fill in a value with a unit or a variable to specify the download size or duration. -When Mode is LimitAfterSpecificBytesDownloaded, valid values of the unit are: KB; -When Mode is LimitAfterSpecificSecondsDownloaded, valid values of the measurement unit: s. |
Additional parameter of the custom page for Web security
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| ResponseCode | String | Yes | status code. |
| ErrorPageId | String | Yes | ID of the custom page in the response. |
headerAction of the HTTP request header/response header type in the rule engine
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | Feature name. For completion specifications, call the API to query the parameter settings of the rule engine. |
| Parameters | Array of RuleRewriteActionParams | Yes | parameter. |
Rule item of the rule engine. The relationship between multiple items in the Conditions array is OR, and the relationship between multiple items in the inner-layer Conditions list is AND.
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Conditions | Array of RuleAndConditions | Yes | Judgment condition for executing the feature. Note: The feature can be executed if any condition in the array is met. |
| Actions | Array of Action | No | Executed feature. Note: Actions and SubRules cannot be both empty. |
| SubRules | Array of SubRuleItem | No | Nested rule. Note: SubRules and Actions cannot be both empty. |
Rule engine condition AND relationship condition list
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Conditions | Array of RuleCondition | Yes | Condition of a rule engine. This condition is considered met if all items in the array are met. |
Sub-rule branch.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DummyParseZoneFullConfig, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Condition | String | No | Match condition. |
| Actions | Array of RuleEngineAction | No | Operate. Note: Actions and SubRules cannot be empty at the same time. |
| SubRules | Array of RuleEngineSubRule | No | Sub-rule list. If there are multiple rules in the list, they are executed in order from top to bottom. Note: SubRules and Actions cannot be empty at the same time. Currently only one level of SubRules is supported. |
Detailed settings of the rule engine applicable to match requests, with selectable parameter configuration items.
Used by actions: DescribeRulesSetting.
| Name | Type | Description |
|---|---|---|
| Name | String | Parameter name. |
| Type | String | Parameter type. |
| ChoicesValue | Array of String | Available values of the parameter. Note: If the parameter value is user-customized, this array is an empty array. |
| Min | Integer | Minimum value of the value parameter. This item is meaningless for non-numeric parameters or when both Min and Max are 0. |
| Max | Integer | Maximum value of a numeric parameter. This item is meaningless for non-numeric parameters or when both Min and Max are 0. |
| IsMultiple | Boolean | Whether the parameter value supports multi-select or filling in multiple values. |
| IsAllowEmpty | Boolean | Allow Empty. |
| ExtraParameter | RuleExtraParameter | Special parameter. |
Rule engine condition uses the StatusCode field action parameter
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| StatusCode | Integer | Yes | Status Code. |
| Name | String | Yes | Parameter name. For parameter completion specifications, call the api Query parameter settings of the rule engine to view. |
| Values | Array of String | Yes | Parameter value. |
Rule engine condition parameter
Used by actions: CreateFunctionRule, CreateRule, DescribeRules, ModifyFunctionRule, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Operator | String | Yes | Operator. Valid values: |
| Target | String | Yes | Matching type. Valid values: |
| Values | Array of String | No | Parameter values for match types. An empty array is allowed only when the match type is query_string or request_header and the operator is Exist or Does Not Exist. The corresponding matching types are: |
| IgnoreCase | Boolean | No | Whether to ignore the case sensitivity of parameter values. Default value: false. |
| Name | String | No | Name of the parameter for the corresponding matching type. Valid when Target is set to the following values, and the value cannot be empty: |
Rule engine operation.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Operation Name. The Name must correspond to the parameter structure. For example, if Name=Cache, CacheParameters is required. |
| CacheParameters | CacheParameters | No | Node cache TTL configuration parameter. This parameter is required when Name is Cache. |
| CacheKeyParameters | CacheKeyParameters | No | Custom Cache Key configuration parameter. When Name is CacheKey, this parameter is required. |
| CachePrefreshParameters | CachePrefreshParameters | No | Cache pre-refresh configuration parameter. This parameter is required when Name value is CachePrefresh. |
| AccessURLRedirectParameters | AccessURLRedirectParameters | No | Access URL redirection configuration parameter. This parameter is required when Name is AccessURLRedirect. |
| UpstreamURLRewriteParameters | UpstreamURLRewriteParameters | No | Origin-pull URL rewrite configuration parameter. This parameter is required if Name is UpstreamURLRewrite. |
| QUICParameters | QUICParameters | No | QUIC configuration parameter. This parameter is required when the value of Name is QUIC. |
| WebSocketParameters | WebSocketParameters | No | WebSocket configuration parameter. This parameter is required when Name is WebSocket. |
| AuthenticationParameters | AuthenticationParameters | No | Token authentication configuration parameter. When the value of Name is Authentication, this parameter is required. |
| MaxAgeParameters | MaxAgeParameters | No | Browser cache TTL configuration parameter. This parameter is required when Name is MaxAge. |
| StatusCodeCacheParameters | StatusCodeCacheParameters | No | Status code cache TTL configuration parameter. This parameter is required when Name is StatusCodeCache. |
| OfflineCacheParameters | OfflineCacheParameters | No | Offline cache configuration parameter. This parameter is required when Name value is OfflineCache. |
| SmartRoutingParameters | SmartRoutingParameters | No | Smart acceleration configuration parameter. This parameter is required when the value of Name is SmartRouting. |
| AdvancedOriginRoutingParameters | AdvancedOriginRoutingParameters | No | Advanced origin-pull optimization configuration parameters. When the value of Name is AdvancedOriginRouting, this parameter is required. |
| RangeOriginPullParameters | RangeOriginPullParameters | No | Range-based origin pull configuration parameter. This parameter is required when Name is RangeOriginPull. |
| UpstreamHTTP2Parameters | UpstreamHTTP2Parameters | No | HTTP2 origin-pull configuration parameter. This parameter is required if Name is UpstreamHTTP2. |
| HostHeaderParameters | HostHeaderParameters | No | Host Header rewrite configuration parameters. When the value of Name is HostHeader, this parameter is required. |
| ForceRedirectHTTPSParameters | ForceRedirectHTTPSParameters | No | Access protocol forced HTTPS redirect configuration. This parameter is required when Name is ForceRedirectHTTPS. |
| OriginPullProtocolParameters | OriginPullProtocolParameters | No | Origin-pull HTTPS configuration parameter. This is required if Name is OriginPullProtocol. |
| CompressionParameters | CompressionParameters | No | Intelligent compression configuration. This parameter is required when the value of Name is Compression. |
| HSTSParameters | HSTSParameters | No | HSTS configuration parameter. This parameter is required when the value of Name is HSTS. |
| ClientIPHeaderParameters | ClientIPHeaderParameters | No | Header information configuration for storing client request IPs. This parameter is required when Name is ClientIPHeader. |
| OCSPStaplingParameters | OCSPStaplingParameters | No | OCSP stapling configuration parameter. This parameter is required when Name is OCSPStapling. |
| HTTP2Parameters | HTTP2Parameters | No | HTTP2 integration configuration parameter. This parameter is required when Name is HTTP2. |
| PostMaxSizeParameters | PostMaxSizeParameters | No | POST request upload file streaming transmission maximum limit configuration. When the value of Name is PostMaxSize, this parameter is required. |
| ClientIPCountryParameters | ClientIPCountryParameters | No | Configuration parameter for carrying the client IP region information during origin-pull. This parameter is required when the value of Name is ClientIPCountry. |
| UpstreamFollowRedirectParameters | UpstreamFollowRedirectParameters | No | Origin-pull follow redirect parameter configuration. When the value of Name is UpstreamFollowRedirect, this parameter is required. |
| UpstreamRequestParameters | UpstreamRequestParameters | No | Origin-pull request parameter configuration parameter. This parameter is required when Name is UpstreamRequest. |
| ShieldParameters | ShieldParameters | No | Origin server uninstallation configuration parameter. This parameter is required when the value of Name is Shield. |
| TLSConfigParameters | TLSConfigParameters | No | SSL/TLS security configuration parameter. This parameter is required when Name is TLSConfig. |
| ModifyOriginParameters | ModifyOriginParameters | No | Modify origin configuration parameters. When the value of Name is ModifyOrigin, this parameter is required. |
| SiteFailoverParameters | SiteFailoverParameters | No | Origin server failover configuration parameter. This parameter is required when Name is SiteFailover. |
| HTTPUpstreamTimeoutParameters | HTTPUpstreamTimeoutParameters | No | Layer 7 origin pull timeout configuration. This parameter is required when Name is HTTPUpstreamTimeout. |
| HttpResponseParameters | HTTPResponseParameters | No | HTTP response configuration parameter. This parameter is required when Name is HttpResponse. |
| ErrorPageParameters | ErrorPageParameters | No | Custom error page configuration parameter. This parameter is required when Name is ErrorPage. |
| ModifyResponseHeaderParameters | ModifyResponseHeaderParameters | No | Modify HTTP node response header configuration parameters. This parameter is required when Name is ModifyResponseHeader. |
| ModifyRequestHeaderParameters | ModifyRequestHeaderParameters | No | Modify the HTTP node request header configuration parameter. This parameter is required if Name is ModifyRequestHeader. |
| ResponseSpeedLimitParameters | ResponseSpeedLimitParameters | No | Single connection download speed limit configuration parameter. This parameter is required when Name is ResponseSpeedLimit. |
| SetContentIdentifierParameters | SetContentIdentifierParameters | No | Content identification configuration parameter. This parameter is required when the value of Name is SetContentIdentifier. |
| VaryParameters | VaryParameters | No | Vary feature configuration parameter. When the value of Name is Vary, this parameter is required. |
| ContentCompressionParameters | ContentCompressionParameters | No | Content compression configuration parameter. When the value of Name is ContentCompression, this parameter is required. This parameter is an allowlist feature. If needed, contact Tencent Cloud Engineers. |
| OriginAuthenticationParameters | OriginAuthenticationParameters | No | Origin authentication configuration parameter. When the value of Name is OriginAuthentication, this parameter is required. This parameter is an allowlist feature. If needed, contact Tencent Cloud Engineers. |
| CustomActionParameters | CustomActionParameters | No | Custom configuration operation parameter. This parameter is required when the value of Name is CustomAction. You can get the list of currently supported custom configuration items through the returned value CustomActionSet of the DescribeAvailableCustomActionsForRuleEngine API. |
Operate the custom configuration of the rule engine.
Used by actions: DescribeAvailableCustomActionsForRuleEngine.
| Name | Type | Description |
|---|---|---|
| ActionId | String | Unique ID of the custom configuration. |
| Name | String | Custom configuration name. |
| Description | String | Custom configuration description. |
| Parameters | Array of RuleEngineCustomActionParameterSchema | Custom configuration parameter definition list. |
| SupportedConditions | Array of String | Custom configuration supported match conditions. For supported match conditions, see the official documentation General Reference - Configuration Syntax - Variables. |
Rule engine operation custom configuration parameter structure definition.
Used by actions: DescribeAvailableCustomActionsForRuleEngine.
| Name | Type | Description |
|---|---|---|
| Name | String | Parameter field name. |
| ValueType | String | Parameter field data type. Valid values: |
| Description | String | Parameter field description. |
| Default | String | Parameter field default value. |
| Unit | String | Parameter field unit. |
| Required | Boolean | Whether the parameter field is required. Default value: false If filled, it is suitable for all parameter field type verification; if not filled, no verification. |
| MinValue | Float | Minimum value of the parameter field. If filled, it is used to validate the value of integer, floating-point number, integer array, and floating-point number array type parameters. If not filled, no verification is performed. |
| MaxValue | Float | Maximum value of the parameter field. If filled, it applies to value verification for integers, floating-point numbers, integer arrays, and floating-point number arrays. If left blank, no verification is performed. |
| MinLength | Integer | Minimum length of the parameter field. If filled, it applies to value verification for string and string array type parameters; if left blank, no verification is performed. |
| MaxLength | Integer | Maximum length of the parameter field. If filled, it is used for value validation of string and string array type parameters; if not filled, no validation is performed. |
| MinItems | Integer | Minimum item count of the parameter field. If filled, it is used to validate the value of various array type parameters. If not filled, no verification is performed. |
| MaxItems | Integer | Maximum items in the parameter field. If filled, it is suitable for value verification of various array type parameters; if left blank, no verification is performed. |
| UniqueItems | Boolean | Whether the parameter field item is unique. Default value: false If filled, it is suitable for value verification of various array type parameters; if not filled, no verification. |
| AllowedPattern | String | Allowed format of the parameter field. If filled, verification is required to ensure the string or string array content is appropriate; if left blank, no verification is performed. |
| AllowedValues | Array of String | Allowed values of the parameter field. If empty, no verification is performed. If this parameter is filled, it indicates that the corresponding parameter is an enumeration type, and only values in this parameter array are allowed. If not filled, no verification is performed. |
| MultipleOf | String | Minimum step size of the parameter field. If filled, it applies to value verification for floating-point and floating-point array type parameters; if left blank, no verification is performed. |
Rule details of the engine rule.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Status | String | No | Rule status. Valid values: |
| RuleId | String | No | Rule ID. The unique identifier of a rule. This parameter is required when calling ModifyL7AccRule. |
| RuleName | String | No | Rule name. The name can contain no more than 255 characters. |
| Description | Array of String | No | Rule note. Multiple notes can be filled. |
| CustomVariables | Array of CustomVariable | No | List of rule-level custom variables. CustomVariable.Name requires the use of user.rule. as a prefix. Variables are initialized sequentially in the array order. InitialValue supports referencing site-level custom variables and rule-level custom variables before the current variable. It does not support referencing the current variable itself or rule-level custom variables after it. Site-level custom variables can be queried through the DescribeZoneCustomVariables API. When Branches is empty, CustomVariable cannot be filled in, and any entry is invalid. |
| CustomVariableOperations | Array of CustomVariableOperation | No | Operation details of rule-level custom variables. You can reference site-level custom variables and rule-level custom variables defined in the current rule during operations. Site-level custom variables can be queried through the DescribeZoneCustomVariables API. This list currently only supports filling in one rule; additional entries are invalid. When Branches is empty, CustomVariableOperations is not allowed to be filled in, and any entry will be invalid. |
| Branches | Array of RuleBranch | No | Sub-rule branch. This list currently only supports filling in one rule. Additional rules are invalid. |
| RulePriority | Integer | No | Rule priority. Output only. |
Sub-rule.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Branches | Array of RuleBranch | No | Sub-rule branch |
| Description | Array of String | No | Rule note. |
Rule engine parameter details. Unique parameter type.
Used by actions: DescribeRulesSetting.
| Name | Type | Description |
|---|---|---|
| Id | String | Parameter name. Valid values: |
| Type | String | Parameter value type. |
| Choices | Array of String | Optional parameter values. Note: When the value of Id is StatusCode, the values in the array are integers. Fill in the parameter value as an integer in string format. |
Rule engine rule details
Used by actions: DescribeRules.
| Name | Type | Description |
|---|---|---|
| RuleId | String | Rule ID. |
| RuleName | String | Rule name. The name string must be 1 to 255 characters in length. |
| Status | String | Rule status. Valid values: |
| Rules | Array of Rule | Rule content. |
| RulePriority | Integer | Rule priority. A larger value indicates higher priority. Minimum value: 1. |
| Tags | Array of String | Rule tag. |
Rule engine condition normal action parameter
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Parameter name. For completion specifications, call the API to query the parameter settings of the rule engine. |
| Values | Array of String | Yes | Parameter value. |
Action parameter for HTTP request/response header operations in rule engine conditions.
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | Yes | For feature parameter names and completion specifications, call the API to query the rule engine's parameter settings (https://www.tencentcloud.com/document/product/1552/80618?from_cn_redirect=1). Currently, only three values are supported: |
| Name | String | Yes | Parameter name. |
| Values | Array of String | Yes | Parameter value. |
Rule engine settings applicable to matchmaking requests.
Used by actions: DescribeRulesSetting.
| Name | Type | Description |
|---|---|---|
| Name | String | Value of the parameter name. |
| Min | Integer | Minimum value of the numeric parameter. This item is meaningless for non-numeric parameters or when both Min and Max are 0. |
| ChoicesValue | Array of String | Available values of the parameter. Note: If the parameter value is user-customized, this array is an empty array. |
| Type | String | Parameter type. |
| Max | Integer | Maximum value of the numeric parameter. This item is meaningless for non-numeric parameters or when both Min and Max are 0. |
| IsMultiple | Boolean | Whether the parameter value supports multiple selections or filling in multiple values. |
| IsAllowEmpty | Boolean | Allow Empty. |
| ChoiceProperties | Array of RuleChoicePropertiesItem | The associated configuration parameter of this parameter is required for the API call. Note: If no new configuration parameters are added to the optional parameter, this array is an empty array. |
| ExtraParameter | RuleExtraParameter |
Settings list of a rule engine applicable to matchmaking requests and its detailed information
Used by actions: DescribeRulesSetting.
| Name | Type | Description |
|---|---|---|
| Action | String | Feature name. Valid values: (ErrorPage); |
| Properties | Array of RulesProperties | Parameter information. |
The configuration information of real-time log delivery to an AWS S3 compatible bucket
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
| Name | Type | Required | Description |
|---|---|---|---|
| Endpoint | String | Yes | The URL without bucket name or path, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, and https://cos.ap-nanjing.myqcloud.com. |
| Region | String | Yes | The region where the bucket is located, for example: ap-northeast-2. |
| Bucket | String | Yes | The bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If the directory does not exist in the bucket, it will be created automatically. |
| AccessId | String | Yes | The Access Key ID used to access the bucket. |
| AccessKey | String | Yes | The secret key used to access the bucket. |
| CompressType | String | No | The data compress type. Valid values: |
Search engine rule configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BaseAction | SecurityAction | No | Execution action for requests from search engine crawlers. Supported values of SecurityAction Name: |
| BotManagementActionOverrides | Array of BotManagementActionOverrides | No | Specify the handling method for search engine crawler requests. |
Security data Entry return value
Used by actions: DescribeDDoSAttackData.
| Name | Type | Description |
|---|---|---|
| Key | String | Query the dimension value. |
| Value | Array of SecEntryValue | Detailed data under the query dimension. |
Security data dimension value information
Used by actions: DescribeDDoSAttackData.
| Name | Type | Description |
|---|---|---|
| Metric | String | Metric name. |
| Detail | Array of TimingDataItem | Details of time series data. |
| Max | Integer | Maximum value. |
| Avg | Float | Mean. |
| Sum | Float | Total data. |
Safe execution action
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Specific actions for safe execution. Valid values:
|
| DenyActionParameters | DenyActionParameters | No | Additional parameter when Name is Deny. |
| RedirectActionParameters | RedirectActionParameters | No | Additional parameter when Name is Redirect. |
| AllowActionParameters | AllowActionParameters | No | Additional parameter when Name is Allow. |
| ChallengeActionParameters | ChallengeActionParameters | No | Additional parameter when Name is Challenge. |
| BlockIPActionParameters | BlockIPActionParameters | No | To be deprecated. An additional parameter when Name is BlockIP. |
| ReturnCustomPageActionParameters | ReturnCustomPageActionParameters | No | To be deprecated. An additional parameter when Name is ReturnCustomPage. |
Web security configuration
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| WafConfig | WafConfig | No | Managed rule. If the parameter is null or not filled, use the last set configuration by default. |
| RateLimitConfig | RateLimitConfig | No | Rate limit. If the parameter is null or not filled, use the last set configuration by default. |
| AclConfig | AclConfig | No | Custom rule. If the parameter is null or not filled, use the last set configuration by default. |
| BotConfig | BotConfig | No | Bot configuration. If the parameter is null or not filled, use the last set configuration by default. |
| SwitchConfig | SwitchConfig | No | Switch setting of the 7-layer protection. If the parameter is null or not filled, use the last set configuration by default. |
| IpTableConfig | IpTableConfig | No | Basic access control. If the parameter is null or not filled, use the last set configuration by default. |
| ExceptConfig | ExceptConfig | No | Exception rule configuration. If the parameter is null or not filled, use the last set configuration by default. |
| DropPageConfig | DropPageConfig | No | Custom block page settings. If the parameter is null or not filled, the last set configuration is used by default. |
| TemplateConfig | TemplateConfig | No | Template configuration. This parameter is output-only. |
| SlowPostConfig | SlowPostConfig | No | Slow attack configuration. If the parameter is null or not filled, use the last set configuration by default. |
| DetectLengthLimitConfig | DetectLengthLimitConfig | No | Detection length limit configuration. For output usage only. |
Security headers to include in requests to the origin. After the configuration takes effect, request headers with the corresponding keyname will be sent to the origin.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BotIdentificationHeaders | Array of String | No | Configuration of origin request headers for Bot identification information. Valid values:
|
| BotManagementHeaders | Array of String | No | Configuration of origin request headers for identification results from the Advanced Bot Management module. Valid values:
|
| ClientFingerprintHeaders | Array of String | No | Configuration of origin request headers for client fingerprint information. Valid values:
|
Security policy configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, DummyParseZoneFullConfig, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| CustomRules | CustomRules | No | Custom rule configuration. |
| ManagedRules | ManagedRules | No | Managed rule configuration. |
| HttpDDoSProtection | HttpDDoSProtection | No | HTTP DDoS protection configuration. |
| RateLimitingRules | RateLimitingRules | No | Rate limiting rule configuration. |
| ExceptionRules | ExceptionRules | No | Exception rule configuration. |
| BotManagement | BotManagement | No | Bot management configuration. |
| BotManagementLite | BotManagementLite | No | Basic Bot management configuration. |
| DefaultDenySecurityActionParameters | DefaultDenySecurityActionParameters | No | Default block action configuration. |
| SecurityHeadersToOrigin | SecurityHeadersToOrigin | No | Security headers to include in requests to the origin. After the configuration takes effect, request headers with the corresponding |
Policy template information.
Used by actions: DescribeWebSecurityTemplates.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Site ID of the policy template. |
| TemplateId | String | Policy template ID. |
| TemplateName | String | Policy template name. |
| BindDomains | Array of BindDomainInfo | Domain name info bound to the policy template. |
Binding relationship of the security policy template.
Used by actions: DescribeSecurityTemplateBindings.
| Name | Type | Description |
|---|---|---|
| TemplateId | String | Template ID. |
| TemplateScope | Array of TemplateScope | Template binding status. |
Security type configuration item.
Used by actions: DescribeHostsSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Security type switch. Value:on: Enable; |
SecurityAction with weight assignment.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| SecurityAction | SecurityAction | No | Handling method of the Bot custom rule. Valid values: |
| Weight | Integer | No | Weight of the current SecurityAction. Only multiples of 10 from 10 to 100 are supported. The sum of all Weight parameters must equal 100. |
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | |
| RuleActions | Array of ManagedRuleAction | No | |
| MetaData | ManagedRuleGroupMeta | No |
https server certificate configuration
Used by actions: DescribeHostsSetting, ModifyHostsCertificate, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| CertId | String | Yes | Server certificate ID, which originates from the SSL side. You can check the CertId from the SSL Certificate List. |
| Alias | String | No | Certificate remark name. |
| Type | String | No | Certificate type. Valid values:default: Default certificate;upload: User-upload; |
| ExpireTime | Timestamp ISO8601 | No | Certificate expiration time. |
| DeployTime | Timestamp ISO8601 | No | Deployment time of the certificate. |
| SignAlgo | String | No | Signature algorithm. |
| CommonName | String | No | Domain name of the certificate ownership. |
Affinity configurations based on session ID.
Used by actions: CreateInferenceService, ModifyInferenceService.
| Name | Type | Required | Description |
|---|---|---|---|
| Source | String | No | Transmission location of the session ID parameter. If left empty, it defaults to Header. Enumeration values:
Default value: Header. |
| HeaderName | String | No | Request header name for transmitting the session ID. Required when Source is Header. Input limits: 1-64 characters in length. Only letters, digits, and hyphens are supported. Default value: EO-Infer-Session-Id. |
Session rate and periodic feature verification configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | No | Whether session rate and periodic feature verification are enabled. Valid values: |
| HighRateSessionAction | SecurityAction | No | Session rate and periodic feature verification for high-risk executed actions. The Name parameter of SecurityAction supports the following values: |
| MidRateSessionAction | SecurityAction | No | Execution action for medium-risk session rate and periodic feature verification. Supported values of SecurityAction Name: |
| LowRateSessionAction | SecurityAction | No | Session rate and periodic feature verification are low-risk execution actions. The Name parameter of SecurityAction supports: |
Content identification configuration parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| ContentIdentifier | String | No | Content identifier ID |
Custom Variable parameter settings.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeZoneCustomVariables, ModifyL7AccRule, ModifyZoneCustomVariables.
| Name | Type | Required | Description |
|---|---|---|---|
| Name | String | Yes | Custom Variable name. A Custom Variable must be defined before it can be used in operations. |
| Value | String | Yes | Assign values to custom variables. Supports using constant strings, variables, and formulas. Chinese characters are not allowed. Length cannot exceed 1000 characters. |
Shared CNAME details
Used by actions: DescribeSharedCNAME.
| Name | Type | Description |
|---|---|---|
| Type | String | Shared CNAME type: value range as follows: |
| SharedCNAME | String | Shared CNAME name. |
| Description | String | Description. |
| IPSSLConfig | IPSSLConfig | When type is ip-ssl, show the IP SSL configuration message associated with the shared CNAME. |
| BindDomainCount | Integer | Number of acceleration domain names bound to the shared CNAME. |
| AccelerationDomains | Array of ReferenceHolder | List of acceleration domain names added to the shared CNAME. When the number of added domains exceeds 100, only return the first 100 acceleration domain names. |
Origin server uninstallation configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| ShieldSpaceId | String | Yes | Origin server uninstallation space ID. |
Origin server failover configuration parameter internal structure.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Mode | String | Yes | Origin-pull failover type. Valid values: |
| Origin | String | No | Origin server address, divided into the following scenarios based on the value of Mode: |
| OriginProtocol | String | No | Origin-pull protocol configuration. This parameter is required when Mode is FailoverToHost. Valid values: |
| HTTPOriginPort | Integer | No | HTTP origin-pull port. Value range: 1–65535. This parameter is required when the origin-pull protocol OriginProtocol is http or follow. |
| HTTPSOriginPort | Integer | No | HTTPS origin-pull port, in the range of 1–65535. This parameter is required when OriginProtocol is https or follow. |
| UpstreamHostHeader | HostHeaderParameters | No | Host Header rewrite configuration for origin-pull. |
| UpstreamURLRewrite | UpstreamURLRewriteParameters | No | Origin-pull URL rewrite configuration. |
| UpstreamRequestParameters | UpstreamRequestParameters | No | Origin-pull request parameter configuration. |
| UpstreamHTTP2Parameters | UpstreamHTTP2Parameters | No | HTTP/2 origin-pull configuration parameter. |
| PrivateAccess | String | No | Whether access to the private object storage origin server is allowed. This parameter is required when the origin server type Mode is FailoverToCOS or FailoverToS3CompatibleObjectStorage. Valid values: |
| PrivateParameters | OriginPrivateParameters | No | Private authentication parameter. This parameter is valid only when Mode = FailoverToS3CompatibleObjectStorage and PrivateAccess = on. |
| RedirectURL | String | No | Redirect target URL. This parameter is required when Mode is FailoverRedirectToURL. |
| ResponsePageId | String | No | page ID. This parameter is required when Mode is FailoverCustomResponsePage. |
| StatusCode | Integer | No | status code. This parameter is required when Mode is FailoverRedirectToURL or FailoverCustomResponsePage. Valid values: |
Origin server failover configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| SiteFailoverStatusCodes | Array of Integer | Yes | Status code for origin fault migration condition. Origin migration is executed as specified in SiteFailoverParams only when the response status code returned by the origin hits the value of this field. The parameter value is one of 4xx and 5xx. |
| SiteFailoverParams | Array of SiteFailover | Yes | List of origin server failover configuration parameters. Minimum length: 1. Maximum length: 2. |
Skip match condition of the exception rule. In case of an exception, skip the specified field and content based on this match condition.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | Yes | Exception skip type. Value: |
| Selector | String | Yes | Field to skip. Value: |
| MatchFromType | String | No | Match mode used by the match Key. Value: |
| MatchFrom | Array of String | No | Value of the match Key. |
| MatchContentType | String | No | Match mode used by Content. Value: |
| MatchContent | Array of String | No | Value of the match Value. |
Specific configuration for slow attack protection.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| Enabled | String | Yes | Whether slow attack protection is enabled. Valid values: |
| Id | String | No | Rule ID of slow attack protection, returned only as an output parameter. |
| Action | SecurityAction | No | Handling method for slow attack protection. This field is required when Enabled is on. Supported values for SecurityAction Name: |
| MinimalRequestBodyTransferRate | MinimalRequestBodyTransferRate | No | Specific configuration of the minimum body transfer rate threshold. Required when Enabled is on. |
| RequestBodyTransferTimeout | RequestBodyTransferTimeout | No | Specific configuration of the body transfer timeout duration. Required if Enabled is on. |
Slow attack configuration.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
| FirstPartConfig | FirstPartConfig | No | First packet configuration. |
| SlowRateConfig | SlowRateConfig | No | Basic configuration. |
| Action | String | No | Handling action for slow attacks. Valid values: |
| RuleId | Integer | No | Rule Id. |
Basic configuration of slow attack.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Switch. Valid values:on: Enable; |
| Interval | Integer | No | Statistics interval in seconds. After the first packet transfer is complete, the data transmission axis is split by this parameter, and slow attacks are calculated separately for each shard. |
| Threshold | Integer | No | Rate threshold applied for statistics, in bps. If the transmission rate in this shard does not reach this parameter value, it is determined as a slow attack and the handling method for slow attacks is applied. |
Intelligent acceleration configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Smart acceleration configuration switch. Valid values:on: Enable; |
Intelligent acceleration configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Smart acceleration configuration switch. Valid values:on: Enable; |
Specific content of the IDC rule configuration.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| BaseAction | SecurityAction | No | Handling method for requests from a specified IDC. Supported values of the Name parameter of SecurityAction: |
| BotManagementActionOverrides | Array of BotManagementActionOverrides | No | Handling method for the request from the specified IDC. |
Supports the standard debug struct
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Debug feature switch. Valid values:on: Enable; |
| AllowClientIPList | Array of String | Yes | Allowed client sources. Supports filling in IPv4 and IPv6 IPs or IP ranges. 0.0.0.0/0 indicates that all IPv4 clients are allowed for debugging, and ::/0 indicates that all IPv6 clients are allowed for debugging. |
| ExpireTime | Timestamp ISO8601 | Yes | Debug feature expiration time. If the set time is exceeded, the feature becomes invalid. |
Debug struct.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Debug feature switch. Valid values:on: Enable; |
| AllowClientIPList | Array of String | No | Allowed client source. Supports filling in IPv4 and IPv6 IP ranges. 0.0.0.0/0 indicates permission for all IPv4 clients to debug; ::/0 indicates permission for all IPv6 clients to debug; 127.0.0.1 cannot be filled in. Note: When the Switch field is on, this field is required, and the number of writes is 1–100; when Switch is off, no need to specify this field, and if filled in, it does not take effect. |
| Expires | Timestamp ISO8601 | No | Expiration time of the Debug feature. If the set time is exceeded, the feature becomes invalid. Note: When Switch is on, this field is required; when Switch is off, this field is not required. If filled in, it does not take effect. |
Statistics result row.
Used by actions: DescribeLogAnalysisStatistics.
| Name | Type | Description |
|---|---|---|
| Record | Array of String | List single row record. |
Internal structure of the status code cache TTL config.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| StatusCode | Integer | No | Status code. Value is one of 400, 401, 403, 404, 405, 407, 414, 500, 501, 502, 503, 504, 509, 514. |
| CacheTime | Integer | No | Cache time value, in seconds. Value range: 0–31536000. |
Status code cache TTL configuration parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| StatusCodeCacheParams | Array of StatusCodeCacheParam | No | Status code cache TTL. |
Nested rule information.
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Conditions | Array of RuleAndConditions | Yes | Judgment condition for executing the feature. Note: The feature can be executed if any condition in the array is met. |
| Actions | Array of Action | Yes | Function to execute. |
Nested rule of the rule engine
Used by actions: CreateRule, DescribeRules, ModifyRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Rules | Array of SubRule | Yes | Nested rule information. |
| Tags | Array of String | No | Rule tag. |
Quotation Parameters
Used by actions: DescribeZones.
| Name | Type | Required | Description |
|---|---|---|---|
| Key | String | Yes | Price inquiry parameter key. |
| Value | String | Yes | Quotation parameter value. |
| Pack | String | No | Quota for inquiry parameter mapping. Valid values: |
| InstanceId | String | No | L4 proxy instance Id mapped to the price inquiry parameter. |
| ProtectionSpecs | String | No | Inquiry parameter corresponding to the protection level. Valid values: |
Master switch for features
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| WebSwitch | String | Yes | Master switch for Web security. Valid values:on: Enable; |
Authenticate the instance information with a verification code.
Used by actions: CreateSecurityClientAttester, DescribeSecurityClientAttester, ModifySecurityClientAttester.
| Name | Type | Required | Description |
|---|---|---|---|
| CaptchaAppId | String | Yes | CaptchaAppId information. |
| AppSecretKey | String | Yes | AppSecretKey information. |
EdgeOne human-machine verification authentication instance information.
Used by actions: CreateSecurityClientAttester, DescribeSecurityClientAttester, ModifySecurityClientAttester.
| Name | Type | Required | Description |
|---|---|---|---|
| CaptchaMode | String | No | Browser-side WebView human-machine verification interaction mode. Enumeration values:
Default value: Invisible |
| MobileCaptchaMode | String | No | Human-machine verification interaction mode for native apps on mobile terminals. Enumeration values:
Default value: Invisible |
RCE authentication option instance information.
Used by actions: CreateSecurityClientAttester, DescribeSecurityClientAttester, ModifySecurityClientAttester.
| Name | Type | Required | Description |
|---|---|---|---|
| Channel | String | Yes | Channel info. |
| Region | String | No | Enabled regions for RCE Channel. Currently optional values: |
SSL/TLS security configuration parameter.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Version | Array of String | No | TLS version. At least one is required. If multiple versions are specified, they need to be consecutive version numbers. For example, if you enable TLS 1, 1.1, 1.2, and 1.3, you cannot only enable 1 and 1.2 while disabling 1.1. Valid values: |
| CipherSuite | String | No | Cipher suite. For details, see TLS version and cipher suite description. Valid values: |
Tag configuration.
Used by actions: CreateContentIdentifier, CreateZone, DescribeContentIdentifiers, DescribeZones.
| Name | Type | Required | Description |
|---|---|---|---|
| TagKey | String | Yes | Tag key. |
| TagValue | String | Yes | Tag value. |
Content management task result.
Used by actions: DescribePrefetchTasks, DescribePurgeTasks.
| Name | Type | Description |
|---|---|---|
| JobId | String | Task ID. |
| Target | String | Resource. |
| Type | String | Task type. |
| Method | String | Node cache purge method, with values: |
| Status | String | Status. Valid values: |
| CreateTime | Timestamp ISO8601 | Task creation time. |
| UpdateTime | Timestamp ISO8601 | Task completion time. |
| FailType | String | Failure type of update and preheating. Valid values: |
| FailMessage | String | Failure reason description for cache purge and cache pre-warming. |
Security template configuration
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| TemplateId | String | Yes | Template ID. |
| TemplateName | String | Yes | Template Name |
Security template domain binding status
Used by actions: DescribeSecurityTemplateBindings.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | No | Site ID. |
| EntityStatus | Array of EntityStatus | No | Instance status list. |
Statistical curve data item
Used by actions: DescribeDDoSAttackData, DescribeOverviewL7Data, DescribeTimingFunctionAnalysisData, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, DescribeTimingL7OriginPullData.
| Name | Type | Description |
|---|---|---|
| Timestamp | Integer | Time point for returning data, in the format of Unix timestamp in seconds. |
| Value | Integer | Specific values. |
Data information of time series
Used by actions: DescribeOverviewL7Data, DescribeTimingFunctionAnalysisData, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, DescribeTimingL7OriginPullData.
| Name | Type | Description |
|---|---|---|
| TypeKey | String | Query the dimension value. |
| TypeValue | Array of TimingTypeValue | Detailed time series data of the Integer type. If the value type of the query metric is Integer, the corresponding time series data will be returned in this field.Note: If the value type of the query metric is unclear, data will be returned in this field by default. |
| FloatTypeValue | Array of FloatTimingTypeValue | Detailed time series data of Float type. For metrics whose query metric value type is Float, the corresponding time series data is returned in this field. |
Detailed data of time series type
Used by actions: DescribeOverviewL7Data, DescribeTimingFunctionAnalysisData, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, DescribeTimingL7OriginPullData.
| Name | Type | Description |
|---|---|---|
| Sum | Integer | Data and. |
| Max | Integer | Maximum value. |
| Avg | Integer | Mean. |
| MetricName | String | Metric name. |
| Detail | Array of TimingDataItem | Details. |
Top data record
Used by actions: DescribeTopFunctionAnalysisData, DescribeTopL7AnalysisData, DescribeTopL7CacheData.
| Name | Type | Description |
|---|---|---|
| TypeKey | String | Dimension value to query. |
| DetailData | Array of TopDetailData | top data ranking. |
Detailed information of Top data
Used by actions: DescribeTopFunctionAnalysisData, DescribeTopL7AnalysisData, DescribeTopL7CacheData.
| Name | Type | Description |
|---|---|---|
| Key | String | Field name. |
| Value | Integer | Field value. |
TopN Entry data
Used by actions: DescribeDDoSAttackTopData.
| Name | Type | Description |
|---|---|---|
| Key | String | top query dimension value. |
| Value | Array of TopEntryValue | Query specific data. |
TopN data Entry
Used by actions: DescribeDDoSAttackTopData.
| Name | Type | Description |
|---|---|---|
| Name | String | Sort entity names. |
| Count | Integer | Sort the number of entities. |
Path configuration parameter for access URL redirection.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Action | String | No | Execution action. Valid values: |
| Regex | String | No | Regular expression for matching, with a length range of 1–1024. Note: This field is required when Action is regex. When Action is follow or custom, no need to specify this field, and it does not take effect if specified. |
| Value | String | No | Target URL for redirection. Length range: 1–1024. Note: This field is required when Action is regex or custom. When Action is follow, no need to specify this field, and it does not take effect if specified. |
Used to enable or disable origin-pull mutual authentication and origin certificate verification respectively. The certificate for origin-pull mutual authentication is carried when EO pulls from the origin. The origin can choose to verify this certificate to ensure the request originates from a trusted EO node. When origin certificate verification is enabled, the certificate configuration is used for EO nodes to validate whether the origin certificate is trustworthy.
Used by actions: DescribeAccelerationDomains, ModifyHostsCertificate.
| Name | Type | Required | Description |
|---|---|---|---|
| UpstreamMutualTLS | MutualTLS | No | In the origin-pull mutual authentication scenario, this field represents the certificate (including the public and private keys) carried during EO node origin-pull, which is deployed in the EO node for the origin server to authenticate the EO node. When used as an input parameter, it is left blank to indicate retaining the original configuration. |
| UpstreamCertificateVerify | OriginCertificateVerify | No | In the origin certificate verification scenario, this field is the CA certificate used by the EO node to verify the origin. It is deployed in the EO node and used for the EO node to authenticate the server certificate. As an input parameter, leave it blank to indicate retaining the original configuration. |
Parameter configuration for origin-pull follow redirect.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Configuration switch for origin-pull follow redirect. Valid values:on: Enable; |
| MaxTimes | Integer | No | Maximum number of redirects. Value range: 1-5. Note: This field is required when Switch is on. When Switch is off, no need to specify this field. If specified, it does not take effect. |
HTTP/2 origin-pull configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | HTTP/2 origin-pull configuration switch. Valid values:on: Enable; |
Http/2 origin-pull configuration
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | http/2 origin-pull configuration switch. Valid values:on: Enable; |
Origin-pull request Cookie configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Cookie configuration switch for origin-pull request parameters. Valid values:on: Enable; |
| Action | String | No | Cookie mode for origin-pull requests. This parameter is required when Switch is on. Valid values: |
| Values | Array of String | No | Specified parameter values. This parameter takes effect only when the query string mode Action is includeCustom or excludeCustom, and is used to specify the parameters to keep or ignore. Supports up to 10 parameters. |
Origin-pull request configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| QueryString | UpstreamRequestQueryString | No | String configuration query. This is an optional configuration. No configuration is applied if this parameter is left empty. |
| Cookie | UpstreamRequestCookie | No | Cookie configuration. This is an optional configuration item. Leaving it blank means no configuration. |
Origin-pull request parameter query string configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | Configuration switch for the origin-pull request parameter query string. Valid values:on: Enable; |
| Action | String | No | Query string mode. This parameter is required when Switch is on. Valid values: |
| Values | Array of String | No | Specified parameter values. This parameter takes effect only when the string mode Action is includeCustom or excludeCustom. It is used to specify parameters to keep or ignore. Supports up to 10 parameters. |
Origin-pull URL rewrite configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Origin-pull URL rewrite type. Only Path is supported. |
| Action | String | No | Origin-pull URL rewrite action. Valid values: |
| Value | String | No | Origin-pull URL rewrite value. It should meet the URL Path specification and ensure the rewritten Path starts with / to prevent the Host of the origin-pull URL from being modified. Length range: 1–1024. When Action is addPrefix, it cannot end with /. When Action is rmvPrefix, * cannot exist. When Action is regexReplace, $NUM can be used to refer to a regular expression capture group, where NUM represents the group number, for example $1, with support up to $9. |
| Regex | String | No | Origin-pull URL rewrite uses a regex replacement to match the regular expression of the full path. It should meet the Google RE2 specification with a length range of 1–1024. This field is required when Action is regexReplace. Otherwise, no need to specify this field. |
User Risk Level configuration. The risk score range is 0–100. The higher the score, the higher the risk.
Used by actions: CreateWebSecurityTemplate, DescribeSecurityPolicy, DescribeWebSecurityTemplate, ModifySecurityPolicy, ModifyWebSecurityTemplate.
| Name | Type | Required | Description |
|---|---|---|---|
| HighRiskMinScore | Integer | No | Minimum risk score for high-risk requests. A request is considered high-risk when its score is equal to or greater than this value. Value range: [2, 99] Default value: 50 |
| HighRiskRequestAction | SecurityAction | No | Handling method for high-risk requests. Supported values for SecurityAction Name: |
| MediumRiskMinScore | Integer | No | Minimum risk score for a medium-risk request. A score equal to or greater than this value and less than HighRiskMinScore is considered medium-risk; a score lower than this value is considered low risk. Value range: [1, 98] Default value: 15 |
| MediumRiskRequestAction | SecurityAction | No | Handling method for medium-risk requests. Supported values for the Name parameter of SecurityAction: |
Custom nameservers
Used by actions: DescribeZones, ModifyZone.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Custom ns switch. Valid values: |
| Servers | Array of String | No | List of custom namespaces. |
Custom name server IP information
Used by actions: DescribeZones.
| Name | Type | Description |
|---|---|---|
| Name | String | Custom name server name. |
| IPv4 | String | Custom IPv4 address of the name server. |
Vary feature configuration parameters.
Used by actions: CreateL7AccRules, DescribeL7AccRules, ModifyL7AccRule.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Vary feature configuration switch. Valid values:on: Enable; |
Video stream configuration parameters.
Used by actions: CreateJustInTimeTranscodeTemplate, DescribeJustInTimeTranscodeTemplates.
| Name | Type | Required | Description |
|---|---|---|---|
| Codec | String | Yes | Encoding format for video streams. Optional values: |
| Fps | Float | No | Video frame rate. Value range: [0, 30]. Unit: Hz. If the value is 0, the frame rate will be the same as that of the source video, with a maximum of 30. Default value: 0. |
| Bitrate | Integer | No | Bitrate of video stream. Value range: 0 and [128, 10000]. Unit: kbps. If the value is 0, the bitrate is automatically selected based on the video footage and quality. Default value: 0. |
| ResolutionAdaptive | String | No | Resolution adaptation. Available values: |
| Width | Integer | No | The maximum value of the video stream width (or long side). Valid values: 0 and [128, 1920]. Unit: px. |
| Height | Integer | No | The maximum value of the video stream height (or short side). Valid values: 0 and [128, 1080]. Unit: px. |
| FillType | String | No | Filling method, which is the processing method for transcoding when the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, is called "filling". Optional filling modes: |
None
Used by actions: DescribeHostsSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Waf switch. Value:on: Enable; |
| PolicyId | Integer | No | Policy ID. |
Waf configuration.
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | WafConfig switch. Valid values: |
| Level | String | Yes | Protection level set last time. Valid values: |
| Mode | String | Yes | Global WAF mode. Valid values: |
| WafRule | WafRule | No | Detailed configuration of the managed rule. If null, use the last set configuration by default. |
| AiRule | AiRule | No | Protection configuration of the AI rule engine. If it is null, use the last set configuration by default. |
Waf rule
Used by actions: ModifySecurityPolicy.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | Managed rule switch. Valid values: |
| BlockRuleIDs | Array of Integer | Yes | List of blocklisted IDs. Adding a rule ID to this parameter list disables the ID, meaning the rule ID no longer takes effect. |
| ObserveRuleIDs | Array of Integer | Yes | List of observation mode IDs. Add a rule ID to this parameter list to make the ID take effect in observation mode, that is, the rule ID enters observation mode. |
Serialized security structure
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneDefaultPolicy | SecurityPolicy | No | Configuration details of the site-level policy. |
| HostPolicy | Array of HostPolicy | No | Configuration details of the domain-level policy. |
| Templates | Array of WebSecurityTemplates | No | Configuration details of the policy template. |
Security configuration of the Template.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| TemplateId | String | No | ID of the policy template |
| TemplateName | String | No | Policy template name. It consists of Chinese, English, digits, and underscores. It cannot begin with an underscore and its length cannot exceed 32 characters. |
| Policy | SecurityPolicy | No | Policy settings of a policy template apply to all domain names associated with the template. |
WebSocket configuration
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | Yes | WebSocket timeout configuration switch. Valid values: |
| Timeout | Integer | No | Timeout period in seconds. Maximum timeout time: 120 seconds. |
WebSocket configuration.
Used by actions: CreateL7AccRules, DescribeL7AccRules, DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccRule, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| Switch | String | No | WebSocket timeout configuration switch. Valid values: |
| Timeout | Integer | No | Timeout period, in seconds. Maximum timeout time: 120 seconds. Note: This field is required when Switch is on. Otherwise, it is ineffective. |
Site detail.
Used by actions: DescribeZones.
| Name | Type | Description |
|---|---|---|
| ZoneId | String | Zone ID. |
| ZoneName | String | Site name. |
| AliasZoneName | String | Identical site identifier. It can contain digits, letters, ".", "-", and "_", up to 200 characters. |
| Area | String | Site acceleration region. Valid values: |
| Type | String | Site access type. Valid values: |
| Tags | Array of Tag | Tag associated with the site. |
| Resources | Array of Resource | List of billable resources. |
| NSDetail | NSDetail | Site detail of the NS type. This value is returned only when Type is full. |
| CNAMEDetail | CNAMEDetail | Site detail of CNAME type. This value is returned only when Type is partial. |
| DNSPodDetail | DNSPodDetail | DNSPod managed type site detail. This return value is only available when Type = dnsPodAccess. |
| CreatedOn | Timestamp ISO8601 | Site creation time. |
| ModifiedOn | Timestamp ISO8601 | Site modification time. |
| Status | String | Site status. Valid values:deactivated: The name server is blocked. |
| CnameStatus | String | CNAME access status. Valid values: |
| ActiveStatus | String | Display status. Valid values: |
| LockStatus | String | Lock status. Valid values: |
| Paused | Boolean | Whether to close the site. |
| IsFake | Integer | Whether it is a fake site (this field is a reserved field for history and is no longer maintained. According to the website type, see the corresponding field). Valid values: |
| CnameSpeedUp | String | Whether CNAME acceleration is enabled (this is a historic reserved field and no longer maintained. For the corresponding field, see the website type). Valid values: |
| OwnershipVerification | OwnershipVerification | Ownership verification information. (This field is a historic reserved field and is no longer maintained. For the corresponding field, see the website type.) |
| OriginalNameServers | Array of String | List of NS currently used by the site. (This field is a reserved field for history and is no longer maintained. According to the website type, see the corresponding field for reference.) |
| NameServers | Array of String | List of NS assigned by Tencent Cloud. (This field is a reserved field for history and no longer maintained. For reference, see the corresponding field based on the website type.) |
| VanityNameServers | VanityNameServers | User-customized NS information. (This is a reserved field for history and is no longer maintained. Refer to the corresponding field based on the website type.) |
| VanityNameServersIps | Array of VanityNameServersIps | User-customized NS IP information. (This is a reserved field for historical purposes and is no longer maintained. Refer to the corresponding field based on the website type.) |
| WorkModeInfos | Array of ConfigGroupWorkModeInfo | Version management configuration group working mode. Each configuration module of a site can enable "version management mode" or "immediate effect mode" by configuration group dimension. For details, see Version Management. |
Site acceleration configuration.
Used by actions: DescribeL7AccSetting, DummyParseZoneFullConfig, ModifyL7AccSetting.
| Name | Type | Required | Description |
|---|---|---|---|
| SmartRouting | SmartRoutingParameters | No | Intelligent acceleration configuration. |
| Cache | CacheConfigParameters | No | Cache expiration time configuration. |
| MaxAge | MaxAgeParameters | No | Browser cache configuration. |
| CacheKey | CacheKeyConfigParameters | No | Node cache key configuration. |
| CachePrefresh | CachePrefreshParameters | No | Cache pre-refresh configuration. |
| OfflineCache | OfflineCacheParameters | No | Offline cache configuration. |
| Compression | CompressionParameters | No | Intelligent compression configuration. |
| ForceRedirectHTTPS | ForceRedirectHTTPSParameters | No | Forced HTTPS redirect configuration for access protocols. |
| HSTS | HSTSParameters | No | HSTS configuration. |
| TLSConfig | TLSConfigParameters | No | TLS configuration. |
| OCSPStapling | OCSPStaplingParameters | No | OCSP stapling configuration. |
| HTTP2 | HTTP2Parameters | No | HTTP/2 configuration. |
| QUIC | QUICParameters | No | QUIC access configuration. |
| UpstreamHTTP2 | UpstreamHTTP2Parameters | No | HTTP/2 origin-pull configuration. |
| IPv6 | IPv6Parameters | No | IPv6 access configuration. |
| WebSocket | WebSocketParameters | No | WebSocket configuration. |
| PostMaxSize | PostMaxSizeParameters | No | Configuration for POST request transmission. |
| ClientIPHeader | ClientIPHeaderParameters | No | Client IP origin-pull request header configuration. |
| ClientIPCountry | ClientIPCountryParameters | No | Configuration of whether to carry the regional information of the client IP during origin-pull. |
| Grpc | GrpcParameters | No | The gRPC protocol supports configuration. |
| NetworkErrorLogging | NetworkErrorLoggingParameters | No | Network error log configuration. |
| AccelerateMainland | AccelerateMainlandParameters | No | Acceleration optimization configuration in the Chinese mainland. |
| StandardDebug | StandardDebugParameters | No | Standard Debug configuration. |
Site configuration-related information.
Used by actions: DescribeL7AccSetting.
| Name | Type | Description |
|---|---|---|
| ZoneName | String | Site name. |
| ZoneConfig | ZoneConfig | Site configuration message. |
Site-level custom variable configuration, including variable definition and variable operations.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| CustomVariables | Array of CustomVariable | Yes | List of site-level custom variables. CustomVariable.Name requires the use of user.zone. as a prefix. Variables are initialized sequentially in array order. InitialValue supports references only to variables before the current variable, not to the current variable itself or variables after it. |
| CustomVariableOperations | Array of CustomVariableOperation | Yes | Site-level custom variable computation rules. The computation supports references to defined site-level custom variables. This list currently only supports one rule, and additional entries are invalid. |
Complete site configuration architecture.
Used by actions: DummyParseZoneFullConfig.
| Name | Type | Required | Description |
|---|---|---|---|
| FormatVersion | String | Yes | Syntax version. It defaults to 1.0. An error will be reported if you input other values. |
| ZoneConfig | ZoneConfig | No | Site-level configuration, including all configuration items in "Site Acceleration". All items are required; otherwise, the configuration is invalid. |
| ZoneCustomVariables | ZoneCustomVariables | No | Site-level custom variable configuration, including variable definition and variable operations. |
| Rules | Array of ConfigGroupRuleEngineItem | No | Rule-level configuration, including all rules in the rule engine. The array can be empty, indicating that no rules are enabled. |
| WebSecurity | WebSecurity | No | Web security protection settings, corresponding to the functions supported in "Security Protection - Web Protection" in the console. |
| FunctionTriggers | Array of ConfigGroupFunctionTrigger | No | Edge function trigger rule configuration, including all rules in the edge function. The array can be empty, indicating that no rules are enabled. |
Back to site information
Used by actions: DescribePlans.
| Name | Type | Required | Description |
|---|---|---|---|
| ZoneId | String | No | Site id. |
| ZoneName | String | No | Site name. |
| Paused | Boolean | No | Whether to disable the site. Valid values: |
Site configuration.
Used by actions: DescribeZoneSetting.
| Name | Type | Description |
|---|---|---|
| ZoneName | String | Site name. |
| Area | String | Site acceleration region info. Valid values: |
| CacheKey | CacheKey | Node cache key configuration. |
| Quic | Quic | Quic access configuration. |
| PostMaxSize | PostMaxSize | HTTP POST request transmission configuration. |
| Compression | Compression | Intelligent compression configuration. |
| UpstreamHttp2 | UpstreamHttp2 | Http/2 origin-pull configuration. |
| ForceRedirect | ForceRedirect | Access protocol mandatory Https redirection configuration. |
| CacheConfig | CacheConfig | Cache expiration time configuration. |
| Origin | Origin | Origin server configuration. |
| SmartRouting | SmartRouting | Smart acceleration configuration. |
| MaxAge | MaxAge | Browser cache configuration. |
| OfflineCache | OfflineCache | Offline cache configuration. |
| WebSocket | WebSocket | WebSocket configuration. |
| ClientIpHeader | ClientIpHeader | Client IP HTTP Request Headers configuration. |
| CachePrefresh | CachePrefresh | Cache pre-refresh configuration. |
| Ipv6 | Ipv6 | Ipv6 access configuration. |
| Https | Https | Https acceleration configuration. |
| ClientIpCountry | ClientIpCountry | Configuration of whether to carry the regional information of the client IP during origin-pull. |
| Grpc | Grpc | Grpc protocol supports configuration. |
| NetworkErrorLogging | NetworkErrorLogging | Network error log configuration. |
| ImageOptimize | ImageOptimize | Image optimization configuration. |
| AccelerateMainland | AccelerateMainland | Acceleration optimization configuration for the Chinese mainland. |
| StandardDebug | StandardDebug | Standard Debug configuration. |
| JITVideoProcess | JITVideoProcess | Just-in-time media processing configuration. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan