调用UpdateVpcEndpointServiceAttribute接口,修改终端节点服务的属性。
接口说明
修改终端节点服务的属性之前,请确保终端节点服务处于 Active 状态,您可以通过调用 GetVpcEndpointServiceAttribute 接口,查询终端节点服务状态。
UpdateVpcEndpointServiceAttribute 接口不支持在同一个阿里云账号(主账号)下并发修改终端节点服务的属性。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
privatelink:UpdateVpcEndpointServiceAttribute |
update |
*VpcEndpointService
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
终端节点服务所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
否 |
是否只预检此次请求,取值:
|
false |
| ServiceId |
string |
是 |
终端节点服务的 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceDescription |
string |
否 |
终端节点服务的描述信息。 |
This is my EndpointService. |
| AutoAcceptEnabled |
boolean |
否 |
是否自动接受终端节点连接,取值:
|
false |
| ConnectBandwidth |
integer |
否 |
默认连接带宽峰值。默认值:3072。单位:Mbps。 取值范围:100~10240。 说明
当服务资源为传统型负载均衡 CLB 或应用型负载均衡 ALB 时,支持设置默认连接带宽峰值;当服务资源为网络型负载均衡 NLB 时,不支持设置连接带宽。 |
3072 |
| ZoneAffinityEnabled |
boolean |
否 |
是否支持连接服务的终端节点域名就近解析。取值:
|
true |
| RegionId |
string |
是 |
终端节点服务所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
ServiceSupportIPv6
deprecated
|
boolean |
否 |
终端节点服务是否支持 IPv6 功能。取值:
|
false |
| AddressIpVersion |
string |
否 |
协议版本。取值:
说明
目前仅后端资源类型为 nlb、gwlb 的终端节点服务支持指定 IP 地址协议为 DualStack。 枚举值:
|
IPv4 |
| AddSupportedRegionSet |
array |
否 |
||
|
string |
否 |
|||
| DeleteSupportedRegionSet |
array |
否 |
||
|
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
请求 ID。 |
||
| RequestId |
string |
请求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
示例
正常返回示例
JSON格式
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | 当前终端节点服务不存在 |
| 400 | EndpointServiceLocked | The specified Service is locked. | 当前终端节点服务已经被锁定。 |
| 400 | EndpointServiceOperationDenied | The specified operation of endpoint service is not allowed. | 终端节点服务处理中,不允许操作。 |
| 400 | IllegalParamFormat.%s | The param format of %s is illegal. | 指定的%s格式无效。请检查参数约束,并在修改后重试。 |
| 400 | OperationDenied.PrivateServiceDomainBusinessStatus | The operation is not allowed because of PrivateServiceDomainBusinessStatus. | |
| 400 | MissingParam.%s | The param of %s is missing. | 参数%s缺失。 |
| 400 | ServiceResourceNotSupportIpv6 | The resource is not support ipv6. | 终端节点服务不支持IPv6 |
| 400 | EndpointServiceDowngradeNotAllowed | The EndpointService is not allowed for downgrade. | 终端节点服务不允许降级 |
| 400 | DependencyViolation.PrivateDnsName | The specified resource of %s depends on %s, so the operation cannot be completed. | 资源%s依赖于%s,导致操作无法完成 |
| 400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | 由于%s,操作不支持 |
| 400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | 由于%s,操作不支持 |
| 400 | Conflict.ServiceName | The ServiceName %s is conflict. | 服务名称%s冲突 |
| 400 | InvalidParam.PrivateDnsName | The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com. | |
| 400 | OperationDenied.ResourceTypeNotSupportDualStack | The specified resource type does not support dualstack. | 服务后端资源类型不支持双栈。 |
| 400 | OperationDenied.ServiceResourceIpVersionMismatch | The endpoint service and service resource AddressIpVersion do not match. | 终端节点服务与后端资源AddressIpVersion不匹配 |
| 400 | EndpointServiceConnectionDependence | There are connections between the endpoint service and the dualstack endpoint, the endpoint service address ip version not support switching from dualstack to ipv4. | 终端节点服务与双栈终端节点之间存在连接,不支持双栈切到单栈。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。