Data Types
AccelerateMainland
Cross-MLC-border acceleration.
Used by actions: CreateApplicationProxy, DescribeApplicationProxies, DescribeZoneSetting, ModifyApplicationProxy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable Cross-MLC-border acceleration. Valid values: on : Enable;off : Disable. |
AccelerateType
Acceleration type
Used by actions: DescribeHostsSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Acceleration switch. Values:on : Enableoff : Disable |
AccelerationDomain
Accelerated domain name
Used by actions: DescribeAccelerationDomains.
Name | Type | Description |
---|---|---|
ZoneId | String | ID of the site. |
DomainName | String | Accelerated domain name |
DomainStatus | String | Status of the accelerated domain name. Values:online : Activatedprocess : Being deployedoffline : Disabledforbidden : Blockedinit : Pending activation |
OriginDetail | OriginDetail | Details of the origin. Note: This field may return null, indicating that no valid values can be obtained. |
OriginProtocol | String | Origin-pull protocol configuration. Values:FOLLOW : Follow the protocol of originHTTP : Send requests to the origin over HTTPHTTPS : Send requests to the origin over HTTPSNote: This field may return·null, indicating that no valid values can be obtained. |
HttpOriginPort | Integer | The port used for HTTP origin-pull requests Note: This field may return·null, indicating that no valid values can be obtained. |
HttpsOriginPort | Integer | The port used for HTTPS origin-pull requests Note: This field may return·null, indicating that no valid values can be obtained. |
IPv6Status | String | IPv6 status. Values:follow : Follow the IPv6 configuration of the siteon : Enableoff : DisableNote: This field may return·null, indicating that no valid values can be obtained. |
Cname | String | The CNAME address. |
IdentificationStatus | String | Ownership verification status. Values: pending : Pending verificationfinished : VerifiedNote: This field may return null, indicating that no valid values can be obtained. |
CreatedOn | Timestamp ISO8601 | Creation time of the accelerated domain name. |
ModifiedOn | Timestamp ISO8601 | Modification time of the accelerated domain name. |
OwnershipVerification | OwnershipVerification | Information required to verify the ownership of a domain name. Note: This field may return·null, indicating that no valid values can be obtained. |
Certificate | AccelerationDomainCertificate | Domain name certificate information Note: This field may return·null, indicating that no valid values can be obtained. |
AccelerationDomainCertificate
Information of the acceleration domain name certificate.
Used by actions: DescribeAccelerationDomains.
Name | Type | Required | Description |
---|---|---|---|
Mode | String | No | Certificate configuration mode. Values: disable : Do not configure the certificate;eofreecert : Use a free certificate provided by EdgeOne; sslcert : Configure an SSL certificate. |
List | Array of CertificateInfo | No | List of server certificates. The relevant certificates are deployed on the entrance side of the EO. Note: This field may return null, which indicates a failure to obtain a valid value. |
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 | The certificate carried during EO node origin-pull is used when the origin server enables the mutual authentication handshake to validate the client certificate, ensuring that the request originates from a trusted EO node. |
AclCondition
The condition that makes up an access control rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
MatchFrom | String | Yes | Filters: host : Request domain name;sip : Client IP;ua : User-Agent;cookie : Cookie;cgi : CGI script;xff : XFF header;url : Request URL;accept : Request content type;method : Request method<;/li>header : Request header;app_proto : Application layer protocol;sip_proto : Network layer protocol;uabot : UA rules (only available in custom bot rules);idcid : IDC rules (only available in custom bot rules);sipbot : Search engine rules (only available in custom bot rules);portrait : Client reputation (only available in custom bot rules);header_seq : Header sequence (only available in custom bot rules);hdr : Request body (only available in custom Web protection rules). |
MatchParam | String | Yes | The parameter of the field. When MatchFrom = header , the key contained in the header can be passed. |
Operator | String | Yes | The logical operator. Values:equal : Value equalsnot_equal : Value not equalsinclude : String containsnot_include : String not containsmatch : IP matchesnot_match : IP not matchesinclude_area : Regions containis_empty : Value left emptynot_exists : Key fields not existregexp : Regex matcheslen_gt : Value greater thanlen_lt : Value smaller thanlen_eq : Value equalsmatch_prefix : Prefix matchesmatch_suffix : Suffix matcheswildcard : Wildcard |
MatchContent | String | Yes | The content to match. |
AclConfig
ACL configuration
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : Disable |
AclUserRules | Array of AclUserRule | Yes | The custom rule. |
Customizes | Array of AclUserRule | No | Custom managed rules Note: This field may return null , indicating that no valid value can be obtained. |
AclUserRule
The custom rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
RuleName | String | Yes | The rule name. |
Action | String | Yes | The action. Values:trans : Allowdrop : Block the requestmonitor : Observeban : Block the IPredirect : Redirect the requestpage : Return the specified pagealg : JavaScript challenge |
RuleStatus | String | Yes | The rule status. Values:on : Enabledoff : Disabled |
AclConditions | Array of AclCondition | Yes | The custom rule. |
RulePriority | Integer | Yes | The rule priority. Value range: 0-100. |
RuleID | Integer | No | Rule ID, which is only used as an output parameter. |
UpdateTime | String | No | The update time, which is only used as an output parameter. |
PunishTime | Integer | No | IP ban duration. Range: 0-2 days. It's required when Action=ban . |
PunishTimeUnit | String | No | The unit of the IP ban duration. Values:second : Secondminutes : Minutehour : Hoursecond . |
Name | String | No | Name of the custom return page. It's required when Action=page . |
PageId | Integer | No | (Disused) ID of the custom return page. The default value is 0, which means that the system default blocking page is used. |
CustomResponseId | String | No | ID of custom response. The ID can be obtained via the DescribeCustomErrorPages API. It's required when Action=page . |
ResponseCode | Integer | No | The response code to trigger the return page. It's required when Action=page . Value: 100-600. 3xx response codes are not supported. Default value: 567. |
RedirectUrl | String | No | The redirection URL. It's required when Action=redirect . |
Action
Rule engine action. Each feature supports only one of the following three action types. The RuleAction
array can be of only one of the following types. For all details, see DescribeRulesSetting.
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
NormalAction | NormalAction | No | Common feature operations. The options for this category include: Note: This field may return null, indicating that no valid values can be obtained. |
RewriteAction | RewriteAction | No | Feature operation with a request/response header. Features of this type include:RequestHeader : HTTP request header modification.ResponseHeader : HTTP response header modification.Note: This field may return null, indicating that no valid values can be obtained. |
CodeAction | CodeAction | No | Feature operation with a status code. Features of this type include:ErrorPage : Custom error page.StatusCodeCache : Status code cache TTL.Note: This field may return null, indicating that no valid values can be obtained. |
AdvancedFilter
Key-value pair filters for conditional filtering queries and fuzzy queries, such as filtering ID, name, and status.
If more than one filter exists, the logical relationship between these filters is AND
.
If one filter has multiple values, the logical relationship between these values is OR
.
Used by actions: DescribeAccelerationDomains, DescribeAliasDomains, DescribeConfigGroupVersions, DescribeCustomErrorPages, DescribeDeployHistory, DescribeOriginGroup, DescribePrefetchTasks, DescribePurgeTasks, DescribeRealtimeLogDeliveryTasks, DescribeZones.
Name | Type | Required | Description |
---|---|---|---|
Name | String | Yes | Field to be filtered. |
Values | Array of String | Yes | Value of the filtered field. |
Fuzzy | Boolean | No | Whether to enable fuzzy query. |
AiRule
AI rule engine
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Mode | String | Yes | The status of the AI rule engine. Values:smart_status_close : Disabledsmart_status_open : Blocksmart_status_observe : Observe |
AlgDetectJS
Validate client behavior.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Name | String | No | Method to validate client behavior. |
WorkLevel | String | No | Proof-of-work strength. Values:low (default): Lowmiddle : Mediumhigh : High |
ExecuteMode | Integer | No | Implement a delay before executing JS in milliseconds. Value range: 0-1000. Default value: 500. |
InvalidStatTime | Integer | No | The period threshold for validating the result "Client JS disabled" in seconds. Value range: 5-3600. Default value: 10. |
InvalidThreshold | Integer | No | The number of times for the result "Client JS disabled" occurred in the specified period. Value range: 1-100000000. Default value: 30. |
AlgDetectResults | Array of AlgDetectResult | No | Client behavior validation results. |
AlgDetectResult
Active bot detection results.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Result | String | No | The validation result. Values:invalid : Invalid Cookiecookie_empty : No Cookie/Cookie expiredjs_empty : Client JS disabledlow : Low-risk sessionmiddle : Medium-risk sessionhigh : High-risk sessiontimeout : JS validation timed outnot_browser : Invalid browseris_bot : Bot client |
Action | String | No | The action. Values:drop : Blockmonitor : Observesilence : Drop w/o responseshortdelay : Add short latencylongdelay : Add long latency |
AlgDetectRule
Active bot detection rule.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
RuleID | Integer | No | ID of the rule. |
RuleName | String | No | Name of the rule. |
Switch | String | No | Whether to enable the rule. |
AlgConditions | Array of AclCondition | No | Condition specified for the rule. |
AlgDetectSession | AlgDetectSession | No | Validate Cookie when the condition is satisfied. Note: This field may return null , indicating that no valid values can be obtained. |
AlgDetectJS | Array of AlgDetectJS | No | Validate client behavior when the condition is satisfied. |
UpdateTime | String | No | The update time, which is only used as an output parameter. |
AlgDetectSession
Validate Cookie.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Name | String | No | Method to validate Cookie. |
DetectMode | String | No | The validation mode. Values:detect : Validate onlyupdate_detect (default): Update Cookie and validate |
SessionAnalyzeSwitch | String | No | Whether to enable Cookie-based session check. The default value is off . Values:off : Disableon : Enable |
InvalidStatTime | Integer | No | The period threshold for validating the result "No Cookie/Cookie expired" in seconds. Value range: 5-3600. Default value: 10. |
InvalidThreshold | Integer | No | The number of times for the result "No Cookie/Cookie expired" occurred in the specified period. Value range: 1-100000000. Default value: 300. |
AlgDetectResults | Array of AlgDetectResult | No | Cookie validation results. |
SessionBehaviors | Array of AlgDetectResult | No | Cookie-based session check results. |
AliasDomain
Information of the alias domain name
Used by actions: DescribeAliasDomains.
Name | Type | Description |
---|---|---|
AliasName | String | The alias domain name. |
ZoneId | String | The site ID. |
TargetName | String | The target domain name. |
Status | String | Status of the alias domain name. Values:active : Activatedpending : Deployingconflict : Reclaimedstop : Stopped |
ForbidMode | Integer | The blocking mode. Values:0 : Not blocked11 : Blocked due to regulatory compliance14 : Blocked due to ICP filing not obtained |
CreatedOn | Timestamp ISO8601 | Creation time of the alias domain name. |
ModifiedOn | Timestamp ISO8601 | Modification time of the alias domain name. |
ApplicationProxy
Application proxy instance
Used by actions: DescribeApplicationProxies.
Name | Type | Description |
---|---|---|
ZoneId | String | The site ID. |
ZoneName | String | The site name. |
ProxyId | String | The proxy ID. |
ProxyName | String | The domain name or subdomain name when ProxyType=hostname .The instance name when ProxyType=instance . |
ProxyType | String | The proxy type. Values:hostname : The proxy is created by subdomain name.instance : The proxy is created by instance. |
PlatType | String | The scheduling mode. Values:ip : Schedule via Anycast IP.domain : Schedule via CNAME. |
Area | String | Acceleration region. Values:mainland : Chinese mainland.overseas : Global (outside the Chinese mainland);Default value: overseas. |
SecurityType | Integer | Whether to enable security protection. Values:0 : Disable security protection.1 : Enable security protection. |
AccelerateType | Integer | Whether to enable acceleration. Values:0 : Disable acceleration.1 : Enable acceleration. |
SessionPersistTime | Integer | The session persistence duration. |
Status | String | The rule status. Values:online : Enabledoffline : Disabledprogress : Deployingstopping : Disablingfail : Failed to deploy or disable |
BanStatus | String | The blocking status of the proxy. Values:banned : Blockedbanning : Blockingrecover : Unblockedrecovering : Unblocking |
ScheduleValue | Array of String | Scheduling information. |
HostId | String | When ProxyType=hostname :This field indicates the unique ID of the subdomain name. |
Ipv6 | Ipv6 | The IPv6 access configuration. |
UpdateTime | Timestamp ISO8601 | The update time. |
ApplicationProxyRules | Array of ApplicationProxyRule | List of rules. |
AccelerateMainland | AccelerateMainland | Cross-MLC-border acceleration. |
ApplicationProxyRule
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: |
OriginValue | Array of String | Yes | Origin server information.["8.8.8.8","9.9.9.9"] or OriginValue=["test.com"] ; |
RuleId | String | No | Rule ID. |
Status | String | No | Status. Valid values: |
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. The value takes effect only when SessionPersist is true. Note: This field may return null, which indicates a failure to obtain a valid value. |
OriginPort | String | No | Origin server port. Supported formats: |
RuleTag | String | No | Rule tag. Note: This field may return null, which indicates a failure to obtain a valid value. |
AscriptionInfo
The site ownership information
Used by actions: DescribeIdentifications, IdentifyZone.
Name | Type | Description |
---|---|---|
Subdomain | String | |
RecordType | String | The record type. |
RecordValue | String | The record value. |
BillingData
Billing data item
Used by actions: DescribeBillingData.
Name | Type | Description |
---|---|---|
Time | Timestamp ISO8601 | Time. |
Value | Integer | Value. |
BillingDataFilter
Billing data filter criteria.
Used by actions: DescribeBillingData.
Name | Type | Required | Description |
---|---|---|---|
Type | String | Yes | Parameter name. |
Value | String | Yes | Parameter value. |
BindSharedCNAMEMap
Bindings between a shared CNAME and connected domain names
Used by actions: BindSharedCNAME.
Name | Type | Required | Description |
---|---|---|---|
SharedCNAME | String | Yes | The shared CNAME to be bound with or unbound from. |
DomainNames | Array of String | Yes | Acceleration domains (up to 20). |
BotConfig
Bot security configuration
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable bot security. Values:on : Enableoff : Disable |
BotManagedRule | BotManagedRule | No | The settings of the bot managed rule. If it is null, the settings that were last configured will be used. |
BotPortraitRule | BotPortraitRule | No | The settings of the client reputation rule. If it is null, the settings that were last configured will be used. |
IntelligenceRule | IntelligenceRule | No | The bot intelligence settings. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
BotUserRules | Array of BotUserRule | No | Settings of the custom bot rule. If it is null, the settings that were last configured will be used. |
AlgDetectRule | Array of AlgDetectRule | No | Active bot detection rule. |
Customizes | Array of BotUserRule | No | Settings of the bot managed rule. It is only used for output. Note: This field may return null , indicating that no valid values can be obtained. |
BotExtendAction
Bot extended actions
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | Action. Valid values: monitor : Observe;alg : JavaScript challenge;captcha : Managed challenge;random : Actions are executed based on the percentage specified in ExtendActions ;silence : Silence;shortdelay : Add short latency;longdelay : Add long latency. |
Percent | Integer | No | The probability for triggering the action. Value range: 0-100. Note: This field may return null , indicating that no valid values can be obtained. |
BotManagedRule
Bot managed rules. The rule IDs can be obtained from the output of DescribeBotManagedRules.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The rule action. Values:drop : Blocktrans : Allowalg : JavaScript challengemonitor : Observe |
RuleID | Integer | No | The rule ID, which is only used as an output parameter. |
TransManagedIds | Array of Integer | No | The ID of the rule that applies the "Allow" action. Note: This field may return null, indicating that no valid values can be obtained. |
AlgManagedIds | Array of Integer | No | The ID of the rule that applies the "JavaScript challenge" action. Note: This field may return null, indicating that no valid values can be obtained. |
CapManagedIds | Array of Integer | No | The ID of the rule that applies the "Managed challenge" action. Note: This field may return null, indicating that no valid values can be obtained. |
MonManagedIds | Array of Integer | No | The ID of the rule that applies the "Observe" action. Note: This field may return null, indicating that no valid values can be obtained. |
DropManagedIds | Array of Integer | No | The ID of the rule that applies the "Block" action. Note: This field may return null, indicating that no valid values can be obtained. |
BotPortraitRule
Bot user portrait rules
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : Disable |
RuleID | Integer | No | The rule ID, which is only used as an output parameter. |
AlgManagedIds | Array of Integer | No | The ID of the rule that applies the "JavaScript challenge" action. Note: This field may return null, indicating that no valid values can be obtained. |
CapManagedIds | Array of Integer | No | The ID of the rule that applies the "Managed challenge" action. Note: This field may return null, indicating that no valid values can be obtained. |
MonManagedIds | Array of Integer | No | The ID of the rule that applies the "Observe" action. Note: This field may return null, indicating that no valid values can be obtained. |
DropManagedIds | Array of Integer | No | The ID of the rule that applies the "Block" action. Note: This field may return null, indicating that no valid values can be obtained. |
BotUserRule
Custom bot rules
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
RuleName | String | Yes | |
Action | String | Yes | The action. Values:drop : Block the requestmonitor : Observetrans : Allowredirect : Redirect the requestpage : Return the specified pagealg : JavaScript challengecaptcha : Managed challengerandom : Handle the request randomly by the weightsilence : Keep the connection but do not response to the clientshortdelay : Add a short latency periodlongdelay : Add a long latency period |
RuleStatus | String | Yes | The rule status. Values:on : Enabledoff : Disabledon |
AclConditions | Array of AclCondition | Yes | Details of the rule. |
RulePriority | Integer | Yes | The rule weight. Value range: 0-100. |
RuleID | Integer | No | Rule ID, which is only used as an output parameter. |
ExtendActions | Array of BotExtendAction | No | [Currently unavailable] Specify the random action and percentage. |
FreqFields | Array of String | No | The filter. Values:sip : Client IPThis parameter is left empty by default. |
UpdateTime | String | No | The update time, which is only used as an output parameter. |
FreqScope | Array of String | No | Query scope. Values:source_to_eo : (Response) Traffic going from the origin to EdgeOne.client_to_eo : (Request) Traffic going from the client to EdgeOne.Default: source_to_eo . |
Name | String | No | Name of the custom return page. It's required when Action=page . |
CustomResponseId | String | No | ID of custom response. The ID can be obtained via the DescribeCustomErrorPages API. It's required when Action=page . |
ResponseCode | Integer | No | The response code to trigger the return page. It's required when Action=page . Value: 100-600. 3xx response codes are not supported. Default value: 567. |
RedirectUrl | String | No | The redirection URL. It's required when Action=redirect . |
CC
CC configuration item.
Used by actions: DescribeHostsSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | WAF switch. Values:on : Enableoff : Disable |
PolicyId | Integer | No | ID of the policy |
CLSTopic
The configuration information of real-time log delivery to Tencent Cloud CLS
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks.
Name | Type | Required | Description |
---|---|---|---|
LogSetId | String | Yes | The ID of the Tencent Cloud CLS log set. |
TopicId | String | Yes | The ID of the Tencent Cloud CLS log topic. |
LogSetRegion | String | Yes | The region of the Tencent Cloud CLS log set. |
Cache
Cache time settings
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable cache configuration. Values:on : Enableoff : Disable |
CacheTime | Integer | No | Cache expiration time setting. Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid values can be obtained. |
CacheConfig
Cache rule configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Cache | Cache | No | Cache configuration Note: This field may return null, indicating that no valid values can be obtained. |
NoCache | NoCache | No | No-cache configuration Note: This field may return null, indicating that no valid values can be obtained. |
FollowOrigin | FollowOrigin | No | Follows the origin server configuration Note: This field may return null, indicating that no valid values can be obtained. |
CacheKey
The cache key configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
FullUrlCache | String | No | Whether to enable full-path cache. Values:on : Enable full-path cache (i.e., disable Ignore Query String).off : Disable full-path cache (i.e., enable Ignore Query String).Note: This field may return null, indicating that no valid values can be obtained. |
IgnoreCase | String | No | Whether to ignore case in the cache key. Values:on : Ignoreoff : Not ignoreNote: This field may return null, indicating that no valid values can be obtained. |
QueryString | QueryString | No | Request parameter contained in CacheKey . Note: This field may return null , indicating that no valid values can be obtained. |
CachePrefresh
Cache prefresh
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable cache prefresh. Values:on : Enableoff : Disable |
Percent | Integer | No | The cache prefresh percentage. Values: 1-99 Note: This field may return null, indicating that no valid values can be obtained. |
CacheTag
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. |
CertificateInfo
HTTPS server 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 | Alias of the certificate. |
Type | String | No | Type of the certificate. Values:default : Default certificateupload : Specified certificatemanaged : Tencent Cloud-managed certificate |
ExpireTime | Timestamp ISO8601 | No | The certificate expiration time. |
DeployTime | Timestamp ISO8601 | No | Time when the certificate is deployed. |
SignAlgo | String | No | Signature algorithm. |
Status | String | No | Status of the certificate. Values: u200c deployed : The deployment has completedu200c processing : Deployment in progressu200c applying : Application in progressu200c failed : Application rejectedissued : Binding failed. |
CheckRegionHealthStatus
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. |
ClientIpCountry
Location information of the client IP carried in origin-pull. It is formatted as a two-letter ISO-3166-1 country/region code.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable configuration. Values:on : Enableoff : Disable |
HeaderName | String | No | Name of the request header that contains the client IP region. It is valid when Switch=on . The default value EO-Client-IPCountry is used when it is not specified. |
ClientIpHeader
The client IP header configuration
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable the configuration. Values:on : Enableoff : Disable |
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. Note: This field may return null, which indicates a failure to obtain a valid value. |
CnameStatus
CNAME status
Used by actions: CheckCnameStatus.
Name | Type | Description |
---|---|---|
RecordName | String | The domain name. |
Cname | String | The CNAME address. Note: This field may return null, indicating that no valid values can be obtained. |
Status | String | The CNAME status. Values:active : Activatedmoved : Not activated Note: This field may return null, indicating that no valid values can be obtained. |
CodeAction
Rule engine action with a status code
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | Feature name. For details, see DescribeRulesSetting API |
Parameters | Array of RuleCodeActionParams | Yes | Operation parameter. |
Compression
Smart compression configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable smart compression. Values:on : Enableoff : Disable |
Algorithms | Array of String | No | Compression algorithm. Values:brotli : Brotli algorithmgzip : Gzip algorithmNote: This field may return null, indicating that no valid values can be obtained. |
ConfigGroupVersionInfo
Version information about the configuration group.
Used by actions: DeployConfigGroupVersion, DescribeConfigGroupVersionDetail, DescribeConfigGroupVersions, DescribeDeployHistory, DescribeEnvironments.
Name | Type | Required | Description |
---|---|---|---|
VersionId | String | Yes | Version ID. |
VersionNumber | String | No | Version No. |
GroupId | String | No | Configuraration group ID. |
GroupType | String | No | Configuration group type. Valid values: |
Description | String | No | Version description. |
Status | String | No | Version status. Valid values: |
CreateTime | Timestamp ISO8601 | No | Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC). |
CustomEndpoint
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. |
CustomErrorPage
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. |
CustomField
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 filed, which indicates extracting data from a specified position in HTTP requests and responses. Valid values: Note: This field may return null, which indicates a failure to obtain a valid value. |
Value | String | Yes | Enter the definition of the field value based on the field type (Name). This parameter is case-sensitive. Note: This field may return null, which indicates a failure to obtain a valid value. |
Enabled | Boolean | No | Indicates whether to deliver this field. If not filled in, this field will not be delivered. Note: This field may return null, indicating that no valid values can be obtained. |
CustomizedHeader
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. Note: This field may return null, which indicates a failure to obtain a valid value. |
Value | String | Yes | Custom header value. Note: This field may return null, which indicates a failure to obtain a valid value. |
DDoS
DDoS mitigation configuration
Used by actions: DescribeHostsSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : Disable |
DDoSAttackEvent
Information of the DDoS attacker
Used by actions: DescribeDDoSAttackEvent.
Name | Type | Description |
---|---|---|
EventId | String | The event ID. |
AttackType | String | The attack type. |
AttackStatus | Integer | The attack status. |
AttackMaxBandWidth | Integer | The maximum attack bandwidth. |
AttackPacketMaxRate | Integer | The peak attack packet rate. |
AttackStartTime | Integer | The attack start time recorded in seconds. |
AttackEndTime | Integer | The attack end time recorded in seconds. |
PolicyId | Integer | The DDoS policy ID. Note: This field may return null , indicating that no valid value was found. |
ZoneId | String | The site ID. Note: This field may return null , indicating that no valid value was found. |
Area | String | Geolocation scope. Values: overseas : Regions outside the Chinese mainlandmainland : Chinese mainlandNote: This field may return null , indicating that no valid value was found. |
DDoSBlockData | Array of DDoSBlockData | The blocking time of a DDoS attack. Note: This field may return null , indicating that no valid value was found. |
DDoSBlockData
DDoS blocking details
Used by actions: DescribeDDoSAttackEvent.
Name | Type | Description |
---|---|---|
StartTime | Integer | The start time recorded in UNIX timestamp. |
EndTime | Integer | The end time recorded in UNIX timestamp. 0 indicates the blocking is ongoing. |
BlockArea | String | The regions blocked. |
DDosProtectionConfig
Exclusive DDoS protection specifications configuration applicable to Layer 4 proxy or web site service.
Used by actions: CreateL4Proxy, DescribeL4Proxy.
Name | Type | Required | Description |
---|---|---|---|
LevelMainland | String | No | Dedicated anti-DDoS specifications in the Chinese mainland. For details, refer to Dedicated Anti-DDoS Related Fees. |
MaxBandwidthMainland | Integer | No | Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: |
LevelOverseas | String | No | Dedicated anti-DDoS specifications in global regions (excluding the Chinese mainland). |
DefaultServerCertInfo
HTTPS server certificate configuration
Used by actions: DescribeDefaultCertificates.
Name | Type | Required | Description |
---|---|---|---|
CertId | String | Yes | ID of the server certificate. Note: This field may return null, indicating that no valid values can be obtained. |
Alias | String | No | Alias of the certificate. Note: This field may return null, indicating that no valid values can be obtained. |
Type | String | No | Type of the certificate. Values:default : Default certificate;upload : Custom certificate;managed : Tencent Cloud-managed certificate.Note: This field may return null, indicating that no valid values can be obtained. |
ExpireTime | Timestamp ISO8601 | No | Time when the certificate expires. Note: This field may return null, indicating that no valid values can be obtained. |
EffectiveTime | Timestamp ISO8601 | No | Time when the certificate takes effect. Note: This field may return null, indicating that no valid values can be obtained. |
CommonName | String | No | Common name of the certificate. Note: This field may return null, indicating that no valid values can be obtained. |
SubjectAltName | Array of String | No | Domain names added to the SAN certificate. Note: This field may return null, indicating that no valid values can be obtained. |
Status | String | No | Deployment status. Values:processing : Deployment in progressdeployed : Deployedfailed : Deployment failedNote: This field may return null , indicating that no valid value can be obtained. |
Message | String | No | Failure description Note: This field may return null, indicating that no valid values can be obtained. |
SignAlgo | String | No | Certificate algorithm. Note: This field may return null , indicating that no valid value can be obtained. |
DeliveryCondition
Real-time log delivery conditions used to define the scope of log delivery. The relationship between items in a DeliveryCondition array is "or", whereas the relationship between items in an inner Conditions array is "and".
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
Name | Type | Required | Description |
---|---|---|---|
Conditions | Array of QueryCondition | No | Log filter criteria. The detailed filter criteria are as follows: ?? Supported operators: equal, great, less, great_equal, less_equal ?? Valid values: any integer greater than or equal to 0 ?? Supported operators: equal, great, less, great_equal, less_equal. ?? Valid values: any integer greater than or equal to -1 ?? Supported operator: equal ?? Options: ?? -: unknown/not matched ?? Monitor: observation ?? JSChallenge: JavaScript challenge ?? Deny: blocking ?? Allow: allowing ?? BlockIP: IP blocking ?? Redirect: redirection ?? ReturnCustomPage: returning to a custom page ?? ManagedChallenge: managed challenge ?? Silence: silence ?? LongDelay: response after a long delay ?? ShortDelay: response after a short delay ??Supported operator: equal ??Options: ?? -: unknown/not matched ?? CustomRule: Custom Rules in Web Protection ?? RateLimitingCustomRule: Rate Limiting Rules in Web Protection ?? ManagedRule: Managed Rules in Web Protection ?? L7DDoS: CC Attack Defense in Web Protection ?? BotManagement: Bot Basic Management in Bot Management ?? BotClientReputation: Client Reputation Analysis in Bot Management ?? BotBehaviorAnalysis: Bot Intelligent Analysis in Bot Management ?? BotCustomRule: Custom Bot Rules in Bot Management ?? BotActiveDetection: Active Detection in Bot Management |
DeployRecord
Version release record details for the configuration group.
Used by actions: DescribeDeployHistory.
Name | Type | Description |
---|---|---|
ConfigGroupVersionInfos | Array of ConfigGroupVersionInfo | Details about the released version. |
DeployTime | Timestamp ISO8601 | Release time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC). |
Status | String | Release status. Valid values: |
Message | String | Release result information. |
RecordId | String | Release record ID. Note: this field may return null, indicating that no valid values can be obtained. |
Description | String | Change description. |
DetailHost
Domain name configuration information
Used by actions: DescribeHostsSetting.
Name | Type | Description |
---|---|---|
ZoneId | String | The site ID. |
Status | String | The acceleration status. Values:process : In progressonline : Enabledoffline : Disabled |
Host | String | The domain name. |
ZoneName | String | Name of the site |
Cname | String | The assigned CNAME |
Id | String | The resource ID. |
InstanceId | String | The instance ID. |
Lock | Integer | The lock status. |
Mode | Integer | The domain name status. |
Area | String | The acceleration area of the domain name. Values:global : Global.mainland : Chinese mainland.overseas : Outside the Chinese mainland. |
AccelerateType | AccelerateType | The acceleration type configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
Https | Https | The HTTPS configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
CacheConfig | CacheConfig | The cache configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
Origin | Origin | The origin configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
SecurityType | SecurityType | The security type. Note: This field may return null, indicating that no valid values can be obtained. |
CacheKey | CacheKey | The cache key configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
Compression | Compression | The smart compression configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
Waf | Waf | The WAF protection configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
CC | CC | The CC protection configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
DDoS | DDoS | DDoS mitigation configuration Note: This field may return null, indicating that no valid values can be obtained. |
SmartRouting | SmartRouting | The smart routing configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
Ipv6 | Ipv6 | The IPv6 access configuration item. Note: This field may return null, indicating that no valid values can be obtained. |
ClientIpCountry | ClientIpCountry | Whether to carry the location information of the client IP during origin-pull. Note: This field may return null , indicating that no valid value can be obtained. |
DiffIPWhitelist
Differences between the newest and existing intermediate IPs
Used by actions: DescribeOriginProtection.
Name | Type | Description |
---|---|---|
LatestIPWhitelist | IPWhitelist | The latest intermediate IPs. |
AddedIPWhitelist | IPWhitelist | The intermediate IPs added to the existing list. |
RemovedIPWhitelist | IPWhitelist | The intermediate IPs removed from the existing list. |
NoChangeIPWhitelist | IPWhitelist | The intermediate IPs that remain unchanged. |
DnsVerification
Used by actions: CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeZones.
Name | Type | Description |
---|---|---|
Subdomain | String | The host record. |
RecordType | String | The record type. |
RecordValue | String | The record value. |
DropPageConfig
Block page configuration
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable configuration. Values:on : Enableoff : Disable |
WafDropPageDetail | DropPageDetail | No | The settings of the block page that applies managed rules. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
AclDropPageDetail | DropPageDetail | No | The settings of the block page that applies custom rules. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
DropPageDetail
The configuration details of the block page
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
PageId | Integer | Yes | The ID of the block page. Specify 0 to use the default block page. (Disused) If 0 is passed, the default block page will be used. |
StatusCode | Integer | Yes | The HTTP status code to trigger the block page. Range: 100-600, excluding 3xx codes. Code 566: Requests blocked by managed rules. Code 567: Requests blocked by web security rules (except managed rules). |
Name | String | Yes | The block page file or URL. |
Type | String | Yes | Type of the block page. Values:page : Return the specified page. |
CustomResponseId | String | No | ID of custom response. The ID can be obtained via the DescribeCustomErrorPages API. It's required when Type=page . |
EntityStatus
Status of domain names bound with this template.
Used by actions: DescribeSecurityTemplateBindings.
Name | Type | Description |
---|---|---|
Entity | String | Instance name. Only subdomain names are supported. |
Status | String | Instance configuration status. Values:online : Configuration has taken effect;fail : Configuration failed;process : Configuration is being delivered. |
Message | String | Message returned after the operation completed. |
EnvInfo
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 | Effective scope of the configuration in the current environment. Valid values: |
CurrentConfigGroupVersionInfos | Array of ConfigGroupVersionInfo | For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: |
CreateTime | Timestamp ISO8601 | Creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC). |
UpdateTime | Timestamp ISO8601 | Update time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC). |
ErrorPageReference
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. |
ExceptConfig
Exception rules, which are used to bypass specific rules
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable configuration. Values:on : Enableoff : Disable |
ExceptUserRules | Array of ExceptUserRule | No | The settings of the exception rule. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
ExceptUserRule
The settings of the exception rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
RuleName | String | Yes | The rule name. |
Action | String | Yes | The rule action. It only supports the value skip , which indicates skipping all managed rules. |
RuleStatus | String | Yes | The rule status. Values:on : Enabledoff : Disabled |
RuleID | Integer | No | The rule ID, which is automatically created and only used as an output parameter. |
UpdateTime | Timestamp ISO8601 | No | The update time. If it is null, the current date and time is recorded. Note: This field may return null , indicating that no valid value can be obtained. |
ExceptUserRuleConditions | Array of ExceptUserRuleCondition | No | The matching condition. Note: This field may return null, indicating that no valid values can be obtained. |
ExceptUserRuleScope | ExceptUserRuleScope | No | The scope to which the exception rule applies. Note: This field may return null, indicating that no valid values can be obtained. |
RulePriority | Integer | No | The rule priority. Value range: 0-100. If it is null, it defaults to 0. |
ExceptUserRuleCondition
The condition of the exception rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
MatchFrom | String | No | The field to match. Values:host : Request domain namesip : Client IPua : User-Agentcookie : Cookiecgi : CGI scriptxff : XFF headerurl : Request URLaccept : Request content typemethod : Request methodheader : Request headersip_proto : Network layer protocol |
MatchParam | String | No | The parameter of the field. Only when MatchFrom = header , the key contained in the header can be passed. |
Operator | String | No | The logical operator. Values:equal : String equalsnot_equal : Value not equalsinclude : String containsnot_include : String not containsmatch : IP matchesnot_match : IP not matchesinclude_area : Regions containis_empty : Value left emptynot_exists : Key fields not existregexp : Regex matcheslen_gt : Value greater thanlen_lt : Value smaller thanlen_eq : Value equalsmatch_prefix : Prefix matchesmatch_suffix : Suffix matcheswildcard : Wildcard |
MatchContent | String | No | The value of the parameter. |
ExceptUserRuleScope
The scope to which the exception rule applies
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Type | String | No | Exception mode. Values:complete : Skip the exception rule for full requests.partial : Skip the exception rule for partial requests. |
Modules | Array of String | No | The module to be activated. Values:waf : Tencent Cloud-managed rulesrate : Rate limiting rulesacl : Custom rulecc : CC attack defensebot : Bot protectionNote: this field may return null , indicating that no valid value is obtained. |
PartialModules | Array of PartialModule | No | Module settings of the exception rule. If it is null, the settings that were last configured will be used. Note: This field may return null , indicating that no valid value can be obtained. |
SkipConditions | Array of SkipCondition | No | Condition settings of the exception rule. If it is null, the settings that were last configured will be used. Note: This field may return null , indicating that no valid value can be obtained. |
FailReason
Failure reason
Used by actions: CreatePrefetchTask, CreatePurgeTask.
Name | Type | Description |
---|---|---|
Reason | String | Failure reason. |
Targets | Array of String | List of resources failed to be processed. |
FileAscriptionInfo
Verification file, used to verify site ownership
Used by actions: DescribeIdentifications, IdentifyZone.
Name | Type | Description |
---|---|---|
IdentifyPath | String | Directory of the verification file. |
IdentifyContent | String | Content of the verification file. |
FileVerification
Information required for verifying via a file. It's applicable to sites connected via CNAMEs.
Used by actions: CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeZones.
Name | Type | Description |
---|---|---|
Path | String | EdgeOne obtains the file verification information in the format of "Scheme + Host + URL Path", (e.g. https://www.example.com/.well-known/teo-verification/z12h416twn.txt). This field is the URL path section of the URL you need to create. |
Content | String | Content of the verification file. The contents of this field need to be filled into the text file returned by Path . |
Filter
Key-value pair filters for conditional filtering queries, such as filtering ID, name, and status.
If more than one filter exists, the logical relationship between these filters is AND
.
If multiple values exist in one filter, the logical relationship between these values under the same filter is OR
.
Used by actions: DescribeApplicationProxies, DescribeDefaultCertificates, DescribeFunctionRules, DescribeFunctions, DescribeHostsSetting, DescribeIdentifications, DescribeL4Proxy, DescribeL4ProxyRules, DescribeLoadBalancerList, DescribeOriginProtection, DescribeRules.
Name | Type | Required | Description |
---|---|---|---|
Name | String | Yes | Fields to be filtered. |
Values | Array of String | Yes | Value of the filtered field. |
FirstPartConfig
The configuration to detect slow attacks based on the transfer period the first 8 KB of requests
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : DisableNote: This field may return null , indicating that no valid value can be obtained. |
StatTime | Integer | No | The transfer period threshold of the first 8 KB. If the threshold is reached, it’s considered a slow attack. Default: 5 .Note: This field may return null , indicating that no valid value can be obtained. |
FollowOrigin
Following origin server configuration for caching.
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable the configuration of following the origin server. Valid values:on : Enableoff : Disable |
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; otherwise, it is ineffective. Valid values: Note: This field may return null, which indicates a failure to obtain a valid value. |
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 set to on; otherwise, it is ineffective. When DefaultCacheTime is not 0, this field should be off. Valid values: Note: This field may return null, which indicates a failure to obtain a valid value. |
DefaultCacheTime | Integer | No | The default cache time in seconds when an origin server does not return the Cache-Control header. The value ranges from 0 to 315360000. This field is required when DefaultCache is set to on; otherwise, it is ineffective. When DefaultCacheStrategy is on, this field should be 0. Note: This field may return null, which indicates a failure to obtain a valid value. |
ForceRedirect
Forced HTTPS redirect configuration for access protocols.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable force HTTPS redirect. Values:on : Enableoff : Disable |
RedirectStatusCode | Integer | No | Redirect status code. Values:301 : 301 redirect302 : 302 redirectNote: This field may return null, indicating that no valid values can be obtained. |
Function
Details of an edge function.
Used by actions: DescribeFunctions.
Name | Type | Description |
---|---|---|
FunctionId | String | Function ID. |
ZoneId | String | Zone ID. |
Name | String | Function name. |
Remark | String | Function description. |
Content | String | Function content. |
Domain | String | Default domain name of a function. |
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. |
FunctionEnvironmentVariable
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: |
FunctionRule
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. |
FunctionId | String | Function ID, specifying a function executed when a trigger rule condition is met. |
Remark | String | Rule description. |
FunctionName | String | Function name. |
Priority | Integer | Priority of a trigger rule for a function. The larger the value, the higher the priority. |
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. |
FunctionRuleCondition
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. |
Grpc
Configuration of gRPC support
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable gRPC support. Valid values: on : Enable;off : Disable. |
Header
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 |
HealthChecker
LoadBalancer health check policy.
Used by actions: CreateLoadBalancer, DescribeLoadBalancerList, ModifyLoadBalancer.
Name | Type | Required | Description |
---|---|---|---|
Type | String | Yes | Health check policy. Valid values: Note: NoCheck means the health check policy is not enabled. |
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. Valid values: 30, 60, 180, 300, 600. |
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 | Healthy state 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. |
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 | The custom HTTP request header carried by a probe request, with a maximum value of 10. This parameter is valid only when Type = HTTP or Type = HTTPS. |
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. |
Hsts
HSTS configuration
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable the configuration. Values:on : Enableoff : Disable |
MaxAge | Integer | No | MaxAge (in seconds). The maximum value is 1 day. Note: This field may return null , indicating that no valid values can be obtained. |
IncludeSubDomains | String | No | Whether to contain subdomain names. Values:on : Enableoff : DisableNote: This field may return null, indicating that no valid values can be obtained. |
Preload | String | No | Whether to enable preloading. Values:on : Enableoff : DisableNote: This field may return null, indicating that no valid values can be obtained. |
Https
Domain name HTTPS acceleration configuration. This is disabled by default.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Http2 | String | No | Whether to enable HTTP2. Values:on : Enableoff : DisableNote: This field may return null, indicating that no valid values can be obtained. |
OcspStapling | String | No | Whether to enable OCSP. Values:on : Enableoff : DisableNote: This field may return null, indicating that no valid values can be obtained. |
TlsVersion | Array of String | No | TLS version. Valid values: TLSv1 : TLSv1 version;TLSV1.1 : TLSv1.1 version;TLSV1.2 : TLSv1.2 version;TLSv1.3 : TLSv1.3 version.Note: This field may return null , indicating that no valid values can be obtained. |
Hsts | Hsts | No | HSTS Configuration Note: This field may return null, indicating that no valid values can be obtained. |
CertInfo | Array of ServerCertInfo | No | The certificate configuration. Note: This field may return null, indicating that no valid values can be obtained. |
ApplyType | String | No | Whether the certificate is managed by EdgeOne. Values:apply : Managed by EdgeOne.none : Not managed by EdgeOne.none is used.Note: This field may return null , indicating that no valid value can be obtained. |
CipherSuite | String | No | The cipher suite, with values: Note: This field may return null, which indicates a failure to obtain a valid value. |
IPGroup
IP range group
Used by actions: CreateSecurityIPGroup, DescribeSecurityIPGroup, DescribeSecurityIPGroupInfo, ModifySecurityIPGroup.
Name | Type | Required | Description |
---|---|---|---|
GroupId | Integer | Yes | Group ID. Enter 0 . |
Name | String | Yes | Group name. |
Content | Array of String | Yes | IP group content. Only supports IP and IP mask. |
IPRegionInfo
IP location information query
Used by actions: DescribeIPRegion.
Name | Type | Description |
---|---|---|
IP | String | IP address, IPV4 or IPV6. |
IsEdgeOneIP | String | Whether the IP belongs to an EdgeOne node. Valid values: |
IPWhitelist
Intermediate IPs
Used by actions: DescribeOriginProtection.
Name | Type | Description |
---|---|---|
IPv4 | Array of String | List of IPv4 addresses |
IPv6 | Array of String | List of IPv6 addresses |
Identification
The site verification information
Used by actions: DescribeIdentifications.
Name | Type | Description |
---|---|---|
ZoneName | String | The site name. |
Domain | String | The subdomain name to be verified. To verify the ownership of a site, leave it blank. Note: This field may return null , indicating that no valid values can be obtained. |
Status | String | The verification status. Values:pending : The verification is ongoing.finished : The verification completed. |
Ascription | AscriptionInfo | Details of the DNS record. |
OriginalNameServers | Array of String | The NS record of the domain name. Note: This field may return null, indicating that no valid values can be obtained. |
FileAscription | FileAscriptionInfo | Details of the verification file. |
ImageOptimize
Image optimization configuration.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable configuration. Values: on : Enableoff : Disable |
IntelligenceRule
Bot intelligence rules
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | No | Switch. Values:on : Enableoff : DisableNote: This field may return null, indicating that no valid values can be obtained. |
IntelligenceRuleItems | Array of IntelligenceRuleItem | No | Items in a bot intelligence rule Note: This field may return null, indicating that no valid values can be obtained. |
IntelligenceRuleItem
Bot intelligence rule items
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Label | String | Yes | The tag to categorize bots. Values:evil_bot : Malicious botsuspect_bot : Suspected botgood_bot : Good botnormal : Normal request |
Action | String | Yes | The action taken on bots. Valuesdrop : Blocktrans : Allowalg : JavaScript challengecaptcha : Managed challengemonitor : Observe |
IpTableConfig
IP/Region blocklist/allowlist configuration
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : DisableNote: This field may return null, indicating that no valid values can be obtained. |
IpTableRules | Array of IpTableRule | No | The settings of the basic access control rule. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
IpTableRule
IP blocklist/allowlist rule details
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The action. Values:drop : Blocktrans : Allowmonitor : Observe |
MatchFrom | String | Yes | The matching dimension. Values:ip : Match by IP.area : Match by IP region. |
Operator | String | No | Matching method. It defaults to equal if it’s left empty.Values: is_empty : The field is empty.not_exists : The configuration item does not exist.include : Includenot_include : Do not includeequal : Equal tonot_equal : Not equal toNote: This field may return null, indicating that no valid values can be obtained. |
RuleID | Integer | No | The rule ID, which is only used as an output parameter. |
UpdateTime | Timestamp ISO8601 | No | The update time, which is only used as an output parameter. |
Status | String | No | The rule status. A null value indicates that the rule is enabled. Values:on : Enabledoff : DisabledNote: This field may return null, indicating that no valid values can be obtained. |
RuleName | String | No | The rule name. Note: This field may return null, indicating that no valid values can be obtained. |
MatchContent | String | No | Matching content. It’s not required when Operator is is_emty or not_exists . |
Ipv6
The IPv6 access configuration.
Used by actions: CreateApplicationProxy, DescribeApplicationProxies, DescribeHostsSetting, DescribeZoneSetting, ModifyApplicationProxy, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable IPv6 access. Valid values: on : Enable;off : Disable. |
JITVideoProcess
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: |
L4OfflineLog
The L7 log details
Used by actions: DownloadL4Logs.
Name | Type | Description |
---|---|---|
ProxyId | String | L4 proxy instance ID. |
Area | String | Log query area. Valid values:mainland : Chinese mainland;overseas : Global (outside the Chinese mainland). |
LogPacketName | String | Log packet name. |
Url | String | Log download address. |
LogTime | Integer | (Disused) Log packaging time. |
LogStartTime | Timestamp ISO8601 | Start time of log packaging. |
LogEndTime | Timestamp ISO8601 | End time of the log package. |
Size | Integer | Log size (in bytes). |
L4Proxy
Layer 4 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 | Layer 4 proxy instance name. |
Area | String | No | Acceleration zone of the Layer 4 proxy instance. |
Cname | String | No | Access via CNAME. |
Ips | Array of String | No | After the fixed IP address is enabled, this value will return the corresponding access IP address; if it is not enabled, this value will be empty. |
Status | String | No | Status of the Layer 4 proxy instance. |
Ipv6 | String | No | Specifies whether to enable IPv6 access. |
StaticIp | String | No | Specifies whether to enable the fixed IP address. |
AccelerateMainland | String | No | Specifies whether to enable network optimization in the Chinese mainland. |
DDosProtectionConfig | DDosProtectionConfig | No | Security protection configuration. Note: This field may return null, indicating that no valid value can be obtained. |
L4ProxyRuleCount | Integer | No | Number of forwarding rules under the Layer 4 proxy instance. |
UpdateTime | Timestamp ISO8601 | No | Latest modification time. |
L4ProxyRemoteAuth
L4 remote authentication information.
Used by actions: CreateL4ProxyRules, DescribeL4ProxyRules, ModifyL4ProxyRules.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable L4 remote authentication. 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 the remote authentication service is disabled. Valid values: |
L4ProxyRule
Details of Layer 4 proxy forwarding rules.
Used by actions: CreateL4ProxyRules, DescribeL4ProxyRules, ModifyL4ProxyRules.
Name | Type | Required | Description |
---|---|---|---|
RuleId | String | No | Forwarding rule ID. Note: Do not fill in this parameter when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it must be filled in when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. |
Protocol | String | No | Forwarding protocol. Valid values: Note: This parameter must be filled in when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
PortRange | Array of String | No | Forwarding port, which can be set as follows: Note: This parameter must be filled in when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
OriginType | String | No | Origin server type. Valid values: Note: This parameter must be filled in when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
OriginValue | Array of String | No | Origin server address. Note: This parameter must be filled in when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
OriginPortRange | String | No | Origin server port, which can be set as follows: Note: This parameter must be filled in when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
ClientIPPassThroughMode | String | No | Transmission of the client IP address. Valid values: Note: This parameter is optional when L4ProxyRule is used as an input parameter in CreateL4ProxyRules, and if not specified, the default value OFF will be used; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
SessionPersist | String | No | Specifies whether to enable session persistence. Valid values: Note: This parameter is optional when L4ProxyRule is used as an input parameter in CreateL4ProxyRules, and if not specified, the default value off will be used; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
SessionPersistTime | Integer | No | Session persistence period, with a range of 30-3600, measured in seconds. Note: This parameter is optional when L4ProxyRule is used as an input parameter in CreateL4ProxyRules. It is valid only when SessionPersist is set to on and defaults to 3600 if not specified. It is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
RuleTag | String | No | Rule tag. Accepts 1-50 arbitrary characters. Note: This parameter is optional when L4ProxyRule is used as an input parameter in CreateL4ProxyRules; it is optional when L4ProxyRule is used as an input parameter in ModifyL4ProxyRules. If not specified, it will retain its existing value. |
Status | String | No | Rule status. Valid values: Note: Do not set this parameter when L4ProxyRule is used as an input parameter in CreateL4ProxyRules and 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. Note: This field may return null, which indicates a failure to obtain a valid value. |
L7OfflineLog
Details of L7 logs.
Used by actions: DownloadL7Logs.
Name | Type | Description |
---|---|---|
Domain | String | Log domain name. |
Area | String | Log query area. Valid values:mainland : Chinese mainland;overseas : Global (outside the Chinese mainland). |
LogPacketName | String | Log packet name. |
Url | String | Log download address. |
LogTime | Integer | (Disused) Log packaging time. |
LogStartTime | Timestamp ISO8601 | Start time of log packaging. |
LogEndTime | Timestamp ISO8601 | End time of the log package. |
Size | Integer | Original log size (in bytes). |
LoadBalancer
LoadBalancer information.
Used by actions: DescribeLoadBalancerList.
Name | Type | Description |
---|---|---|
InstanceId | String | LoadBalancer ID. |
Name | String | LoadBalancer name, which can contain 1 to 200 characters, including a-z, A-Z, 0-9, underscores (_), and hyphens (-). |
Type | String | LoadBalancer 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 | LoadBalancer status. Valid values: |
L4UsedList | Array of String | List of Layer-4 proxy instances bound to a LoadBalancer. |
L7UsedList | Array of String | List of Layer-7 domain names bound to a LoadBalancer. |
LogFormat
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.
Used by actions: CreateRealtimeLogDeliveryTask, DescribeRealtimeLogDeliveryTasks, ModifyRealtimeLogDeliveryTask.
Name | Type | Required | Description |
---|---|---|---|
FormatType | String | Yes | Predefined output format for log shipping. 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 | A string added before each log record. |
RecordSuffix | String | No | A string appended after each log record. |
RecordDelimiter | String | No | A string inserted between log records as a separator. Valid values: |
FieldDelimiter | String | No | A string inserted between fields as a separator within a single log record. Valid values: |
MaxAge
Browser cache rule configuration, which is used to set the default value of MaxAge
and is disabled by default.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
FollowOrigin | String | No | Whether to follow the origin server. Values:on : Follow the origin server and ignore the field MaxAgeTime;off : Do not follow the origin server and apply the field MaxAgeTime. |
MaxAgeTime | Integer | No | Specifies the maximum amount of time (in seconds). The maximum value is 365 days. Note: The value 0 means not to cache. |
MutualTLS
Used by actions: DescribeAccelerationDomains, ModifyHostsCertificate.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | |
CertInfos | Array of CertificateInfo | No | Mutual authentication certificate list. 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. |
NoCache
No-cache configuration
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable no-cache configuration. Valid values:on : Enableoff : Disable |
NormalAction
Common action of the rule engine
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | Feature name. For details, see DescribeRulesSetting API |
Parameters | Array of RuleNormalActionParams | Yes | Parameter |
NsVerification
Information required for switching DNS servers. It's applicable to sites connected via NSs.
Used by actions: CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeZones.
Name | Type | Description |
---|---|---|
NameServers | Array of String | The DNS server address assigned to the user when connecting a site to EO via NS. You need to switch the NameServer of the domain name to this address. |
OfflineCache
Offline cache feature status switch.
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether offline cache is enabled. Valid values:on : Enableoff : Disable |
Origin
The origin server configuration.
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Origins | Array of String | No | Primary origin server list Note: This field may return null, indicating that no valid values can be obtained. |
BackupOrigins | Array of String | No | The list of backup origin servers. Note: This field may return null, indicating that no valid values can be obtained. |
OriginPullProtocol | String | No | Origin-pull protocol configuration. Values:http : Force HTTP for origin-pull.follow : Follow protocol.https : Force HTTPS for origin-pull.Note: This field may return null , indicating that no valid value can be obtained. |
CosPrivateAccess | String | No | Whether to allow private access to buckets when OriginType=cos . Valid values: on : Private access;off : Public access.Note: This field may return null , indicating that no valid values can be obtained. |
OriginDetail
Details of the origin.
Used by actions: DescribeAccelerationDomains.
Name | Type | Description |
---|---|---|
OriginType | String | Origin server type. Valid values: |
Origin | String | Origin server address, which varies with the value of OriginType: |
BackupOrigin | String | Secondary origin group ID. This parameter is valid only when OriginType is ORIGIN_GROUP and a secondary origin group is configured. |
OriginGroupName | String | Primary origin group name. This parameter returns a value when OriginType is ORIGIN_GROUP. |
BackOriginGroupName | String | Secondary origin group name. This parameter is valid only when OriginType is 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 PrivateAccess is on. Note: This field may return null, indicating that no valid values can be obtained. |
OriginGroup
Origin group information.
Used by actions: DescribeOriginGroup.
Name | Type | Description |
---|---|---|
GroupId | String | The ID of the origin group. |
Name | String | The name of the origin group. |
Type | String | The origin group type. Values:GENERAL : General origin groupHTTP : HTTP-specific origin group |
Records | Array of OriginRecord | Details of the origin record. |
References | Array of OriginGroupReference | List of instances referencing this origin group. |
CreateTime | Timestamp ISO8601 | Creation time of the origin group. |
UpdateTime | Timestamp ISO8601 | The update time of the origin group. |
HostHeader | String | Origin-pull host header Note: This field may return·null, indicating that no valid values can be obtained. |
OriginGroupHealthStatus
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. |
OriginGroupHealthStatusDetail
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. |
OriginGroupInLoadBalancer
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. |
OriginGroupReference
Services referencing this origin group
Used by actions: DescribeOriginGroup.
Name | Type | Description |
---|---|---|
InstanceType | String | Services referencing the origin group. Values:AccelerationDomain : Acceleration domain nameRuleEngine : Rules engineLoadbalance : Load balancerApplicationProxy : L4 proxy |
InstanceId | String | ID of the instances referencing the origin group |
InstanceName | String | Name of the instance referencing the origin group |
OriginHealthStatus
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: |
OriginInfo
Details of the origin.
Used by actions: CreateAccelerationDomain, ModifyAccelerationDomain.
Name | Type | Required | Description |
---|---|---|---|
OriginType | String | Yes | Origin server type, with values: |
Origin | String | Yes | Origin server address, which varies according to the value of OriginType: |
BackupOrigin | String | No | The ID of the secondary origin group. This parameter is valid only when OriginType is ORIGIN_GROUP. This field indicates the old version capability, which cannot be configured or modified on the control panel after being called. Please submit a ticket if required. |
PrivateAccess | String | No | Whether access to the private Cloud Object Storage origin server is allowed. This parameter is valid only when OriginType is COS or AWS_S3. Valid values: If it is not specified, the default value is off. |
PrivateParameters | Array of PrivateParameter | No | Private authentication parameter. This parameter is valid only when PrivateAccess is on. |
OriginProtectionInfo
Origin protection configuration
Used by actions: DescribeOriginProtection.
Name | Type | Description |
---|---|---|
ZoneId | String | ID of the site. |
Hosts | Array of String | List of domain names. |
ProxyIds | Array of String | List of proxy IDs. |
CurrentIPWhitelist | IPWhitelist | The existing intermediate IPs. Note: This field may return null , indicating that no valid values can be obtained. |
NeedUpdate | Boolean | Whether the intermediate IP update is needed for the site. Values:true : Update needed;false : Update not needed. |
Status | String | Status of the origin protection configuration. Values:online : Origin protection is activated;offline : Origin protection is disabled.nonactivate : Origin protection is not activated. This value is returned only when the feature is not activated before it’s used. |
PlanSupport | Boolean | Whether origin protection is supported in the plan. Values:true : Origin protection supported;false : Origin protection not supported. |
DiffIPWhitelist | DiffIPWhitelist | Differences between the latest and existing intermediate IPs. Note: This field may return null , indicating that no valid values can be obtained. |
OriginRecord
Origin group record
Used by actions: CreateOriginGroup, DescribeOriginGroup, ModifyOriginGroup.
Name | Type | Required | Description |
---|---|---|---|
Record | String | Yes | The origin record value, which can be an IPv4/IPv6 address or a domain name. |
Type | String | No | The origin type. Values:IP_DOMAIN : IPv4/IPv6 address or domain nameCOS : COS bucket addressAWS_S3 : AWS S3 bucket address |
RecordId | String | No | The origin record ID. |
Weight | Integer | No | Weight of an origin. Range: 0-100. If it is not specified, a random weight is assigned. If 0 is passed in, there is no traffic scheduled to this origin.Note: This field may return·null, indicating that no valid values can be obtained. |
Private | Boolean | No | Whether to enable private authentication. It is valid when OriginType=COS/AWS_S3 . Values:true : Yes.false : No.false . |
PrivateParameters | Array of PrivateParameter | No | Private authentication parameters. This field is valid when Private=true . |
OwnershipVerification
Information of domain name ownership verification.
Used by actions: CreateAccelerationDomain, CreateZone, DescribeAccelerationDomains, DescribeZones.
Name | Type | Description |
---|---|---|
DnsVerification | DnsVerification | CNAME, when there is no domain name access, the information required for DNS resolution verification is used. For details, refer to Site/Domain Ownership Verification . Note: This field may return null, which indicates a failure to obtain a valid value. |
FileVerification | FileVerification | CNAME, when there is no domain name access, the information required for file verification is used. For details, refer to Site/Domain Ownership Verification . Note: This field may return null, which indicates a failure to obtain a valid value. |
NsVerification | NsVerification | u200cInformation required for switching DNS servers. It's applicable to sites connected via NSs. For details, see Modifying DNS Server. Note: This field may return·null, indicating that no valid values can be obtained. |
PartialModule
Module settings of the exception rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Module | String | No | The module. Values:waf : Managed rules |
Include | Array of Integer | No | List of managed rule IDs to be skipped. Note: This field may return null , indicating that no valid value can be obtained. |
PlanInfo
EdgeOne plan information
Used by actions: DescribeAvailablePlans.
Name | Type | Description |
---|---|---|
Currency | String | Settlement currency. Values:CNY : Settled by Chinese RMB;USD : Settled by US dollars. |
Flux | Integer | Traffic quota of the plan. It includes the traffic for security acceleration, content acceleration and smart acceleration. Unit: byte. |
Frequency | String | Settlement cycle. Values:y : Settled by year;m : Settled by month;h : Settled by hour;M : Settled by minute;s : Settled by second. |
PlanType | String | The plan option. Values:sta : Standard plan that supports content delivery network outside the Chinese mainland.sta_with_bot : Standard plan that supports content delivery network outside the Chinese mainland and bot management.sta_cm : Standard plan that supports content delivery network inside the Chinese mainland.sta_cm_with_bot : Standard plan that supports content delivery network inside the Chinese mainland and bot management.sta : Standard plan that supports content delivery network over the globe.sta_global_with_bot : Standard plan that supports content delivery network over the globe and bot management.ent : Enterprise plan that supports content delivery network outside the Chinese mainland.ent_with_bot : Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.ent_cm : Enterprise plan that supports content delivery network inside the Chinese mainland.ent_cm_with_bot : Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.ent_global : Enterprise plan that supports content delivery network over the globe.ent_global_with_bot : Enterprise plan that supports content delivery network over the globe and bot management. |
Price | Float | Plan price (in CNY fen/US cent). The price unit depends on the settlement currency. |
Request | Integer | Quota on security acceleration requests |
SiteNumber | Integer | Number of sites to be bound to the plan |
Area | String | The acceleration region. Values:mainland : Chinese mainlandoverseas : Global (Chinese mainland not included)global : Global (Chinese mainland included) |
PostMaxSize
Maximum size of the file uploaded for streaming via a POST request
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable POST upload limit (default limit: 32 MB). Valid values: on : Enable;off : Disable. |
MaxSize | Integer | No | Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid values can be obtained. |
PrepaidPlanParam
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 | The auto-renewal flag for prepaid plan has the following 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. |
PrivateParameter
Private authentication parameters for Cloud Object Storage origin server
Used by actions: CreateAccelerationDomain, CreateOriginGroup, DescribeAccelerationDomains, DescribeOriginGroup, ModifyAccelerationDomain, ModifyOriginGroup.
Name | Type | Required | Description |
---|---|---|---|
Name | String | Yes | The name of the private authentication parameter. Valid values: |
Value | String | Yes | The parameter value. |
QueryCondition
The query condition
Used by actions: CreateRealtimeLogDeliveryTask, DescribeOverviewL7Data, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData, 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. |
QueryString
Request parameter contained in CacheKey
Used by actions: DescribeHostsSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to use QueryString as part of CacheKey . Values:on : Yesoff : No |
Action | String | No | Specifies how to use query strings in the cache key. Values:includeCustom : Include partial query strings.</li><li> excludeCustom`: Exclude partial query strings.Note: This field may return null, indicating that no valid values can be obtained. |
Value | Array of String | No | Array of query strings used/excluded Note: This field may return null, indicating that no valid values can be obtained. |
Quic
QUIC configuration item
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable QUIC. Valid values: on : Enable;off : Disable. |
Quota
Purging/Pre-warming available usage and quota
Used by actions: DescribeContentQuota.
Name | Type | Description |
---|---|---|
Batch | Integer | |
Daily | Integer | Daily submission quota limit. |
DailyAvailable | Integer | Remaining daily submission quota. |
Type | String | Type of cache purging/pre-warming. Values:purge_prefix : Purge by prefixpurge_url : Purge by URLpurge_host : Purge by hostnamepurge_all : Purge all cachespurge_cache_tag : Purge by cache tagprefetch_url : Pre-warm by URL |
RateLimitConfig
Rate limiting rules
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : Disable |
RateLimitUserRules | Array of RateLimitUserRule | No | The settings of the custom rate limiting rule. If it is null, the settings that were last configured will be used. |
RateLimitTemplate | RateLimitTemplate | No | The settings of the rate limiting template. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
RateLimitIntelligence | RateLimitIntelligence | No | The client filtering settings. If it is null, the settings that were last configured will be used. Note: This field may return null, indicating that no valid values can be obtained. |
RateLimitCustomizes | Array of RateLimitUserRule | No | The custom rate limiting rules. If it is null , the previous settings is used.Note: This field may return null , indicating that no valid value can be obtained. |
RateLimitIntelligence
Client filtering
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable configuration. Values:on : Enableoff : Disable |
Action | String | Yes | Action to be executed. Values:monitor : Observealg : Challenge |
RuleId | Integer | No | The rule ID, which is only used as a response parameter. |
RateLimitTemplate
Rate limit template
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Mode | String | Yes | The mode. Values:sup_loose : Super looseloose : Looseemergency : Emergencynormal : Moderatestrict : Strictclose : Off |
Action | String | No | The action. Values:alg : JavaScript challengemonitor : Observealg is used. |
RateLimitTemplateDetail | RateLimitTemplateDetail | No | The settings of the rate limiting template. It is only used as an output parameter. |
RateLimitTemplateDetail
The settings of the rate limiting template
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Mode | String | Yes | Template level name. Valid values: Note: This field may return null, which indicates a failure to obtain a valid value. |
ID | Integer | Yes | Unique ID. |
Action | String | Yes | Template action. Valid values: Note: This field may return null, which indicates a failure to obtain a valid value. |
PunishTime | Integer | Yes | Penalty duration, in seconds. Value range: 0-2 days. Note: This field may return null, which indicates a failure to obtain a valid value. |
Threshold | Integer | Yes | Statistical threshold, in times. Value range: 0-4294967294. |
Period | Integer | Yes | Statistical cycle. Value range: 0-120 seconds. |
RateLimitUserRule
Rate limit rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Threshold | Integer | Yes | The request threshold. Value range: 0-4294967294. |
Period | Integer | Yes | The statistical period. The value can be 10, 20, 30, 40, 50, or 60 seconds. |
RuleName | String | Yes | The rule name, which consists of only letters, digits, and underscores and cannot start with an underscore. |
Action | String | Yes | Action. Values:monitor : Observe;drop : Block;redirect : Redirect;page : Return a specific page;alg : JavaScript challenge. |
PunishTime | Integer | Yes | The amount of time taken to perform the action. Value range: 0 seconds - 2 days. |
PunishTimeUnit | String | Yes | The time unit. Values:second : Secondminutes : Minutehour : Hour |
RuleStatus | String | Yes | The rule status. Values:on : Enabledoff : Disabledon |
AclConditions | Array of AclCondition | Yes | The rule details. |
RulePriority | Integer | Yes | The rule weight. Value range: 0-100. |
RuleID | Integer | No | Rule ID, which is only used as an output parameter. |
FreqFields | Array of String | No | The filter. Values:sip : Client IPThis parameter is left empty by default. |
UpdateTime | String | No | Update time. It is only used as a response parameter, and defaults to the current time. |
FreqScope | Array of String | No | Query scope. Values:source_to_eo : (Response) Traffic going from the origin to EdgeOne.client_to_eo : (Request) Traffic going from the client to EdgeOne.Default: source_to_eo . |
Name | String | No | Name of the custom return page. It's required when Action=page . |
CustomResponseId | String | No | ID of custom response. The ID can be obtained via the DescribeCustomErrorPages API. It's required when Action=page . |
ResponseCode | Integer | No | The response code to trigger the return page. It's required when Action=page . Value: 100-600. 3xx response codes are not supported. Default value: 567. |
RedirectUrl | String | No | The redirection URL. It's required when Action=redirect . |
RealtimeLogDeliveryTask
Real-time log delivery task
Used by actions: DescribeRealtimeLogDeliveryTasks.
Name | Type | Description |
---|---|---|
TaskId | String | ID of a real-time log shipping task. |
TaskName | String | Name of a real-time log shipping task. |
DeliveryStatus | String | Status of a real-time log shipping task. Valid values: |
TaskType | String | Type of a real-time log shipping task. Valid values: |
EntityList | Array of String | List of entities (L7 domain names or L4 proxy instances) corresponding to a real-time log shipping task. Valid value examples: |
LogType | String | Data shipping type. Valid values: |
Area | String | Data shipping area. Valid values: |
Fields | Array of String | List of predefined fields for shipping. |
CustomFields | Array of CustomField | List of custom fields for shipping. |
DeliveryConditions | Array of DeliveryCondition | Filter criteria of log shipping. |
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. When the output parameter is null, the default format is used, which works as follows: Note: This field may return 'null', which indicates a failure to obtain a valid value. |
CLS | CLSTopic | Configuration information of the CLS. Note: This field may return null, which indicates a failure to obtain a valid value. |
CustomEndpoint | CustomEndpoint | Configuration information of the custom HTTP service. Note: This field may return null, which indicates a failure to obtain a valid value. |
S3 | S3 | Configuration information of the AWS S3-compatible bucket. Note: This field may return null, which indicates a failure to obtain a valid value. |
CreateTime | Timestamp ISO8601 | Creation time. |
UpdateTime | Timestamp ISO8601 | Update time. |
RenewFlag
Auto-renewal configuration item in a prepaid plan.
Used by actions: ModifyPlan.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | The auto-renewal flag for prepaid plan has the following values: |
Resource
Billable resource
Used by actions: DescribeZones.
Name | Type | Description |
---|---|---|
Id | String | The resource ID. |
PayMode | Integer | Billing mode0 : Pay-as-you-go |
CreateTime | Timestamp ISO8601 | The creation time. |
EnableTime | Timestamp ISO8601 | The effective time. |
ExpireTime | Timestamp ISO8601 | The expiration time. |
Status | String | The plan status. Values:normal : Normalisolated : Isolateddestroyed : Terminated |
Sv | Array of Sv | Pricing query parameter |
AutoRenewFlag | Integer | Whether to enable auto-renewal. Values:0 : Default status.1 : Enable auto-renewal.2 : Disable auto-renewal. |
PlanId | String | ID of the resource associated with the plan. |
Area | String | Applicable area. Values:mainland : Chinese mainlandoverseas : Regions outside the Chinese mainlandglobal : Global |
Group | String | The resource type. Values:plan : Plan resourcespay-as-you-go : Pay-as-you-go resources value-added : Value-added resources Note: This field may return null, indicating that no valid values can be obtained. |
ZoneNumber | Integer | The sites that are associated with the current resources. Note: This field may return null, indicating that no valid values can be obtained. |
Type | String | Resource tag type. Valid values: |
RewriteAction
Rule engine action for the HTTP request/response header
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | Feature name. For details, see DescribeRulesSetting API |
Parameters | Array of RuleRewriteActionParams | Yes | Parameter |
Rule
Rule item of the rule engine. The items in the Conditions
array are in OR
relationship, and the items in the inner Conditions
list are in AND
relationship.
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. |
RuleAndConditions
List of rule engine conditions in AND
relationship
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Conditions | Array of RuleCondition | Yes | Rule engine condition. This condition will be considered met if all items in the array are met. |
RuleChoicePropertiesItem
Detailed settings of the rule engine that can be used for request match, which are optional parameter configuration items.
Used by actions: DescribeRulesSetting.
Name | Type | Description |
---|---|---|
Name | String | The parameter name. |
Type | String | The parameter value type.Values .ChoicesValue . |
ChoicesValue | Array of String | Valid parameter values. Note: If Type is CUSTOM_NUM or CUSTOM_STRING , this parameter will be an empty array. |
Min | Integer | Minimum value. If both Min and Max are set to 0 , this parameter does not take effect. |
Max | Integer | Maximum value. If both Min and Max are set to 0 , this parameter does not take effect. |
IsMultiple | Boolean | Whether multiple values can be selected or entered. |
IsAllowEmpty | Boolean | Whether the parameter can be left empty. |
ExtraParameter | RuleExtraParameter | Special parameter.NormalAction for RuleAction . Id is Action , select RewirteAction for RuleAction .Id is StatusCode , select CodeAction for RuleAction . |
RuleCodeActionParams
Parameters of the action with the StatusCode
field as the rule engine condition
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
StatusCode | Integer | Yes | The status code. |
Name | String | Yes | The parameter name. For details, see DescribeRulesSetting. |
Values | Array of String | Yes | The parameter value. |
RuleCondition
Rule engine condition parameters
Used by actions: CreateFunctionRule, CreateRule, DescribeRules, ModifyFunctionRule, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Operator | String | Yes | Operator. Valid values:equals : EqualsnotEquals : Does not equalexist : Existsnotexist : Does not exist |
Target | String | Yes | Match type. Valid values: |
Values | Array of String | No | The parameter values for match types. It is allowed to pass an empty array only when the match type is query_string or request_header and the operator value is Exist or Does Not Exist. The corresponding match types include: |
IgnoreCase | Boolean | No | Whether the parameter value is case insensitive. Default value: false. |
Name | String | No | The parameter name of the match type. This field is required only when Target=query_string/request_header .query_string : Name of the query string, such as "lang" and "version" in "lang=cn&version=1".request_header : Name of the HTTP request header, such as "Accept-Language" in the "Accept-Language:zh-CN,zh;q=0.9" header. |
RuleExtraParameter
Rule engine parameter details and special parameter types.
Used by actions: DescribeRulesSetting.
Name | Type | Description |
---|---|---|
Id | String | Parameter name. Valid values:Action : Required parameter for HTTP header modification when RewirteAction is selected for RuleAction .StatusCode : Required parameter for the status code feature when CodeAction is selected for RuleAction . |
Type | String | Parameter value type.CHOICE : The parameter value can be selected only from Values .CUSTOM_NUM : The parameter value is a custom integer.CUSTOM_STRING : The parameter value is a custom string. |
Choices | Array of String | Valid values. Note: If the value of Id is StatusCode , values in the array are all integer values. When entering a parameter value, enter the integer value of the string. |
RuleItem
Rule details of the rule engine
Used by actions: DescribeRules.
Name | Type | Description |
---|---|---|
RuleId | String | The rule ID. |
RuleName | String | The rule name. It is a string that can contain 1–255 characters. |
Status | String | Rule status. Values:enable : Enableddisable : Disabled |
Rules | Array of Rule | The rule content. |
RulePriority | Integer | The rule priority. The greater the value, the higher the priority. The minimum value is 1 . |
Tags | Array of String | Tag of the rule. |
RuleNormalActionParams
Common action parameter of a rule engine condition
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Name | String | Yes | The parameter name. For details, see DescribeRulesSetting. |
Values | Array of String | Yes | The parameter value. |
RuleRewriteActionParams
Parameter of the action for the HTTP request/response header of a rule engine condition.
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | Feature parameter name. For details, see DescribeRulesSetting.add : Add the HTTP header.set : Rewrite the HTTP header.del : Delete the HTTP header. |
Name | String | Yes | Parameter name |
Values | Array of String | Yes | Parameter value |
RulesProperties
Detailed settings of the rule engine that can be used for request match.
Used by actions: DescribeRulesSetting.
Name | Type | Description |
---|---|---|
Name | String | Parameter name. |
Min | Integer | Minimum value. If both Min and Max are set to 0 , this parameter does not take effect. |
ChoicesValue | Array of String | Valid parameter values. Note: If Type is CUSTOM_NUM or CUSTOM_STRING , this parameter will be an empty array. |
Type | String | The parameter value type.CHOICE : If Type=CHOICE , choose a value in ChoiceValue .TOGGLE : If Type=TOGGLE , choose on or off from ChoicesValue .OBJECT : Specify an object. If this is specified, ChoiceProperties includes attributes of the specified object. See Example 2. Create a rule with Type=OBJECTCUSTOM_NUM : (Integer) Custom value.CUSTOM_STRING : (String) Custom value. |
Max | Integer | Maximum value. If both Min and Max are set to 0 , this parameter does not take effect. |
IsMultiple | Boolean | Whether multiple values can be selected or entered. |
IsAllowEmpty | Boolean | Whether the parameter can be left empty. |
ChoiceProperties | Array of RuleChoicePropertiesItem | Associated configuration parameters of this parameter, which are required for API call. Note: This parameter will be an empty array if no special parameters are added as optional parameters. |
ExtraParameter | RuleExtraParameter | NormalAction is selected for RuleAction .Note: This field may return null, indicating that no valid values can be obtained. |
RulesSettingAction
List of the settings of the rule engine that can be used for request match and their detailed information.
Used by actions: DescribeRulesSetting.
Name | Type | Description |
---|---|---|
Action | String | Feature name. Valid values:AccessUrlRedirect ).UpstreamUrlRedirect ).( ErrorPage ).QUIC ).WebSocket ).VideoSeek ).Authentication ).CacheKey : Custom cache key.Cache : Node cache TTL.MaxAge : Browser cache TTL.OfflineCache : Offline cache.SmartRouting : Smart acceleration.RangeOriginPull : Range GETs.UpstreamHttp2 : HTTP/2 forwarding.HostHeader : Host header rewrite.ForceRedirect : Force HTTPS.OriginPullProtocol : Origin-pull HTTPS.CachePrefresh : Cache prefresh.Compression : Smart compression.RequestHeader : HTTP request header modification.ResponseHeader ).StatusCodeCache ).Hsts .ClientIpHeader .TlsVersion .OcspStapling . |
Properties | Array of RulesProperties | Parameter information |
S3
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: |
SecEntry
Returned value of security data entry
Used by actions: DescribeDDoSAttackData.
Name | Type | Description |
---|---|---|
Key | String | The query dimension value. |
Value | Array of SecEntryValue | The details. |
SecEntryValue
The security data queried by metric
Used by actions: DescribeDDoSAttackData.
Name | Type | Description |
---|---|---|
Metric | String | The metric name. |
Detail | Array of TimingDataItem | The time-series data details. |
Max | Integer | The maximum value. |
Avg | Float | The average value. |
Sum | Float | Sum |
SecurityConfig
Security configuration
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
WafConfig | WafConfig | No | Managed rule. If the parameter is null or not filled, the configuration last set will be used by default. Note: This field may return null, indicating that no valid value can be obtained. |
RateLimitConfig | RateLimitConfig | No | Rate limiting. If the parameter is null or not filled, the configuration last set will be used by default. Note: This field may return null, indicating that no valid value can be obtained. |
AclConfig | AclConfig | No | Custom rule. If the parameter is null or not filled, the configuration last set will be used by default. Note: This field may return null, indicating that no valid value can be obtained. |
BotConfig | BotConfig | No | Bot configuration. If the parameter is null or not filled, the configuration last set will be used by default. Note: This field may return null, indicating that no valid value can be obtained. |
SwitchConfig | SwitchConfig | No | Switch setting of the 7-layer protection. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained. |
IpTableConfig | IpTableConfig | No | Basic access control. If the parameter is null or not filled, the configuration last set will be used by default. Note: This field may return null, indicating that no valid value can be obtained. |
ExceptConfig | ExceptConfig | No | Exception rule configuration. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained. |
DropPageConfig | DropPageConfig | No | Custom block page settings. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained. |
TemplateConfig | TemplateConfig | No | Security template settings Note: This field may return null , indicating that no valid value can be obtained. |
SlowPostConfig | SlowPostConfig | No | Settings for slow attack defense. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained. |
SecurityTemplateBinding
Bindings of a security policy template
Used by actions: DescribeSecurityTemplateBindings.
Name | Type | Description |
---|---|---|
TemplateId | String | template ID |
TemplateScope | Array of TemplateScope | Binding status of the template. |
SecurityType
The security type setting item.
Used by actions: DescribeHostsSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable the security type setting. Values:on : Enableoff : Disable |
ServerCertInfo
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. Note: This field may return null, which indicates a failure to obtain a valid value. |
Alias | String | No | Alias of the certificate. Note: This field may return null, indicating that no valid values can be obtained. |
Type | String | No | Type of the certificate. Values: u200c default : Default certificateu200c upload : Custom certificateu200c managed : Tencent Cloud-managed certificateNote: This field may return·null, indicating that no valid values can be obtained. |
ExpireTime | Timestamp ISO8601 | No | Time when the certificate expires. Note: This field may return null, indicating that no valid values can be obtained. |
DeployTime | Timestamp ISO8601 | No | Time when the certificate is deployed. Note: This field may return null, indicating that no valid values can be obtained. |
SignAlgo | String | No | Signature algorithm. Note: This field may return null, indicating that no valid values can be obtained. |
CommonName | String | No | Domain name of the certificate. Note: This field may return null , indicating that no valid value can be obtained. |
SkipCondition
Exception rule conditions, used to filter requests by specific fields
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Type | String | Yes | The field type. Values:header_fields : HTTP request headercookie : HTTP request cookiequery_string : Query string in the HTTP request URLuri : HTTP request URIbody_raw : HTTP request bodybody_json : JSON HTTP request body |
Selector | String | Yes | The specific field. Values:args : Query parameter in the URI, such as "?name1=jack&age=12"path : Partial path in the URI, such as "/path/to/resource.jpg"full : Full path in the URI, such as "example.com/path/to/resource.jpg?name1=jack&age=12"upload_filename : File path segmentkeys : All keysvalues : Values of all keyskey_value : Key and its value |
MatchFromType | String | No | The match method used to match the key. Values:equal : Exact matchwildcard : Wildcard match (only asterisks) |
MatchFrom | Array of String | No | The value that matches the key. Note: This field may return null , indicating that no valid value can be obtained. |
MatchContentType | String | No | The match method used to match the content.equal : Exact matchwildcard : Wildcard match (only asterisks) |
MatchContent | Array of String | No | The value that matches the content. Note: This field may return null , indicating that no valid value can be obtained. |
SlowPostConfig
Slow attack defense configuration.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Values:on : Enableoff : Disable |
FirstPartConfig | FirstPartConfig | No | Detect slow attacks by the transfer period of the first 8 KB of requests Note: This field may return null , indicating that no valid value can be obtained. |
SlowRateConfig | SlowRateConfig | No | Detect slow attacks by the data rate of the main body (excluding the first 8 KB) of requests Note: This field may return null , indicating that no valid value can be obtained. |
Action | String | No | The action to taken when a slow attack is detected. Values:monitor : Observedrop : Block the requestNote: This field may return null , indicating that no valid value can be obtained. |
RuleId | Integer | No | ID of the rule Note: This field may return null , indicating that no valid value can be obtained. |
SlowRateConfig
The configuration to detect slow attacks
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Switch. Values:on : Enableoff : Disable |
Interval | Integer | No | The sampling interval in seconds. In this way, the first 8 KB of the request is ignored. The rest of data is separated in to multiple parts according to this interval for slow attack measurement. Note: This field may return null , indicating that no valid value can be obtained. |
Threshold | Integer | No | The transfer rate threshold in bps. When the transfer rate of a sample is lower than the threshold, it’s considered a slow attack and handled according to the specified Action .Note: This field may return null , indicating that no valid value can be obtained. |
SmartRouting
Smart acceleration configuration
Used by actions: DescribeHostsSetting, DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable smart acceleration. Values:on : Enableoff : Disable |
StandardDebug
Standard debugging
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable standard debugging. Values:on : Enableoff : Disable |
AllowClientIPList | Array of String | Yes | The client IP to allow. It can be an IPv4/IPv6 address or a CIDR block. If not specified, it means to allow any client IP |
ExpireTime | Timestamp ISO8601 | Yes | The time when the standard debugging setting expires. If it is exceeded, this feature becomes invalid. |
SubRule
Nested rule settings
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Conditions | Array of RuleAndConditions | Yes | The condition that determines if a feature should run. Note: If any condition in the array is met, the feature will run. |
Actions | Array of Action | Yes | The feature to be executed. |
SubRuleItem
Rule engine nested rule
Used by actions: CreateRule, DescribeRules, ModifyRule.
Name | Type | Required | Description |
---|---|---|---|
Rules | Array of SubRule | Yes | Nested rule settings |
Tags | Array of String | No | Tag of the rule. |
Sv
Pricing query parameter
Used by actions: DescribeZones.
Name | Type | Required | Description |
---|---|---|---|
Key | String | Yes | The parameter key. |
Value | String | Yes | The parameter value. |
Pack | String | No | Quota for a resource. Values:zone : Quota for sitescustom-rule : Quota for custom rulesrate-limiting-rule : Quota for rate limiting rulesl4-proxy-instance : Quota for L4 proxy instances Note: This field may return null, indicating that no valid values can be obtained. |
InstanceId | String | No | ID of the L4 proxy instance. Note: This field may return null, indicating that no valid values can be obtained. |
ProtectionSpecs | String | No | The protection specification. Values: cm_30G : 30 Gbps base protection bandwidth in Chinese mainland service areacm_60G : 60 Gbps base protection bandwidth in Chinese mainland service areacm_100G : 100 Gbps base protection bandwidth in Chinese mainland service areaanycast_300G : 300 Gbps Anycast-based protection in Global (MLC) service areaanycast_unlimited : Unlimited Anycast-based protection bandwidth in Global (MLC) service areacm_30G_anycast_300G : 30 Gbps base protection bandwidth in Chinese mainland service area and 300 Gbps Anycast-based protection bandwidth in Global (MLC) service areacm_30G_anycast_unlimited : 30 Gbps base protection bandwidth in Chinese mainland service area and unlimited Anycast-based protection bandwidth in Global (MLC) service area: 60 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_60G_anycast_unlimited : 60 Gbps base protection bandwidth in Chinese mainland service area and unlimited Anycast-based protection bandwidth in Global (MLC) service areacm_100G_anycast_300G : 100 Gbps base protection bandwidth in Chinese mainland service area and 300 Gbps Anycast-based protection bandwidth in Global (MLC) service areaNote: This field may return null, indicating that no valid values can be obtained. |
SwitchConfig
Web security configuration switch
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
WebSwitch | String | Yes | Whether to enable web protection. Values:on : Enableoff : Disable |
Tag
Tag configuration
Used by actions: CreateZone, DescribeZones.
Name | Type | Required | Description |
---|---|---|---|
TagKey | String | Yes | The tag key. Note: This field may return null, indicating that no valid values can be obtained. |
TagValue | String | Yes | The tag value. Note: This field may return null, indicating that no valid values can be obtained. |
Task
Content management task result
Used by actions: DescribePrefetchTasks, DescribePurgeTasks.
Name | Type | Description |
---|---|---|
JobId | String | ID of the task. |
Target | String | Resource. |
Type | String | Type of the task. |
Method | String | Node cache purge method, with values: Note: This field may return null, which indicates a failure to obtain a valid value. |
Status | String | Status. Valid values: |
CreateTime | Timestamp ISO8601 | Creation time of the task. |
UpdateTime | Timestamp ISO8601 | Completion time of the task. |
TemplateConfig
Security template settings
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
TemplateId | String | Yes | The template ID. |
TemplateName | String | Yes | The template name. |
TemplateScope
Domain names bound with the template.
Used by actions: DescribeSecurityTemplateBindings.
Name | Type | Required | Description |
---|---|---|---|
ZoneId | String | No | ID of the site. Note: This field may return·null, indicating that no valid values can be obtained. |
EntityStatus | Array of EntityStatus | No | List of instance statuses Note: This field may return·null, indicating that no valid values can be obtained. |
TimingDataItem
Data items of the statistical curve
Used by actions: DescribeDDoSAttackData, DescribeOverviewL7Data, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData.
Name | Type | Description |
---|---|---|
Timestamp | Integer | Time point for returning data, in the format of Unix timestamp in seconds. |
Value | Integer | The value. |
TimingDataRecord
The time-series data
Used by actions: DescribeOverviewL7Data, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData.
Name | Type | Description |
---|---|---|
TypeKey | String | The query dimension value. |
TypeValue | Array of TimingTypeValue | Detailed time series data |
TimingTypeValue
Detailed data of time series type
Used by actions: DescribeOverviewL7Data, DescribeTimingL4Data, DescribeTimingL7AnalysisData, DescribeTimingL7CacheData.
Name | Type | Description |
---|---|---|
Sum | Integer | Sum. |
Max | Integer | The maximum value. |
Avg | Integer | The average value. |
MetricName | String | Metric name. |
Detail | Array of TimingDataItem | Details. Note: This field may return null, indicating that no valid values can be obtained. |
TopDataRecord
The top-ranked data record
Used by actions: DescribeTopL7AnalysisData, DescribeTopL7CacheData.
Name | Type | Description |
---|---|---|
TypeKey | String | The query dimension value. |
DetailData | Array of TopDetailData | Top data rankings |
TopDetailData
The top-ranked data details
Used by actions: DescribeTopL7AnalysisData, DescribeTopL7CacheData.
Name | Type | Description |
---|---|---|
Key | String | The field name. |
Value | Integer | The field value. |
TopEntry
The Top-ranked data
Used by actions: DescribeDDoSAttackTopData.
Name | Type | Description |
---|---|---|
Key | String | The query dimension value. |
Value | Array of TopEntryValue | The details. |
TopEntryValue
The top-ranked data
Used by actions: DescribeDDoSAttackTopData.
Name | Type | Description |
---|---|---|
Name | String | The item name. |
Count | Integer | The number of items. |
UpstreamCertInfo
The certificate carried during EO node origin-pull is used when the origin server enables the mutual authentication handshake to validate the client certificate, ensuring that the request originates from a trusted EO node.
Used by actions: DescribeAccelerationDomains.
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. |
UpstreamHttp2
HTTP2 origin-pull configuration
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable HTTP2 origin-pull. Valid values: on : Enable;off : Disable. |
VanityNameServers
Custom name servers
Used by actions: DescribeZones, ModifyZone.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable custom name servers. Values:on : Enableoff : Disable |
Servers | Array of String | No | List of custom name servers |
VanityNameServersIps
IP information of the custom name server
Used by actions: DescribeZones.
Name | Type | Description |
---|---|---|
Name | String | Custom name of the name server |
IPv4 | String | IPv4 address of the custom name server |
Waf
N/A
Used by actions: DescribeHostsSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable WAF. Values:on : Enableoff : Disable |
PolicyId | Integer | No | ID of the policy |
WafConfig
WAF configuration.
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable WAF configuration. Values:on : Enableoff : Disable |
Level | String | Yes | The protection level. Values:loose : Loosenormal : Moderatestrict : Strictstricter : Super strictcustom : Custom |
Mode | String | Yes | The WAF global mode. Values:block : Block globallyobserve : Observe globally |
WafRule | WafRule | No | The settings of the managed rule. If it is null, the settings that were last configured will be used. |
AiRule | AiRule | No | The setting of the AI rule engine. If it is null, the setting that was last configured will be used. |
WafRule
WAF rule
Used by actions: ModifySecurityPolicy.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable managed rules. Values:on : Enableoff : Disable |
BlockRuleIDs | Array of Integer | Yes | IDs of the rules to be disabled. |
ObserveRuleIDs | Array of Integer | Yes | IDs of the rules to be executed in Observe mode. |
WebSocket
WebSocket configuration
Used by actions: DescribeZoneSetting, ModifyZoneSetting.
Name | Type | Required | Description |
---|---|---|---|
Switch | String | Yes | Whether to enable WebSocket connection timeout. Values:on : The field "Timeout" can be configured.off : The field "Timeout" is fixed to 15 seconds. |
Timeout | Integer | No | The timeout period in seconds. Maximum value: 120. |
Zone
Site information
Used by actions: DescribeZones.
Name | Type | Description |
---|---|---|
ZoneId | String | Site ID. |
ZoneName | String | The site name. |
OriginalNameServers | Array of String | List of name servers used by the site |
NameServers | Array of String | The list of name servers assigned by Tencent Cloud. |
Status | String | The site status. Values: u200c active : The name server is switched to EdgeOne.u200c pending : The name server is not switched.u200c moved : The name server is changed to other service providers.u200c deactivated : The site is blocked.initializing : The site is not bound with any plan. |
Type | String | Site access method. Valid values: |
Paused | Boolean | Whether the site is disabled. |
CnameSpeedUp | String | Whether CNAME acceleration is enabled. Values:enabled : Enableddisabled : Disabled |
CnameStatus | String | CNAME record access status. Values:finished : The site is verified.pending : The site is being verified. |
Tags | Array of Tag | The list of resource tags. |
Resources | Array of Resource | The list of billable resources. |
CreatedOn | Timestamp ISO8601 | The creation time of the site. |
ModifiedOn | Timestamp ISO8601 | The modification date of the site. |
Area | String | The site access region. Values:global : Global.mainland : Chinese mainland.overseas : Outside the Chinese mainland. |
VanityNameServers | VanityNameServers | The custom name server information. Note: This field may return null, indicating that no valid values can be obtained. |
VanityNameServersIps | Array of VanityNameServersIps | The custom name server IP information. Note: This field may return null, indicating that no valid values can be obtained. |
ActiveStatus | String | Status of the proxy. Values:active : Enabledinactive : Not activatedpaused : Disabled |
AliasZoneName | String | The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_). Note: This field may return null, indicating that no valid values can be obtained. |
IsFake | Integer | Whether it’s a fake site. Valid values: 0 : Non-fake site;1 : Fake site. |
LockStatus | String | Lock status. Values: enable : Normal. Modification is allowed.disable : Locked. Modification is not allowed.plan_migrate : Adjusting the plan. Modification is not allowed. |
OwnershipVerification | OwnershipVerification | Ownership verification information Note: This field may return·null, indicating that no valid values can be obtained. |
ZoneSetting
The site configuration.
Used by actions: DescribeZoneSetting.
Name | Type | Description |
---|---|---|
ZoneName | String | Name of the site |
Area | String | Site acceleration region. Values:mainland : Acceleration in the Chinese mainland.overseas : Acceleration outside the Chinese mainland. |
CacheKey | CacheKey | Node cache key configuration Note: This field may return null, indicating that no valid values can be obtained. |
Quic | Quic | The QUIC access configuration. Note: This field may return null, indicating that no valid values can be obtained. |
PostMaxSize | PostMaxSize | The POST transport configuration. Note: This field may return null, indicating that no valid values can be obtained. |
Compression | Compression | Smart compression configuration. Note: This field may return null, indicating that no valid values can be obtained. |
UpstreamHttp2 | UpstreamHttp2 | HTTP2 origin-pull configuration Note: This field may return null, indicating that no valid values can be obtained. |
ForceRedirect | ForceRedirect | Force HTTPS redirect configuration Note: This field may return null, indicating that no valid values can be obtained. |
CacheConfig | CacheConfig | Cache expiration time configuration Note: This field may return null, indicating that no valid values can be obtained. |
Origin | Origin | Origin server configuration. Note: This field may return null, indicating that no valid values can be obtained. |
SmartRouting | SmartRouting | Smart acceleration configuration Note: This field may return null, indicating that no valid values can be obtained. |
MaxAge | MaxAge | Browser cache configuration Note: This field may return null, indicating that no valid values can be obtained. |
OfflineCache | OfflineCache | The offline cache configuration. Note: This field may return null, indicating that no valid values can be obtained. |
WebSocket | WebSocket | WebSocket configuration. Note: This field may return null, indicating that no valid values can be obtained. |
ClientIpHeader | ClientIpHeader | Origin-pull client IP header configuration Note: This field may return null, indicating that no valid values can be obtained. |
CachePrefresh | CachePrefresh | Cache prefresh configuration Note: This field may return null, indicating that no valid values can be obtained. |
Ipv6 | Ipv6 | IPv6 access configuration Note: This field may return null, indicating that no valid values can be obtained. |
Https | Https | HTTPS acceleration configuration Note: This field may return null, indicating that no valid values can be obtained. |
ClientIpCountry | ClientIpCountry | Whether to carry the location information of the client IP during origin-pull. Note: This field may return null , indicating that no valid value can be obtained. |
Grpc | Grpc | Configuration of gRPC support Note: This field may return null , indicating that no valid value can be obtained. |
ImageOptimize | ImageOptimize | Image optimization configuration. Note: This field may return null , indicating that no valid value was found. |
AccelerateMainland | AccelerateMainland | Cross-MLC-border acceleration. Note: This field may return null , indicating that no valid values can be obtained. |
StandardDebug | StandardDebug | Standard debugging configuration. Note: This field may return null, indicating that no valid values can be obtained. |
JITVideoProcess | JITVideoProcess | Just-in-time media processing configuration. Note: This field may return null, which indicates a failure to obtain a valid value. |
- AccelerateMainland
- AccelerateType
- AccelerationDomain
- AccelerationDomainCertificate
- AclCondition
- AclConfig
- AclUserRule
- Action
- AdvancedFilter
- AiRule
- AlgDetectJS
- AlgDetectResult
- AlgDetectRule
- AlgDetectSession
- AliasDomain
- ApplicationProxy
- ApplicationProxyRule
- AscriptionInfo
- BillingData
- BillingDataFilter
- BindSharedCNAMEMap
- BotConfig
- BotExtendAction
- BotManagedRule
- BotPortraitRule
- BotUserRule
- CC
- CLSTopic
- Cache
- CacheConfig
- CacheKey
- CachePrefresh
- CacheTag
- CertificateInfo
- CheckRegionHealthStatus
- ClientIpCountry
- ClientIpHeader
- CnameStatus
- CodeAction
- Compression
- ConfigGroupVersionInfo
- CustomEndpoint
- CustomErrorPage
- CustomField
- CustomizedHeader
- DDoS
- DDoSAttackEvent
- DDoSBlockData
- DDosProtectionConfig
- DefaultServerCertInfo
- DeliveryCondition
- DeployRecord
- DetailHost
- DiffIPWhitelist
- DnsVerification
- DropPageConfig
- DropPageDetail
- EntityStatus
- EnvInfo
- ErrorPageReference
- ExceptConfig
- ExceptUserRule
- ExceptUserRuleCondition
- ExceptUserRuleScope
- FailReason
- FileAscriptionInfo
- FileVerification
- Filter
- FirstPartConfig
- FollowOrigin
- ForceRedirect
- Function
- FunctionEnvironmentVariable
- FunctionRule
- FunctionRuleCondition
- Grpc
- Header
- HealthChecker
- Hsts
- Https
- IPGroup
- IPRegionInfo
- IPWhitelist
- Identification
- ImageOptimize
- IntelligenceRule
- IntelligenceRuleItem
- IpTableConfig
- IpTableRule
- Ipv6
- JITVideoProcess
- L4OfflineLog
- L4Proxy
- L4ProxyRemoteAuth
- L4ProxyRule
- L7OfflineLog
- LoadBalancer
- LogFormat
- MaxAge
- MutualTLS
- NoCache
- NormalAction
- NsVerification
- OfflineCache
- Origin
- OriginDetail
- OriginGroup
- OriginGroupHealthStatus
- OriginGroupHealthStatusDetail
- OriginGroupInLoadBalancer
- OriginGroupReference
- OriginHealthStatus
- OriginInfo
- OriginProtectionInfo
- OriginRecord
- OwnershipVerification
- PartialModule
- PlanInfo
- PostMaxSize
- PrepaidPlanParam
- PrivateParameter
- QueryCondition
- QueryString
- Quic
- Quota
- RateLimitConfig
- RateLimitIntelligence
- RateLimitTemplate
- RateLimitTemplateDetail
- RateLimitUserRule
- RealtimeLogDeliveryTask
- RenewFlag
- Resource
- RewriteAction
- Rule
- RuleAndConditions
- RuleChoicePropertiesItem
- RuleCodeActionParams
- RuleCondition
- RuleExtraParameter
- RuleItem
- RuleNormalActionParams
- RuleRewriteActionParams
- RulesProperties
- RulesSettingAction
- S3
- SecEntry
- SecEntryValue
- SecurityConfig
- SecurityTemplateBinding
- SecurityType
- ServerCertInfo
- SkipCondition
- SlowPostConfig
- SlowRateConfig
- SmartRouting
- StandardDebug
- SubRule
- SubRuleItem
- Sv
- SwitchConfig
- Tag
- Task
- TemplateConfig
- TemplateScope
- TimingDataItem
- TimingDataRecord
- TimingTypeValue
- TopDataRecord
- TopDetailData
- TopEntry
- TopEntryValue
- UpstreamCertInfo
- UpstreamHttp2
- VanityNameServers
- VanityNameServersIps
- Waf
- WafConfig
- WafRule
- WebSocket
- Zone
- ZoneSetting