public interface Alerts
Resource collection API of Alerts.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String deviceName, String name, String resourceGroupName)
    Gets an alert by name.
    com.azure.core.http.rest.Response<Alert>
    getWithResponse(String deviceName, String name, String resourceGroupName, com.azure.core.util.Context context)
    Gets an alert by name.
    com.azure.core.http.rest.PagedIterable<Alert>
    listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)
    Gets all the alerts for a Data Box Edge/Data Box Gateway device.
    com.azure.core.http.rest.PagedIterable<Alert>
    listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, com.azure.core.util.Context context)
    Gets all the alerts for a Data Box Edge/Data Box Gateway device.
  • Method Details

    • listByDataBoxEdgeDevice

      com.azure.core.http.rest.PagedIterable<Alert> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)
      Gets all the alerts for a Data Box Edge/Data Box Gateway device.
      Parameters:
      deviceName - The device name.
      resourceGroupName - The resource group name.
      Returns:
      all the alerts for a Data Box Edge/Data Box Gateway device as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByDataBoxEdgeDevice

      com.azure.core.http.rest.PagedIterable<Alert> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, com.azure.core.util.Context context)
      Gets all the alerts for a Data Box Edge/Data Box Gateway device.
      Parameters:
      deviceName - The device name.
      resourceGroupName - The resource group name.
      context - The context to associate with this operation.
      Returns:
      all the alerts for a Data Box Edge/Data Box Gateway device as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<Alert> getWithResponse(String deviceName, String name, String resourceGroupName, com.azure.core.util.Context context)
      Gets an alert by name.
      Parameters:
      deviceName - The device name.
      name - The alert name.
      resourceGroupName - The resource group name.
      context - The context to associate with this operation.
      Returns:
      an alert by name along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      Alert get(String deviceName, String name, String resourceGroupName)
      Gets an alert by name.
      Parameters:
      deviceName - The device name.
      name - The alert name.
      resourceGroupName - The resource group name.
      Returns:
      an alert by name.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.