UNPKG

@osmit-gmbh/pulumi-authentik

Version:

A Pulumi package for creating and managing authentik cloud resources.

54 lines 1.7 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.getStageOutput = exports.getStage = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get stages by name * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the ID of a stage by name * const default-authentication-identification = authentik.getStage({ * name: "default-authentication-identification", * }); * ``` */ function getStage(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("authentik:index/getStage:getStage", { "name": args.name, }, opts); } exports.getStage = getStage; /** * Get stages by name * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the ID of a stage by name * const default-authentication-identification = authentik.getStage({ * name: "default-authentication-identification", * }); * ``` */ function getStageOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("authentik:index/getStage:getStage", { "name": args.name, }, opts); } exports.getStageOutput = getStageOutput; //# sourceMappingURL=getStage.js.map