lib/fog/azurerm/models/compute/availability_sets.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/compute/availability_sets.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -23,9 +23,13 @@ def get(resource_group, identity) availability_set = service.get_availability_set(resource_group, identity) availability_set_fog = Fog::Compute::AzureRM::AvailabilitySet.new(service: service) availability_set_fog.merge_attributes(Fog::Compute::AzureRM::AvailabilitySet.parse(availability_set)) end + + def check_availability_set_exists(resource_group, name) + service.check_availability_set_exists(resource_group, name) + end end end end end