Method: Azure::Storage::Mgmt::V2019_06_01::Usages#list_by_location

Defined in:
lib/2019-06-01/generated/azure_mgmt_storage/usages.rb

#list_by_location(location, custom_headers: nil) ⇒ UsageListResult

Gets the current usage count and the limit for the resources of the location under the subscription.

will be added to the HTTP request.

Parameters:

  • location (String)

    The location of the Azure Storage resource.

  • custom_headers (Hash{String => String}) (defaults to: nil)

    A hash of custom headers that

Returns:

  • (UsageListResult)

    operation results.



34
35
36
37
# File 'lib/2019-06-01/generated/azure_mgmt_storage/usages.rb', line 34

def list_by_location(location, custom_headers:nil)
  response = list_by_location_async(location, custom_headers:custom_headers).value!
  response.body unless response.nil?
end