Alerts Interface

public interface Alerts

Resource collection API of Alerts.

Method Summary

Modifier and Type Method and Description
abstract Alert getResourceGroupLevel(String resourceGroupName, String ascLocation, String alertName)

Get an alert that is associated a resource group or a resource in a resource group.

abstract Response<Alert> getResourceGroupLevelWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Get an alert that is associated a resource group or a resource in a resource group.

abstract Alert getSubscriptionLevel(String ascLocation, String alertName)

Get an alert that is associated with a subscription.

abstract Response<Alert> getSubscriptionLevelWithResponse(String ascLocation, String alertName, Context context)

Get an alert that is associated with a subscription.

abstract PagedIterable<Alert> list()

List all the alerts that are associated with the subscription.

abstract PagedIterable<Alert> list(Context context)

List all the alerts that are associated with the subscription.

abstract PagedIterable<Alert> listByResourceGroup(String resourceGroupName)

List all the alerts that are associated with the resource group.

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

List all the alerts that are associated with the resource group.

abstract PagedIterable<Alert> listResourceGroupLevelByRegion(String ascLocation, String resourceGroupName)

List all the alerts that are associated with the resource group that are stored in a specific location.

abstract PagedIterable<Alert> listResourceGroupLevelByRegion(String ascLocation, String resourceGroupName, Context context)

List all the alerts that are associated with the resource group that are stored in a specific location.

abstract PagedIterable<Alert> listSubscriptionLevelByRegion(String ascLocation)

List all the alerts that are associated with the subscription that are stored in a specific location.

abstract PagedIterable<Alert> listSubscriptionLevelByRegion(String ascLocation, Context context)

List all the alerts that are associated with the subscription that are stored in a specific location.

abstract void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody)

Simulate security alerts.

abstract void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody, Context context)

Simulate security alerts.

abstract void updateResourceGroupLevelStateToActivate(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateResourceGroupLevelStateToActivateWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateResourceGroupLevelStateToDismiss(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateResourceGroupLevelStateToDismissWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateResourceGroupLevelStateToInProgress(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateResourceGroupLevelStateToInProgressWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateResourceGroupLevelStateToResolve(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateResourceGroupLevelStateToResolveWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateSubscriptionLevelStateToActivate(String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateSubscriptionLevelStateToActivateWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateSubscriptionLevelStateToDismiss(String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateSubscriptionLevelStateToDismissWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateSubscriptionLevelStateToInProgress(String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateSubscriptionLevelStateToInProgressWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

abstract void updateSubscriptionLevelStateToResolve(String ascLocation, String alertName)

Update the alert's state.

abstract Response<Void> updateSubscriptionLevelStateToResolveWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

Method Details

getResourceGroupLevel

public abstract Alert getResourceGroupLevel(String resourceGroupName, String ascLocation, String alertName)

Get an alert that is associated a resource group or a resource in a resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

Returns:

an alert that is associated a resource group or a resource in a resource group.

getResourceGroupLevelWithResponse

public abstract Response getResourceGroupLevelWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Get an alert that is associated a resource group or a resource in a resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

an alert that is associated a resource group or a resource in a resource group along with Response<T>.

getSubscriptionLevel

public abstract Alert getSubscriptionLevel(String ascLocation, String alertName)

Get an alert that is associated with a subscription.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

Returns:

an alert that is associated with a subscription.

getSubscriptionLevelWithResponse

public abstract Response getSubscriptionLevelWithResponse(String ascLocation, String alertName, Context context)

Get an alert that is associated with a subscription.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

an alert that is associated with a subscription along with Response<T>.

list

public abstract PagedIterable list()

List all the alerts that are associated with the subscription.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

List all the alerts that are associated with the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

List all the alerts that are associated with the resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

List all the alerts that are associated with the resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
context - The context to associate with this operation.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

listResourceGroupLevelByRegion

public abstract PagedIterable listResourceGroupLevelByRegion(String ascLocation, String resourceGroupName)

List all the alerts that are associated with the resource group that are stored in a specific location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

listResourceGroupLevelByRegion

public abstract PagedIterable listResourceGroupLevelByRegion(String ascLocation, String resourceGroupName, Context context)

List all the alerts that are associated with the resource group that are stored in a specific location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
context - The context to associate with this operation.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

listSubscriptionLevelByRegion

public abstract PagedIterable listSubscriptionLevelByRegion(String ascLocation)

List all the alerts that are associated with the subscription that are stored in a specific location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

listSubscriptionLevelByRegion

public abstract PagedIterable listSubscriptionLevelByRegion(String ascLocation, Context context)

List all the alerts that are associated with the subscription that are stored in a specific location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
context - The context to associate with this operation.

Returns:

list of security alerts as paginated response with PagedIterable<T>.

simulate

public abstract void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody)

Simulate security alerts.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertSimulatorRequestBody - Alert Simulator Request Properties.

simulate

public abstract void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody, Context context)

Simulate security alerts.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertSimulatorRequestBody - Alert Simulator Request Properties.
context - The context to associate with this operation.

updateResourceGroupLevelStateToActivate

public abstract void updateResourceGroupLevelStateToActivate(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateResourceGroupLevelStateToActivateWithResponse

public abstract Response updateResourceGroupLevelStateToActivateWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateResourceGroupLevelStateToDismiss

public abstract void updateResourceGroupLevelStateToDismiss(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateResourceGroupLevelStateToDismissWithResponse

public abstract Response updateResourceGroupLevelStateToDismissWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateResourceGroupLevelStateToInProgress

public abstract void updateResourceGroupLevelStateToInProgress(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateResourceGroupLevelStateToInProgressWithResponse

public abstract Response updateResourceGroupLevelStateToInProgressWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateResourceGroupLevelStateToResolve

public abstract void updateResourceGroupLevelStateToResolve(String resourceGroupName, String ascLocation, String alertName)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateResourceGroupLevelStateToResolveWithResponse

public abstract Response updateResourceGroupLevelStateToResolveWithResponse(String resourceGroupName, String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateSubscriptionLevelStateToActivate

public abstract void updateSubscriptionLevelStateToActivate(String ascLocation, String alertName)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateSubscriptionLevelStateToActivateWithResponse

public abstract Response updateSubscriptionLevelStateToActivateWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateSubscriptionLevelStateToDismiss

public abstract void updateSubscriptionLevelStateToDismiss(String ascLocation, String alertName)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateSubscriptionLevelStateToDismissWithResponse

public abstract Response updateSubscriptionLevelStateToDismissWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateSubscriptionLevelStateToInProgress

public abstract void updateSubscriptionLevelStateToInProgress(String ascLocation, String alertName)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateSubscriptionLevelStateToInProgressWithResponse

public abstract Response updateSubscriptionLevelStateToInProgressWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

updateSubscriptionLevelStateToResolve

public abstract void updateSubscriptionLevelStateToResolve(String ascLocation, String alertName)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.

updateSubscriptionLevelStateToResolveWithResponse

public abstract Response updateSubscriptionLevelStateToResolveWithResponse(String ascLocation, String alertName, Context context)

Update the alert's state.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
alertName - Name of the alert object.
context - The context to associate with this operation.

Returns:

Applies to