You need to enable JavaScript to run this app.
文档中心
私网连接

私网连接

复制全文
下载 pdf
终端节点服务
ModifyUniqueResourceTypeVpcEndpointServiceAttributes-更新RDS类型终端节点服务属性
复制全文
下载 pdf
ModifyUniqueResourceTypeVpcEndpointServiceAttributes-更新RDS类型终端节点服务属性
调用ModifyUniqueResourceTypeVpcEndpointServiceAttributes接口,修改指定终端节点服务的信息。​
使用说明​
  • 私网连接支持RDS类型服务资源的功能正在邀测中,如需调用该接口,请联系客户经理。​
  • 该接口仅支持修改关联了RDS类型服务资源的终端节点服务,如需修改其他类型服务资源的终端节点服务,请调用ModifyVpcEndpointServiceAttributes接口。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:ModifyUniqueResourceTypeVpcEndpointServiceAttributes​
要执行的操作,取值:ModifyUniqueResourceTypeVpcEndpointServiceAttributes。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
ServiceId String 必选 示例值:epsvc-2fe630gurkl37k5gfuy33****​
终端节点服务的ID。​
您可以调用DescribeVpcEndpointServices接口,获取终端节点服务的ID。​
​
IpAddressVersions.N String 可选 示例值:ipv4​
终端节点服务的IP协议类型。​
  • ipv4​
  • ipv6:该取值正在邀测中,如需使用,请联系客户经理。​
说明​
  • 仅传入ipv4时,表示该终端节点服务转换为IPv4类型,仅支持提供IPv4服务。​
  • 同时传入ipv4和ipv6时,表示该终端节点服务转换为双栈类型,支持提供IPv4和IPv6服务,系统自动为其分配IPv6地址。​
  • 如需传入ipv6,请确保满足以下条件:​
  • 已开通私网连接服务的IPv6功能。​
  • 指定的服务资源支持双栈。​
  • 目前不支持仅传入ipv6。​
  • 不更改该参数取值时,保持原有配置不变。​
​
Resource.InstanceId String 可选 示例值:mysql-bp1o94dp5i6ea****​
待添加到终端节点服务中的RDS类型服务资源所属RDS实例的ID。​
您可以调用DescribeDBInstances接口,查看RDS实例的ID。​
​
Resource.ResourceId String 必选 示例值:mysql-bp1o94dp5i6ea****-cluster-qhwjs67hbmsj****​
待添加到终端节点服务中的RDS类型服务资源的ID。​
您可以调用DescribeDBInstanceDetail接口,获取RDS实例连接终端的ID。​
​
AutoAcceptEnabled Boolean 可选 示例值:false​
是否自动接受终端节点连接。取值如下:​
  • true:终端节点服务自动接受终端节点连接。​
​
ZoneIds.N String 可选 示例值:cn-guangzhou-a​
终端节点服务支持的可用区ID。​
您可以调用DescribePrivateLinkAvailableZones接口,获取可用区ID。​
  • 参数-N:表示可用区的序号,取值范围为1~20。​
  • 多个可用区之间使用&分隔。​
​
Description String 可选 示例值:endpoint service​
终端节点服务的描述信息。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。​
  • 长度限制为0 ~ 255个字符。​
  • 不更改该参数取值时,保持原有配置不变。​
​
​
返回参数​
RequestId String 示例值:0ED8D006-F706-4D23-88ED-E11ED28D****​
请求ID。​
​
​
请求示例​
​
GET /?Action=ModifyUniqueResourceTypeVpcEndpointServiceAttributes&Version=2020-04-01&ServiceId=epsvc-2fe630gurkl37k5gfuy33****&Resource.ResourceId=mysql-bp1o94dp5i6ea****-cluster-qhwjs67hbmsj**** HTTP/1.1​
Host: privatelink.cn-guangzhou.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-guangzhou/privatelink/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "ModifyUniqueResourceTypeVpcEndpointServiceAttributes",​
"Version": "2020-04-01",​
"Service": "privatelink",​
"Region": "cn-guangzhou"​
},​
"Result": {​
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the 'XXX'.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如XXX。​
说明​
其中,XXX表示缺少的参数名称。​
400​
InvalidDescription.Malformed​
The specified Description is malformed.​
指定的Description参数格式不合法。​
400​
InvalidEndpointService.InvalidStatus​
The specified EndpointService is not in the correct status for the request.​
指定的终端节点服务所处的状态无法响应该请求。​
400​
ErrInterfaceNotSupportedResourceType​
The Interface does not support the resource type.​
终端节点服务接口不支持操作该服务资源类型。​
400​
ErrPrivateLinkServiceNotSupportedZone​
The PrivateLink service does not support the zone.​
终端节点服务不支持添加该可用区的服务资源。​
400​
InvalidServiceResource.InUse​
The specified service resource is in use.​
服务资源正在占用中。​
400​
InvalidEndpointService.InvalidLock​
The operation is refused by the endpoint service.​
终端节点服务无法支持该操作。​
400​
InvalidServiceResource.Malformed​
The specified ServiceResource is malformed.​
指定的 ServiceResource 参数格式不合法。​
400​
InvalidServiceZone.InUse​
The specified ServiceZone is in use.​
终端节点服务可用区正在占用中。​
400​
InvalidZone.Conflict​
The specified zone is duplicated.​
指定的可用区重复。​
400​
InvalidZone.Malformed​
The specified Zone is malformed.​
指定的 Zone 参数格式不合法。​
400​
InvalidIpAddressVersions.Conflict​
The specified IpAddressVersions parameter is duplicated.​
指定的IpAddressVersions重复。​
400​
InvalidIpAddressVersions.Malformed​
The specified IpAddressVersions is malformed.​
指定的 IpAddressVersions 参数格式不合法。​
400​
InvalidModifyConnectedDualStackEpsvcIPVersion.Conflict​
There are still existing dualstack endpoints on the specified EndpointService instance.​
当前终端节点服务上仍有存量连接,暂不支持更改。​
400​
InvalidServiceResourceStatus.IPVersionMismatch​
The specified service resource can not support the EndpointService ipAddressVersion that you want.​
当前服务资源不支持所指定的终端节点服务IP地址类型。​
400​
InvalidLocation.Intercepted​
The specified action has been intercepted by location.​
当前账号无指定地域的操作权限,请开通白名单。​
400​
InvalidModifyConnectedEpsvcIPVersion.Conflict​
There are still existing connected endpoints on the specified EndpointService instance.​
当前终端节点服务上仍有存量连接,暂不支持更改。​
403​
Forbidden​
You are not authorized to perform operations on the specified service.​
无权限对指定服务进行操作。​
404​
InvalidEndpointService.NotFound​
The specified EndpointService does not exist.​
指定的终端节点服务不存在。​
404​
InvalidServiceResource.NotFound​
The specified ServiceResource does not exist.​
指定的服务资源不存在。​
​
最近更新时间:2026.01.05 11:33:56
这个页面对您有帮助吗?
有用
有用
无用
无用