import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Adds and manages users in a user group. You can add organization users and application users to groups. Organization users must be [managed in the Aiven Console](https://aiven.io/docs/platform/howto/manage-org-users). Application users can be created and managed using the `aiven.OrganizationApplicationUser` resource. Groups are granted roles and permissions using the `aiven.OrganizationPermission` resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.OrganizationUserGroupMember("example", { * organizationId: "org1a23f456789", * groupId: "foo", * userId: "foo", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/organizationUserGroupMember:OrganizationUserGroupMember example ORGANIZATION_ID/GROUP_ID/USER_ID * ``` */ export declare class OrganizationUserGroupMember extends pulumi.CustomResource { /** * Get an existing OrganizationUserGroupMember 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?: OrganizationUserGroupMemberState, opts?: pulumi.CustomResourceOptions): OrganizationUserGroupMember; /** * Returns true if the given object is an instance of OrganizationUserGroupMember. 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 OrganizationUserGroupMember; /** * ID of the user group. Changing this property forces recreation of the resource. */ readonly groupId: pulumi.Output; /** * Last Activity Time. */ readonly lastActivityTime: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; readonly timeouts: pulumi.Output; /** * User ID. Changing this property forces recreation of the resource. */ readonly userId: pulumi.Output; /** * Create a OrganizationUserGroupMember 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: OrganizationUserGroupMemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationUserGroupMember resources. */ export interface OrganizationUserGroupMemberState { /** * ID of the user group. Changing this property forces recreation of the resource. */ groupId?: pulumi.Input; /** * Last Activity Time. */ lastActivityTime?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; timeouts?: pulumi.Input; /** * User ID. Changing this property forces recreation of the resource. */ userId?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationUserGroupMember resource. */ export interface OrganizationUserGroupMemberArgs { /** * ID of the user group. Changing this property forces recreation of the resource. */ groupId: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; timeouts?: pulumi.Input; /** * User ID. Changing this property forces recreation of the resource. */ userId: pulumi.Input; } //# sourceMappingURL=organizationUserGroupMember.d.ts.map