MetricAlertsStatusInner.list(String resourceGroupName, String ruleName) Method

Definition

Retrieve an alert rule status.

public MetricAlertStatusCollectionInner list(String resourceGroupName, String ruleName)

Parameters

resourceGroupName
String

The name of the resource group.

ruleName
String

The name of the rule.

Returns

the MetricAlertStatusCollectionInner object if successful.

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

ErrorResponseException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

Applies to