Create Network Profile

Create Network Profile

Create network profile

Request
URI
POST
https://{api_host}/iaas/api/network-profiles
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body

NetworkProfile instance

NetworkProfileSpecification of type(s) application/json
Required
{
    "fabricNetworkIds": [
        "string"
    ],
    "regionId": "9e49",
    "securityGroupIds": [
        "string"
    ],
    "name": "string",
    "description": "string",
    "isolationExternalFabricNetworkId": "1234",
    "isolationType": "SUBNET",
    "isolatedNetworkCIDRPrefix": 24,
    "isolationNetworkDomainCIDR": "10.10.10.0/24",
    "isolationNetworkDomainId": "1234",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ]
}
array of string
fabricNetworkIds
Optional

A list of fabric network Ids which are assigned to the network profile.

object
customProperties
Optional

Additional properties that may be used to extend the Network Profile object that is produced from this specification.

string
regionId
Required

The Id of the region for which this profile is created

array of string
securityGroupIds
Optional

A list of security group Ids which are assigned to the network profile.

string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
description
Optional

A human-friendly description.

string
isolationExternalFabricNetworkId
Optional

The Id of the fabric network used for outbound access.

string
isolationType
Optional

Specifies the isolation type e.g. none, subnet or security group

Possible values are : NONE, SUBNET, SECURITY_GROUP,
integer As int32 As int32
isolatedNetworkCIDRPrefix
Optional

The CIDR prefix length to be used for the isolated networks that are created with the network profile.

string
isolationNetworkDomainCIDR
Optional

CIDR of the isolation network domain.

string
isolationNetworkDomainId
Optional

The Id of the network domain used for creating isolated networks.

array of Tag
tags
Optional

A set of tag keys and optional values that should be set on any resource that is produced from this specification.

Responses
201

successful operation

Returns NetworkProfile of type(s) application/json
{
    "owner": "csp@vmware.com",
    "externalRegionId": "us-east-1",
    "description": "my-description",
    "isolationNetworkDomainCIDR": "string",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "name": "my-name",
    "id": "9e49",
    "isolationType": "string",
    "isolatedNetworkCIDRPrefix": 0,
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

object
_links
Required

HATEOAS of the entity

string
externalRegionId
Optional

The id of the region for which this profile is defined

string
description
Optional

A human-friendly description.

string
isolationNetworkDomainCIDR
Optional

CIDR of the isolation network domain.

string
orgId
Optional

The id of the organization this entity belongs to.

array of Tag
tags
Optional

A set of tag keys and optional values that were set on this Network Profile.

string
organizationId
Optional

This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.

string
createdAt
Optional

Date when the entity was created. The date is in ISO 6801 and UTC.

object
customProperties
Optional

Additional properties that may be used to extend the Network Profile object.

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
id
Required

The id of this resource instance

string
isolationType
Optional

Specifies the isolation type e.g. none, subnet or security group

Possible values are : NONE, SUBNET, SECURITY_GROUP,
integer As int32 As int32
isolatedNetworkCIDRPrefix
Optional

The CIDR prefix length to be used for the isolated networks that are created with the network profile.

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.


400

Invalid Request - bad data

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure