You need to enable JavaScript to run this app.
导航
DeleteDirectConnectTrafficQosRule
最近更新时间:2024.11.15 10:51:34首次发布时间:2024.11.15 10:51:34

调用DeleteDirectConnectTrafficQosRule删除指定的流分类规则。

调用说明

仅支持删除手动创建的流分类规则,默认流分类规则不可删除。您可调用DescribeDirectConnectTrafficQosRules查询流分类规则的ID,查询结果中参数DirectConnectTrafficQosRuleName值为Default且参数Priority值为65535的一条即为默认流分类规则。

调试

请求参数

名称类型是否必选示例值描述

Action

String

DeleteDirectConnectTrafficQosRule

要执行的操作,取值:DeleteDirectConnectTrafficQosRule。

VersionString2020-04-01API版本信息。
DirectConnectTrafficQosRuleIdStringdqr-6o5erg54rrg4****流分类规则的ID。

返回数据

名称类型示例值描述
RequestIdString2024110716053568499AEFD8A1035B****请求ID。

请求示例

GET /?Action=DeleteDirectConnectTrafficQosRule&Version=2020-04-01&DirectConnectTrafficQosRuleId=dqr-2fezs9g1xwy6859gp67tyw**** HTTP/1.1
Host: open.volcengineapi.com
ServiceName: directconnect
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2024110716053568499AEFD8A1035B****",
        "Action": "DeleteDirectConnectTrafficQosRule",
        "Version": "2020-04-01",
        "Service": "directconnect",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "2024110716053568499AEFD8A1035B****"
    }
}

错误码

Http code错误码错误信息描述信息
400DryRunOperationException raised to indicate a successfully authorized action when the DryRun flag is set to true.该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。
400InvalidDirectConnectTrafficQosPolicy.InvalidStatusThe specified direct connect traffic qos policy is not in the correct status for the request.指定的QoS策略所处的状态无法响应该请求。
400InvalidDirectConnectTrafficQosQueue.InvalidStatusThe specified direct connect traffic qos queue is not in the correct status for the request.指定的QoS流队列所处的状态无法响应该请求。

400

InvalidDirectConnectTrafficQosRule.DeleteDefaultPriority

It is not supported to delete the direct connect traffic qos rule with default priority.

不支持删除默认优先级的QoS流分类规则。

400InvalidDirectConnectTrafficQosRule.InvalidStatusThe specified direct connect traffic qos rule is not in the correct status for the request.指定的QoS流分类规则所处的状态无法响应该请求。
400QuotaExceeded.DcTrafficQosRuleYou've reached the limit on the number of traffic qos rules that you can create.已达到可创建的QoS流分类规则的数量上限。
404InvalidDirectConnectTrafficQosRule.NotFoundThe specified direct connect traffic qos rule does not exist.指定的QoS流分类规则不存在。