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

package com.azure.resourcemanager.logic.generated;

import com.azure.resourcemanager.logic.models.GetCallbackUrlParameters;
import com.azure.resourcemanager.logic.models.KeyType;
import java.time.OffsetDateTime;

/** Samples for IntegrationAccounts ListCallbackUrl. */
public final class IntegrationAccountsListCallbackUrlSamples {
    /*
     * x-ms-original-file: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListCallbackUrl.json
     */
    /**
     * Sample code: List IntegrationAccount callback URL.
     *
     * @param manager Entry point to LogicManager.
     */
    public static void listIntegrationAccountCallbackURL(com.azure.resourcemanager.logic.LogicManager manager) {
        manager
            .integrationAccounts()
            .listCallbackUrlWithResponse(
                "testResourceGroup",
                "testIntegrationAccount",
                new GetCallbackUrlParameters()
                    .withNotAfter(OffsetDateTime.parse("2017-03-05T08:00:00Z"))
                    .withKeyType(KeyType.PRIMARY),
                com.azure.core.util.Context.NONE);
    }
}
