You need to enable JavaScript to run this app.
导航

DeleteCloudConnector

最近更新时间2024.01.09 07:43:30

首次发布时间2024.01.09 07:43:30

调用DeleteCloudConnector删除指定的云连接器。

请求参数

名称类型是否必选示例值描述
ActionStringDeleteCloudConnector要执行的操作,取值:DeleteCloudConnector。
VersionString2020-04-01API版本信息。
CloudConnectorIdStringcc-1sdsf334j51288****云连接器实例ID。您可调用DescribeCloudConnectors查询云连接器实例ID。

ClientToken

String

1456qwe-xsjs-123s-oies-1239sk****

客户端Token,用于保证请求的幂等性。

  • 由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。

  • 仅支持ASCII字符,且不能超过64个字符。

  • 若不传入ClientToken,则此次API调用不进行幂等校验。

返回数据

名称类型示例值描述

RequestId

String

0ED8D006-F706-4D23-88ED-E11ED2****

请求ID。

OrderIdStringOrder2423525252345****订单ID。

请求示例

GET /?Action=DeleteCloudConnector&Version=2020-04-01&CloudConnectorId=cc-12bjay8vxvl6o17q7y2h***** HTTP/1.1
Host: open.volcengineapi.com
ServiceName: directconnect
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202401031420253E5A140AC4F5DB******",
        "Action": "DeleteCloudConnector",
        "Version": "2020-04-01",
        "Service": "directconnect",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "202401031420253E5A140AC4F5DB******",
        "OrderId": "Order73197528885668*****"
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode错误码错误信息描述
400DependencyViolation.RuleThe authorization rules associated with the cloud connector are not deleted.云连接器存在关联的授权规则未删除。
400DependencyViolation.VPCThe specified cloud connector has an associated VPC. Please disassociate the VPC first.指定的云连接器有关联的VPC,请先解绑VPC。
400DryRunOperationException raised to indicate a successfully authorized action when the DryRun flag is set to true.该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。
400IdempotentParameterMismatchArguments on this idempotent request are inconsistent with arguments used in previous request(s).此幂等请求的参数与前一个请求中使用的参数不一致。
400InvalidCloudConnector.InvalidStatusThe specified cloud connector is not in the correct status for the request.指定的云连接器所处的状态无法响应该请求。
400InvalidParameterA parameter specified in the request is not valid, is unsupported or cannot be used.该请求传入了非法或不支持的参数。
400InvalidParameter.ClientTokenMalformedThe specified parameter ClientToken is malformed.指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。
400OrderErrorFailed to create an order in one step.创建订单并支付失败。
404InvalidCloudConnector.NotFoundThe specified cloud connector does not exist.指定的云连接器不存在。
412IdempotentProcessingThe request uses the same client token as a previous one that is still in process.幂等请求处理中。