Alerts Interface

public interface Alerts

Resource collection API of Alerts.

Method Summary

Modifier and Type Method and Description
abstract Alert get(String deviceName, String name, String resourceGroupName)

Gets an alert by name.

abstract Response<Alert> getWithResponse(String deviceName, String name, String resourceGroupName, Context context)

Gets an alert by name.

abstract PagedIterable<Alert> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)

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

abstract PagedIterable<Alert> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, Context context)

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

Method Details

get

public abstract 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.

getWithResponse

public abstract Response getWithResponse(String deviceName, String name, String resourceGroupName, 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<T>.

listByDataBoxEdgeDevice

public abstract PagedIterable 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<T>.

listByDataBoxEdgeDevice

public abstract PagedIterable listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, 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<T>.

Applies to