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

package com.azure.resourcemanager.networkfunction.generated;

import com.azure.core.util.Context;

/** Samples for AzureTrafficCollectorsByResourceGroup ListByResourceGroup. */
public final class AzureTrafficCollectorsByResourceGroupListByResourceGroupSamples {
    /*
     * x-ms-original-file: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorsByResourceGroupList.json
     */
    /**
     * Sample code: List of Traffic Collectors by ResourceGroup.
     *
     * @param manager Entry point to AzureTrafficCollectorManager.
     */
    public static void listOfTrafficCollectorsByResourceGroup(
        com.azure.resourcemanager.networkfunction.AzureTrafficCollectorManager manager) {
        manager.azureTrafficCollectorsByResourceGroups().listByResourceGroup("rg1", Context.NONE);
    }
}
