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

package com.azure.resourcemanager.servicenetworking.generated;

/** Samples for FrontendsInterface CreateOrUpdate. */
public final class FrontendsInterfaceCreateOrUpdateSamples {
    /*
     * x-ms-original-file: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/cadl/examples/FrontendPut.json
     */
    /**
     * Sample code: Put Frontend.
     *
     * @param manager Entry point to TrafficControllerManager.
     */
    public static void putFrontend(com.azure.resourcemanager.servicenetworking.TrafficControllerManager manager) {
        manager
            .frontendsInterfaces()
            .define("fe1")
            .withRegion("NorthCentralUS")
            .withExistingTrafficController("rg1", "tc1")
            .create();
    }
}
