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

调用DeleteDirectConnectTrafficQosPolicy删除指定的QoS策略。

调用说明

待删除的QoS策略未关联任何物理专线,且待删除的QoS策略下除默认流队列(名为Default)之外,不存在其他流队列。如有请先解绑QoS策略关联的全部物理专线,并删除流队列,然后再删除QoS策略,您可调用ModifyDirectConnectTrafficQosPolicyAttributes解绑物理专线,调用DeleteDirectConnectTrafficQosQueue删除流队列。

调试

请求参数

名称

类型

是否必选

示例值

描述

Action

String

DeleteDirectConnectTrafficQosPolicy

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

VersionString2020-04-01API版本信息。
DirectConnectTrafficQosPolicyIdStringdcq-a2du7fojk17****待删除的QoS策略的ID。

返回数据

名称类型示例值描述
RequestIdString0ED8D006-F706-4D23-88ED-E11ED28****请求ID。

请求示例

GET /?Action=DeleteDirectConnectTrafficQosPolicy&Version=2020-04-01&DirectConnectTrafficQosPolicyId=dcq-2fezrjmq3vif459gp67**** HTTP/1.1
Host: open.volcengineapi.com
ServiceName: directconnect
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202411071550407A413E6A9D8BD4****",
        "Action": "DeleteDirectConnectTrafficQosPolicy",
        "Version": "2020-04-01",
        "Service": "directconnect",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "202411071550407A413E6A9D8BD4****"
    }
}

错误码

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策略所处的状态无法响应该请求。
400InvalidDirectConnectTrafficQosPolicy.WithAssociationThe specified traffic qos policy is in use. If you are trying to delete the traffic qos policy, ensure that its associated direct connect connections have been detached.指定的QoS策略在使用中。如果尝试删除该QoS策略,请确保其关联的所有物理专线已解绑。
400InvalidDirectConnectTrafficQosPolicy.WithTrafficQosQueueThe specified traffic qos policy is in use. If you are trying to delete the traffic qos policy, ensure that its traffic qos queues have been deleted.指定的QoS策略在使用中。如果尝试删除该QoS策略,请确保其关联的所有QoS流队列已删除。
400QuotaExceeded.DcTrafficQosPolicyYou've reached the limit on the number of traffic qos policies that you can create.已达到可创建的QoS策略的数量上限。
404InvalidDirectConnectTrafficQosPolicy.NotFoundThe specified direct connect traffic qos policy does not exist.指定的QoS策略不存在。