zia.AdminUsers.AdminUsers
The zia_admin_users resource allows the creation and management of ZIA admin user account created in the Zscaler Internet Access cloud or via the API.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Zia = Pulumi.Zia;
using Zia = zscaler.PulumiPackage.Zia;
return await Deployment.RunAsync(() =>
{
var superAdmin = Zia.AdminRoles.GetAdminRoles.Invoke(new()
{
Name = "Super Admin",
});
var engineering = Zia.Departments.GetDepartmentManagement.Invoke(new()
{
Name = "Engineering",
});
var johnSmith = new Zia.AdminUsers.AdminUsers("johnSmith", new()
{
LoginName = "john.smith@acme.com",
UserName = "John Smith",
Email = "john.smith@acme.com",
IsPasswordLoginAllowed = true,
Password = "AeQ9E5w8B$",
IsSecurityReportCommEnabled = true,
IsServiceUpdateCommEnabled = true,
IsProductUpdateCommEnabled = true,
Comments = "Administrator User",
Roles = new[]
{
new Zia.AdminUsers.Inputs.AdminUsersRoleArgs
{
Id = superAdmin.Apply(getAdminRolesResult => getAdminRolesResult.Id),
},
},
AdminScopes = new[]
{
new Zia.AdminUsers.Inputs.AdminUsersAdminScopeArgs
{
Type = "DEPARTMENT",
ScopeEntities = new Zia.AdminUsers.Inputs.AdminUsersAdminScopeScopeEntitiesArgs
{
Ids = new[]
{
engineering.Apply(getDepartmentManagementResult => getDepartmentManagementResult.Id),
},
},
},
},
});
});
package main
import (
"fmt"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zia/sdk/go/zia/AdminRoles"
"github.com/zscaler/pulumi-zia/sdk/go/zia/AdminUsers"
"github.com/zscaler/pulumi-zia/sdk/go/zia/Departments"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
superAdmin, err := AdminRoles.GetAdminRoles(ctx, &adminroles.GetAdminRolesArgs{
Name: pulumi.StringRef("Super Admin"),
}, nil)
if err != nil {
return err
}
engineering, err := Departments.GetDepartmentManagement(ctx, &departments.GetDepartmentManagementArgs{
Name: pulumi.StringRef("Engineering"),
}, nil)
if err != nil {
return err
}
_, err = AdminUsers.NewAdminUsers(ctx, "johnSmith", &AdminUsers.AdminUsersArgs{
LoginName: pulumi.String("john.smith@acme.com"),
UserName: pulumi.String("John Smith"),
Email: pulumi.String("john.smith@acme.com"),
IsPasswordLoginAllowed: pulumi.Bool(true),
Password: pulumi.String(fmt.Sprintf("AeQ9E5w8B$")),
IsSecurityReportCommEnabled: pulumi.Bool(true),
IsServiceUpdateCommEnabled: pulumi.Bool(true),
IsProductUpdateCommEnabled: pulumi.Bool(true),
Comments: pulumi.String("Administrator User"),
Roles: adminusers.AdminUsersRoleArray{
&adminusers.AdminUsersRoleArgs{
Id: *pulumi.Int(superAdmin.Id),
},
},
AdminScopes: adminusers.AdminUsersAdminScopeArray{
&adminusers.AdminUsersAdminScopeArgs{
Type: pulumi.String("DEPARTMENT"),
ScopeEntities: &adminusers.AdminUsersAdminScopeScopeEntitiesArgs{
Ids: pulumi.IntArray{
*pulumi.Int(engineering.Id),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.AdminRoles.AdminRolesFunctions;
import com.pulumi.zia.AdminRoles.inputs.GetAdminRolesArgs;
import com.pulumi.zia.Departments.DepartmentsFunctions;
import com.pulumi.zia.Departments.inputs.GetDepartmentManagementArgs;
import com.pulumi.zia.AdminUsers.AdminUsers;
import com.pulumi.zia.AdminUsers.AdminUsersArgs;
import com.pulumi.zia.AdminUsers.inputs.AdminUsersRoleArgs;
import com.pulumi.zia.AdminUsers.inputs.AdminUsersAdminScopeArgs;
import com.pulumi.zia.AdminUsers.inputs.AdminUsersAdminScopeScopeEntitiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var superAdmin = AdminRolesFunctions.getAdminRoles(GetAdminRolesArgs.builder()
.name("Super Admin")
.build());
final var engineering = DepartmentsFunctions.getDepartmentManagement(GetDepartmentManagementArgs.builder()
.name("Engineering")
.build());
var johnSmith = new AdminUsers("johnSmith", AdminUsersArgs.builder()
.loginName("john.smith@acme.com")
.userName("John Smith")
.email("john.smith@acme.com")
.isPasswordLoginAllowed(true)
.password("AeQ9E5w8B$")
.isSecurityReportCommEnabled(true)
.isServiceUpdateCommEnabled(true)
.isProductUpdateCommEnabled(true)
.comments("Administrator User")
.roles(AdminUsersRoleArgs.builder()
.id(superAdmin.applyValue(getAdminRolesResult -> getAdminRolesResult.id()))
.build())
.adminScopes(AdminUsersAdminScopeArgs.builder()
.type("DEPARTMENT")
.scopeEntities(AdminUsersAdminScopeScopeEntitiesArgs.builder()
.ids(engineering.applyValue(getDepartmentManagementResult -> getDepartmentManagementResult.id()))
.build())
.build())
.build());
}
}
import pulumi
import pulumi_zia as zia
import zscaler_pulumi_zia as zia
super_admin = zia.AdminRoles.get_admin_roles(name="Super Admin")
engineering = zia.Departments.get_department_management(name="Engineering")
john_smith = zia.admin_users.AdminUsers("johnSmith",
login_name="john.smith@acme.com",
user_name="John Smith",
email="john.smith@acme.com",
is_password_login_allowed=True,
password="AeQ9E5w8B$",
is_security_report_comm_enabled=True,
is_service_update_comm_enabled=True,
is_product_update_comm_enabled=True,
comments="Administrator User",
roles=[zia.admin_users.AdminUsersRoleArgs(
id=super_admin.id,
)],
admin_scopes=[zia.admin_users.AdminUsersAdminScopeArgs(
type="DEPARTMENT",
scope_entities=zia.admin_users.AdminUsersAdminScopeScopeEntitiesArgs(
ids=[engineering.id],
),
)])
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
import * as zia from "@zscaler/pulumi-zia";
const superAdmin = zia.AdminRoles.getAdminRoles({
name: "Super Admin",
});
const engineering = zia.Departments.getDepartmentManagement({
name: "Engineering",
});
const johnSmith = new zia.adminusers.AdminUsers("johnSmith", {
loginName: "john.smith@acme.com",
userName: "John Smith",
email: "john.smith@acme.com",
isPasswordLoginAllowed: true,
password: `AeQ9E5w8B$`,
isSecurityReportCommEnabled: true,
isServiceUpdateCommEnabled: true,
isProductUpdateCommEnabled: true,
comments: "Administrator User",
roles: [{
id: superAdmin.then(superAdmin => superAdmin.id),
}],
adminScopes: [{
type: "DEPARTMENT",
scopeEntities: {
ids: [engineering.then(engineering => engineering.id)],
},
}],
});
resources:
johnSmith:
type: zia:AdminUsers:AdminUsers
properties:
loginName: john.smith@acme.com
userName: John Smith
email: john.smith@acme.com
isPasswordLoginAllowed: true
password: AeQ9E5w8B$
isSecurityReportCommEnabled: true
isServiceUpdateCommEnabled: true
isProductUpdateCommEnabled: true
comments: Administrator User
roles:
- id: ${superAdmin.id}
adminScopes:
- type: DEPARTMENT
scopeEntities:
ids:
- ${engineering.id}
variables:
superAdmin:
fn::invoke:
Function: zia:AdminRoles:getAdminRoles
Arguments:
name: Super Admin
engineering:
fn::invoke:
Function: zia:Departments:getDepartmentManagement
Arguments:
name: Engineering
Create AdminUsers Resource
new AdminUsers(name: string, args: AdminUsersArgs, opts?: CustomResourceOptions);
@overload
def AdminUsers(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_scopes: Optional[Sequence[_adminusers.AdminUsersAdminScopeArgs]] = None,
comments: Optional[str] = None,
disabled: Optional[bool] = None,
email: Optional[str] = None,
is_auditor: Optional[bool] = None,
is_exec_mobile_app_enabled: Optional[bool] = None,
is_non_editable: Optional[bool] = None,
is_password_expired: Optional[bool] = None,
is_password_login_allowed: Optional[bool] = None,
is_product_update_comm_enabled: Optional[bool] = None,
is_security_report_comm_enabled: Optional[bool] = None,
is_service_update_comm_enabled: Optional[bool] = None,
login_name: Optional[str] = None,
password: Optional[str] = None,
roles: Optional[Sequence[_adminusers.AdminUsersRoleArgs]] = None,
username: Optional[str] = None)
@overload
def AdminUsers(resource_name: str,
args: AdminUsersArgs,
opts: Optional[ResourceOptions] = None)
func NewAdminUsers(ctx *Context, name string, args AdminUsersArgs, opts ...ResourceOption) (*AdminUsers, error)
public AdminUsers(string name, AdminUsersArgs args, CustomResourceOptions? opts = null)
public AdminUsers(String name, AdminUsersArgs args)
public AdminUsers(String name, AdminUsersArgs args, CustomResourceOptions options)
type: zia:AdminUsers:AdminUsers
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdminUsersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AdminUsersArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AdminUsersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdminUsersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdminUsersArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AdminUsers Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AdminUsers resource accepts the following input properties:
- Email string
Admin or auditor's email address.
- Login
Name string The email address of the admin user to be exported.
- Username string
The username of the admin user to be exported.
- Admin
Scopes List<zscaler.Pulumi Package. Zia. Admin Users. Inputs. Admin Users Admin Scope Args> The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- Comments string
Additional information about the admin or auditor.
- Disabled bool
Indicates whether or not the admin account is disabled.
- Is
Auditor bool Indicates whether the user is an auditor. This attribute is subject to change.
- Is
Exec boolMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- Is
Non boolEditable Indicates whether or not the admin can be edited or deleted.
- Is
Password boolExpired Indicates whether or not an admin's password has expired.
- Is
Password boolLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- Is
Product boolUpdate Comm Enabled Communication setting for Product Update.
- Is
Security boolReport Comm Enabled Communication for Security Report is enabled.
- Is
Service boolUpdate Comm Enabled Communication setting for Service Update.
- Password string
The username of the admin user to be exported.
- Roles
List<zscaler.
Pulumi Package. Zia. Admin Users. Inputs. Admin Users Role Args> Role of the admin. This is not required for an auditor.
- Email string
Admin or auditor's email address.
- Login
Name string The email address of the admin user to be exported.
- Username string
The username of the admin user to be exported.
- Admin
Scopes []AdminUsers Admin Scope Args The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- Comments string
Additional information about the admin or auditor.
- Disabled bool
Indicates whether or not the admin account is disabled.
- Is
Auditor bool Indicates whether the user is an auditor. This attribute is subject to change.
- Is
Exec boolMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- Is
Non boolEditable Indicates whether or not the admin can be edited or deleted.
- Is
Password boolExpired Indicates whether or not an admin's password has expired.
- Is
Password boolLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- Is
Product boolUpdate Comm Enabled Communication setting for Product Update.
- Is
Security boolReport Comm Enabled Communication for Security Report is enabled.
- Is
Service boolUpdate Comm Enabled Communication setting for Service Update.
- Password string
The username of the admin user to be exported.
- Roles
[]Admin
Users Role Args Role of the admin. This is not required for an auditor.
- email String
Admin or auditor's email address.
- login
Name String The email address of the admin user to be exported.
- username String
The username of the admin user to be exported.
- admin
Scopes List<AdminScope Args> The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments String
Additional information about the admin or auditor.
- disabled Boolean
Indicates whether or not the admin account is disabled.
- is
Auditor Boolean Indicates whether the user is an auditor. This attribute is subject to change.
- is
Exec BooleanMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is
Non BooleanEditable Indicates whether or not the admin can be edited or deleted.
- is
Password BooleanExpired Indicates whether or not an admin's password has expired.
- is
Password BooleanLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is
Product BooleanUpdate Comm Enabled Communication setting for Product Update.
- is
Security BooleanReport Comm Enabled Communication for Security Report is enabled.
- is
Service BooleanUpdate Comm Enabled Communication setting for Service Update.
- password String
The username of the admin user to be exported.
- roles
List<Role
Args> Role of the admin. This is not required for an auditor.
- email string
Admin or auditor's email address.
- login
Name string The email address of the admin user to be exported.
- username string
The username of the admin user to be exported.
- admin
Scopes AdminUsers Admin Scope Args[] The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments string
Additional information about the admin or auditor.
- disabled boolean
Indicates whether or not the admin account is disabled.
- is
Auditor boolean Indicates whether the user is an auditor. This attribute is subject to change.
- is
Exec booleanMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is
Non booleanEditable Indicates whether or not the admin can be edited or deleted.
- is
Password booleanExpired Indicates whether or not an admin's password has expired.
- is
Password booleanLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is
Product booleanUpdate Comm Enabled Communication setting for Product Update.
- is
Security booleanReport Comm Enabled Communication for Security Report is enabled.
- is
Service booleanUpdate Comm Enabled Communication setting for Service Update.
- password string
The username of the admin user to be exported.
- roles
Admin
Users Role Args[] Role of the admin. This is not required for an auditor.
- email str
Admin or auditor's email address.
- login_
name str The email address of the admin user to be exported.
- username str
The username of the admin user to be exported.
- admin_
scopes AdminUsers Admin Scope Args] The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments str
Additional information about the admin or auditor.
- disabled bool
Indicates whether or not the admin account is disabled.
- is_
auditor bool Indicates whether the user is an auditor. This attribute is subject to change.
- is_
exec_ boolmobile_ app_ enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is_
non_ booleditable Indicates whether or not the admin can be edited or deleted.
- is_
password_ boolexpired Indicates whether or not an admin's password has expired.
- is_
password_ boollogin_ allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is_
product_ boolupdate_ comm_ enabled Communication setting for Product Update.
- is_
security_ boolreport_ comm_ enabled Communication for Security Report is enabled.
- is_
service_ boolupdate_ comm_ enabled Communication setting for Service Update.
- password str
The username of the admin user to be exported.
- roles
Admin
Users Role Args] Role of the admin. This is not required for an auditor.
- email String
Admin or auditor's email address.
- login
Name String The email address of the admin user to be exported.
- username String
The username of the admin user to be exported.
- admin
Scopes List<Property Map> The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments String
Additional information about the admin or auditor.
- disabled Boolean
Indicates whether or not the admin account is disabled.
- is
Auditor Boolean Indicates whether the user is an auditor. This attribute is subject to change.
- is
Exec BooleanMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is
Non BooleanEditable Indicates whether or not the admin can be edited or deleted.
- is
Password BooleanExpired Indicates whether or not an admin's password has expired.
- is
Password BooleanLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is
Product BooleanUpdate Comm Enabled Communication setting for Product Update.
- is
Security BooleanReport Comm Enabled Communication for Security Report is enabled.
- is
Service BooleanUpdate Comm Enabled Communication setting for Service Update.
- password String
The username of the admin user to be exported.
- roles List<Property Map>
Role of the admin. This is not required for an auditor.
Outputs
All input properties are implicitly available as output properties. Additionally, the AdminUsers resource produces the following output properties:
Look up Existing AdminUsers Resource
Get an existing AdminUsers resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AdminUsersState, opts?: CustomResourceOptions): AdminUsers
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_id: Optional[int] = None,
admin_scopes: Optional[Sequence[_adminusers.AdminUsersAdminScopeArgs]] = None,
comments: Optional[str] = None,
disabled: Optional[bool] = None,
email: Optional[str] = None,
is_auditor: Optional[bool] = None,
is_exec_mobile_app_enabled: Optional[bool] = None,
is_non_editable: Optional[bool] = None,
is_password_expired: Optional[bool] = None,
is_password_login_allowed: Optional[bool] = None,
is_product_update_comm_enabled: Optional[bool] = None,
is_security_report_comm_enabled: Optional[bool] = None,
is_service_update_comm_enabled: Optional[bool] = None,
login_name: Optional[str] = None,
password: Optional[str] = None,
roles: Optional[Sequence[_adminusers.AdminUsersRoleArgs]] = None,
username: Optional[str] = None) -> AdminUsers
func GetAdminUsers(ctx *Context, name string, id IDInput, state *AdminUsersState, opts ...ResourceOption) (*AdminUsers, error)
public static AdminUsers Get(string name, Input<string> id, AdminUsersState? state, CustomResourceOptions? opts = null)
public static AdminUsers get(String name, Output<String> id, AdminUsersState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
Id int - Admin
Scopes List<zscaler.Pulumi Package. Zia. Admin Users. Inputs. Admin Users Admin Scope Args> The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- Comments string
Additional information about the admin or auditor.
- Disabled bool
Indicates whether or not the admin account is disabled.
- Email string
Admin or auditor's email address.
- Is
Auditor bool Indicates whether the user is an auditor. This attribute is subject to change.
- Is
Exec boolMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- Is
Non boolEditable Indicates whether or not the admin can be edited or deleted.
- Is
Password boolExpired Indicates whether or not an admin's password has expired.
- Is
Password boolLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- Is
Product boolUpdate Comm Enabled Communication setting for Product Update.
- Is
Security boolReport Comm Enabled Communication for Security Report is enabled.
- Is
Service boolUpdate Comm Enabled Communication setting for Service Update.
- Login
Name string The email address of the admin user to be exported.
- Password string
The username of the admin user to be exported.
- Roles
List<zscaler.
Pulumi Package. Zia. Admin Users. Inputs. Admin Users Role Args> Role of the admin. This is not required for an auditor.
- Username string
The username of the admin user to be exported.
- Admin
Id int - Admin
Scopes []AdminUsers Admin Scope Args The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- Comments string
Additional information about the admin or auditor.
- Disabled bool
Indicates whether or not the admin account is disabled.
- Email string
Admin or auditor's email address.
- Is
Auditor bool Indicates whether the user is an auditor. This attribute is subject to change.
- Is
Exec boolMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- Is
Non boolEditable Indicates whether or not the admin can be edited or deleted.
- Is
Password boolExpired Indicates whether or not an admin's password has expired.
- Is
Password boolLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- Is
Product boolUpdate Comm Enabled Communication setting for Product Update.
- Is
Security boolReport Comm Enabled Communication for Security Report is enabled.
- Is
Service boolUpdate Comm Enabled Communication setting for Service Update.
- Login
Name string The email address of the admin user to be exported.
- Password string
The username of the admin user to be exported.
- Roles
[]Admin
Users Role Args Role of the admin. This is not required for an auditor.
- Username string
The username of the admin user to be exported.
- admin
Id Integer - admin
Scopes List<AdminScope Args> The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments String
Additional information about the admin or auditor.
- disabled Boolean
Indicates whether or not the admin account is disabled.
- email String
Admin or auditor's email address.
- is
Auditor Boolean Indicates whether the user is an auditor. This attribute is subject to change.
- is
Exec BooleanMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is
Non BooleanEditable Indicates whether or not the admin can be edited or deleted.
- is
Password BooleanExpired Indicates whether or not an admin's password has expired.
- is
Password BooleanLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is
Product BooleanUpdate Comm Enabled Communication setting for Product Update.
- is
Security BooleanReport Comm Enabled Communication for Security Report is enabled.
- is
Service BooleanUpdate Comm Enabled Communication setting for Service Update.
- login
Name String The email address of the admin user to be exported.
- password String
The username of the admin user to be exported.
- roles
List<Role
Args> Role of the admin. This is not required for an auditor.
- username String
The username of the admin user to be exported.
- admin
Id number - admin
Scopes AdminUsers Admin Scope Args[] The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments string
Additional information about the admin or auditor.
- disabled boolean
Indicates whether or not the admin account is disabled.
- email string
Admin or auditor's email address.
- is
Auditor boolean Indicates whether the user is an auditor. This attribute is subject to change.
- is
Exec booleanMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is
Non booleanEditable Indicates whether or not the admin can be edited or deleted.
- is
Password booleanExpired Indicates whether or not an admin's password has expired.
- is
Password booleanLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is
Product booleanUpdate Comm Enabled Communication setting for Product Update.
- is
Security booleanReport Comm Enabled Communication for Security Report is enabled.
- is
Service booleanUpdate Comm Enabled Communication setting for Service Update.
- login
Name string The email address of the admin user to be exported.
- password string
The username of the admin user to be exported.
- roles
Admin
Users Role Args[] Role of the admin. This is not required for an auditor.
- username string
The username of the admin user to be exported.
- admin_
id int - admin_
scopes AdminUsers Admin Scope Args] The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments str
Additional information about the admin or auditor.
- disabled bool
Indicates whether or not the admin account is disabled.
- email str
Admin or auditor's email address.
- is_
auditor bool Indicates whether the user is an auditor. This attribute is subject to change.
- is_
exec_ boolmobile_ app_ enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is_
non_ booleditable Indicates whether or not the admin can be edited or deleted.
- is_
password_ boolexpired Indicates whether or not an admin's password has expired.
- is_
password_ boollogin_ allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is_
product_ boolupdate_ comm_ enabled Communication setting for Product Update.
- is_
security_ boolreport_ comm_ enabled Communication for Security Report is enabled.
- is_
service_ boolupdate_ comm_ enabled Communication setting for Service Update.
- login_
name str The email address of the admin user to be exported.
- password str
The username of the admin user to be exported.
- roles
Admin
Users Role Args] Role of the admin. This is not required for an auditor.
- username str
The username of the admin user to be exported.
- admin
Id Number - admin
Scopes List<Property Map> The admin's scope. A scope is required for admins, but not applicable to auditors. This attribute is subject to change.
- comments String
Additional information about the admin or auditor.
- disabled Boolean
Indicates whether or not the admin account is disabled.
- email String
Admin or auditor's email address.
- is
Auditor Boolean Indicates whether the user is an auditor. This attribute is subject to change.
- is
Exec BooleanMobile App Enabled Indicates whether or not Executive Insights App access is enabled for the admin.
- is
Non BooleanEditable Indicates whether or not the admin can be edited or deleted.
- is
Password BooleanExpired Indicates whether or not an admin's password has expired.
- is
Password BooleanLogin Allowed The default is true when SAML Authentication is disabled. When SAML Authentication is enabled, this can be set to false in order to force the admin to login via SSO only.
- is
Product BooleanUpdate Comm Enabled Communication setting for Product Update.
- is
Security BooleanReport Comm Enabled Communication for Security Report is enabled.
- is
Service BooleanUpdate Comm Enabled Communication setting for Service Update.
- login
Name String The email address of the admin user to be exported.
- password String
The username of the admin user to be exported.
- roles List<Property Map>
Role of the admin. This is not required for an auditor.
- username String
The username of the admin user to be exported.
Supporting Types
AdminUsersAdminScope
- Scope
Entities zscaler.Pulumi Package. Zia. Admin Users. Inputs. Admin Users Admin Scope Scope Entities Based on the admin scope type, the entities can be the ID/name pair of departments, locations, or location groups.
- Scope
Group zscaler.Member Entities Pulumi Package. Zia. Admin Users. Inputs. Admin Users Admin Scope Scope Group Member Entities Only applicable for the LOCATION_GROUP admin scope type, in which case this attribute gives the list of ID/name pairs of locations within the location group.
- Type string
The admin scope type. The attribute name is subject to change.
- Scope
Entities AdminUsers Admin Scope Scope Entities Based on the admin scope type, the entities can be the ID/name pair of departments, locations, or location groups.
- Scope
Group AdminMember Entities Users Admin Scope Scope Group Member Entities Only applicable for the LOCATION_GROUP admin scope type, in which case this attribute gives the list of ID/name pairs of locations within the location group.
- Type string
The admin scope type. The attribute name is subject to change.
- scope
Entities AdminScope Scope Entities Based on the admin scope type, the entities can be the ID/name pair of departments, locations, or location groups.
- scope
Group AdminMember Entities Scope Scope Group Member Entities Only applicable for the LOCATION_GROUP admin scope type, in which case this attribute gives the list of ID/name pairs of locations within the location group.
- type String
The admin scope type. The attribute name is subject to change.
- scope
Entities AdminUsers Admin Scope Scope Entities Based on the admin scope type, the entities can be the ID/name pair of departments, locations, or location groups.
- scope
Group AdminMember Entities Users Admin Scope Scope Group Member Entities Only applicable for the LOCATION_GROUP admin scope type, in which case this attribute gives the list of ID/name pairs of locations within the location group.
- type string
The admin scope type. The attribute name is subject to change.
- scope_
entities AdminUsers Admin Scope Scope Entities Based on the admin scope type, the entities can be the ID/name pair of departments, locations, or location groups.
- scope_
group_ Adminmember_ entities Users Admin Scope Scope Group Member Entities Only applicable for the LOCATION_GROUP admin scope type, in which case this attribute gives the list of ID/name pairs of locations within the location group.
- type str
The admin scope type. The attribute name is subject to change.
- scope
Entities Property Map Based on the admin scope type, the entities can be the ID/name pair of departments, locations, or location groups.
- scope
Group Property MapMember Entities Only applicable for the LOCATION_GROUP admin scope type, in which case this attribute gives the list of ID/name pairs of locations within the location group.
- type String
The admin scope type. The attribute name is subject to change.
AdminUsersAdminScopeScopeEntities
- Ids List<int>
Identifier that uniquely identifies an entity
- Ids []int
Identifier that uniquely identifies an entity
- ids List<Integer>
Identifier that uniquely identifies an entity
- ids number[]
Identifier that uniquely identifies an entity
- ids Sequence[int]
Identifier that uniquely identifies an entity
- ids List<Number>
Identifier that uniquely identifies an entity
AdminUsersAdminScopeScopeGroupMemberEntities
- Ids List<int>
Identifier that uniquely identifies an entity
- Ids []int
Identifier that uniquely identifies an entity
- ids List<Integer>
Identifier that uniquely identifies an entity
- ids number[]
Identifier that uniquely identifies an entity
- ids Sequence[int]
Identifier that uniquely identifies an entity
- ids List<Number>
Identifier that uniquely identifies an entity
AdminUsersRole
- Extensions Dictionary<string, string>
- Id int
Identifier that uniquely identifies an entity
- Is
Name boolL10n Tag - Name string
The configured name of the entity
- Extensions map[string]string
- Id int
Identifier that uniquely identifies an entity
- Is
Name boolL10n Tag - Name string
The configured name of the entity
- extensions Map<String,String>
- id Integer
Identifier that uniquely identifies an entity
- is
Name BooleanL10n Tag - name String
The configured name of the entity
- extensions {[key: string]: string}
- id number
Identifier that uniquely identifies an entity
- is
Name booleanL10n Tag - name string
The configured name of the entity
- extensions Mapping[str, str]
- id int
Identifier that uniquely identifies an entity
- is_
name_ booll10n_ tag - name str
The configured name of the entity
- extensions Map<String>
- id Number
Identifier that uniquely identifies an entity
- is
Name BooleanL10n Tag - name String
The configured name of the entity
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
This Pulumi package is based on the
zia
Terraform Provider.