You can call this operation to query the specification information of the WAF instance.

Note To call this operation, you do not need to specify InstanceId parameters

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Element Type Required Example Description
Action String Yes DescribeInstanceSpecInfo

The operation that you want to perform. Valid values: DescribeInstanceSpecInfo.

InstanceId String No waf-cn-v0h1nej****

The ID of the WAF instance.

ResourceGroupId String No rg-atstuj3rtop****

The ID of the resource group to which the WAF instance belongs. By default, no value is specified, which indicates that the WAF instance belongs to the default resource group.

Response parameters

Element Type Sample response Description
ExpireTime Long 1512921600

The timestamp (in seconds) indicating when the WAF instance expires.

Note For a pay-as-you-go instance, the value returned indicates the time when the trial period ends.
InstanceId String waf_elasticity-cn-0xldbqt****

The ID of the WAF instance.

InstanceSpecInfos Array

The specification information of the WAF instance, starting with Code and Value returns instance specification information as an array. Where, Code instance type item Value indicates the corresponding value.

Code String 113

A configuration parameter of the WAF instance. The following instance specifications are returned based on the WAF instance version ( Code) related items in:

  • 100 indicates whether HTTPS service protection is supported.
  • 101: indicates the daily business traffic threshold.
  • 102: indicates the HTTP flood protection threshold.
  • 103: indicates the total number of supported domain names.
  • 104: indicates whether wildcard domain names are supported.
  • 105: indicates the number of supported custom precise access control rules.
  • 106 indicates the number of origin IP addresses.
  • 107: indicates whether off-premises data centers are supported.
  • 108: indicates whether custom Web access control is supported.
  • 109: indicates whether non-standard ports are supported.
  • 110: indicates whether the malicious IP blocking function is supported.
  • 111: indicates whether data risk control is supported.
  • 112: indicates the number of data risk control records that can be configured.
  • 113: indicates the number of top-level domain that can be protected.
  • 114: indicates the normal service bandwidth threshold.
  • 115: indicates the number of bound domain names.
  • 116: indicates whether an ECS IP address of another Alibaba Cloud account can be added as the IP address of the origin server.
  • 117: indicates whether the IP address of the virtual machine can be added as the IP address of the origin server.
  • 118: indicates the number of data risk control rules that can be configured.
  • 119: indicates whether the semantic analysis engine is supported.
  • 12: indicates whether business traffic analysis is supported.
  • 120: indicates whether the access domain name needs to be filed.
  • 121: indicates whether custom HTTP flood protection rules are supported.
  • 122: indicates the maximum number of custom HTTP flood protection rules that can be configured.
  • 123: indicates whether blocking is supported.
  • 124: indicates whether the tamper-proofing function is supported.
  • 125: indicates the maximum number of supported custom tamper-proofing rules.
  • 126: indicates whether the log collection feature is supported.
  • 127 indicates the number of supported non-standard ports.
  • 128: indicates the supported HTTP ports.
  • 129: indicates the supported HTTPS ports.
  • 13: indicates whether CC attack prevention mode switchover is supported.
  • 130: indicates whether the hacker profiling feature is supported.
  • 131: indicates whether the sensitive information leakage prevention function is supported.
  • 132: indicates the maximum number of sensitive information leakage prevention rules that can be configured.
  • 133: indicates the filter criteria supported by HTTP ACL policies.
  • 134: indicates the number of dedicated IP addresses bound.
  • 135: indicates whether data visualization is supported.
  • 136: indicates the number of supported data visualization screens.
  • 137: indicates whether the big data deep learning engine is supported.
  • 138: indicates whether the full log feature is supported.
  • 139: indicates the storage duration of the full log.
  • 14: indicates whether the details of CC attack logs can be viewed.
  • 140: indicates the maximum storage capacity of the full log.
  • 141: indicates whether alarm setting is supported.
  • 142: indicates the number of times that the log storage space can be cleared.
  • 143: indicates whether custom rule groups are supported.
  • 144: indicates the number of custom rule groups that you can configure.
  • 145: indicates whether the common gateway proxy of the protection module is supported.
  • 146: indicates whether the protection module common rule proxy is supported.
  • 147: indicates whether the security expert service platform is supported.
  • 148: indicates whether the trial is supported.
  • 149: indicates whether the transparent proxy mode is supported.
  • 150: indicates whether IPv6 is supported.
  • 151: indicates whether proactive defense is supported.
  • 152: indicates the maximum number of HTTP flood protection rules.
  • 153: indicates whether HTTP 2.0 business protection is supported.
  • 154: indicates whether the domain name configuration feature is supported.
  • 155: indicates whether resource management is supported.
  • 156: indicates whether a pre-release test specification is available.
  • 157: indicates whether virtual independent clusters are supported.
  • 158: indicates the number of ports supported by the virtual independent cluster.
