UNPKG

@pulumi/ise

Version:

A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.. Based on terraform-provider-ise: version v0.2.1

244 lines (243 loc) 7.72 kB
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", * password: "Cisco123", * changePassword: true, * email: "aaa@cisco.com", * accountNameAlias: "User 1", * enablePassword: "Cisco123", * 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<pulumi.ID>, 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<string | undefined>; /** * Requires the user to change the password - Default value: `true` */ readonly changePassword: pulumi.Output<boolean>; /** * Key value map */ readonly customAttributes: pulumi.Output<string | undefined>; /** * Description */ readonly description: pulumi.Output<string | undefined>; /** * Email address */ readonly email: pulumi.Output<string | undefined>; /** * This field is added in ISE 2.0 to support TACACS+ */ readonly enablePassword: pulumi.Output<string | undefined>; /** * Whether the user is enabled/disabled */ readonly enabled: pulumi.Output<boolean | undefined>; /** * First name of the internal user */ readonly firstName: pulumi.Output<string | undefined>; /** * Comma separated list of identity group IDs. */ readonly identityGroups: pulumi.Output<string | undefined>; /** * Last name of the internal user */ readonly lastName: pulumi.Output<string | undefined>; /** * The name of the internal user */ readonly name: pulumi.Output<string>; /** * The password of the internal user */ readonly password: pulumi.Output<string>; /** * The ID store where the internal user's password is kept - Default value: `Internal Users` */ readonly passwordIdStore: pulumi.Output<string>; /** * 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<boolean>; /** * 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<string>; /** * Requires the user to change the password - Default value: `true` */ changePassword?: pulumi.Input<boolean>; /** * Key value map */ customAttributes?: pulumi.Input<string>; /** * Description */ description?: pulumi.Input<string>; /** * Email address */ email?: pulumi.Input<string>; /** * This field is added in ISE 2.0 to support TACACS+ */ enablePassword?: pulumi.Input<string>; /** * Whether the user is enabled/disabled */ enabled?: pulumi.Input<boolean>; /** * First name of the internal user */ firstName?: pulumi.Input<string>; /** * Comma separated list of identity group IDs. */ identityGroups?: pulumi.Input<string>; /** * Last name of the internal user */ lastName?: pulumi.Input<string>; /** * The name of the internal user */ name?: pulumi.Input<string>; /** * The password of the internal user */ password?: pulumi.Input<string>; /** * The ID store where the internal user's password is kept - Default value: `Internal Users` */ passwordIdStore?: pulumi.Input<string>; /** * 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<boolean>; } /** * 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<string>; /** * Requires the user to change the password - Default value: `true` */ changePassword?: pulumi.Input<boolean>; /** * Key value map */ customAttributes?: pulumi.Input<string>; /** * Description */ description?: pulumi.Input<string>; /** * Email address */ email?: pulumi.Input<string>; /** * This field is added in ISE 2.0 to support TACACS+ */ enablePassword?: pulumi.Input<string>; /** * Whether the user is enabled/disabled */ enabled?: pulumi.Input<boolean>; /** * First name of the internal user */ firstName?: pulumi.Input<string>; /** * Comma separated list of identity group IDs. */ identityGroups?: pulumi.Input<string>; /** * Last name of the internal user */ lastName?: pulumi.Input<string>; /** * The name of the internal user */ name?: pulumi.Input<string>; /** * The password of the internal user */ password: pulumi.Input<string>; /** * The ID store where the internal user's password is kept - Default value: `Internal Users` */ passwordIdStore?: pulumi.Input<string>; /** * 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<boolean>; }