UpdateVpcEndpointAttribute_私网连接_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.

接口说明

UpdateVpcEndpointAttribute 接口不支持在同一个阿里云账号(主账号)下并发修改终端节点的属性。

流控信息

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

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
privatelink:UpdateVpcEndpointAttribute
Update
VpcEndpoint
acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}

请求参数

字段名称字段详情
RegionIdstring

要修改的终端节点的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。

示例值:eu-west-1参考取值来源:
    DescribeRegions
ClientTokenstring

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

示例值:0ED8D006-F706-4D23-88ED-E11ED28DCAC0
DryRunboolean

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

示例值:true
EndpointIdstring

要修改的终端节点 ID。

示例值:ep-hp33b2e43fays7s8****参考取值来源:
    ListVpcEndpoints
    AddZoneToVpcEndpoint
    CreateVpcEndpoint
EndpointNamestring

终端节点的名称。展开详情

示例值:test参考取值来源:
    CreateVpcEndpoint
    ListVpcEndpoints
    GetVpcEndpointAttribute
EndpointDescriptionstring

终端节点的描述。展开详情

示例值:This is my Endpoint.
PolicyDocumentstring

RAM 权限策略。关于策略定义的更多信息,请参见权限策略基本元素

示例值:{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "oss:List*", "oss:PutObject", "oss:GetObject" ], "Resource": [ "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt" ], "Principal": { "RAM": [ "acs:ram::14199xxxxxx:*" ] } } ] }
AddressIpVersionstring

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

示例值:IPv4枚举值:IPv4DualStack

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:0ED8D006-F706-4D23-88ED-E11ED28DCAC0

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
OperationDenied.EndpointProtected
The operation is not allowed because of EndpointProtected.诊断
400
EndpointNotFound
The specified Endpoint does not exist.诊断
400
EndpointOperationDenied
The specified operation of endpoint is not allowed.诊断
400
EndpointLocked
The specified Endpoint is locked.诊断
400
EndpointConnectionOperationDenied
The endpoint is being connected.诊断
400
EndpointServiceDeleted
The specified Service is already deleted.诊断
400
EndpointProtected
The specified Endpoint is protected.诊断
400
OperationDenied.EndpointPolicyNotSupport
The operation is not allowed because of EndpointPolicyNotSupport.诊断
400
DependencyViolation.PrivateDnsName
The specified resource of %s depends on %s, so the operation cannot be completed.诊断
400
OperationDenied.PrivateDomainStatusNotSupport
The operation is not allowed because of %s.诊断
400
OperationDenied.PrivateDomainNotSupport
The operation is not allowed because of PrivateDomainNotSupport.诊断
400
OperationDenied.NotSupportDualStackSwitchToIpv4
AddressIpVersion does not support switching from DualStack to IPv4.诊断
400
OperationDenied.EndpointServiceNotSupportDualstack
The specified endpoint service does not support dualstack.诊断
400
OperationDenied.VSwitchNotSupportDualstack
The specified VSwitch does not support dualstack.诊断
400
IllegalParam.AddressIpVersion
The specified parameter AddressIpVersion is invalid.诊断

变更历史

变更时间变更内容概要操作
2024-09-18
变更错误码400
2024-09-12
新增请求参数AddressIpVersion
2024-05-10
新增请求参数PolicyDocument
2023-09-26
删除请求参数PolicyDocument
2023-09-19
变更错误码400
2023-09-05
变更错误码400
新增请求参数PolicyDocument

相关示例

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