PersistentStorageConfiguration object
Polymorphism
PersistentStorageConfiguration is a type that implements the StorageConfiguration type.
When an object of type StorageConfiguration is expected, you can use one of type PersistentStorageConfiguration (or use any other implementation).
Example JSON representation
{
"fromTemplateIfMissing": true,
"id": "string",
"mounting": {
"enabled": true,
"fileSystem": "ext3",
"mountPoint": "string",
"options": "string"
},
"reUse": true,
"template": {
"cloudFeatures": {
"type": "StorageTemplateCloudFeatures"
},
"size": 1,
"sourceSnapshot": {
"id": "string"
},
"type": "string"
},
"type": "PersistentStorageConfiguration"
}
Properties
property | attributes | valid values | description | filter option |
---|---|---|---|---|
template PersistentStorageTemplate object |
required |
Volume template. |
||
type string |
required create-only |
"PersistentStorageConfiguration" | Storage configuration type. |
|
id string |
read-only |
Identifier of the Storage. |
||
fromTemplateIfMissing boolean |
optional |
If Scalr detects any missing volume it will regenerate this volume. Please note when launching Servers for the first time, no storage will be available, and Scalar will automatically provision what's needed, regardless of this flag. |
||
mounting MountConfiguration object |
optional |
Configuration contains the necessary information to automate the process of mounting partitions. |
||
reUse boolean |
optional |
When the instance is terminated it won't lead to storage deletion. It will be reattached to the new server when it's up. For VMware default value is FALSE, and for other platforms is TRUE. |