Storage Pod Create Datacenter
Creates a new datacenter with the given name.
Any % (percent) character used in this name parameter must be escaped, unless it is used to start an escape sequence. Clients may also escape any other characters in this name parameter.
Required privileges: Datacenter.Create
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case StoragePod/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
{
"name": "string"
}
Name for the new datacenter. An entity name must be a non-empty string of less than 80 characters. The slash (/), backslash (\) and percent (%) will be escaped using the URL syntax. For example, %2F.
A new Datacenter instance.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
DuplicateName: if an entity with that name already exists.
InvalidName: if the new name is not a valid entity name.
NotSupported: if the datacenter is being created within a folder whose childType property value does not contain "Datacenter".
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}