Creates a high-availability virtual IP address (HAVIP).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:CreateHaVips |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Description |
string |
No |
The description of the HAVIP. |
testDescription |
| Name |
string |
No |
The name of the HAVIP. |
yourName |
| VSwitchId |
string |
No |
The vSwitch ID of the HAVIP. |
vsw-5**** |
| IpAddress |
string |
No |
The IP address of the HAVIP. |
120.24.243.91 |
| Amount |
integer |
No |
The number of HAVIPs that you want to create. Valid values: 1 to 10. The value can be only 1 if you specify an IP address. Default value: 1. |
6 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
Request ID. |
AAE90880-4970-4D81-A534-A6C0F3631F74 |
| HaVipIds |
array |
The IDs of the HAVIPs. |
|
|
string |
The ID of the HAVIP. |
havpid-id |
Examples
Success response
JSON format
{
"RequestId": "AAE90880-4970-4D81-A534-A6C0F3631F74",
"HaVipIds": [
"havpid-id"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.