"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.recordsOutput = exports.records = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of private zone records
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.private_zone.getRecords({
 *     recordId: "907925684878276****",
 *     zid: 2450000,
 * });
 * ```
 */
/** @deprecated volcengine.private_zone.Records has been deprecated in favor of volcengine.private_zone.getRecords */
function records(args, opts) {
    pulumi.log.warn("records is deprecated: volcengine.private_zone.Records has been deprecated in favor of volcengine.private_zone.getRecords");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:private_zone/records:Records", {
        "host": args.host,
        "lastOperator": args.lastOperator,
        "line": args.line,
        "name": args.name,
        "outputFile": args.outputFile,
        "recordId": args.recordId,
        "recordIds": args.recordIds,
        "searchMode": args.searchMode,
        "type": args.type,
        "value": args.value,
        "zid": args.zid,
    }, opts);
}
exports.records = records;
/**
 * Use this data source to query detailed information of private zone records
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.private_zone.getRecords({
 *     recordId: "907925684878276****",
 *     zid: 2450000,
 * });
 * ```
 */
/** @deprecated volcengine.private_zone.Records has been deprecated in favor of volcengine.private_zone.getRecords */
function recordsOutput(args, opts) {
    return pulumi.output(args).apply((a) => records(a, opts));
}
exports.recordsOutput = recordsOutput;
//# sourceMappingURL=records.js.map