import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * With this resource, you can manage the set of Google Workspace groups synchronized via directory provisioning for an Auth0 connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myConnection = new auth0.Connection("my_connection", { * options: { * clientId: "...", * clientSecret: "...", * domain: "example.com", * tenantDomain: "example.com", * apiEnableUsers: true, * apiEnableGroups: true, * }, * name: "My-Google-Workspace-Connection", * strategy: "google-apps", * }); * const myDirectory = new auth0.ConnectionDirectory("my_directory", { * connectionId: myConnection.id, * synchronizeGroups: "selected", * }); * const myGroups = new auth0.ConnectionDirectorySynchronizedGroups("my_groups", { * groups: [ * { * id: "group1", * }, * { * id: "group2", * name: "test", * email: "test@test.com", * directMembersCount: 123, * }, * ], * connectionId: myConnection.id, * }, { * dependsOn: [myDirectory], * }); * ``` * * ## Import * * ```sh * $ pulumi import auth0:index/connectionDirectorySynchronizedGroups:ConnectionDirectorySynchronizedGroups my_groups "con_XXXXXXXXXXXXXX" * ``` */ export declare class ConnectionDirectorySynchronizedGroups extends pulumi.CustomResource { /** * Get an existing ConnectionDirectorySynchronizedGroups 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?: ConnectionDirectorySynchronizedGroupsState, opts?: pulumi.CustomResourceOptions): ConnectionDirectorySynchronizedGroups; /** * Check whether an existing ConnectionDirectorySynchronizedGroups resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: ConnectionDirectorySynchronizedGroupsState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of ConnectionDirectorySynchronizedGroups. 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 ConnectionDirectorySynchronizedGroups; /** * ID of the connection for which to manage synchronized groups. */ readonly connectionId: pulumi.Output; /** * IDs of the Google Workspace Directory groups to synchronize. * * @deprecated Use `groups` instead, which exposes each group's name, email and member count alongside its ID. */ readonly groupIds: pulumi.Output; /** * Google Workspace Directory groups to synchronize. */ readonly groups: pulumi.Output; /** * Create a ConnectionDirectorySynchronizedGroups 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: ConnectionDirectorySynchronizedGroupsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionDirectorySynchronizedGroups resources. */ export interface ConnectionDirectorySynchronizedGroupsState { /** * ID of the connection for which to manage synchronized groups. */ connectionId?: pulumi.Input; /** * IDs of the Google Workspace Directory groups to synchronize. * * @deprecated Use `groups` instead, which exposes each group's name, email and member count alongside its ID. */ groupIds?: pulumi.Input[] | undefined>; /** * Google Workspace Directory groups to synchronize. */ groups?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a ConnectionDirectorySynchronizedGroups resource. */ export interface ConnectionDirectorySynchronizedGroupsArgs { /** * ID of the connection for which to manage synchronized groups. */ connectionId: pulumi.Input; /** * IDs of the Google Workspace Directory groups to synchronize. * * @deprecated Use `groups` instead, which exposes each group's name, email and member count alongside its ID. */ groupIds?: pulumi.Input[] | undefined>; /** * Google Workspace Directory groups to synchronize. */ groups?: pulumi.Input[] | undefined>; } //# sourceMappingURL=connectionDirectorySynchronizedGroups.d.ts.map