ミラーセッションの構成を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:UpdateTrafficMirrorSessionAttribute |
update |
*TrafficMirrorSession
TrafficMirrorFilter
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| TrafficMirrorSessionDescription |
string |
任意 |
ミラーセッションの新しい説明です。 説明は 1~256 文字で指定し、 |
This is a new session. |
| TrafficMirrorSessionName |
string |
任意 |
ミラーセッションの新しい名前です。 名前は 1~128 文字で指定し、 |
abc |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用するクライアントトークンです。 クライアント側でトークンを生成できますが、異なるリクエスト間で一意となるようにしてください。トークンには ASCII 文字のみを使用できます。 説明
このパラメーターを指定しない場合、システムは自動的に リクエスト ID を クライアントトークン として使用します。リクエスト ID は各リクエストごとに異なる可能性があります。 |
0c593ea1-3bea-11e9-b96b-88e9fe63**** |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効値:
|
false |
| TrafficMirrorSessionId |
string |
必須 |
ミラーセッションの ID です。 |
tms-j6cla50buc44ap8tu**** |
| TrafficMirrorTargetId |
string |
任意 |
ミラーターゲットの ID です。 |
eni-j6c2fp57q8rr47rp***** |
| TrafficMirrorTargetType |
string |
任意 |
ミラーターゲットの新しいタイプです。有効値:
|
NetworkInterface |
| TrafficMirrorFilterId |
string |
任意 |
トラフィックミラーフィルターの ID です。 |
tmf-j6cmls82xnc86vtpe**** |
| VirtualNetworkId |
integer |
任意 |
ミラーリングされたトラフィックを区別するために使用される VXLAN ネットワーク識別子 (VNI) です。有効値:0~16777215。 VNI を使用して、ミラーターゲットで異なるセッションからのミラーリングトラフィックを識別できます。VNI を指定しない場合、システムはランダムに VNI を割り当てます。システムに VNI をランダムに割り当てさせたい場合は、このパラメーターを無視してください。 |
10 |
| Priority |
integer |
任意 |
ミラーセッションの新しい優先度です。有効値:1~32766。 値が小さいほど優先度が高くなります。同一リージョンで同一アカウントにより作成されたミラーセッションに同じ優先度を指定することはできません。 |
2 |
| PacketLength |
integer |
任意 |
最大転送単位 (MTU) です。 有効値:64~9600。デフォルト値:1500。 |
1500 |
| Enabled |
boolean |
任意 |
ミラーセッションを有効にするかどうかを指定します。有効値:
|
false |
| RegionId |
string |
必須 |
ミラーセッションのリージョン ID です。DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。トラフィックミラーリングをサポートするリージョンについては、「トラフィックミラーリングの概要」をご参照ください。 |
cn-hongkong |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
64DCAF03-E2C7-479A-ACEA-38B79876B006 |
例
成功レスポンス
JSONJSON
{
"RequestId": "64DCAF03-E2C7-479A-ACEA-38B79876B006"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectBusinessStatus.TrafficMirror | The business status of traffic mirror is incorrect. | |
| 400 | OptInRequired.TrafficMirror | You need to subscribe to the traffic mirror service first. | |
| 400 | DuplicatedParam.Priority | The specified priority conflicts with the existing priority. | |
| 400 | ResourceNotFound.TrafficMirrorSession | The specified resource of traffic mirror session is not found. | |
| 400 | IncorrectStatus.TrafficMirrorSession | The status of traffic mirror session is incorrect. | |
| 400 | ResourceNotFound.TrafficMirrorFilter | The specified resource of traffic mirror filter is not found. | |
| 400 | IncorrectStatus.TrafficMirrorFilter | The status of traffic mirror filter is incorrect. | |
| 400 | QuotaExceeded.FilterRelatedSession | The quota of the number of traffic mirror sessions related to one filter is exceeded. | |
| 400 | ResourceNotFound.NetworkInterface | The specified resource of network interface is not found. | |
| 400 | ResourceNotFound.EcsInstance | The specified resource of ECS instance is not found. | |
| 400 | ResourceNotFound.Slb | The specified resource of SLB is not found. | |
| 400 | OperationDenied.SlbNotInVpc | The specified SLB is not in any VPC. | |
| 400 | QuotaExceeded.NetworkInterfaceRelatedSession | The quota of the number of traffic mirror sessions related to one network interface is exceeded. | |
| 400 | QuotaExceeded.SlbRelatedSession | The quota of the number of traffic mirror sessions related to one SLB is exceeded. | |
| 400 | OperationDenied.EcsNotSupportTrafficMirror | The ECS instance does not support traffic mirroring. | |
| 400 | OperationDenied.DuplicateRole | The network interface must not be the source and the target of traffic mirror sessions at the same time. | |
| 400 | InvalidLoadBalancerId.NotFound | The specified resource of load balancer is not found. | |
| 400 | OperationDenied.FreeNetworkInterface | The network interface is not attached to any ECS instance. | |
| 400 | OperationDenied.ClassicSLB | The operation is not allowed because of ClassicSLB. | |
| 400 | QuotaExceeded.SourceNumPerTarget | The maximum number of traffic mirror sources for a target is exceeded. | |
| 400 | OperationFailed.NotSupportBizType | The specified instance type does not support the operation. | |
| 400 | OperationDenied.UnsupportedTargetType | Traffic mirror target must be SLB if traffic mirror sources contain nat gateway network interface. | |
| 400 | OperationDenied.TargetTypeNotSupportBondEni | Operation denied because of target type can not be Bond Network Interface. | |
| 400 | OperationDenied.TargetTypeNotSupportGatewayLoadBalancerEndpoint | Operation denied because of target type can not be GatewayLoadBalancerEndpoint. | |
| 400 | OperationDenied.InvalidTargetBondEniType | The traffic mirroring target does not support the entered bond ENI type. | |
| 400 | OperationDenied.TargetTypeNotSupportTrafficMirrorFullPacket | The traffic mirror session target type does not support the feature of mirroring source full packet. | |
| 400 | OperationDenied.TrafficMirrorSessionSourceFullPacketNotSupport | The traffic mirror session does not support the feature of mirroring source full packet. | |
| 500 | OperationFailed.GetEniInfo | The back-end service failed to query the NIC information. | |
| 404 | ResourceNotFound.GatewayLoadBalancerEndpoint | GatewayLoadBalancerEndpoint instance not found. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。