Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

disableFlowLog

Prev Next

Available in VPC

Summary

Deactivate the Flowlog

Requests

Request parameters

Parameter Name Requirement status Type Restrictions Description
regionCode No String - Region code
You can decide the region to get the network interface list from.
Region code can be obtained through the getRegionList action
Default: selects the first region of the getRegionList search results
networkInterfaceNo Yes String Network interface number
Network interface No. can be obtained through the getNetworkInterfaceList action.
responseFormatType No String - Format type of the response result
Options: xml | json
Default: xml

Response

Response data type

  • Flowlog configuration list type
FlowLogConfigurationList extends CommonResponse
private Integer totalRows;
private List<FlowLogConfiguration> FlowLogConfigurationList = new ArrayList<>();
FlowLogConfiguration
private String networkInterfaceNo
private CommonCode collectActionType
private Integer collectIntervalMinute
private CommonCode storageType
private String storageBucketName
private String storageBucketDirectoryName

Examples

Request examples

ncloud vserver disableFlowLog --regionCode KR --networkInterfaceNo ***87

Response examples

<?xml version="1.0" encoding="UTF-8"?>  
  <disableFlowLogResponse>  
    <requestId>00a303f6-bf52-46b4-a600-574f839f7d21</requestId>  
    <returnCode>0</returnCode>  
    <returnMessage>success</returnMessage>  
    <totalRows>1</totalRows>  
    <flowLogConfigurationList>  
      <FlowLogConfiguration>  
        <networkInterfaceNo>=***87</networkInterfaceNo>  
        <collectActionType>  
          <code>ALLOW</code>
          <codeName>Allow</codeName>  
        </collectActionType>  
        <collectIntervalMinute>10</collectIntervalMinute>  
        <storageType>  
          <code>OBJT</code>
          <codeName>Object Storage</codeName>  
        </storageType>  
        <storageBucketName>mybk**</storageBucketName>  
        <storageBucketDirectoryName>VPC_FLOW_LOG</storageBucketDirectoryName>  
      </FlowLogConfiguration>  
    </flowLogConfigurationList>  
  </disableFlowLogResponse>```