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

VPC環境で利用できます。

ネットワークインターフェースの Flow Logを無効化します。

構文

disableFlowLog構文は次の通りです。

./ncloud vserver disableFlowLog \
    --networkInterfaceNo <nic-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

オプション

disableFlowLogの実行時に指定できるオプションについて説明します。

必須オプション

disableFlowLogの必須オプションです。

オプション タイプ 必須の有無 説明
--networkInterfaceNo String Required ネットワークインターフェース番号

共通オプション

vserverコマンドで共通して使用するオプションについては、Server (VPC)のオプションをご参照ください。

Flow Logの無効化リクエストが成功すると、ネットワークインターフェース番号と Flow Logの収集設定が返されます。

コマンド

コマンドの例は次の通りです。

./ncloud vserver disableFlowLog \
    --networkInterfaceNo 56789012 \
    --regionCode KR \
    --output json

出力

出力の例は次の通りです。

{
  "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"
  }
}