AddLocalPrimaryStorage
Adds local storage as the primary storage. For
example,
AddLocalPrimaryStorage url="/Cloud_ps_test" name=PS1 zoneUuid=61092e77aedd41f0b8857b40652e5b1eParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| url | The URL of the local storage. | 0.6 | ||
| name | The name of the local storage. | 0.6 | ||
| description | The detailed description of the local storage. | Yes | 0.6 | |
| type | The primary storage type: LocalStorage. | Yes | 0.6 | |
| zoneUuid | The zone UUID. | 0.6 | ||
| resourceUuid | The resource UUID. | Yes | 0.6 | |
| userTags | The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| timeout | Yes |