Resource Center/Network Resource/VPC Operations
POSTVPC OperationsSince 3.5.1SynchronousAuth Required
CreateVpcHaGroup
CreateVpcHaGroup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe resource name.
descriptionStringOptional. The detailed description of the resource.
monitorIpsListOptional.
resourceUuidStringOptional. The resource UUID.
tagUuidsListOptional. The tag UUID list.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/vpc/hagroups
/zstack/v1/vpc/hagroups
Request Example
curl -X POST 'http://{host}/zstack/v1/vpc/hagroups' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","monitorIps":["<monitorIps>"],"resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "d32cd856d4603754aa30d8fe60ea07a4", "name": "test-vpcha", "monitors": [ { "id": 0.0, "vpcHaRouterUuid": "d32cd856d4603754aa30d8fe60ea07a4", "monitorIp": "1.1.1.1" } ], "vrRefs": [ { "uuid": "a26bee5e86153d2aa579c01756ca0944", "vpcHaRouterUuid": "d32cd856d4603754aa30d8fe60ea07a4" } ] } }Change History
This API has no change history records yet.
