Availability_zones
Availability Zone interface (1.1 extension).
-
class novaclient.v2.availability_zones.AvailabilityZone(manager, info, loaded=False, resp=None)
Bases: novaclient.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
- resp – Response or list of Response objects
|
-
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.
Parameters: | detailed – If True, list availability zones with details. |
Returns: | list of AvailabilityZone |
-
resource_class
alias of AvailabilityZone
-
return_parameter_name = 'availabilityZoneInfo'