lib/azure/armrest/resource_group_service.rb
# List all the resources for the current subscription. You can optionally
# pass :top or :filter options as well to restrict returned results. The
# :filter option only applies to tags.
#
# Examples:
#
#   rgs = ResourceGroupService.new
#   rgs.list(:top => 2)
#   rgs.list(:filter => "sometag eq 'value'")
#
List all the resources for the current subscription. You can optionally
pass :top or :filter options as well to restrict returned results. The
:filter option only applies to tags.




List all the resources for the current subscription . You can optionally pass : top or : filter options as well to restrict returned results . The : filter option only applies to tags .
def list(options = {})
        url = build_url
        url << "&$top=#{options[:top]}" if options[:top]
        url << "&$filter=#{options[:filter]}" if options[:filter]
        response = rest_get(url)
        Azure::Armrest::ArmrestCollection.create_from_response(response, Azure::Armrest::ResourceGroup)
      end
def list ( options = { } ) url = build_url url << "&$top=#{options[:top]}" if options [ :top ] url << "&$filter=#{options[:filter]}" if options [ :filter ] response = rest_get ( url ) Azure :: Armrest :: ArmrestCollection . create_from_response ( response , Azure :: Armrest :: ResourceGroup ) end
List all the resources for the current subscription.
List all the resources for the current subscription .
options
<not_specific>