调用 DeleteTransitRouterTrafficQosMarkingPolicy 接口,删除流标记策略,操作说明和注意事项请参见删除流标记策略。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteTransitRouterTrafficQosMarkingPolicy | 要执行的操作,取值为DeleteTransitRouterTrafficQosMarkingPolicy。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
TransitRouterTrafficQosMarkingPolicyId | String | 是 | tr-tmp-227ppm7ncp4ao7e54mkf7**** | 流标记策略的ID。您可以调用DescribeTransitRouterTrafficQosMarkingPolicies接口获取流标记策略的ID。 |
本接口无特有的返回参数。更多信息请见返回结构。
GET /?Action=DeleteTransitRouterTrafficQosMarkingPolicy&TransitRouterTrafficQosMarkingPolicyId=tr-tmp-227ppm7ncp4ao7e54mkf7**** HTTP/1.1 Host: open.volcengineapi.com Service: transitrouter Region: cn-guangzhou
{ "ResponseMetadata": { "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****", "Action": "DeleteTransitRouterTrafficQosMarkingPolicy", "Version": "2020-04-01", "Service": "transitrouter", "Region": "cn-guangzhou" }, "Result": {} }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidTransitRouter.InvalidStatus | The specified Transit Router is not in the correct status for the request. | 指定的中转路由器所处状态无法响应该请求。 |
400 | InvalidTransitRouterTrafficQosMarkingPolicy.InvalidStatus | The specified Transit Router traffic qos marking policy is not in the correct status for the request. | 指定的流标记策略所处状态无法响应该请求。 |
400 | InvalidTransitRouterTrafficQosMarkingPolicy.WithAssociation | The specified traffic qos marking policy has been associated to Transit Router attachments, and cannot be deleted. | 指定的流标记策略已被网络实例连接使用,无法删除。 |
400 | InvalidTransitRouterTrafficQosMarkingPolicy.WithTrafficQosMarkingEntry | There are marking entries within the specified traffic qos marking policy, which cannot be deleted. | 指定的流标记策略已配置标记规则,无法删除。 |
404 | InvalidTransitRouterTrafficQosMarkingPolicy.NotFound | The specified Transit Router traffic qos marking policy does not exist. | 指定的流标记策略不存在。 |