フローログの設定を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
smartag:ModifyFlowLogAttribute |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
フローログがデプロイされているリージョンの ID。 |
cn-shanghai |
| Description |
string |
任意 |
フローログの説明。 |
流日志实例1 |
| Name |
string |
任意 |
フローログの名前。 |
DDE |
| ActiveAging |
integer |
任意 |
アクティブなネットワーク接続のログデータを収集する間隔。 デフォルト値:300。 単位:秒。 |
300 |
| InactiveAging |
integer |
任意 |
非アクティブなネットワーク接続のログデータを収集する間隔。 デフォルト値:15。 単位:秒。 |
15 |
| OutputType |
string |
任意 |
フローログの保存先。 有効な値:
|
sls |
| SlsRegionId |
string |
任意 |
Log Service がデプロイされているリージョンの ID。 このパラメーターは、OutputType が sls に設定されている場合に必須です。 |
cn-shanghai |
| ProjectName |
string |
任意 |
Log Service の Logstore が属するプロジェクト。 このパラメーターは、OutputType が sls に設定されている場合に必須です。 |
ddrrgt |
| LogstoreName |
string |
任意 |
Log Service の Logstore。 このパラメーターは、OutputType が sls に設定されている場合に必須です。 |
ssfghgh |
| NetflowServerIp |
string |
任意 |
フローログが保存される NetFlow コレクターの IP アドレス。 このパラメーターは、OutputType が netflow に設定されている場合に必須です。 |
192.168.0.2 |
| NetflowServerPort |
integer |
任意 |
NetFlow コレクターのポート。 デフォルト値:9995。 このパラメーターは、OutputType が netflow に設定されている場合に必須です。 |
9995 |
| NetflowVersion |
string |
任意 |
NetFlow バージョン。 有効な値:V5、V9、V10。 デフォルト値:V9。 このパラメーターは、OutputType が netflow に設定されている場合に必須です。 |
V9 |
| FlowLogId |
string |
必須 |
フローログの ID。 |
fl-7a56mar1kfw9vj**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
AAC70A63-1A2E-4857-9CA3-5DE5B4041D1E |
例
成功レスポンス
JSONJSON
{
"RequestId": "AAC70A63-1A2E-4857-9CA3-5DE5B4041D1E"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | DependencyViolation.FlowLog | This FlowLog instance is bound to an SAG instance. | |
| 400 | IncorrectStatus.FlowLog | The current FlowLog instance status does not support this operation. | |
| 400 | InvalidFlowLogId.NotFound | The specified FlowLogId does not exist. | |
| 400 | MissingParam.FlowLogId | Specify the FlowLogId parameter. | |
| 400 | OperationFailed.AssociateFlowLog | The operation failed. The specified SAG instance has already been associated with another FlowLog instance. | |
| 400 | OperationUnsupported.AssociateFlowLog | You cannot bind the SAG device of the current version or model to a FlowLog instance. | |
| 400 | QuotaExceeded.Flowlog | The maximum number of FlowLog instances is exceeded. | |
| 400 | IllegalParam.ActiveAging | The specified ActiveAging is invalid. | |
| 400 | IllegalParam.InactiveAging | The specified InactiveAging is invalid. | |
| 400 | IllegalParam.OutputType | The specified OutputType is invalid. | |
| 400 | IllegalParam.NetflowServerIp | The specified NetflowServerIp is invalid. | |
| 400 | IllegalParam.NetflowServerPort | The specified NetflowServerPort is invalid. | |
| 400 | IllegalParam.NetflowVersion | The specified NetflowVersion is invalid. | |
| 400 | MissingParam.NetflowServerIp | Specify the NetflowServerIp parameter. | |
| 400 | MissingParam.NetflowServerPort | Specify the NetflowServerPort parameter. | |
| 400 | MissingParam.NetflowVersion | Specify the NetflowVersion parameter. | |
| 400 | IllegalParam.SlsRegionId | The specified SlsRegionId is invalid. | |
| 400 | MissingParam.SlsRegionId | Specify the SlsRegionId parameter. | |
| 400 | IllegalParam.RegionId | The specified RegionId is invalid. | |
| 400 | IllegalParam.Status | The specified Status parameter is invalid. | |
| 400 | InvalidSmartAGId.NotFound | The specified SmartAGId does not exist. | |
| 403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。