UNPKG

@osmit-gmbh/pulumi-authentik

Version:

A Pulumi package for creating and managing authentik cloud resources.

58 lines 1.89 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.getFlowOutput = exports.getFlow = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get flows by Slug and/or designation * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the ID of a flow by slug * const default-authorization-flow = authentik.getFlow({ * slug: "default-provider-authorization-implicit-consent", * }); * ``` */ function getFlow(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("authentik:index/getFlow:getFlow", { "authentication": args.authentication, "designation": args.designation, "slug": args.slug, }, opts); } exports.getFlow = getFlow; /** * Get flows by Slug and/or designation * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the ID of a flow by slug * const default-authorization-flow = authentik.getFlow({ * slug: "default-provider-authorization-implicit-consent", * }); * ``` */ function getFlowOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("authentik:index/getFlow:getFlow", { "authentication": args.authentication, "designation": args.designation, "slug": args.slug, }, opts); } exports.getFlowOutput = getFlowOutput; //# sourceMappingURL=getFlow.js.map