调用DeleteDBProxyEndpointAddress接口删除RDS实例数据库代理的连接地址。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteDBProxyEndpointAddress |
系统规定参数。取值:DeleteDBProxyEndpointAddress。 |
RegionId | String | 是 | cn-hangzhou |
地域ID,可以通过接口DescribeRegions查看地域ID。 |
DBInstanceId | String | 是 | rm-t4n3a**** |
RDS实例ID。可调用DescribeDBInstances接口查询。 |
DBProxyEndpointId | String | 是 | ta9um4**** |
独享代理连接地址ID。可以通过接口DescribeDBProxyEndpoint查询。 |
DBProxyConnectStringNetType | String | 是 | Public |
需要删除的独享代理连接地址的网络类型,取值:
默认值:Classic。 说明
|
DBProxyEngineType | String | 否 | normal |
内部参数,无需传入值。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 343356C6-64B2-4245-ADEB-C9BD165EDD11 |
请求ID。 |
示例
请求示例
http(s)://rds.aliyuncs.com/?Action=DeleteDBProxyEndpointAddress
&RegionId=cn-hangzhou
&DBInstanceId=m-t4n3axxxxx
&DBProxyEndpointId=ta9um4xxxxx
&DBProxyConnectStringNetType=Public
&<公共请求参数>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteDBProxyEndpointAddressResponse>
<RequestId>343356C6-64B2-4245-ADEB-C9BD165EDD11</RequestId>
</DeleteDBProxyEndpointAddressResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "343356C6-64B2-4245-ADEB-C9BD165EDD11"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidVpcInstanceId | Specified vpc instance id is not valid. | 操作失败,当前VPC实例ID无效。 |
400 | IncorrectDBInstanceNetType | Current DB instance net type does not support this operation. | 操作失败,实例网络类型不支持。 |
400 | AtLeastOneNetTypeExists | The current database instance network type does not support the operation | 操作失败,当前数据库实例网络类型不支持此操作。 |
400 | InvalidEndPoint.Format | The specified EndPoint is not valid. | 独享代理连接地址ID(DBProxyEndpointId)未传,查询不存在, 请检查Endpoint参数。 |
400 | InvalidDBInstanceName | Specified parameter DBInstanceName is not valid. | 指定的实例名称(DBInstanceName)无效,请检查参数值是否为null或空字符串。 |
403 | IncorrectDBInstanceType | Current DB instance type does not support this operation. | 操作失败,该实例状态下不支持此操作。 |
403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | 操作失败,该实例状态下不支持此操作。 |
403 | IncorrectKindCode | The current KindCode of the custins does not support the operation. | 操作失败,当前实例所属环境类型不支持,请检查接口支持的实例类型。 |
404 | Endpoint.NotFound | Specified endpoint is not found. | 未找到指定独享代理连接地址的端口。 |
访问错误中心查看更多错误码。