Turns off a firewall switch.
Description
You can call the PutDisableFwSwitch operation to turn off a firewall switch. After you turn off a firewall switch, traffic does not pass through Cloud Firewall.
Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | PutDisableFwSwitch |
The operation that you want to perform. Set the value to PutDisableFwSwitch. |
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:
|
IpaddrList.N | RepeatList | No | ["192.0.XX.XX","192.0.XX.XX"] |
The list of IP addresses. |
RegionList.N | RepeatList | No | ["cn-hangzhou","cn-shanghai"] |
The list of regions. |
ResourceTypeList.N | RepeatList | No | ["EcsPublicIp","NatEIP"] |
The list of asset types. Valid values:
|
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=PutDisableFwSwitch
&<Common request parameters>
Sample success responses
XML
format
<PutDisableFwSwitchResponse>
<RequestId>B2841452-CB8D-4F7D-B247-38E1CF7334F8</RequestId>
</PutDisableFwSwitchResponse>
JSON
format
{
"RequestId":"B2841452-CB8D-4F7D-B247-38E1CF7334F8"
}