authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik
authentik.getStage
Explore with Pulumi AI
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik
Get stages by name
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";
const default_authentication_identification = authentik.getStage({
name: "default-authentication-identification",
});
import pulumi
import pulumi_authentik as authentik
default_authentication_identification = authentik.get_stage(name="default-authentication-identification")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := authentik.GetStage(ctx, &authentik.GetStageArgs{
Name: pulumi.StringRef("default-authentication-identification"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;
return await Deployment.RunAsync(() =>
{
var default_authentication_identification = Authentik.GetStage.Invoke(new()
{
Name = "default-authentication-identification",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.AuthentikFunctions;
import com.pulumi.authentik.inputs.GetStageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default-authentication-identification = AuthentikFunctions.getStage(GetStageArgs.builder()
.name("default-authentication-identification")
.build());
}
}
variables:
default-authentication-identification:
fn::invoke:
function: authentik:getStage
arguments:
name: default-authentication-identification
Using getStage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStage(args: GetStageArgs, opts?: InvokeOptions): Promise<GetStageResult>
function getStageOutput(args: GetStageOutputArgs, opts?: InvokeOptions): Output<GetStageResult>
def get_stage(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStageResult
def get_stage_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStageResult]
func GetStage(ctx *Context, args *GetStageArgs, opts ...InvokeOption) (*GetStageResult, error)
func GetStageOutput(ctx *Context, args *GetStageOutputArgs, opts ...InvokeOption) GetStageResultOutput
> Note: This function is named GetStage
in the Go SDK.
public static class GetStage
{
public static Task<GetStageResult> InvokeAsync(GetStageArgs args, InvokeOptions? opts = null)
public static Output<GetStageResult> Invoke(GetStageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStageResult> getStage(GetStageArgs args, InvokeOptions options)
public static Output<GetStageResult> getStage(GetStageArgs args, InvokeOptions options)
fn::invoke:
function: authentik:index/getStage:getStage
arguments:
# arguments dictionary
The following arguments are supported:
getStage Result
The following output properties are available:
Package Details
- Repository
- authentik goauthentik/terraform-provider-authentik
- License
- Notes
- This Pulumi package is based on the
authentik
Terraform Provider.
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik