Method: Azure::DataBoxEdge::Mgmt::V2019_08_01::Alerts#list_by_data_box_edge_device

Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/alerts.rb

#list_by_data_box_edge_device(device_name, resource_group_name, custom_headers: nil) ⇒ Array<Alert>

Gets all the alerts for a Data Box Edge/Data Box Gateway device.

will be added to the HTTP request.

Parameters:

  • device_name (String)

    The device name.

  • resource_group_name (String)

    The resource group name.

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

    A hash of custom headers that

Returns:

  • (Array<Alert>)

    operation results.



34
35
36
37
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/alerts.rb', line 34

def list_by_data_box_edge_device(device_name, resource_group_name, custom_headers:nil)
  first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers:custom_headers)
  first_page.get_all_items
end