import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for programmatic access to the platform using a token created with the `aiven.OrganizationApplicationUserToken` resource. You give application users access to your organization, projects, and services using the `aiven.OrganizationPermission` resource. You can also add application users to groups using the `aiven.OrganizationUserGroupMember` resource.`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.OrganizationApplicationUser("example", { * organizationId: "org1a23f456789", * name: "devops app user", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/organizationApplicationUser:OrganizationApplicationUser example ORGANIZATION_ID/USER_ID * ``` */ export declare class OrganizationApplicationUser extends pulumi.CustomResource { /** * Get an existing OrganizationApplicationUser 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?: OrganizationApplicationUserState, opts?: pulumi.CustomResourceOptions): OrganizationApplicationUser; /** * Returns true if the given object is an instance of OrganizationApplicationUser. 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 OrganizationApplicationUser; /** * Time this application user was created. */ readonly createTime: pulumi.Output; /** * User Email. */ readonly email: pulumi.Output; /** * Alters super admin state of the organization application user. The default value is `false`. **Deprecated**: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `aiven.OrganizationPermission` resource. * * @deprecated This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `aiven.OrganizationPermission` resource. */ readonly isSuperAdmin: pulumi.Output; /** * Name. */ readonly name: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; readonly timeouts: pulumi.Output; /** * User ID. */ readonly userId: pulumi.Output; /** * Create a OrganizationApplicationUser 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: OrganizationApplicationUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationApplicationUser resources. */ export interface OrganizationApplicationUserState { /** * Time this application user was created. */ createTime?: pulumi.Input; /** * User Email. */ email?: pulumi.Input; /** * Alters super admin state of the organization application user. The default value is `false`. **Deprecated**: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `aiven.OrganizationPermission` resource. * * @deprecated This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `aiven.OrganizationPermission` resource. */ isSuperAdmin?: pulumi.Input; /** * Name. */ name?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; timeouts?: pulumi.Input; /** * User ID. */ userId?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationApplicationUser resource. */ export interface OrganizationApplicationUserArgs { /** * Alters super admin state of the organization application user. The default value is `false`. **Deprecated**: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `aiven.OrganizationPermission` resource. * * @deprecated This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `aiven.OrganizationPermission` resource. */ isSuperAdmin?: pulumi.Input; /** * Name. */ name?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=organizationApplicationUser.d.ts.map