Value String 1

The value of the configuration parameter.

Note Boolean (whether...) Values of: true(Indicating Yes) | false(No).
RequestId String D7861F61-5B61-46CE-A47C-6B19160D5EB0

The ID of the request.

Version String version_elastic_bill

The version of the WAF instance. Valid values:

  • version_pro_china: indicates mainland China premium edition.
  • version_business_china: indicates Enterprise Edition in mainland China.
  • version_enterprise_china: indicates the flagship edition in mainland China.
  • version_exclusive_china: indicates the virtual exclusive Cluster Edition in mainland China.
  • version_pro: indicates the overseas pro edition.
  • version_business: indicates Enterprise Edition in international regions.
  • version_enterprise: indicates the international Ultimate Edition.
  • version_exclusive: indicates the virtual exclusive Cluster Edition in regions outside China.
  • version_elastic_bill: indicates the pay-as-you-go edition.

The preceding list contains all the versions of WAF instances that an account of Alibaba Cloud International site can create. If the returned version is not listed, check whether you are using an International site account.

Examples

Sample request

http(s)://[Endpoint]/? Action=DescribeInstanceSpecInfo
&<Common request parameters>

Sample success responses

XML format

<DescribeInstanceSpecInfoResponse>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>150</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>151</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>152</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>153</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>110</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>154</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>111</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>155</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>5</Value>
            <Code>112</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>156</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>1</Value>
            <Code>113</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>157</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>50</Value>
            <Code>114</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>158</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>115</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>159</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>116</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>117</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0,1,3</Value>
            <Code>118</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>119</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>12</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>13</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>14</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>3</Value>
            <Code>160</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>nextwaf</Value>
            <Code>161</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>100</Value>
            <Code>162</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>100</Value>
            <Code>163</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>120</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>200</Value>
            <Code>164</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>121</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>165</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>122</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>IP,Session</Value>
            <Code>166</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>123</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>167</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>124</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>1</Value>
            <Code>168</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>300</Value>
            <Code>125</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>169</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>126</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>4</Value>
            <Code>127</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>80,8080</Value>
            <Code>128</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>443,8443</Value>
            <Code>129</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>170</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>171</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>50</Value>
            <Code>172</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>173</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>130</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>5</Value>
            <Code>174</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>131</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>500</Value>
            <Code>175</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>5</Value>
            <Code>132</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>176</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>IP,URL,Referer,User-Agent,Params,URLPath</Value>
            <Code>133</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>177</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>134</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>178</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>135</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>179</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>136</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>137</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>138</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>180</Value>
            <Code>139</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>3</Value>
            <Code>140</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>141</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>4</Value>
            <Code>142</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>143</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>100</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>0</Value>
            <Code>144</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>2000</Value>
            <Code>101</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>145</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>20000</Value>
            <Code>102</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>146</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>10</Value>
            <Code>103</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>147</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>104</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>148</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>20</Value>
            <Code>105</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>149</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>20</Value>
            <Code>106</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>107</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>true</Value>
            <Code>108</Code>
      </InstanceSpecInfos>
      <InstanceSpecInfos>
            <Value>false</Value>
            <Code>109</Code>
      </InstanceSpecInfos>
      <RequestId>362778D1-E8D4-445D-A71D-F5ED47356125</RequestId>
      <InstanceId>waf-cn-v0h1nej****</InstanceId>
      <Version>version_3</Version>
      <ExpireTime>1591977600000</ExpireTime>
</DescribeInstanceSpecInfoResponse>

JSON format

