Available in VPC
Disable the flow log of a network interface.
Syntax
The disableFlowLog syntax is as follows:
./ncloud vserver disableFlowLog \
--networkInterfaceNo <nic-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running disableFlowLog.
Required options
The following options are required for disableFlowLog.
| Options | Type | Required | Description |
|---|---|---|---|
--networkInterfaceNo |
String | Required | Network interface number |
Common options
For information about the options common to all vserver subcommands, see Server (VPC) options.
Examples
If the request to disable the flow log is successful, the network interface number and flow log collection settings are returned.
Command
The command example is as follows:
./ncloud vserver disableFlowLog \
--networkInterfaceNo 56789012 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"disableFlowLogResponse": {
"totalRows": 1,
"flowLogConfigurationList": [
{
"networkInterfaceNo": "56789012",
"collectActionType": {
"code": "ALL",
"codeName": "All"
},
"collectIntervalMinute": 5,
"storageType": {
"code": "OBJT",
"codeName": "Object Storage"
},
"storageBucketName": "my-test-bucket",
"storageBucketDirectoryName": ""
}
],
"requestId": "5b234567-8901-2345-5678-123456789012",
"returnCode": "0",
"returnMessage": "success"
}
}