Turns on all firewall switches.

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

Parameter Type Required Example Description
Action String Yes PutEnableAllFwSwitch

The operation that you want to perform.

Set the value to PutEnableAllFwSwitch.

SourceIp String No 192.0.XX.XX

The source IP address of the request.

Lang String No zh

The natural language of the request and response. Valid values:

  • zh: Chinese
  • en: English
InstanceId String No i-2ze8v2x5kd9qyvp2****

The ID of the Cloud Firewall.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String B2841452-CB8D-4F7D-B247-38E1CF7334F8

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<PutEnableAllFwSwitchResponse>
  <RequestId>B2841452-CB8D-4F7D-B247-38E1CF7334F8</RequestId>
</PutEnableAllFwSwitchResponse>

JSON format

{
    "RequestId":"B2841452-CB8D-4F7D-B247-38E1CF7334F8"
}