UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

56 lines 1.88 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDecryptionRuleOutput = exports.getDecryptionRule = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * DecryptionRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // We use the ID from the resource created above. * const singleRuleById = scm.getDecryptionRule({ * id: "b3544acb-fc55-4c6f-921d-4128b5a1d135", * }); * export const singleDecryptionRuleName = singleRuleById; * ``` */ function getDecryptionRule(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getDecryptionRule:getDecryptionRule", { "id": args.id, "name": args.name, }, opts); } exports.getDecryptionRule = getDecryptionRule; /** * DecryptionRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // We use the ID from the resource created above. * const singleRuleById = scm.getDecryptionRule({ * id: "b3544acb-fc55-4c6f-921d-4128b5a1d135", * }); * export const singleDecryptionRuleName = singleRuleById; * ``` */ function getDecryptionRuleOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getDecryptionRule:getDecryptionRule", { "id": args.id, "name": args.name, }, opts); } exports.getDecryptionRuleOutput = getDecryptionRuleOutput; //# sourceMappingURL=getDecryptionRule.js.map