调用DeleteCloudConnector删除指定的云连接器。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteCloudConnector | 要执行的操作,取值:DeleteCloudConnector。 |
Version | String | 是 | 2020-04-01 | API版本信息。 |
CloudConnectorId | String | 是 | cc-1sdsf334j51288**** | 云连接器实例ID。您可调用DescribeCloudConnectors查询云连接器实例ID。 |
ClientToken | String | 否 | 1456qwe-xsjs-123s-oies-1239sk**** | 客户端Token,用于保证请求的幂等性。
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 0ED8D006-F706-4D23-88ED-E11ED2**** | 请求ID。 |
OrderId | String | Order2423525252345**** | 订单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 | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | DependencyViolation.Rule | The authorization rules associated with the cloud connector are not deleted. | 云连接器存在关联的授权规则未删除。 |
400 | DependencyViolation.VPC | The specified cloud connector has an associated VPC. Please disassociate the VPC first. | 指定的云连接器有关联的VPC,请先解绑VPC。 |
400 | DryRunOperation | Exception raised to indicate a successfully authorized action when the DryRun flag is set to true. | 该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。 |
400 | IdempotentParameterMismatch | Arguments on this idempotent request are inconsistent with arguments used in previous request(s). | 此幂等请求的参数与前一个请求中使用的参数不一致。 |
400 | InvalidCloudConnector.InvalidStatus | The specified cloud connector is not in the correct status for the request. | 指定的云连接器所处的状态无法响应该请求。 |
400 | InvalidParameter.ClientTokenMalformed | The specified parameter ClientToken is malformed. | 指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。 |
400 | OrderError | Failed to create an order in one step. | 创建订单并支付失败。 |
404 | InvalidCloudConnector.NotFound | The specified cloud connector does not exist. | 指定的云连接器不存在。 |
412 | IdempotentProcessing | The request uses the same client token as a previous one that is still in process. | 幂等请求处理中。 |