调用UpdateVpcEndpointAttribute接口,修改终端节点的属性
接口说明
UpdateVpcEndpointAttribute 接口不支持在同一个阿里云账号(主账号)下并发修改终端节点的属性。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
privatelink:UpdateVpcEndpointAttribute |
update |
*VpcEndpoint
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
RegionId |
string |
是 |
要修改的终端节点的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
eu-west-1 |
ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
true |
EndpointId |
string |
是 |
要修改的终端节点 ID。 |
ep-hp33b2e43fays7s8**** |
EndpointName |
string |
否 |
终端节点的名称。 名称长度在 2~128 个字符之间,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。 |
test |
EndpointDescription |
string |
否 |
终端节点的描述。 描述长度为 2~256 个字符,不能以 |
This is my Endpoint. |
RegionId |
string |
是 |
要修改的终端节点的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
eu-west-1 |
PolicyDocument |
string |
否 |
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:*" ] } } ] } |
AddressIpVersion |
string |
否 |
协议版本。取值:
说明
终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的 VPC 均支持双栈。 枚举值:
|
IPv4 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
RequestId |
string |
请求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
示例
正常返回示例
JSON
格式
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
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. | 资源%s依赖于%s,导致操作无法完成 |
400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | 由于%s,操作不支持 |
400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | 由于%s,操作不支持 |
400 | OperationDenied.NotSupportDualStackSwitchToIpv4 | AddressIpVersion does not support switching from DualStack to IPv4. | 终端节点AddressIpVersion不支持双栈切单栈 |
400 | OperationDenied.EndpointServiceNotSupportDualstack | The specified endpoint service does not support dualstack. | 终端节点服务不支持双栈。 |
400 | OperationDenied.VSwitchNotSupportDualstack | The specified VSwitch does not support dualstack. | VSwitch不支持双栈。 |
400 | IllegalParam.AddressIpVersion | The specified parameter AddressIpVersion is invalid. | 指定的参数AddressIpVersion 不符合要求。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。