GetPrimaryStorageCapacity
Obtains the primary storage capacity. For
example,
GetPrimaryStorageCapacity primaryStorageUuids=8b2e6f64e2404e48a07269487af2f587Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| zoneUuids | The zone UUID list. | Yes | 0.6 | |
| clusterUuids | The cluster UUID list. | Yes | ||
| primaryStorageUuids | The primary storage UUID list. Make sure that at
least one of zoneUuids, clusterUuids, and primaryStorageUuids is
specified. Or, set all to true. |
Yes | 0.6 | |
| all | If primaryStorageUuids is null, this parameter is set true, which means that all primary storages in the system are queried. | 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 |