CreateVpcVRouter
Creates a VPC vRouter. For
example,
CreateVpcVRouter name=TestVPC virtualRouterOfferingUuid=bea67a0669434d23ba4da7bf73f07255
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
name | The VPC vRouter name. | 2.3 | ||
virtualRouterOfferingUuid | The vRouter offering. | 2.3 | ||
description | The detailed description of the VPC vRouter. | Yes | 2.3 | |
resourceUuid | The resource UUID. If specified, the VPC will use the specified value as UUID. | Yes | 2.3 | |
zoneUuid | The zone UUID. | Yes | 3.10.0 | |
clusterUuid | The cluster UUID. | Yes | 3.10.0 | |
hostUuid | The host UUID. If specified, the VM instance will be created on the specified host. | Yes | 3.10.0 | |
primaryStorageUuidForRootVolume | The primary storage UUID. | Yes | 4.4.24 | |
rootVolumeSystemTags | The system tags required by the VPC vRouter root volume. | Yes | 4.4.24 | |
tagUuids | The tag UUIDs. | Yes | 3.10.0 | |
userTags | The user tag. For more information, see CreateUserTag. The resource type is VirtualRouterVmVO. | Yes | 2.3 | |
systemTags | The system tag. For more information, see CreateSystemTag. The resource type is VirtualRouterVmVO. | Yes | 2.3 | |
timeout | Yes |

- When you create a VPC vRouter in ZStack Cloud, the
cloud records whether the VPC vRouter is added to an HA group. Note that you
can add the haUuid option to SystemTags.
- Format of the haUuid option:
haUuid::HA_GROUP_UUID
- Example:
haUuid::e2af8f869eff49d2a3d6f86cadc27090
- Format of the haUuid option:
- When you create a VPC vRouter in ZStack Cloud, you
can specify a public IP by adding the staticVip option to
SystemTags.
- Format of the staticVip option:
staticVip::L3UUID::IP
. Here,L3UUID
is the L3 public network UUID in the vRouter offering, andIP
is the public IP address that you specified. - Example:
staticVip::4ed5cce4f55a43aca8e61ebbc0c3985d::172.20.1.1
- Format of the staticVip option: