VslmCreateSpec
Specification to create a virtual storage object.
{
"_typeName": "string",
"name": "string",
"keepAfterDeleteVm": false,
"backingSpec": {
"_typeName": "string",
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"path": "string"
},
"capacityInMB": 0,
"profile": [
{
"_typeName": "string"
}
],
"crypto": {
"_typeName": "string"
},
"metadata": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
]
}
Descriptive name of this virtual storage object.
Choice of the deletion behavior of this virtual storage object.
If not set, the default value is true.
Specification of the backing of a virtual storage object.
Size in MB of the virtual storage object.
Virtual storage object Profile requirement.
If unset, the default behavior will apply.
This data object type encapsulates virtual machine or disk encryption settings.
The metadata KV pairs that are supposed to be created on the newly created virtual storage object.
The create task is atomic by design. That being said, failing to add the specified metadata pairs leads to the failure of the create task. If unset, no metadata will be added. An empty string value is indicative of a vcenter tag.