UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

58 lines 1.91 kB
"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 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, * }); * ``` */ function getRecords(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:private_zone/getRecords:getRecords", { "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.getRecords = getRecords; /** * 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, * }); * ``` */ function getRecordsOutput(args, opts) { return pulumi.output(args).apply((a) => getRecords(a, opts)); } exports.getRecordsOutput = getRecordsOutput; //# sourceMappingURL=getRecords.js.map