Deactivates a flow log to stop capturing the traffic of the specified resource.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
Action | String | Yes | DeactiveFlowLog |
The name of this action. Value: DeactiveFlowLog. |
FlowLogId | String | Yes | fl-m5evbtbptxxxxxxxxxxxx |
The ID of the flow log. |
RegionId | String | Yes | cn-qingdao |
The ID of the region of the flow log. To query the region ID, call DescribeRegions. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
The ID of the request. |
Examples
Request example
https://vpc.aliyuncs.com/?Action=DeactiveFlowLog
&RegionId=cn-qingdao
&FlowLogId=fl-m5evbtbptxxxxxxxxxxxx
&<CommonParameters>
Response example
XML
format
<DeactiveFlowLog>
<RequestId>04F0F334-1335-436C-A1D7-6C044FExxxxx</RequestId>
</DeactiveFlowLog>
JSON
format
{
"RequestId":"04F0F334-1335-436C-A1D7-6C044FExxxxx"
}
Errors
For a list of error codes, visit the API Error Center.