docs
api
Web Application Firewall(UEWAF)
CheckWafMenuSettingOverflow

Verify if the number of domain names and rules exceeds the limit of the specified package - CheckWafMenuSettingOverflow

Overview

Verify if the number of domain names and rules exceeds the limit of the specified package

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is CheckWafMenuSettingOverflow.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringLeave blank for default projectNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
UsageInfoUsageInfoUsage description, refer to UsageInfoNo

Data Model

UsageInfo

Field NameTypeDescription InformationRequired
DomainLimitUsageInfoDetailDomain name quantity limit, refer to UsageInfoDetailNo
ExclusiveIPLimitUsageInfoDetailDedicated IP limit, refer to UsageInfoDetailNo
BandwidthInnerUsageInfoDetailInternal bandwidth limit, refer to UsageInfoDetailNo
BandwidthOuterUsageInfoDetailExternal bandwidth limit, refer to UsageInfoDetailNo

UsageInfoDetail

Field NameTypeDescription InformationRequired
QuotaintQuota QuantityNo
UsedintUsed QuantityNo

Example

Request Example

https://api.surfercloud.com/?Action=CheckWafMenuSettingOverflow
&ProjectId=org-xxx

Response Example

{
  "Action": "CheckWafMenuSettingOverflowResponse",
  "RetCode": 0,
  "UsageInfo": {
    "BandwidthInner": {
      "Quota": 120,
      "Used": 0
    },
    "BandwidthOuter": {
      "Quota": 40,
      "Used": 0
    },
    "DomainLimit": {
      "Quota": 20,
      "Used": 3
    },
    "ExclusiveIPLimit": {
      "Quota": 8,
      "Used": 0
    },
    "customize_rule_set": {
      "Quota": 30,
      "Used": 0
    },
    "user_domain_cc_rules": {
      "Quota": 10,
      "Used": 0
    }
  }
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved