// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.alertsmanagement.generated;

import com.azure.core.util.Context;

/** Samples for AlertProcessingRules ListByResourceGroup. */
public final class AlertProcessingRulesListByResourceGroupSamples {
    /*
     * x-ms-original-file: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_List_ResourceGroup.json
     */
    /**
     * Sample code: GetAlertProcessingRulesResourceGroupWide.
     *
     * @param manager Entry point to AlertsManagementManager.
     */
    public static void getAlertProcessingRulesResourceGroupWide(
        com.azure.resourcemanager.alertsmanagement.AlertsManagementManager manager) {
        manager.alertProcessingRules().listByResourceGroup("alertscorrelationrg", Context.NONE);
    }
}
