1. Types
2. vcenter
3. datacenter

## vcenter datacenter: create spec

The `create_spec` structure defines the information used to create a datacenter.

### Representations:

- JSON
- XML

{
"folder": "obj-103",
"name": "string"
}
<?xml version="1.0" ?>
<ns0:CreateSpec xmlns:ns0="http://vmware.com/vcenter/datacenter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<folder>obj-103</folder>
<name>string</name>
</ns0:CreateSpec>

#### Attributes:

Name | Type | Description
--- | --- | ---
Required
name | string | The name of the datacenter to be created.
Optional
folder | string | Datacenter folder in which the new datacenter should be created. Optional. This field is currently required. In the future, if this field is unset, the system will attempt to choose a suitable folder for the datacenter; if a folder cannot be chosen, the datacenter creation operation will fail.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: `Folder`. When operations return a value of this structure as a result, the field will be an identifier for the resource type: `Folder`.