@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
56 lines • 1.99 kB
JavaScript
;
// *** 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 dns records
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.dns.getRecords({
* zid: 58857,
* });
* ```
*/
/** @deprecated volcengine.dns.Records has been deprecated in favor of volcengine.dns.getRecords */
function records(args, opts) {
pulumi.log.warn("records is deprecated: volcengine.dns.Records has been deprecated in favor of volcengine.dns.getRecords");
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:dns/records:Records", {
"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.records = records;
/**
* 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,
* });
* ```
*/
/** @deprecated volcengine.dns.Records has been deprecated in favor of volcengine.dns.getRecords */
function recordsOutput(args, opts) {
return pulumi.output(args).apply((a) => records(a, opts));
}
exports.recordsOutput = recordsOutput;
//# sourceMappingURL=records.js.map