Interface MetricAlertsStatusClient
public interface MetricAlertsStatusClient
An instance of this class provides access to all the operations defined in MetricAlertsStatusClient.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve an alert rule status.Retrieve an alert rule status.listByName
(String resourceGroupName, String ruleName, String statusName) Retrieve an alert rule status.listByNameAsync
(String resourceGroupName, String ruleName, String statusName) Retrieve an alert rule status.com.azure.core.http.rest.Response
<MetricAlertStatusCollectionInner> listByNameWithResponse
(String resourceGroupName, String ruleName, String statusName, com.azure.core.util.Context context) Retrieve an alert rule status.Mono
<com.azure.core.http.rest.Response<MetricAlertStatusCollectionInner>> listByNameWithResponseAsync
(String resourceGroupName, String ruleName, String statusName) Retrieve an alert rule status.com.azure.core.http.rest.Response
<MetricAlertStatusCollectionInner> listWithResponse
(String resourceGroupName, String ruleName, com.azure.core.util.Context context) Retrieve an alert rule status.Mono
<com.azure.core.http.rest.Response<MetricAlertStatusCollectionInner>> listWithResponseAsync
(String resourceGroupName, String ruleName) Retrieve an alert rule status.
-
Method Details
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<MetricAlertStatusCollectionInner>> listWithResponseAsync(String resourceGroupName, String ruleName) Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.- Returns:
- represents a collection of alert rule resources along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.- Returns:
- represents a collection of alert rule resources on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponse
com.azure.core.http.rest.Response<MetricAlertStatusCollectionInner> listWithResponse(String resourceGroupName, String ruleName, com.azure.core.util.Context context) Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.context
- The context to associate with this operation.- Returns:
- represents a collection of alert rule resources along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.- Returns:
- represents a collection of alert rule resources.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByNameWithResponseAsync
Mono<com.azure.core.http.rest.Response<MetricAlertStatusCollectionInner>> listByNameWithResponseAsync(String resourceGroupName, String ruleName, String statusName) Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.statusName
- The name of the status.- Returns:
- represents a collection of alert rule resources along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByNameAsync
Mono<MetricAlertStatusCollectionInner> listByNameAsync(String resourceGroupName, String ruleName, String statusName) Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.statusName
- The name of the status.- Returns:
- represents a collection of alert rule resources on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByNameWithResponse
com.azure.core.http.rest.Response<MetricAlertStatusCollectionInner> listByNameWithResponse(String resourceGroupName, String ruleName, String statusName, com.azure.core.util.Context context) Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.statusName
- The name of the status.context
- The context to associate with this operation.- Returns:
- represents a collection of alert rule resources along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByName
MetricAlertStatusCollectionInner listByName(String resourceGroupName, String ruleName, String statusName) Retrieve an alert rule status.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ruleName
- The name of the rule.statusName
- The name of the status.- Returns:
- represents a collection of alert rule resources.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-