Create Vdc Group

Create Vdc Group

Creates a vDC Group. A universal router will also be created if universalNetworkingEnabled is set to true.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/vdcGroups
COPY
Request Body
VdcGroup of type(s) application/json
Optional
{
    "id": "string",
    "orgId": "string",
    "name": "string",
    "description": "string",
    "localEgress": false,
    "participatingOrgVdcs": [
        {
            "vdcRef": {
                "name": "string",
                "id": "string"
            },
            "orgRef": {
                "name": "string",
                "id": "string"
            },
            "siteRef": {
                "name": "string",
                "id": "string"
            },
            "networkProviderScope": "string",
            "faultDomainTag": "string",
            "remoteOrg": false
        }
    ],
    "universalNetworkingEnabled": false,
    "networkPoolUniversalId": "string",
    "networkPoolId": "string",
    "type": "string",
    "networkProviderType": "string",
    "dfwEnabled": false,
    "errorMessage": "string"
}
string
id
Optional

The unique ID for the vDC Group (read-only).

string
orgId
Required

The organization that this group belongs to.

string
name
Required

The name of this group. The name must be unique.

string
description
Optional

The description of this group.

boolean
localEgress
Optional

Determines whether local egress is enabled for a universal router belonging to a universal vDC group. This value is used on create if universalNetworkingEnabled is set to true. This cannot be updated. This value is always false for local vDC groups.

participatingOrgVdcs
Required

The list of organization vDCs that are participating in this group.

boolean
universalNetworkingEnabled
Optional

True means that a vDC group router has been created. If set to true for vdc group creation, a universal router will also be created.

string
networkPoolUniversalId
Optional

The network provider's universal id that is backing the universal network pool. This field is read-only and is derived from the list of participating vDCs if a universal vDC group is created. For universal vDC groups, each participating vDC should have a universal network pool that is backed by this same id.

string
networkPoolId
Optional

ID of network pool to use if creating a local vDC group router. Must be set if creating a local group. Ignored if creating a universal group.

status
Optional

status

string
type
Optional

Defines the group as LOCAL or UNIVERSAL. This cannot be changed. Local vDC Groups can have networks stretched across multiple vDCs in a single Cloud Director instance. Local vDC Groups share the same broadcast domain/transport zone and network provider scope. Universal vDC groups can have networks stretched across multiple vDCs in a single or multiple Cloud Director instance(s). Universal vDC groups are backed by a broadcast domain/transport zone that strectches across a single or multiple Cloud Director instance(s). Local vDC groups are supported for both NSX-V and NSX-T Network Provider Types. Universal vDC Groups are supported for only NSX_V Network Provider Type.

Possible values are : LOCAL, UNIVERSAL,
string
networkProviderType
Optional

The values currently supported are NSX_V and NSX_T. Defines the networking provider backing the vDC Group. This is used on create. If not specified, NSX_V value will be used. NSX_V is used for existing vDC Groups and vDC Groups where Cross-VC NSX is used for the underlying technology. NSX_T is used when the networking provider type for the Organization vDCs in the group is NSX-T. NSX_T only supports groups of type LOCAL (single site).

boolean
dfwEnabled
Optional

Whether Distributed Firewall is enabled for this vDC Group. Only applicable for NSX_T vDC Groups.

string
errorMessage
Optional

If the group has an error status, a more detailed error message is set here.

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=37.3
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace