UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

63 lines 2.17 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.getRulesOutput = exports.getRules = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of tls rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getRules({ * logType: "minimalist_log", * pause: 0, * projectId: "39ed1cf8-dbf3-41c3-939d-999bab54313d", * ruleId: "048dc010-6bb1-4189-858a-281d654d6686", * topicId: "b600dc34-503f-42fc-8e32-953af55463d1", * }); * ``` */ function getRules(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:tls/getRules:getRules", { "iamProjectName": args.iamProjectName, "logType": args.logType, "outputFile": args.outputFile, "pause": args.pause, "projectId": args.projectId, "projectName": args.projectName, "ruleId": args.ruleId, "ruleName": args.ruleName, "topicId": args.topicId, "topicName": args.topicName, }, opts); } exports.getRules = getRules; /** * Use this data source to query detailed information of tls rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getRules({ * logType: "minimalist_log", * pause: 0, * projectId: "39ed1cf8-dbf3-41c3-939d-999bab54313d", * ruleId: "048dc010-6bb1-4189-858a-281d654d6686", * topicId: "b600dc34-503f-42fc-8e32-953af55463d1", * }); * ``` */ function getRulesOutput(args, opts) { return pulumi.output(args).apply((a) => getRules(a, opts)); } exports.getRulesOutput = getRulesOutput; //# sourceMappingURL=getRules.js.map