Alerts Interface
public interface Alerts
Resource collection API of Alerts.
Method Summary
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:
Returns:
getResourceGroupLevelWithResponse
public abstract Response
Get an alert that is associated a resource group or a resource in a resource group.
Parameters:
Returns:
getSubscriptionLevel
public abstract Alert getSubscriptionLevel(String ascLocation, String alertName)
Get an alert that is associated with a subscription.
Parameters:
Returns:
getSubscriptionLevelWithResponse
public abstract Response
Get an alert that is associated with a subscription.
Parameters:
Returns:
list
public abstract PagedIterable
List all the alerts that are associated with the subscription.
Returns:
list
public abstract PagedIterable
List all the alerts that are associated with the subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
List all the alerts that are associated with the resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
List all the alerts that are associated with the resource group.
Parameters:
Returns:
listResourceGroupLevelByRegion
public abstract PagedIterable
List all the alerts that are associated with the resource group that are stored in a specific location.
Parameters:
Returns:
listResourceGroupLevelByRegion
public abstract PagedIterable
List all the alerts that are associated with the resource group that are stored in a specific location.
Parameters:
Returns:
listSubscriptionLevelByRegion
public abstract PagedIterable
List all the alerts that are associated with the subscription that are stored in a specific location.
Parameters:
Returns:
listSubscriptionLevelByRegion
public abstract PagedIterable
List all the alerts that are associated with the subscription that are stored in a specific location.
Parameters:
Returns:
simulate
public abstract void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody)
Simulate security alerts.
Parameters:
simulate
public abstract void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody, Context context)
Simulate security alerts.
Parameters:
updateResourceGroupLevelStateToActivate
public abstract void updateResourceGroupLevelStateToActivate(String resourceGroupName, String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateResourceGroupLevelStateToActivateWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateResourceGroupLevelStateToDismiss
public abstract void updateResourceGroupLevelStateToDismiss(String resourceGroupName, String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateResourceGroupLevelStateToDismissWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateResourceGroupLevelStateToInProgress
public abstract void updateResourceGroupLevelStateToInProgress(String resourceGroupName, String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateResourceGroupLevelStateToInProgressWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateResourceGroupLevelStateToResolve
public abstract void updateResourceGroupLevelStateToResolve(String resourceGroupName, String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateResourceGroupLevelStateToResolveWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateSubscriptionLevelStateToActivate
public abstract void updateSubscriptionLevelStateToActivate(String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateSubscriptionLevelStateToActivateWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateSubscriptionLevelStateToDismiss
public abstract void updateSubscriptionLevelStateToDismiss(String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateSubscriptionLevelStateToDismissWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateSubscriptionLevelStateToInProgress
public abstract void updateSubscriptionLevelStateToInProgress(String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateSubscriptionLevelStateToInProgressWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
updateSubscriptionLevelStateToResolve
public abstract void updateSubscriptionLevelStateToResolve(String ascLocation, String alertName)
Update the alert's state.
Parameters:
updateSubscriptionLevelStateToResolveWithResponse
public abstract Response
Update the alert's state.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for