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

package com.azure.resourcemanager.maintenance.generated;

/** Samples for ApplyUpdates GetParent. */
public final class ApplyUpdatesGetParentSamples {
    /*
     * x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2021-05-01/examples/ApplyUpdates_GetParent.json
     */
    /**
     * Sample code: ApplyUpdates_GetParent.
     *
     * @param manager Entry point to MaintenanceManager.
     */
    public static void applyUpdatesGetParent(com.azure.resourcemanager.maintenance.MaintenanceManager manager) {
        manager
            .applyUpdates()
            .getParentWithResponse(
                "examplerg",
                "virtualMachineScaleSets",
                "smdtest1",
                "Microsoft.Compute",
                "virtualMachines",
                "smdvm1",
                "e9b9685d-78e4-44c4-a81c-64a14f9b87b6",
                com.azure.core.util.Context.NONE);
    }
}
