Inventory

Properties

Name Description Optional Valid Value Starting Version
uuid The UUID. For more information, see Resource Property. 0.6
name The name. For more information, see Resource Property. 0.6
description The description. For more information, see Resource Property. Yes 0.6
state The state. For more information, see Resource Property.
  • Enabled
  • Disabled
0.6
createDate The creation date. For more information, see Resource Property. 0.6
lastOpDate The last operation date. For more information, see Resource Property. 0.6
type The reserved field. 0.6
userTags The user tags. For more information, see CreateUserTag. The resource type is ZoneVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is ZoneVO. Yes 0.6

Sample

 {
            "createDate": "Oct 16, 2017 2:11:40 PM",
            "description": "",
            "lastOpDate": "Oct 24, 2017 10:52:31 AM",
            "name": "SH",
            "state": "Enabled",
            "type": "zstack",
            "uuid": "61092e77aedd41f0b8857b40652e5b1e"
 }

State

  • A zone has the following two states: Enabled and Disabled.
  • When you change the state of a zone, the change operation will be cascaded to all clusters and hosts that belong to the zone.
  • For example, disabling a zone will change the state of all clusters and hosts in this zone to Disabled. Because no VM instance can be created or started on a disabled host, you can put a zone into Disabled state to prevent any VM instances from being created or started in this zone. This will not affect the use and restart of existing VM instances.