@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
66 lines • 2.69 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.allowlistsOutput = exports.allowlists = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to query detailed information of rds postgresql allowlists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.rds_postgresql.getAllowlists({
* allowListCategory: "Ordinary",
* allowListDesc: "test allow list",
* allowListId: "acl-e7846436e1e741edbd385868fa657436",
* allowListName: "test",
* ipAddress: "100.64.0.0/10",
* nameRegex: ".*allowlist.*",
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
function allowlists(args, opts) {
pulumi.log.warn("allowlists is deprecated: volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:rds_postgresql/allowlists:Allowlists", {
"allowListCategory": args.allowListCategory,
"allowListDesc": args.allowListDesc,
"allowListId": args.allowListId,
"allowListName": args.allowListName,
"instanceId": args.instanceId,
"ipAddress": args.ipAddress,
"nameRegex": args.nameRegex,
"outputFile": args.outputFile,
}, opts);
}
exports.allowlists = allowlists;
/**
* Use this data source to query detailed information of rds postgresql allowlists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.rds_postgresql.getAllowlists({
* allowListCategory: "Ordinary",
* allowListDesc: "test allow list",
* allowListId: "acl-e7846436e1e741edbd385868fa657436",
* allowListName: "test",
* ipAddress: "100.64.0.0/10",
* nameRegex: ".*allowlist.*",
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists */
function allowlistsOutput(args, opts) {
return pulumi.output(args).apply((a) => allowlists(a, opts));
}
exports.allowlistsOutput = allowlistsOutput;
//# sourceMappingURL=allowlists.js.map