@osmit-gmbh/pulumi-authentik
Version:
A Pulumi package for creating and managing authentik cloud resources.
97 lines (96 loc) • 2.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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",
* });
* ```
*/
export declare function getFlow(args?: GetFlowArgs, opts?: pulumi.InvokeOptions): Promise<GetFlowResult>;
/**
* A collection of arguments for invoking getFlow.
*/
export interface GetFlowArgs {
/**
* Generated.
*/
authentication?: string;
/**
* Generated.
*/
designation?: string;
/**
* Generated.
*/
slug?: string;
}
/**
* A collection of values returned by getFlow.
*/
export interface GetFlowResult {
/**
* Generated.
*/
readonly authentication: string;
/**
* Generated.
*/
readonly designation: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Generated.
*/
readonly name: string;
/**
* Generated.
*/
readonly slug: string;
/**
* Generated.
*/
readonly title: string;
}
/**
* 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",
* });
* ```
*/
export declare function getFlowOutput(args?: GetFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlowResult>;
/**
* A collection of arguments for invoking getFlow.
*/
export interface GetFlowOutputArgs {
/**
* Generated.
*/
authentication?: pulumi.Input<string>;
/**
* Generated.
*/
designation?: pulumi.Input<string>;
/**
* Generated.
*/
slug?: pulumi.Input<string>;
}