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

package com.azure.resourcemanager.resourcemover.generated;

/** Samples for MoveCollections ListRequiredFor. */
public final class MoveCollectionsListRequiredForSamples {
    /*
     * x-ms-original-file: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2021-01-01/examples/RequiredFor_Get.json
     */
    /**
     * Sample code: RequiredFor_Get.
     *
     * @param manager Entry point to ResourceMoverManager.
     */
    public static void requiredForGet(com.azure.resourcemanager.resourcemover.ResourceMoverManager manager) {
        manager
            .moveCollections()
            .listRequiredForWithResponse(
                "rg1",
                "movecollection1",
                "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/nic1",
                com.azure.core.util.Context.NONE);
    }
}
