Interface AlertRuleIncidentsClient


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

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<IncidentInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                    String ruleName,
                                                                                    String incidentName)
        Gets an incident associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        incidentName - The name of the incident to retrieve.
        Returns:
        an incident associated to an alert rule.
        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.
      • getAsync

        Mono<IncidentInner> getAsync​(String resourceGroupName,
                                     String ruleName,
                                     String incidentName)
        Gets an incident associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        incidentName - The name of the incident to retrieve.
        Returns:
        an incident associated to an alert rule.
        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.
      • get

        IncidentInner get​(String resourceGroupName,
                          String ruleName,
                          String incidentName)
        Gets an incident associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        incidentName - The name of the incident to retrieve.
        Returns:
        an incident associated to an alert rule.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<IncidentInner> getWithResponse​(String resourceGroupName,
                                                                         String ruleName,
                                                                         String incidentName,
                                                                         com.azure.core.util.Context context)
        Gets an incident associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        incidentName - The name of the incident to retrieve.
        context - The context to associate with this operation.
        Returns:
        an incident associated to an alert rule.
        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.
      • listByAlertRuleAsync

        com.azure.core.http.rest.PagedFlux<IncidentInner> listByAlertRuleAsync​(String resourceGroupName,
                                                                               String ruleName)
        Gets a list of incidents associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        Returns:
        a list of incidents associated to an alert rule.
        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.
      • listByAlertRule

        com.azure.core.http.rest.PagedIterable<IncidentInner> listByAlertRule​(String resourceGroupName,
                                                                              String ruleName)
        Gets a list of incidents associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        Returns:
        a list of incidents associated to an alert rule.
        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.
      • listByAlertRule

        com.azure.core.http.rest.PagedIterable<IncidentInner> listByAlertRule​(String resourceGroupName,
                                                                              String ruleName,
                                                                              com.azure.core.util.Context context)
        Gets a list of incidents associated to an alert rule.
        Parameters:
        resourceGroupName - The name of the resource group.
        ruleName - The name of the rule.
        context - The context to associate with this operation.
        Returns:
        a list of incidents associated to an alert rule.
        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.