调用 DissociateTransitRouterTrafficQosMarkingPolicyFromAttachment 接口,为TR连接关闭流标记功能,操作说明和注意事项请参见启用/关闭流标记。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DissociateTransitRouterTrafficQosMarkingPolicyFromAttachment | 要执行的操作,取值为DissociateTransitRouterTrafficQosMarkingPolicyFromAttachment。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
TransitRouterAttachmentId | String | 是 | tr-attach-7qthudw0ll6jmc**** | TR连接的ID。 |
TransitRouterTrafficQosMarkingPolicyId | String | 是 | tr-tmp-227ppm7ncp4ao7e54mkf7**** | 流标记策略的ID。您可以调用DescribeTransitRouterTrafficQosMarkingPolicies接口获取流标记策略的ID。 |
本接口无特有的返回参数。更多信息请见返回结构。
GET /?Action=DissociateTransitRouterTrafficQosMarkingPolicyFromAttachment&TransitRouterAttachmentId=tr-attach-7qthudw0ll6jmc****&TransitRouterTrafficQosMarkingPolicyId=tr-tmp-227ppm7ncp4ao7e54mkf7**** HTTP/1.1 Host: open.volcengineapi.com Service: transitrouter Region: cn-guangzhou
{ "ResponseMetadata": { "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****", "Action": "DissociateTransitRouterTrafficQosMarkingPolicyFromAttachment", "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 | InvalidTransitRouterAttachment.InvalidStatus | The specified Transit Router Attachment is not in the correct status for the request. | 指定的网络实例连接所处状态无法响应该请求。 |
403 | Forbidden.NoPermissionToOperate | You are not authorized to operate the specified resource. | 无权限操作指定的资源。 |
404 | InvalidTransitRouterAttachment.NotFound | The specified Transit Router attachment does not exist. | 指定的网络实例连接不存在。 |
404 | InvalidTransitRouterAttachment.TrafficQosMarkingPolicyNotAssociated | The specified Transit Router attachment has not been associated with the traffic qos marking policy, and the dissociate operation is invalid. | 指定的网络实例连接未配置该流标记策略,解除关联操作无效。 |
404 | InvalidTransitRouterTrafficQosMarkingPolicy.NotFound | The specified Transit Router traffic qos marking policy does not exist. | 指定的流标记策略不存在。 |