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

package com.azure.resourcemanager.timeseriesinsights.generated;

/** Samples for Environments ListByResourceGroup. */
public final class EnvironmentsListByResourceGroupSamples {
    /*
     * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsListByResourceGroup.json
     */
    /**
     * Sample code: EnvironmentsByResourceGroup.
     *
     * @param manager Entry point to TimeSeriesInsightsManager.
     */
    public static void environmentsByResourceGroup(
        com.azure.resourcemanager.timeseriesinsights.TimeSeriesInsightsManager manager) {
        manager.environments().listByResourceGroupWithResponse("rg1", com.azure.core.util.Context.NONE);
    }
}
