Interface MetricAlertsStatusClient


  • public interface MetricAlertsStatusClient
    An instance of this class provides access to all the operations defined in MetricAlertsStatusClient.
    • Method Detail

      • 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.
        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.
      • listAsync

        Mono<MetricAlertStatusCollectionInner> listAsync​(String resourceGroupName,
                                                         String ruleName)
        Retrieve an alert rule status.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • list

        MetricAlertStatusCollectionInner list​(String resourceGroupName,
                                              String ruleName)
        Retrieve an alert rule status.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • 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.
        ruleName - The name of the rule.
        context - The context to associate with this operation.
        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.
        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.
      • listByNameAsync

        Mono<MetricAlertStatusCollectionInner> listByNameAsync​(String resourceGroupName,
                                                               String ruleName,
                                                               String statusName)
        Retrieve an alert rule status.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • listByName

        MetricAlertStatusCollectionInner listByName​(String resourceGroupName,
                                                    String ruleName,
                                                    String statusName)
        Retrieve an alert rule status.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • 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.
        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.
        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.