lib/azure/armrest/resource_service.rb
# List all the resources for the current subscription in the specified
# resource group. You can optionally pass :top or :filter options as well
# to restrict returned results.
#
# Normally this is capped at 1000 results, but you may specify the :all
# option to get everything.
#
# Examples:
#
#   rs = Azure::Armrest::ResourceService.new
#   rs.list(your_group, :top => 2)
#   rs.list(your_group, :filter => "location eq 'centralus'")
#
List all the resources for the current subscription in the specified
resource group. You can optionally pass :top or :filter options as well
to restrict returned results.

Normally this is capped at 1000 results, but you may specify the :all
option to get everything.




List all the resources for the current subscription in the specified resource group . You can optionally pass : top or : filter options as well to restrict returned results . Normally this is capped at 1000 results but you may specify the : all option to get everything .
def list(resource_group, options = {})
        url = build_url(resource_group, options)
        response = rest_get(url)
        if options[:all]
          get_all_results(response)
        else
          Azure::Armrest::ArmrestCollection.create_from_response(response, Azure::Armrest::Resource)
        end
      end
def list ( resource_group , options = { } ) url = build_url ( resource_group , options ) response = rest_get ( url ) if options [ :all ] get_all_results ( response ) else Azure :: Armrest :: ArmrestCollection . create_from_response ( response , Azure :: Armrest :: Resource ) end end
List all the resources for the current subscription in the specified
resource group.
List all the resources for the current subscription in the specified resource group .
resource_group
<not_specific>
options
<not_specific>