UpdateVpcEndpointServiceAttribute_私网连接_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

  • 修改终端节点服务的属性之前,请确保终端节点服务处于 Active 状态,您可以通过调用 GetVpcEndpointServiceAttribute 接口,查询终端节点服务状态。
  • UpdateVpcEndpointServiceAttribute 接口不支持在同一个阿里云账号(主账号)下并发修改终端节点服务的属性。

流控信息

请求速率为200/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
privatelink:UpdateVpcEndpointServiceAttribute
Update
VpcEndpointService
acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}

请求参数

字段名称字段详情
RegionIdstring

终端节点服务所在的地域 ID。展开详情

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:0c593ea1-3bea-11e9-b96b-88e9fe637760
DryRunboolean

是否只预检此次请求,取值:展开详情

示例值:false
ServiceIdstring

终端节点服务的 ID。

示例值:epsrv-hp3vpx8yqxblby3i****参考取值来源:
    ListVpcEndpointServices
    CreateVpcEndpointService
    AddUserToVpcEndpointService
ServiceDescriptionstring

终端节点服务的描述信息。

示例值:This is my EndpointService.
AutoAcceptEnabledboolean

是否自动接受终端节点连接,取值:展开详情

示例值:false
ConnectBandwidthinteger<int32>

默认连接带宽峰值。默认值:3072。单位:Mbps。展开详情

示例值:3072
ZoneAffinityEnabledboolean

是否支持连接服务的终端节点域名就近解析。取值:展开详情

示例值:true
deprecatedServiceSupportIPv6boolean

终端节点服务是否支持 IPv6 功能。取值:展开详情

示例值:false
AddressIpVersionstring

协议版本。取值:展开详情

示例值:IPv4枚举值:IPv4DualStack

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:8D8992C1-6712-423C-BAC5-E5E817484C6B

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
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.诊断
400
OperationDenied.PrivateServiceDomainBusinessStatus
The operation is not allowed because of PrivateServiceDomainBusinessStatus.诊断
400
MissingParam.%s
The param of %s is missing.诊断
400
ServiceResourceNotSupportIpv6
The resource is not support 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.诊断
400
OperationDenied.PrivateDomainNotSupport
The operation is not allowed because of PrivateDomainNotSupport.诊断
400
OperationDenied.PrivateDomainStatusNotSupport
The operation is not allowed because of %s.诊断
400
Conflict.ServiceName
The ServiceName %s is conflict.诊断
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.诊断
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.诊断

变更历史

变更时间变更内容概要操作
2024-09-18
变更错误码400
2024-09-12
新增请求参数AddressIpVersion
2024-03-11
变更错误码400
2023-09-19
变更错误码400

相关示例

创建一个终端节点服务, 查询并进行更新最后再删除它
2021-12-15
创建一个终端节点实例,并且使能连接&断开连接
2022-12-29