import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve a specific Auth0 connection by `connectionId` or `name`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An Auth0 Connection loaded using its name. * const some_connection_by_name = auth0.getConnection({ * name: "Acceptance-Test-Connection-{{.testName}}", * }); * // An Auth0 Connection loaded using its ID. * const some_connection_by_id = auth0.getConnection({ * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789", * }); * ``` */ export declare function getConnection(args?: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConnection. */ export interface GetConnectionArgs { /** * The ID of the connection. If not provided, `name` must be set. */ connectionId?: string; /** * The name of the connection. If not provided, `connectionId` must be set. */ name?: string; } /** * A collection of values returned by getConnection. */ export interface GetConnectionResult { /** * Configure the purpose of a connection to be used for authentication during login. */ readonly authentications: outputs.GetConnectionAuthentication[]; /** * Configure the purpose of a connection to be used for connected accounts and Token Vault. */ readonly connectedAccounts: outputs.GetConnectionConnectedAccount[]; /** * The ID of the connection. If not provided, `name` must be set. */ readonly connectionId?: string; /** * Name used in login screen. */ readonly displayName: string; /** * IDs of the clients for which the connection is enabled. */ readonly enabledClients: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether the connection is domain level. */ readonly isDomainConnection: boolean; /** * Metadata associated with the connection, in the form of a map of string values (max 255 chars). */ readonly metadata: { [key: string]: string; }; /** * The name of the connection. If not provided, `connectionId` must be set. */ readonly name?: string; /** * Configuration settings for connection options. */ readonly options: outputs.GetConnectionOption[]; /** * Defines the realms for which the connection will be used (e.g., email domains). If not specified, the connection name is added as the realm. */ readonly realms: string[]; /** * Display connection as a button. Only available on enterprise connections. */ readonly showAsButton: boolean; /** * Type of the connection, which indicates the identity provider. */ readonly strategy: string; } /** * Data source to retrieve a specific Auth0 connection by `connectionId` or `name`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An Auth0 Connection loaded using its name. * const some_connection_by_name = auth0.getConnection({ * name: "Acceptance-Test-Connection-{{.testName}}", * }); * // An Auth0 Connection loaded using its ID. * const some_connection_by_id = auth0.getConnection({ * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789", * }); * ``` */ export declare function getConnectionOutput(args?: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConnection. */ export interface GetConnectionOutputArgs { /** * The ID of the connection. If not provided, `name` must be set. */ connectionId?: pulumi.Input; /** * The name of the connection. If not provided, `connectionId` must be set. */ name?: pulumi.Input; }