pulumi-fusionauth
Version:
A Pulumi package for managing FusionAuth instances.
75 lines (74 loc) • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## # Application Resource
*
* [Identity Providers API](https://fusionauth.io/docs/v1/tech/apis/identity-providers/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fusionauth from "@pulumi/fusionauth";
*
* const fusionAuth = fusionauth.getIdp({
* name: "Apple",
* type: "Apple",
* });
* ```
*/
export declare function getIdp(args: GetIdpArgs, opts?: pulumi.InvokeOptions): Promise<GetIdpResult>;
/**
* A collection of arguments for invoking getIdp.
*/
export interface GetIdpArgs {
/**
* The name of the identity provider. This is only used for display purposes. Will be the type for types: `Apple`, `Facebook`, `Google`, `HYPR`, `Twitter`
*/
name: string;
/**
* The type of the identity provider.
*/
type: string;
}
/**
* A collection of values returned by getIdp.
*/
export interface GetIdpResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly type: string;
}
/**
* ## # Application Resource
*
* [Identity Providers API](https://fusionauth.io/docs/v1/tech/apis/identity-providers/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fusionauth from "@pulumi/fusionauth";
*
* const fusionAuth = fusionauth.getIdp({
* name: "Apple",
* type: "Apple",
* });
* ```
*/
export declare function getIdpOutput(args: GetIdpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdpResult>;
/**
* A collection of arguments for invoking getIdp.
*/
export interface GetIdpOutputArgs {
/**
* The name of the identity provider. This is only used for display purposes. Will be the type for types: `Apple`, `Facebook`, `Google`, `HYPR`, `Twitter`
*/
name: pulumi.Input<string>;
/**
* The type of the identity provider.
*/
type: pulumi.Input<string>;
}