FusionAuth v5.1.0 published on Tuesday, Oct 22, 2024 by Theo Gravity
fusionauth.getIdp
Explore with Pulumi AI
# Application Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fusionauth from "@pulumi/fusionauth";
const fusionAuth = fusionauth.getIdp({
name: "Apple",
type: "Apple",
});
import pulumi
import pulumi_fusionauth as fusionauth
fusion_auth = fusionauth.get_idp(name="Apple",
type="Apple")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/theogravity/pulumi-fusionauth/sdk/go/fusionauth"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fusionauth.GetIdp(ctx, &fusionauth.GetIdpArgs{
Name: "Apple",
Type: "Apple",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fusionauth = Pulumi.Fusionauth;
return await Deployment.RunAsync(() =>
{
var fusionAuth = Fusionauth.GetIdp.Invoke(new()
{
Name = "Apple",
Type = "Apple",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fusionauth.FusionauthFunctions;
import com.pulumi.fusionauth.inputs.GetIdpArgs;
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 fusionAuth = FusionauthFunctions.getIdp(GetIdpArgs.builder()
.name("Apple")
.type("Apple")
.build());
}
}
variables:
fusionAuth:
fn::invoke:
Function: fusionauth:getIdp
Arguments:
name: Apple
type: Apple
Using getIdp
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 getIdp(args: GetIdpArgs, opts?: InvokeOptions): Promise<GetIdpResult>
function getIdpOutput(args: GetIdpOutputArgs, opts?: InvokeOptions): Output<GetIdpResult>
def get_idp(name: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdpResult
def get_idp_output(name: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdpResult]
func GetIdp(ctx *Context, args *GetIdpArgs, opts ...InvokeOption) (*GetIdpResult, error)
func GetIdpOutput(ctx *Context, args *GetIdpOutputArgs, opts ...InvokeOption) GetIdpResultOutput
> Note: This function is named GetIdp
in the Go SDK.
public static class GetIdp
{
public static Task<GetIdpResult> InvokeAsync(GetIdpArgs args, InvokeOptions? opts = null)
public static Output<GetIdpResult> Invoke(GetIdpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIdpResult> getIdp(GetIdpArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fusionauth:index/getIdp:getIdp
arguments:
# arguments dictionary
The following arguments are supported:
getIdp Result
The following output properties are available:
Package Details
- Repository
- fusionauth theogravity/pulumi-fusionauth
- License
- MIT
- Notes
- This Pulumi package is based on the
fusionauth
Terraform Provider.