1. Packages
  2. FusionAuth
  3. API Docs
  4. getIdp
FusionAuth v6.0.2 published on Sunday, Feb 9, 2025 by Theo Gravity

fusionauth.getIdp

Start a Neo task
Explain and create a fusionauth.getIdp resource
fusionauth logo
FusionAuth v6.0.2 published on Sunday, Feb 9, 2025 by Theo Gravity

    # Application Resource

    Identity Providers API

    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)
    public static Output<GetIdpResult> getIdp(GetIdpArgs args, InvokeOptions options)
    
    fn::invoke:
      function: fusionauth:index/getIdp:getIdp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the identity provider. This is only used for display purposes. Will be the type for types: Apple, Facebook, Google, HYPR, Twitter
    Type string
    The type of the identity provider.
    Name string
    The name of the identity provider. This is only used for display purposes. Will be the type for types: Apple, Facebook, Google, HYPR, Twitter
    Type string
    The type of the identity provider.
    name String
    The name of the identity provider. This is only used for display purposes. Will be the type for types: Apple, Facebook, Google, HYPR, Twitter
    type String
    The type of the identity provider.
    name string
    The name of the identity provider. This is only used for display purposes. Will be the type for types: Apple, Facebook, Google, HYPR, Twitter
    type string
    The type of the identity provider.
    name str
    The name of the identity provider. This is only used for display purposes. Will be the type for types: Apple, Facebook, Google, HYPR, Twitter
    type str
    The type of the identity provider.
    name String
    The name of the identity provider. This is only used for display purposes. Will be the type for types: Apple, Facebook, Google, HYPR, Twitter
    type String
    The type of the identity provider.

    getIdp Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Type string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Type string
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    type String
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    type string
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    type str
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    type String

    Package Details

    Repository
    fusionauth theogravity/pulumi-fusionauth
    License
    MIT
    Notes
    This Pulumi package is based on the fusionauth Terraform Provider.
    fusionauth logo
    FusionAuth v6.0.2 published on Sunday, Feb 9, 2025 by Theo Gravity
      Meet Neo: Your AI Platform Teammate