You need to enable JavaScript to run this app.
文档中心
IPv6网关

IPv6网关

复制全文
下载 pdf
仅主动出规则
ModifyIpv6EgressOnlyRuleAttribute - 修改仅主动出规则
复制全文
下载 pdf
ModifyIpv6EgressOnlyRuleAttribute - 修改仅主动出规则
调用 ModifyIpv6EgressOnlyRuleAttribute 接口,修改指定仅主动出规则的名称。​
请求参数​
Action String 必选 示例值:ModifyIpv6EgressOnlyRuleAttribute​
要执行的操作,取值:ModifyIpv6EgressOnlyRuleAttribute。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
Ipv6EgressOnlyRuleId String 必选 示例值:ipv6py-fhjshfsfweryew****​
仅主动出规则的ID。​
​
Name String 可选 示例值:rulename​
仅主动出规则的名称。​
  • 长度限制为1 ~ 128个字符。​
  • 需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短横线(-)。​
​
​
​
返回参数​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=ModifyIpv6EgressOnlyRuleAttribute&Version=2020-04-01&Ipv6EgressOnlyRuleId=ipv6py-fhjshfsfweryew****&Name=rule-1 HTTP/1.1​
Host: vpc.cn-beijing.volcengineapi.com​
Region: cn-beijing​
Service: vpc​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "ModifyIpv6EgressOnlyRuleAttribute",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
错误码​
公共错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
InvalidIpv6EgressOnlyRule.InvalidStatus​
The specified Ipv6EgressOnlyRule is not in the correct status for the request.​
指定的IPv6仅主动出规则所处状态无法响应该请求。​
400​
InvalidName.Malformed​
The specified name is malformed.​
指定的名称格式不合法。名称长度不能超过128个字符。​
400​
InvalidName.Malformed​
The specified name is malformed. Ensure the maximum length of name is 128.​
指定的名称格式不合法。请修复名称格式后重试。​
400​
MissingParameter​
The request is missing a required parameter.​
该请求缺少必要参数。​
404​
InvalidIpv6EgressOnlyRule.NotFound​
The specified Ipv6EgressOnlyRule does not exist.​
指定的IPv6仅主动出规则不存在。​
409​
InvalidOperation.Conflict​
The specified resource operation conflicts.​
指定的资源操作冲突。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。​
​
​
最近更新时间:2026.01.23 15:55:57
这个页面对您有帮助吗?
有用
有用
无用
无用