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

package com.azure.resourcemanager.appservice.generated;

/** Samples for AppServiceEnvironments List. */
public final class AppServiceEnvironmentsListSamples {
    /*
     * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-09-01/examples/AppServiceEnvironments_List.json
     */
    /**
     * Sample code: Get all App Service Environments for a subscription.
     *
     * @param azure The entry point for accessing resource management APIs in Azure.
     */
    public static void getAllAppServiceEnvironmentsForASubscription(
        com.azure.resourcemanager.AzureResourceManager azure) {
        azure.webApps().manager().serviceClient().getAppServiceEnvironments().list(com.azure.core.util.Context.NONE);
    }
}
