XStor Block Primary Storage
AddBlockPrimaryStorage
Adds a Block primary storage. For example,
AddBlockPrimaryStorage vendorName=XStor metadata={'ip':'127.0.0.1', 'port':8443, 'username':'test', 'password':'password'} name=PS1 zoneUuid=baddf3cf5a4f43d090ceb6cf49e008c6Parameters
| Name | Description | Optional | Valid Values | Starting Version |
|---|---|---|---|---|
| vendorName | The storage vendor name. | 4.6.0 | ||
| metadata | The storage metadata. | 4.6.0 | ||
| url | Unused. | 4.6.0 | ||
| name | The name of the Block primary storage. | 4.6.0 | ||
| description | The detailed description of the Block primary storage. | Yes | 4.6.0 | |
| type | The primary storage type. The type here is Block. | Yes | 4.6.0 | |
| zoneUuid | The zone UUID. | 4.6.0 | ||
| resourceUuid | The resource UUID. | Yes | 4.6.0 | |
| tagUuids | The tag UUID list. | Yes | 4.6.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.6.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.6.0 | |
| timeout | Yes |
GetBlockPrimaryStorageMetadata
Ges the metadata of the Block primary storage. For example,
GetBlockPrimaryStorageMetadata vendorName=XStor metadata={'ip':'127.0.0.1', 'port':8443, 'username':'test', 'password':'password'}'Parameters
| Name | Description | Optional | Valid Values | Starting Version |
|---|---|---|---|---|
| vendorName | The storage vendor name. | 4.6.0 | ||
| metadata | The storage metadata. | 4.6.0 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.6.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.6.0 | |
| timeout | Yes |
UpdateBlockPrimaryStorage
Updates a Block primary storage. For example,
UpdateBlockPrimaryStorage uuid=12e7cd9f7a9746f1b028a2479fbc5524Parameters
| Name | Description | Optional | Valid Values | Starting Version |
|---|---|---|---|---|
| vendorName | The storage vendor name. | Yes | 4.8.0 | |
| metadata | The storage metadata. | Yes | 4.8.0 | |
| uuid | The resource UUID. | 4.8.0 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.8.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.8.0 | |
| timeout | Yes |
QueryBlockPrimaryStorage
Queries a Block primary storage. For example,
QueryBlockPrimaryStoragePrimitive Field of Query
Nested and Expanded Fields of Query
| Name | Description | Optional | Valid Values | Starting Version |
|---|---|---|---|---|
| cluster | See Cluster Inverntory. | 4.6.0 | ||
| zone | See Zone Inventory. | 4.6.0 | ||
| volume | See Volume Inventory. | 4.6.0 | ||
| volumeSnapshot | 4.6.0 |
