ModifyIpv6AddressAttribute
Modifies the name and description of an IPv6 address.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyIpv6AddressAttribute |
update |
*VPC
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the IPv6 address. You can call the DescribeRegions operation to query region IDs. |
cn-huhehaote |
| RegionId |
string |
Yes |
The instance ID of the IPv6 address. |
ipv6-hp32vv2klzw4yerdf**** |
| Ipv6AddressId |
string |
Yes |
The name of the IPv6 address. The name must be 0 to 128 characters in length and cannot start with |
test |
| Name |
string |
No |
The description of the IPv6 address. The description must be 0 to 256 characters in length and cannot start with |
test |
| Description |
string |
No |
Specifies whether to only precheck the request. Valid values:
|
false |
| DryRun |
boolean |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
d7d24a21-f4ba-4454-9173-b3828dae492b |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters. Note
If you do not specify this parameter, the system uses the RequestId of the API request as the ClientToken. The RequestId may vary for each API request. |
d7d24a21-f4ba-4454-9173-b3828dae492b |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response information. |
||
| RequestId |
string |
The ID of the request. |
D560AF68-4CE8-4A5C-B3FE-469F558094D0 |
Examples
Success response
JSON format
{
"RequestId": "D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidIpv6AddressId.NotFound | The specified resource of %s is not found. | The IPv6 address is not found. |
| 400 | IllegalParam.Name | The param of Name [%s] is illegal. | The error message returned because the Name parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | IllegalParam.Description | The param of Description [%s] is illegal. | The error message returned because the Description parameter is set to an invalid value. Specify a valid values and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.