lib/fog/azurerm/models/resources/resource_groups.rb in fog-azure-rm-0.0.2 vs lib/fog/azurerm/models/resources/resource_groups.rb in fog-azure-rm-0.0.3
- old
+ new
@@ -2,9 +2,11 @@
require 'fog/azurerm/models/resources/resource_group'
module Fog
module Resources
class AzureRM
+ # This class is giving implementation of all/list, get and
+ # check name availability for resource groups.
class ResourceGroups < Fog::Collection
model Fog::Resources::AzureRM::ResourceGroup
def all
load(service.list_resource_groups)