Import Namespace
Imports an existing namespace from vCenter
Request
URI
POST
https://{api_host}/cloudapi/vcf/namespaces/import
COPY
Request Body
NamespaceImportDetails
of type(s)
application/json
Required
{
"name": "string",
"org": {
"name": "string",
"id": "string"
},
"vcenter": {
"name": "string",
"id": "string"
},
"projectAssignment": {
"name": "string",
"id": "string"
}
}
string
name
Optional
The name of the namespace in vCenter.
object
org
Optional
Entity reference used to describe VCD entities
object
vcenter
Optional
Entity reference used to describe VCD entities
object
projectAssignment
Optional
Entity reference used to describe VCD entities
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 '[{}]' https://{api_host}/cloudapi/vcf/namespaces/import
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