{
    "InstanceSpecInfos": [
        {
            "Value": "false",
            "Code": "150"
        },
        {
            "Value": "false",
            "Code": "151"
        },
        {
            "Value": "0",
            "Code": "152"
        },
        {
            "Value": "false",
            "Code": "153"
        },
        {
            "Value": "true",
            "Code": "110"
        },
        {
            "Value": "true",
            "Code": "154"
        },
        {
            "Value": "false",
            "Code": "111"
        },
        {
            "Value": "true",
            "Code": "155"
        },
        {
            "Value": "5",
            "Code": "112"
        },
        {
            "Value": "true",
            "Code": "156"
        },
        {
            "Value": "1",
            "Code": "113"
        },
        {
            "Value": "false",
            "Code": "157"
        },
        {
            "Value": "50",
            "Code": "114"
        },
        {
            "Value": "0",
            "Code": "158"
        },
        {
            "Value": "0",
            "Code": "115"
        },
        {
            "Value": "true",
            "Code": "159"
        },
        {
            "Value": "true",
            "Code": "116"
        },
        {
            "Value": "false",
            "Code": "117"
        },
        {
            "Value": "0,1,3",
            "Code": "118"
        },
        {
            "Value": "true",
            "Code": "119"
        },
        {
            "Value": "true",
            "Code": "12"
        },
        {
            "Value": "true",
            "Code": "13"
        },
        {
            "Value": "false",
            "Code": "14"
        },
        {
            "Value": "3",
            "Code": "160"
        },
        {
            "Value": "nextwaf",
            "Code": "161"
        },
        {
            "Value": "100",
            "Code": "162"
        },
        {
            "Value": "100",
            "Code": "163"
        },
        {
            "Value": "true",
            "Code": "120"
        },
        {
            "Value": "200",
            "Code": "164"
        },
        {
            "Value": "false",
            "Code": "121"
        },
        {
            "Value": "false",
            "Code": "165"
        },
        {
            "Value": "0",
            "Code": "122"
        },
        {
            "Value": "IP,Session",
            "Code": "166"
        },
        {
            "Value": "false",
            "Code": "123"
        },
        {
            "Value": "false",
            "Code": "167"
        },
        {
            "Value": "true",
            "Code": "124"
        },
        {
            "Value": "1",
            "Code": "168"
        },
        {
            "Value": "300",
            "Code": "125"
        },
        {
            "Value": "true",
            "Code": "169"
        },
        {
            "Value": "false",
            "Code": "126"
        },
        {
            "Value": "4",
            "Code": "127"
        },
        {
            "Value": "80,8080",
            "Code": "128"
        },
        {
            "Value": "443,8443",
            "Code": "129"
        },
        {
            "Value": "false",
            "Code": "170"
        },
        {
            "Value": "false",
            "Code": "171"
        },
        {
            "Value": "50",
            "Code": "172"
        },
        {
            "Value": "false",
            "Code": "173"
        },
        {
            "Value": "true",
            "Code": "130"
        },
        {
            "Value": "5",
            "Code": "174"
        },
        {
            "Value": "true",
            "Code": "131"
        },
        {
            "Value": "500",
            "Code": "175"
        },
        {
            "Value": "5",
            "Code": "132"
        },
        {
            "Value": "false",
            "Code": "176"
        },
        {
            "Value": "IP,URL,Referer,User-Agent,Params,URLPath",
            "Code": "133"
        },
        {
            "Value": "false",
            "Code": "177"
        },
        {
            "Value": "0",
            "Code": "134"
        },
        {
            "Value": "false",
            "Code": "178"
        },
        {
            "Value": "false",
            "Code": "135"
        },
        {
            "Value": "false",
            "Code": "179"
        },
        {
            "Value": "0",
            "Code": "136"
        },
        {
            "Value": "false",
            "Code": "137"
        },
        {
            "Value": "true",
            "Code": "138"
        },
        {
            "Value": "180",
            "Code": "139"
        },
        {
            "Value": "3",
            "Code": "140"
        },
        {
            "Value": "true",
            "Code": "141"
        },
        {
            "Value": "4",
            "Code": "142"
        },
        {
            "Value": "false",
            "Code": "143"
        },
        {
            "Value": "true",
            "Code": "100"
        },
        {
            "Value": "0",
            "Code": "144"
        },
        {
            "Value": "2000",
            "Code": "101"
        },
        {
            "Value": "true",
            "Code": "145"
        },
        {
            "Value": "20000",
            "Code": "102"
        },
        {
            "Value": "true",
            "Code": "146"
        },
        {
            "Value": "10",
            "Code": "103"
        },
        {
            "Value": "true",
            "Code": "147"
        },
        {
            "Value": "true",
            "Code": "104"
        },
        {
            "Value": "false",
            "Code": "148"
        },
        {
            "Value": "20",
            "Code": "105"
        },
        {
            "Value": "true",
            "Code": "149"
        },
        {
            "Value": "20",
            "Code": "106"
        },
        {
            "Value": "true",
            "Code": "107"
        },
        {
            "Value": "true",
            "Code": "108"
        },
        {
            "Value": "false",
            "Code": "109"
        }
    ],
    "RequestId": "362778D1-E8D4-445D-A71D-F5ED47356125",
    "InstanceId": "waf-cn-v0h1nej****",
    "Version": "version_3",
    "ExpireTime": "1591977600000"
}

Error codes.

For a list of error codes, visit the API Error Center.