// 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;

import com.azure.resourcemanager.servicenetworking.models.Frontend;

/** Samples for FrontendsInterface Update. */
public final class FrontendsInterfaceUpdateSamples {
    /*
     * x-ms-original-file: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/cadl/examples/FrontendPatch.json
     */
    /**
     * Sample code: Update Frontend.
     *
     * @param manager Entry point to TrafficControllerManager.
     */
    public static void updateFrontend(com.azure.resourcemanager.servicenetworking.TrafficControllerManager manager) {
        Frontend resource =
            manager
                .frontendsInterfaces()
                .getWithResponse("rg1", "tc1", "fe1", com.azure.core.util.Context.NONE)
                .getValue();
        resource.update().apply();
    }
}
