All Products
Search
Document Center

:Set a recursive resolution proxy

最終更新日:Dec 26, 2025

Call the `SetProxyPattern` operation to set a recursive resolution proxy.

Debug

You can call this operation in OpenAPI Explorer to bypass signature calculations. After a successful call, OpenAPI Explorer automatically generates sample code for different SDKs.

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:

  • ZONE: Disables recursive resolution for the zone.
  • RECORD: Enables the recursive resolution proxy for the zone.
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.