import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can enable a single client on a connection. * * !> This resource appends an enabled client to a connection. In contrast, the `auth0.ConnectionClients` resource * manages all the clients enabled for a connection. To avoid potential issues, it is recommended not to use this * resource in conjunction with the `auth0.ConnectionClients` resource when managing enabled clients for the * same connection id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myConn = new auth0.Connection("my_conn", { * name: "My-Auth0-Connection", * strategy: "auth0", * }); * const myClient = new auth0.Client("my_client", {name: "My-Auth0-Client"}); * // One connection to one client association. * // To prevent issues, avoid using this resource together with the `auth0_connection_clients` resource. * const myConnClientAssoc = new auth0.ConnectionClient("my_conn_client_assoc", { * connectionId: myConn.id, * clientId: myClient.id, * }); * ``` * * ## Import * * This resource can be imported by specifying the * * connection ID and client ID separated by "::" (note the double colon) * * :: * * Example: * * ```sh * $ pulumi import auth0:index/connectionClient:ConnectionClient my_conn_client_assoc "con_XXXXX::XXXXXXXX" * ``` */ export declare class ConnectionClient extends pulumi.CustomResource { /** * Get an existing ConnectionClient resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ConnectionClientState, opts?: pulumi.CustomResourceOptions): ConnectionClient; /** * Returns true if the given object is an instance of ConnectionClient. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConnectionClient; /** * ID of the client for which the connection is enabled. */ readonly clientId: pulumi.Output; /** * ID of the connection on which to enable the client. */ readonly connectionId: pulumi.Output; /** * The name of the connection on which to enable the client. */ readonly name: pulumi.Output; /** * The strategy of the connection on which to enable the client. */ readonly strategy: pulumi.Output; /** * Create a ConnectionClient resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConnectionClientArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionClient resources. */ export interface ConnectionClientState { /** * ID of the client for which the connection is enabled. */ clientId?: pulumi.Input; /** * ID of the connection on which to enable the client. */ connectionId?: pulumi.Input; /** * The name of the connection on which to enable the client. */ name?: pulumi.Input; /** * The strategy of the connection on which to enable the client. */ strategy?: pulumi.Input; } /** * The set of arguments for constructing a ConnectionClient resource. */ export interface ConnectionClientArgs { /** * ID of the client for which the connection is enabled. */ clientId: pulumi.Input; /** * ID of the connection on which to enable the client. */ connectionId: pulumi.Input; }