Method: Azure::DataMigration::Mgmt::V2018_03_15_preview::Usages#list

Defined in:
lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb

#list(location, custom_headers: nil) ⇒ Array<Quota>

Get resource quotas and usage information

This method returns region-specific quotas and resource usage information for the Data Migration Service.

will be added to the HTTP request.

Parameters:

  • location (String)

    The Azure region of the operation

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

    A hash of custom headers that

Returns:

  • (Array<Quota>)

    operation results.



36
37
38
39
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb', line 36

def list(location, custom_headers:nil)
  first_page = list_as_lazy(location, custom_headers:custom_headers)
  first_page.get_all_items
end