import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The zia_admin_users resource manages administrator users in the Zscaler Internet Access (ZIA) cloud service. Administrator users have access to the ZIA Admin Portal and can manage policies, configurations, and other administrative tasks based on their assigned role. * * For more information, see the [ZIA Admin User Management documentation](https://help.zscaler.com/zia/admin-user-management). * * ## Example Usage * ### Basic Admin User * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * import * as pulumi from "@pulumi/pulumi"; * * const cfg = new pulumi.Config(); * const adminPassword = cfg.requireSecret("adminPassword"); * * const example = new zia.AdminUsers("example", { * loginName: "admin@example.com", * username: "Example Admin", * email: "admin@example.com", * password: adminPassword, * isPasswordLoginAllowed: true, * role: { id: 12345 }, * adminScopeType: "ORGANIZATION", * }); * ``` * * ## Import * * An existing admin user can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:AdminUsers example 12345 * ``` */ export declare class AdminUsers extends pulumi.CustomResource { /** * Get an existing AdminUsers 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AdminUsers; /** * Returns true if the given object is an instance of AdminUsers. 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 AdminUsers; /** * The system-generated ID of the admin user. */ readonly adminId: pulumi.Output; /** * IDs of the admin scope entities (departments, locations, or location groups) when adminScopeType is not `ORGANIZATION`. */ readonly adminScopeEntities: pulumi.Output; /** * The admin scope type. Valid values: `ORGANIZATION`, `DEPARTMENT`, `LOCATION`, `LOCATION_GROUP`. */ readonly adminScopeType: pulumi.Output; /** * Additional information about the admin user. */ readonly comments: pulumi.Output; /** * Whether the admin account is disabled. */ readonly disabled: pulumi.Output; /** * The admin user's email address. */ readonly email: pulumi.Output; /** * Indicates whether the admin is an auditor. */ readonly isAuditor: pulumi.Output; /** * Whether Executive Insights App access is enabled. Can only be set when adminScopeType is `ORGANIZATION`. */ readonly isExecMobileAppEnabled: pulumi.Output; /** * Indicates whether the admin user is non-editable (read-only in the ZIA Admin Portal). */ readonly isNonEditable: pulumi.Output; /** * Indicates whether the admin user's password has expired. */ readonly isPasswordExpired: pulumi.Output; /** * Whether password-based login is allowed for the admin user. */ readonly isPasswordLoginAllowed: pulumi.Output; /** * Whether the admin can receive product update communications. */ readonly isProductUpdateCommEnabled: pulumi.Output; /** * Whether the admin can receive security report communications. */ readonly isSecurityReportCommEnabled: pulumi.Output; /** * Whether the admin can receive service update communications. */ readonly isServiceUpdateCommEnabled: pulumi.Output; /** * The admin user's login name (email format). Must be unique. */ readonly loginName: pulumi.Output; /** * The admin user's password. Required when isPasswordLoginAllowed is true. Must be 8 to 100 characters. */ readonly password: pulumi.Output; /** * The role assigned to the admin user. Provide the role ID. */ readonly role: pulumi.Output; /** * The admin user's display name. */ readonly username: pulumi.Output; /** * Create a AdminUsers 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: AdminUsersArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AdminUsers resource. */ export interface AdminUsersArgs { /** * IDs of the admin scope entities (departments, locations, or location groups) when adminScopeType is not `ORGANIZATION`. */ adminScopeEntities?: pulumi.Input[] | undefined>; /** * The admin scope type. Valid values: `ORGANIZATION`, `DEPARTMENT`, `LOCATION`, `LOCATION_GROUP`. */ adminScopeType?: pulumi.Input; /** * Additional information about the admin user. */ comments?: pulumi.Input; /** * Whether the admin account is disabled. */ disabled?: pulumi.Input; /** * The admin user's email address. */ email: pulumi.Input; /** * Indicates whether the admin is an auditor. */ isAuditor?: pulumi.Input; /** * Whether Executive Insights App access is enabled. Can only be set when adminScopeType is `ORGANIZATION`. */ isExecMobileAppEnabled?: pulumi.Input; /** * Indicates whether the admin user is non-editable (read-only in the ZIA Admin Portal). */ isNonEditable?: pulumi.Input; /** * Indicates whether the admin user's password has expired. */ isPasswordExpired?: pulumi.Input; /** * Whether password-based login is allowed for the admin user. */ isPasswordLoginAllowed?: pulumi.Input; /** * Whether the admin can receive product update communications. */ isProductUpdateCommEnabled?: pulumi.Input; /** * Whether the admin can receive security report communications. */ isSecurityReportCommEnabled?: pulumi.Input; /** * Whether the admin can receive service update communications. */ isServiceUpdateCommEnabled?: pulumi.Input; /** * The admin user's login name (email format). Must be unique. */ loginName: pulumi.Input; /** * The admin user's password. Required when isPasswordLoginAllowed is true. Must be 8 to 100 characters. */ password?: pulumi.Input; /** * The role assigned to the admin user. Provide the role ID. */ role?: pulumi.Input; /** * The admin user's display name. */ username: pulumi.Input; } //# sourceMappingURL=adminUsers.d.ts.map