"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.recordSetsOutput = exports.recordSets = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of dns record sets
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const fooZones = volcengine.dns.getZones({
 *     key: "xxx",
 *     searchMode: "xx",
 * });
 * const fooRecordSets = fooZones.then(fooZones => volcengine.dns.getRecordSets({
 *     zid: fooZones.zones?.[0]?.zid,
 * }));
 * ```
 */
/** @deprecated volcengine.dns.RecordSets has been deprecated in favor of volcengine.dns.getRecordSets */
function recordSets(args, opts) {
    pulumi.log.warn("recordSets is deprecated: volcengine.dns.RecordSets has been deprecated in favor of volcengine.dns.getRecordSets");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:dns/recordSets:RecordSets", {
        "host": args.host,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "recordSetId": args.recordSetId,
        "searchMode": args.searchMode,
        "zid": args.zid,
    }, opts);
}
exports.recordSets = recordSets;
/**
 * Use this data source to query detailed information of dns record sets
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const fooZones = volcengine.dns.getZones({
 *     key: "xxx",
 *     searchMode: "xx",
 * });
 * const fooRecordSets = fooZones.then(fooZones => volcengine.dns.getRecordSets({
 *     zid: fooZones.zones?.[0]?.zid,
 * }));
 * ```
 */
/** @deprecated volcengine.dns.RecordSets has been deprecated in favor of volcengine.dns.getRecordSets */
function recordSetsOutput(args, opts) {
    return pulumi.output(args).apply((a) => recordSets(a, opts));
}
exports.recordSetsOutput = recordSetsOutput;
//# sourceMappingURL=recordSets.js.map