import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage an Internal User. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ise from "@pulumi/ise"; * * const example = new ise.identitymanagement.InternalUser("example", { * name: "UserTF", * passwordWo: "Cisco123", * passwordWoVersion: 1, * changePassword: true, * email: "aaa@cisco.com", * accountNameAlias: "User 1", * enablePasswordWo: "Cisco123", * enablePasswordWoVersion: 1, * enabled: true, * passwordNeverExpires: false, * firstName: "John", * lastName: "Doe", * passwordIdStore: "Internal Users", * description: "My first Terraform user", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import ise:identitymanagement/internalUser:InternalUser example "76d24097-41c4-4558-a4d0-a8c07ac08470" * ``` */ export declare class InternalUser extends pulumi.CustomResource { /** * Get an existing InternalUser 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?: InternalUserState, opts?: pulumi.CustomResourceOptions): InternalUser; /** * Returns true if the given object is an instance of InternalUser. 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 InternalUser; /** * The Account Name Alias will be used to send email notifications about password expiration. This field is only supported from ISE 3.2. */ readonly accountNameAlias: pulumi.Output; /** * Requires the user to change the password * - Default value: `true` */ readonly changePassword: pulumi.Output; /** * Key value map of custom attributes. The keys must be defined in the ISE identity store configuration. */ readonly customAttributes: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Description */ readonly description: pulumi.Output; /** * Email address */ readonly email: pulumi.Output; /** * This field is added in ISE 2.0 to support TACACS+ * - Only one of `enablePassword` and `enablePasswordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `enablePasswordWo` together with `enablePasswordWoVersion`, which keeps it out of state. */ readonly enablePassword: pulumi.Output; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * This field is added in ISE 2.0 to support TACACS+ * - Only one of `enablePassword` and `enablePasswordWo` can be set. */ readonly enablePasswordWo: pulumi.Output; /** * Rotation trigger for `enablePasswordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ readonly enablePasswordWoVersion: pulumi.Output; /** * Whether the user is enabled/disabled */ readonly enabled: pulumi.Output; /** * First name of the internal user */ readonly firstName: pulumi.Output; /** * Comma separated list of identity group IDs. */ readonly identityGroups: pulumi.Output; /** * Last name of the internal user */ readonly lastName: pulumi.Output; /** * The name of the internal user */ readonly name: pulumi.Output; /** * The password of the internal user. Required when creating a new user. When managing existing (brownfield) users the password can be omitted and the existing password will be preserved. * - Only one of `password` and `passwordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `passwordWo` together with `passwordWoVersion`, which keeps it out of state. */ readonly password: pulumi.Output; /** * The ID store where the internal user's password is kept * - Default value: `Internal Users` */ readonly passwordIdStore: pulumi.Output; /** * Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This field is only supported from ISE 3.2. * - Default value: `false` */ readonly passwordNeverExpires: pulumi.Output; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The password of the internal user. Required when creating a new user. When managing existing (brownfield) users the password can be omitted and the existing password will be preserved. * - Only one of `password` and `passwordWo` can be set. */ readonly passwordWo: pulumi.Output; /** * Rotation trigger for `passwordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ readonly passwordWoVersion: pulumi.Output; /** * Create a InternalUser 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?: InternalUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InternalUser resources. */ export interface InternalUserState { /** * The Account Name Alias will be used to send email notifications about password expiration. This field is only supported from ISE 3.2. */ accountNameAlias?: pulumi.Input; /** * Requires the user to change the password * - Default value: `true` */ changePassword?: pulumi.Input; /** * Key value map of custom attributes. The keys must be defined in the ISE identity store configuration. */ customAttributes?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Description */ description?: pulumi.Input; /** * Email address */ email?: pulumi.Input; /** * This field is added in ISE 2.0 to support TACACS+ * - Only one of `enablePassword` and `enablePasswordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `enablePasswordWo` together with `enablePasswordWoVersion`, which keeps it out of state. */ enablePassword?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * This field is added in ISE 2.0 to support TACACS+ * - Only one of `enablePassword` and `enablePasswordWo` can be set. */ enablePasswordWo?: pulumi.Input; /** * Rotation trigger for `enablePasswordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ enablePasswordWoVersion?: pulumi.Input; /** * Whether the user is enabled/disabled */ enabled?: pulumi.Input; /** * First name of the internal user */ firstName?: pulumi.Input; /** * Comma separated list of identity group IDs. */ identityGroups?: pulumi.Input; /** * Last name of the internal user */ lastName?: pulumi.Input; /** * The name of the internal user */ name?: pulumi.Input; /** * The password of the internal user. Required when creating a new user. When managing existing (brownfield) users the password can be omitted and the existing password will be preserved. * - Only one of `password` and `passwordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `passwordWo` together with `passwordWoVersion`, which keeps it out of state. */ password?: pulumi.Input; /** * The ID store where the internal user's password is kept * - Default value: `Internal Users` */ passwordIdStore?: pulumi.Input; /** * Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This field is only supported from ISE 3.2. * - Default value: `false` */ passwordNeverExpires?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The password of the internal user. Required when creating a new user. When managing existing (brownfield) users the password can be omitted and the existing password will be preserved. * - Only one of `password` and `passwordWo` can be set. */ passwordWo?: pulumi.Input; /** * Rotation trigger for `passwordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ passwordWoVersion?: pulumi.Input; } /** * The set of arguments for constructing a InternalUser resource. */ export interface InternalUserArgs { /** * The Account Name Alias will be used to send email notifications about password expiration. This field is only supported from ISE 3.2. */ accountNameAlias?: pulumi.Input; /** * Requires the user to change the password * - Default value: `true` */ changePassword?: pulumi.Input; /** * Key value map of custom attributes. The keys must be defined in the ISE identity store configuration. */ customAttributes?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Description */ description?: pulumi.Input; /** * Email address */ email?: pulumi.Input; /** * This field is added in ISE 2.0 to support TACACS+ * - Only one of `enablePassword` and `enablePasswordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `enablePasswordWo` together with `enablePasswordWoVersion`, which keeps it out of state. */ enablePassword?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * This field is added in ISE 2.0 to support TACACS+ * - Only one of `enablePassword` and `enablePasswordWo` can be set. */ enablePasswordWo?: pulumi.Input; /** * Rotation trigger for `enablePasswordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ enablePasswordWoVersion?: pulumi.Input; /** * Whether the user is enabled/disabled */ enabled?: pulumi.Input; /** * First name of the internal user */ firstName?: pulumi.Input; /** * Comma separated list of identity group IDs. */ identityGroups?: pulumi.Input; /** * Last name of the internal user */ lastName?: pulumi.Input; /** * The name of the internal user */ name?: pulumi.Input; /** * The password of the internal user. Required when creating a new user. When managing existing (brownfield) users the password can be omitted and the existing password will be preserved. * - Only one of `password` and `passwordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `passwordWo` together with `passwordWoVersion`, which keeps it out of state. */ password?: pulumi.Input; /** * The ID store where the internal user's password is kept * - Default value: `Internal Users` */ passwordIdStore?: pulumi.Input; /** * Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This field is only supported from ISE 3.2. * - Default value: `false` */ passwordNeverExpires?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The password of the internal user. Required when creating a new user. When managing existing (brownfield) users the password can be omitted and the existing password will be preserved. * - Only one of `password` and `passwordWo` can be set. */ passwordWo?: pulumi.Input; /** * Rotation trigger for `passwordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ passwordWoVersion?: pulumi.Input; } //# sourceMappingURL=internalUser.d.ts.map