Class: Fog::Compute::OpenStack::AvailabilityZones
Instance Attribute Summary
#response
Instance Method Summary
collapse
#destroy, #find_by_id, #get, #load_response
Instance Method Details
#all(options = {}) ⇒ Object
10
11
12
13
|
# File 'lib/fog/compute/openstack/models/availability_zones.rb', line 10
def all(options = {})
data = service.list_zones_detailed(options)
load_response(data, 'availabilityZoneInfo')
end
|
#summary(options = {}) ⇒ Object
15
16
17
18
|
# File 'lib/fog/compute/openstack/models/availability_zones.rb', line 15
def summary(options = {})
data = service.list_zones(options)
load_response(data, 'availabilityZoneInfo')
end
|