import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can manage all of the enabled clients on a connection. * * !> This resource manages all the enabled clients for a connection. In contrast, the `auth0.ConnectionClient` resource * appends an enabled client to a connection. To avoid potential issues, it is recommended not to use this * resource in conjunction with the `auth0.ConnectionClient` 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 myFirstClient = new auth0.Client("my_first_client", {name: "My-First-Auth0-Client"}); * const mySecondClient = new auth0.Client("my_second_client", {name: "My-Second-Auth0-Client"}); * // One connection to many clients association. * // To prevent issues, avoid using this resource together with the `auth0_connection_client` resource. * const myConnClientsAssoc = new auth0.ConnectionClients("my_conn_clients_assoc", { * connectionId: myConn.id, * enabledClients: [ * myFirstClient.id, * mySecondClient.id, * ], * }); * ``` * * ## Import * * This resource can be imported by specifying the Connection ID. * * Example: * * ```sh * $ pulumi import auth0:index/connectionClients:ConnectionClients my_conn_clients_assoc "con_XXXXX" * ``` */ export declare class ConnectionClients extends pulumi.CustomResource { /** * Get an existing ConnectionClients 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?: ConnectionClientsState, opts?: pulumi.CustomResourceOptions): ConnectionClients; /** * Returns true if the given object is an instance of ConnectionClients. 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 ConnectionClients; /** * ID of the connection on which to enable the client. */ readonly connectionId: pulumi.Output; /** * IDs of the clients for which the connection is enabled. */ readonly enabledClients: 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 ConnectionClients 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: ConnectionClientsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionClients resources. */ export interface ConnectionClientsState { /** * ID of the connection on which to enable the client. */ connectionId?: pulumi.Input; /** * IDs of the clients for which the connection is enabled. */ enabledClients?: 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 ConnectionClients resource. */ export interface ConnectionClientsArgs { /** * ID of the connection on which to enable the client. */ connectionId: pulumi.Input; /** * IDs of the clients for which the connection is enabled. */ enabledClients: pulumi.Input[]>; }