Sha256: a3ed94829adbe34866815821f03e62a2a8291f5fdf2fac6aee913c8e128aa784
Contents?: true
Size: 769 Bytes
Versions: 46
Compression:
Stored size: 769 Bytes
Contents
module Fog module DNS class AzureRM # This class is giving implementation of # all/get for Zones. class Zones < Fog::Collection model Fog::DNS::AzureRM::Zone def all zones = [] service.list_zones.each do |z| zones << Fog::DNS::AzureRM::Zone.parse(z) end load(zones) end def get(resource_group, name) zone = service.get_zone(resource_group, name) zone_fog = Fog::DNS::AzureRM::Zone.new(service: service) zone_fog.merge_attributes(Fog::DNS::AzureRM::Zone.parse(zone)) end def check_zone_exists(resource_group, name) service.check_zone_exists(resource_group, name) end end end end end
Version data entries
46 entries across 46 versions & 4 rubygems