FusionAuth

v0.9.7 published on Thursday, Jul 28, 2022 by Theo Gravity

getIdp

# Application Resource

Identity Providers API

Example Usage

using Pulumi;
using Fusionauth = Pulumi.Fusionauth;

class MyStack : Stack
{
    public MyStack()
    {
        var fusionAuth = Output.Create(Fusionauth.GetIdp.InvokeAsync(new Fusionauth.GetIdpArgs
        {
            Name = "Apple",
            Type = "Apple",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-fusionauth/sdk/go/fusionauth"
	"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, &GetIdpArgs{
			Name: "Apple",
			Type: "Apple",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var fusionAuth = Output.of(FusionauthFunctions.getIdp(GetIdpArgs.builder()
            .name("Apple")
            .type("Apple")
            .build()));

    }
}
import pulumi
import pulumi_fusionauth as fusionauth

fusion_auth = fusionauth.get_idp(name="Apple",
    type="Apple")
import * as pulumi from "@pulumi/pulumi";
import * as fusionauth from "@pulumi/fusionauth";

const fusionAuth = pulumi.output(fusionauth.getIdp({
    name: "Apple",
    type: "Apple",
}));
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:

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
https://github.com/theogravity/pulumi-fusionauth
License
MIT
Notes

This Pulumi package is based on the fusionauth Terraform Provider.