Availability_zones
Availability Zone interface (1.1 extension).
-
class novaclient.v2.availability_zones.AvailabilityZone(manager, info, loaded=False)
Bases: novaclient.openstack.common.apiclient.base.Resource
An availability zone object.
Populate and bind to a manager.
Parameters: |
- manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
|
-
NAME_ATTR = 'display_name'
-
class novaclient.v2.availability_zones.AvailabilityZoneManager(api)
Bases: novaclient.base.ManagerWithFind
Manage AvailabilityZone resources.
-
list(detailed=True)
Get a list of all availability zones.
Return type: | list of AvailabilityZone |
-
resource_class
alias of AvailabilityZone
-
return_parameter_name = 'availabilityZoneInfo'