指定されたトラフィックマーキングポリシーを削除します。
操作説明
-
DeleteTrafficMarkingPolicy is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the ListTrafficMarkingPolicies operation to query the status of a traffic marking policy.
If a traffic marking policy is in the Deleting state, the traffic marking policy is being deleted. You can query the traffic marking policy but cannot perform other operations.
If a traffic marking policy cannot be found, the traffic marking policy is deleted.
-
Before you delete a traffic marking policy, you must delete all traffic classification rules from the policy. For more information, see RemoveTrafficMatchRuleFromTrafficMarkingPolicy.
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:DeleteTrafficMarkingPolicy |
delete |
*CenInstance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 クライアントを使用して値を生成できますが、すべての呼び出し間で一意であることを確認する必要があります。クライアントトークンには ASCII 文字のみを含めることができます。 説明
このパラメーターを指定しない場合、システムは RequestId の値を ClientToken の値として自動的に使用します。各 API リクエストの RequestId の値は異なる場合があります。 |
123e4567-e89b-12d3-a456-426**** |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
false |
| TrafficMarkingPolicyId |
string |
必須 |
トラフィックマーキングポリシーの ID。 |
tm-u9nxup5kww5po8**** |
| Force |
boolean |
任意 |
トラフィックマーキングポリシーを強制削除するかどうか。有効な値:
|
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
The returned result. |
||
| RequestId |
string |
The ID of the request. |
5F1F3A57-A753-572B-8F71-4F964398C566 |
例
成功レスポンス
JSONJSON
{
"RequestId": "5F1F3A57-A753-572B-8F71-4F964398C566"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | AssociationExist.TransitQosRuleExist | The rule with the specified TrafficMarkingPolicy already exists. | |
| 400 | IncorrectStatus.TrafficMarkingPolicy | The status of TrafficMarkingPolicy is incorrect. | |
| 400 | InvalidTrafficMarkingPolicyId.NotFound | The specified TrafficMarkingPolicyId is not found. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | |
| 400 | IncorrectStatus.TransitRouterInstance | The status of TransitRouter is incorrect. | |
| 400 | MissingParam.TrafficMarkingPolicyId | The parameter TrafficMarkingPolicyId is mandatory. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。