MakeDirectoryRequestType

MakeDirectoryRequestType
MakeDirectoryRequestType

The parameters of MakeDirectory.

JSON Example
{
    "name": "string",
    "datacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "createParentDirectories": false
}
string
name
Required

The name of the folder, either a URL or a datastore path referring to the folder to be created.

datacenter
Optional

If name is a datastore path, the datacenter for that datastore path. Not needed when invoked directly on ESX. If not specified on a call to VirtualCenter, name must be a URL.

Required privileges: System.View

boolean
createParentDirectories
Optional

If true, any non-existent intermediate level folders will be created. If not specified, it is assumed to be false.