"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.listTopLevelDomainAgreementsOutput = exports.listTopLevelDomainAgreements = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Description for Gets all legal agreements that user needs to accept before purchasing a domain.
 *
 * Uses Azure REST API version 2024-04-01.
 *
 * Other available API versions: 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native domainregistration [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function listTopLevelDomainAgreements(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:domainregistration:listTopLevelDomainAgreements", {
        "forTransfer": args.forTransfer,
        "includePrivacy": args.includePrivacy,
        "name": args.name,
    }, opts);
}
exports.listTopLevelDomainAgreements = listTopLevelDomainAgreements;
/**
 * Description for Gets all legal agreements that user needs to accept before purchasing a domain.
 *
 * Uses Azure REST API version 2024-04-01.
 *
 * Other available API versions: 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native domainregistration [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function listTopLevelDomainAgreementsOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:domainregistration:listTopLevelDomainAgreements", {
        "forTransfer": args.forTransfer,
        "includePrivacy": args.includePrivacy,
        "name": args.name,
    }, opts);
}
exports.listTopLevelDomainAgreementsOutput = listTopLevelDomainAgreementsOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdFRvcExldmVsRG9tYWluQWdyZWVtZW50cy5qcyIsInNvd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