Create Namespace
Creates a new Namespace in Tenant Manager
Request
URI
POST
https://{api_host}/cloudapi/vcf/namespaces
COPY
Request Body
Namespace
of type(s)
application/json
Optional
{
"id": "string",
"name": "string",
"description": "string",
"projectAssignment": {
"name": "string",
"id": "string"
},
"organization": {
"name": "string",
"id": "string"
},
"region": {
"name": "string",
"id": "string"
},
"virtualPrivateCloudName": "string",
"workloadNetwork": {
"name": "string",
"id": "string"
},
"zonalResourceAllocation": [
{
"zone": {
"name": "string",
"id": "string"
},
"resourceAllocation": {
"memoryLimitMiB": 0,
"memoryReservationMiB": 0,
"cpuLimitMHz": 0,
"cpuReservationMHz": 0,
"vmClassReservations": [
{
"virtualMachineClassName": "string",
"count": 0
}
]
}
}
],
"proxyURL": "string",
"status": "string",
"vcReference": {
"supervisorUuid": "string",
"vcUuid": "string"
},
"storageClasses": [
{
"storageClass": {
"name": "string",
"id": "string"
},
"storageLimitMiB": 0
}
],
"virtualMachineClasses": [
{
"name": "string",
"id": "string"
}
],
"contentLibraries": [
{
"name": "string",
"id": "string"
}
]
}
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
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","projectAssignment:"object","region:"object","zonalResourceAllocation":["object"]}' https://{api_host}/cloudapi/vcf/namespaces
Availability
Added in 40.0
Namespaces Operations
GET
Get Namespaces
POST
Create Namespace
POST
Import Namespace
GET
Get Namespace
PUT
Update Namespace
DELETE
Delete Namespace