disableFlowLog

Prev Next

VPC環境で利用できます。

概要

FlowLogを無効にします。

リクエスト

リクエストパラメータ

パラメータ名 要否 タイプ 制約事項 説明
regionCode No String - リージョンコード
ネットワークインターフェースのリストが照会されるリージョン(Region)を決定できる
regionCodeは、getRegionListアクションを通じて取得できる
Default: getRegionList照会結果の最初のリージョンを選択
networkInterfaceNo Yes String ネットワークインターフェース番号
networkInterfaceNoは、getNetworkInterfaceListアクションを通じて取得できる
responseFormatType No String - レスポンス結果のフォーマットタイプ
Options: xml | json
Default: xml

レスポンス

レスポンスデータのタイプ

  • FlowLogConfigurationListのタイプ
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

リクエスト例

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

レスポンス例

<?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>```