"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.getRecordsOutput = exports.getRecords = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of dns records
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.dns.getRecords({
 *     zid: 58857,
 * });
 * ```
 */
function getRecords(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:dns/getRecords:getRecords", {
        "host": args.host,
        "line": args.line,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "searchMode": args.searchMode,
        "searchOrder": args.searchOrder,
        "type": args.type,
        "value": args.value,
        "zid": args.zid,
    }, opts);
}
exports.getRecords = getRecords;
/**
 * Use this data source to query detailed information of dns records
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.dns.getRecords({
 *     zid: 58857,
 * });
 * ```
 */
function getRecordsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getRecords(a, opts));
}
exports.getRecordsOutput = getRecordsOutput;
//# sourceMappingURL=getRecords.js.map