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

package com.azure.resourcemanager.changeanalysis.generated;

import java.time.OffsetDateTime;

/** Samples for ResourceChanges List. */
public final class ResourceChangesListSamples {
    /*
     * x-ms-original-file: specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/stable/2021-04-01/examples/ResourceChangesList.json
     */
    /**
     * Sample code: ResourceChanges_List.
     *
     * @param manager Entry point to AzureChangeAnalysisManager.
     */
    public static void resourceChangesList(
        com.azure.resourcemanager.changeanalysis.AzureChangeAnalysisManager manager) {
        manager
            .resourceChanges()
            .list(
                "subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Web/sites/mysite",
                OffsetDateTime.parse("2021-04-25T12:09:03.141Z"),
                OffsetDateTime.parse("2021-04-26T12:09:03.141Z"),
                null,
                com.azure.core.util.Context.NONE);
    }
}
