VmTemplate_LibraryItems_CreateSpecDiskStorage
The LibraryItems.CreateSpecDiskStorage structure defines the storage specification for a virtual machine template's disks.
{
"datastore": "string",
"storage_policy": {
"type": "string",
"policy": "string"
}
}
Identifier for the datastore associated with a virtual machine template's disk. This field is currently required. If LibraryItems.CreateSpecDiskStorage.storage-policy is also specified and is incompatible with the LibraryItems.CreateSpecDiskStorage.datastore, then the disk will be flagged as being out of compliance with the specified storage policy.
When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Datastore. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Datastore.
The LibraryItems.CreateSpecDiskStoragePolicy structure defines the storage policy specification for a virtual machine template's disks.