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

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

#get(device_name, name, resource_group_name, custom_headers: nil) ⇒ Alert

Gets an alert by name.

will be added to the HTTP request.

Parameters:

  • device_name (String)

    The device name.

  • name (String)

    The alert name.

  • resource_group_name (String)

    The resource group name.

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

    A hash of custom headers that

Returns:

  • (Alert)

    operation results.



129
130
131
132
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/alerts.rb', line 129

def get(device_name, name, resource_group_name, custom_headers:nil)
  response = get_async(device_name, name, resource_group_name, custom_headers:custom_headers).value!
  response.body unless response.nil?
end