Create Network Profile

Create Network Profile

Create network profile

Request
URI
POST
https://api.mgmt.cloud.vmware.com//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
{
    "description": "string",
    "isolationNetworkDomainCIDR": "10.10.10.0/24",
    "isolationNetworkDomainId": "1234",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "fabricNetworkIds": [
        "string"
    ],
    "regionId": "9e49",
    "securityGroupIds": [
        "string"
    ],
    "name": "string",
    "isolationExternalFabricNetworkId": "1234",
    "isolationType": "SUBNET",
    "isolatedNetworkCIDRPrefix": 24,
    "loadBalancerIds": [
        "string"
    ]
}
string
description
Optional

A human-friendly description.

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.

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. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.

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
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.

array of string
loadBalancerIds
Optional

A list of load balancers which are assigned to the network profile.

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 8601 and UTC.

object
customProperties
Optional

Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.

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