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

私网连接

复制全文
下载 pdf
服务资源
ModifyVpcEndpointServiceResourceAttributes-更新终端节点服务资源属性
复制全文
下载 pdf
ModifyVpcEndpointServiceResourceAttributes-更新终端节点服务资源属性
调用ModifyVpcEndpointServiceResourceAttributes接口,修改终端节点服务绑定的ALB类型服务资源的可用区。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:ModifyVpcEndpointServiceResourceAttributes​
要执行的操作,取值:ModifyVpcEndpointServiceResourceAttributes。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
ServiceId String 必选 示例值:epsvc-2fe630gurkl37k5gfuy33****​
终端节点服务的ID。​
您可以调用DescribeVpcEndpointServices接口,获取终端节点服务的ID。​
​
ResourceId String 必选 示例值:alb-bp1o94dp5i6ea****​
待修改的服务资源的ID。​
您可以调用DescribeLoadBalancers接口,获取ALB实例的ID。​
​
ZoneIds.N String 可选 示例值:cn-guangzhou-a​
服务资源提供服务的可用区ID。​
  • 参数-N:表示可用区的序号,取值范围为1~10。​
  • 多个可用区ID之间使用&分隔。​
说明​
如果当前服务资源上已存在连接,则不允许删除对应的可用区。​
​
ResourceAutoAllocated.N.AutoAllocatedEnabled Boolean 可选 示例值:false​
是否开启自动分配。​
  • 取值如下:​
  • true​
  • false​
  • 参数-N:表示服务资源的序号,取值范围为1~10。​
  • 多个服务资源之间使用&分隔。​
​
​
返回参数​
RequestId String 可选 示例值:0ED8D006-F706-4D23-88ED-E11ED28D****​
请求ID。​
​
​
请求示例​
​
GET /?Action=ModifyVpcEndpointServiceResourceAttributes&Version=2020-04-01&ServiceId=epsvc-2fe630gurkl37k5gfuy33****&ResourceId=alb-bp1o94dp5i6ea****&ZoneIds.1=cn-guangzhou-a&ZoneIds.2=cn-guangzhou-b 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": "ModifyVpcEndpointServiceResourceAttributes",​
"Version": "2020-04-01",​
"Service": "privatelink",​
"Region": "cn-guangzhou"​
},​
"Result": {​
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
ErrInterfaceNotSupportedResourceType​
The Interface does not support the resource type.​
终端节点服务接口不支持操作该服务资源类型。​
400​
ErrPrivateLinkServiceNotSupportedZone​
The PrivateLink service does not support the zone.​
终端节点服务不支持添加该可用区的服务资源。​
400​
ErrServiceResourceNotSupportedMultipleZone​
The specified Single-AZ service resource does not support modifying multiple zone attributes​
指定的单可用区服务资源不支持修改多可用区属性。​
400​
InvalidApplicationLoadBalancer.InvalidZoneInfo​
The specified Application LoadBalancer zone attributes is invalid.​
指定的应用型负载均衡的可用区信息非法。​
400​
InvalidEndpointService.InvalidLock​
The operation is refused by the endpoint service.​
终端节点服务无法支持该操作。​
400​
InvalidEndpointService.InvalidStatus​
The specified EndpointService is not in the correct status for the request.​
指定的终端节点服务所处的状态无法响应该请求。​
400​
InvalidIncorrectOrder.Malformed​
The specified index order is malformed.​
指定的索引顺序参数格式不合法。​
400​
InvalidLocation.Intercepted​
The specified action has been intercepted by location.​
当前账号无指定地域的操作权限,请开通白名单。​
400​
InvalidZone.Conflict​
The specified zone is duplicated.​
指定的可用区重复。​
400​
InvalidZone.Malformed​
The specified Zone is malformed.​
指定的 Zone 参数格式不合法。​
400​
InvalidZoneforALB.conflict​
The application load balancer does not support the zone.​
指定的应用型负载均衡实例不支持该可用区。​
400​
QuotaExceed.ServiceResourceEachZone​
You've reached the limit on the number of service resources in the zone that you can create.​
已达到单个可用区可创建服务资源的数量的配额上限。​
400​
UnsupportedOperation.AccountArrears​
The request on the specified instance is denied due to the account in arrears status.​
因账户处于欠费状态,对于该实例的操作请求被拒绝。​
400​
UnsupportedOperation.LastAutoAllocatedResource​
The specified Endpoint Service must have at least one automatically allocated resource in one zone.​
指定终端节点服务的每个可用区中至少存在一个可自动分配的资源。​
404​
InvalidEndpointService.NotFound​
The specified EndpointService does not exist.​
指定的终端节点服务不存在。​
404​
InvalidServiceResource.NotFound​
The specified ServiceResource does not exist.​
指定的服务资源不存在。​
​
最近更新时间:2025.12.09 10:33:58
这个页面对您有帮助吗?
有用
有用
无用
无用