Available Resource Query

Overview

You can query available resources by zone, cluster, or host.

Inventory

Properties

Name Description Optional Valid Value Starting Version
zoneUuids The zone UUID list. Yes 0.6
clusterUuids The cluster UUID list used for attaching the network and the storage. Yes 0.6
hostUuids The host UUID list used for adding and deleting the host. Yes 0.6
all When you use this parameter, set it to true, or set at least one of the zone UUID, cluster UUID, or host UUID. Yes 0.6
userTags The user tags. For more information, see CreateUserTag. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. Yes 0.6

Operations

GetCpuMemoryCapacity

Obtains a CPU and a memory capacity. For example,
GetCpuMemoryCapacity zoneUuids=bd73a3d1e6784d49897be5ae785305d8

Parameters

Name Description Optional Valid Value Starting Version
zoneUuids The zone UUID. Yes 0.6
clusterUuids The cluster UUID list used for attaching the network and the storage. Yes 0.6
hostUuids The host UUID list used for adding and deleting the host. Yes 0.6
all When you use this parameter, set it to true, or set at least one of the zone UUID, cluster UUID, or host UUID. Yes 0.6
userTags The user tags. For more information, see CreateUserTag. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. Yes 0.6
timeout Yes
CLI Command Manual | 4.8.38 | ZStack Cloud · ZCF | ZStack Resource Center