Auth0 v3.8.3 published on Wednesday, Nov 6, 2024 by Pulumi
auth0.getFlow
Explore with Pulumi AI
Data source to retrieve a specific Auth0 Flow by id
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
// An Auth0 flow loaded using its ID.
const myFlowData = auth0.getFlow({
id: "af_5CTYdsXHLoLXD7ZVwvFHew",
});
import pulumi
import pulumi_auth0 as auth0
# An Auth0 flow loaded using its ID.
my_flow_data = auth0.get_flow(id="af_5CTYdsXHLoLXD7ZVwvFHew")
package main
import (
"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// An Auth0 flow loaded using its ID.
_, err := auth0.LookupFlow(ctx, &auth0.LookupFlowArgs{
Id: "af_5CTYdsXHLoLXD7ZVwvFHew",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Auth0 = Pulumi.Auth0;
return await Deployment.RunAsync(() =>
{
// An Auth0 flow loaded using its ID.
var myFlowData = Auth0.GetFlow.Invoke(new()
{
Id = "af_5CTYdsXHLoLXD7ZVwvFHew",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import com.pulumi.auth0.inputs.GetFlowArgs;
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) {
// An Auth0 flow loaded using its ID.
final var myFlowData = Auth0Functions.getFlow(GetFlowArgs.builder()
.id("af_5CTYdsXHLoLXD7ZVwvFHew")
.build());
}
}
variables:
# An Auth0 flow loaded using its ID.
myFlowData:
fn::invoke:
Function: auth0:getFlow
Arguments:
id: af_5CTYdsXHLoLXD7ZVwvFHew
Using getFlow
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 getFlow(args: GetFlowArgs, opts?: InvokeOptions): Promise<GetFlowResult>
function getFlowOutput(args: GetFlowOutputArgs, opts?: InvokeOptions): Output<GetFlowResult>
def get_flow(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlowResult
def get_flow_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFlowResult]
func LookupFlow(ctx *Context, args *LookupFlowArgs, opts ...InvokeOption) (*LookupFlowResult, error)
func LookupFlowOutput(ctx *Context, args *LookupFlowOutputArgs, opts ...InvokeOption) LookupFlowResultOutput
> Note: This function is named LookupFlow
in the Go SDK.
public static class GetFlow
{
public static Task<GetFlowResult> InvokeAsync(GetFlowArgs args, InvokeOptions? opts = null)
public static Output<GetFlowResult> Invoke(GetFlowInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFlowResult> getFlow(GetFlowArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: auth0:index/getFlow:getFlow
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The id of the Flow.
- Id string
- The id of the Flow.
- id String
- The id of the Flow.
- id string
- The id of the Flow.
- id str
- The id of the Flow.
- id String
- The id of the Flow.
getFlow Result
The following output properties are available:
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0
Terraform Provider.