UNPKG

@osmit-gmbh/pulumi-authentik

Version:

A Pulumi package for creating and managing authentik cloud resources.

54 lines 1.67 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.getSourceOutput = exports.getSource = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get Source by name, slug or managed * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * const inbuilt = authentik.getSource({ * managed: "goauthentik.io/sources/inbuilt", * }); * ``` */ function getSource(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("authentik:index/getSource:getSource", { "managed": args.managed, "slug": args.slug, }, opts); } exports.getSource = getSource; /** * Get Source by name, slug or managed * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * const inbuilt = authentik.getSource({ * managed: "goauthentik.io/sources/inbuilt", * }); * ``` */ function getSourceOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("authentik:index/getSource:getSource", { "managed": args.managed, "slug": args.slug, }, opts); } exports.getSourceOutput = getSourceOutput; //# sourceMappingURL=getSource.js.map