输入示例
POST https://waf.volcengineapi.com/?Action=UpdateDomain&Version=2023-12-25
{
"ProjectName": "default",
"Region": "cn-beijing",
"AccessMode": 10,
"ClientIPLocation": 2,
"Domain": "example.volcwaf001.com",
"PublicRealServer": 1,
"ProtocolFollow": 0,
"EnableHTTP2": 0,
"EnableIPv6": 0,
"Protocols": [
"HTTP"
],
"LBAlgorithm": "wrr",
"ProxyConfig": 1,
"TrafficTagConfig": {},
"TLSEnable": 1,
"TLSFieldsConfig": {
"HeadersConfig": {
"Enable": 0
}
},
"ClientMaxBodySize": 60,
"KeepAliveTimeOut": 75,
"KeepAliveRequest": 100,
"ProxyConnectTimeOut": 4,
"ProxyWriteTimeOut": 60,
"ProxyReadTimeOut": 60,
"ProxyKeepAlive": 100,
"ProxyRetry": 3,
"ProxyKeepAliveTimeOut": 15,
"CertificatePlatform": "certificate-service",
"ProtocolPorts": {
"HTTP": [
80,
81
],
"HTTPS": []
},
"BackendGroups": [
{
"AccessPort": [
80,
81
],
"Backends": [
{
"Protocol": "HTTP",
"Port": 80,
"IP": "180.184.**.**",
"Weight": 100
}
],
"Name": "default"
}
]
}输出示例
{
"ResponseMetadata": {
"RequestId": "20251014191226****7166BE0C92B4B584",
"Action": "UpdateDomain",
"Version": "2023-12-25",
"Service": "waf",
"Region": "cn-beijing"
},
"Result": null
}