调用DeleteDirectConnectTrafficQosRule删除指定的流分类规则。
仅支持删除手动创建的流分类规则,默认流分类规则不可删除。您可调用DescribeDirectConnectTrafficQosRules查询流分类规则的ID,查询结果中参数DirectConnectTrafficQosRuleName
值为Default且参数Priority
值为65535的一条即为默认流分类规则。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteDirectConnectTrafficQosRule | 要执行的操作,取值:DeleteDirectConnectTrafficQosRule。 |
Version | String | 是 | 2020-04-01 | API版本信息。 |
DirectConnectTrafficQosRuleId | String | 是 | dqr-6o5erg54rrg4**** | 流分类规则的ID。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 2024110716053568499AEFD8A1035B**** | 请求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 | 错误码 | 错误信息 | 描述信息 |
---|---|---|---|
400 | DryRunOperation | Exception raised to indicate a successfully authorized action when the DryRun flag is set to true. | 该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。 |
400 | InvalidDirectConnectTrafficQosPolicy.InvalidStatus | The specified direct connect traffic qos policy is not in the correct status for the request. | 指定的QoS策略所处的状态无法响应该请求。 |
400 | InvalidDirectConnectTrafficQosQueue.InvalidStatus | The 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流分类规则。 |
400 | InvalidDirectConnectTrafficQosRule.InvalidStatus | The specified direct connect traffic qos rule is not in the correct status for the request. | 指定的QoS流分类规则所处的状态无法响应该请求。 |
400 | QuotaExceeded.DcTrafficQosRule | You've reached the limit on the number of traffic qos rules that you can create. | 已达到可创建的QoS流分类规则的数量上限。 |
404 | InvalidDirectConnectTrafficQosRule.NotFound | The specified direct connect traffic qos rule does not exist. | 指定的QoS流分类规则不存在。 |