Create VPC
Create a VPC for the org.
Org must have a Tenant entity. User must have FORGE_TENANT_ADMIN authorization role
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current
```
Path parameters
org
Request
name
Name of the VPC
siteId
ID of the Site where the VPC should be created
id
Optional user-specified UUID for the VPC
description
Optional description for the VPC
networkVirtualizationType
Network virtualization type of the VPC. If no value is specified, then defaults to FNN if Site has native networking enabled, or ETHERNET_VIRTUALIZER if native networking is disabled
Allowed values:
networkSecurityGroupId
ID of the Network Security Group to attach to the VPC
vni
Explicitly requested VNI for the VPC
nvLinkLogicalPartitionId
ID of the default NVLink Logical Partition that GPUs for all Instances in the VPC will attach to
labels
String key value pairs describing VPC labels. Up to 10 key value pairs can be specified
Response
Created
id
ID of the VPC
name
Name of the VPC
description
Description of the VPC, can be empty
org
Organization the VPC belongs to
tenantId
ID of the Tenant the VPC belongs to
siteId
ID of the Site the VPC belongs to
controllerVpcId
Legacy attribute, contains the same value as ID
networkVirtualizationType
Network virtualization type of the VPC
Allowed values:
requestedVni
Explicitly requested VNI for the VPC if one was requested at creation time
vni
Active VNI assigned to the VPC
networkSecurityGroupId
ID of the Network Security Group attached to the VPC
networkSecurityGroupPropagationDetails
Propagation details for the attached Network Security Group
nvLinkLogicalPartitionId
ID of the default NVLink Logical Partition that GPUs for all Instances in the VPC will attach to
labels
String key value pairs describing VPC labels
status
Status of the VPC
statusHistory
History of status changes for the VPC
created
Date/time when VPC was created
updated
Date/time when VPC was last updated
Errors
400
Bad Request Error
403
Forbidden Error