You need to enable JavaScript to run this app.
导航

ModifyIpv6EgressOnlyRuleAttribute

最近更新时间2023.09.05 08:16:35

首次发布时间2023.01.10 10:28:03

调用 ModifyIpv6EgressOnlyRuleAttribute 接口,修改指定仅主动出规则的名称。

请求参数

参数名称
类型
是否必选
示例值
描述
ActionStringModifyIpv6EgressOnlyRuleAttribute要执行的操作,取值为ModifyIpv6EgressOnlyRuleAttribute。
VersionString2020-04-01API版本信息,当前版本为2020-04-01。
Ipv6EgressOnlyRuleIdStringipv6py-fhjshfsfweryew****仅主动出规则的ID。

Name

String

rulename

仅主动出规则的名称。

  • 长度限制为1 ~ 128个字符。
  • 需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短横线(-)。

返回数据

参数名称
类型
示例值
描述
RequestIdString2021062415303301022514515207C4****请求ID。

请求示例

GET /?Action=ModifyIpv6EgressOnlyRuleAttribute&Version=2020-04-01&Ipv6EgressOnlyRuleId=ipv6py-fhjshfsfweryew****&Name=rule-1 HTTP/1.1
Host: open.volcengineapi.com
Region: cn-guangzhou
Service: vpc

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2021062415303301022514515207C4****",
        "Action": "ModifyIpv6EgressOnlyRuleAttribute",
        "Version": "2020-04-01",
        "Service": "vpc",
        "Region": "cn-guangzhou"
    }, 
    "Result": {
        "RequestId": "2021062415303301022514515207C4****"
    }
}

错误码

公共错误码,请参见 公共错误码 。

HttpCode
错误码
错误信息
描述
400InvalidIpv6EgressOnlyRule.InvalidStatusThe specified Ipv6EgressOnlyRule is not in the correct status for the request.指定的IPv6仅主动出规则所处状态无法响应该请求。
400InvalidName.MalformedThe specified name is malformed. Ensure the maximum length of name is 128.指定的名称格式不合法。名称长度不能超过128个字符。
400InvalidName.MalformedThe specified name is malformed.指定的名称格式不合法。请修复名称格式后重试。
404InvalidIpv6EgressOnlyRule.NotFoundThe specified Ipv6EgressOnlyRule does not exist.指定的IPv6仅主动出规则不存在。