Call the `SetProxyPattern` operation to set a recursive resolution proxy.
Debug
Request parameters
| Name | Type | Required | Example value | Description |
| Action | String | Yes | SetProxyPattern | The name of the operation. Set the value to `SetProxyPattern`. |
| ZoneId | String | Yes | AgIDE0OQ_149 | The global ID of the zone. |
| Lang | String | No | en | The language. |
| ProxyPattern | String | No | ZONE | Valid values:
|
| UserClientIp | String | No | 1.1.1.1 | The client IP address. |
Returned Data
| Name | Type | Example value | Description |
| RequestId | String | C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB | The request ID. |
| ZoneId | String | AgIDE0OQ_149 | The global ID of the zone. |
Examples
Sample request
http(s)://pvtz.aliyuncs.com/?Action=SetProxyPattern
&ZoneId=AgIDE0OQ_149
&<Common request parameters>
Sample response
XML format
<SetProxyPatternResponse>
<RequestId>D1324D48-1E23-4AEF-9EDE-466120561C6F</RequestId>
<ZoneId>AgIDE0OQ_149</ZoneId>
</SetProxyPatternResponse>
JSON format
{
"RequestId":"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB",
"ZoneId":"AgIDE0OQ_149"
}
Error codes
For a list of error codes, see the Error Center.