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

package com.azure.resourcemanager.trafficmanager.generated;

/** Samples for Profiles List. */
public final class ProfilesListSamples {
    /*
     * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-BySubscription.json
     */
    /**
     * Sample code: ListBySubscription.
     *
     * @param azure The entry point for accessing resource management APIs in Azure.
     */
    public static void listBySubscription(com.azure.resourcemanager.AzureResourceManager azure) {
        azure.trafficManagerProfiles().manager().serviceClient().getProfiles().list(com.azure.core.util.Context.NONE);
    }
}
