MetricAlertsStatusInner.listAsync Method

Definition

Overloads

listAsync(String resourceGroupName, String ruleName)

Retrieve an alert rule status.

listAsync(String resourceGroupName, String ruleName, final ServiceCallback<MetricAlertStatusCollectionInner> serviceCallback)

Retrieve an alert rule status.

listAsync(String resourceGroupName, String ruleName)

Retrieve an alert rule status.

public Observable<MetricAlertStatusCollectionInner> listAsync(String resourceGroupName, String ruleName)

Parameters

resourceGroupName
String

The name of the resource group.

ruleName
String

The name of the rule.

Returns

the observable to the MetricAlertStatusCollectionInner object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

listAsync(String resourceGroupName, String ruleName, final ServiceCallback<MetricAlertStatusCollectionInner> serviceCallback)

Retrieve an alert rule status.

public ServiceFuture<MetricAlertStatusCollectionInner> listAsync(String resourceGroupName, String ruleName, final ServiceCallback<MetricAlertStatusCollectionInner> serviceCallback)

Parameters

resourceGroupName
String

The name of the resource group.

ruleName
String

The name of the rule.

serviceCallback
final ServiceCallback<MetricAlertStatusCollectionInner>

the async ServiceCallback to handle successful and failed responses.

Returns

the ServiceFuture object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

Applies to