Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler
zia.getAdminRoles
Explore with Pulumi AI
Use the zia_admin_roles data source to get information about an admin role created in the Zscaler Internet Access cloud or via the API. This data source can then be associated with a ZIA administrator account.
Example Usage
# ZIA Admin Roles Data Source
data "zia_admin_roles" "example" {
name = "Super Admin"
}
Using getAdminRoles
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAdminRoles(args: GetAdminRolesArgs, opts?: InvokeOptions): Promise<GetAdminRolesResult>
function getAdminRolesOutput(args: GetAdminRolesOutputArgs, opts?: InvokeOptions): Output<GetAdminRolesResult>
def get_admin_roles(id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAdminRolesResult
def get_admin_roles_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAdminRolesResult]
func LookupAdminRoles(ctx *Context, args *LookupAdminRolesArgs, opts ...InvokeOption) (*LookupAdminRolesResult, error)
func LookupAdminRolesOutput(ctx *Context, args *LookupAdminRolesOutputArgs, opts ...InvokeOption) LookupAdminRolesResultOutput
> Note: This function is named LookupAdminRoles
in the Go SDK.
public static class GetAdminRoles
{
public static Task<GetAdminRolesResult> InvokeAsync(GetAdminRolesArgs args, InvokeOptions? opts = null)
public static Output<GetAdminRolesResult> Invoke(GetAdminRolesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAdminRolesResult> getAdminRoles(GetAdminRolesArgs args, InvokeOptions options)
public static Output<GetAdminRolesResult> getAdminRoles(GetAdminRolesArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getAdminRoles:getAdminRoles
arguments:
# arguments dictionary
The following arguments are supported:
getAdminRoles Result
The following output properties are available:
- Admin
Acct stringAccess - (String)
- Alerting
Access string - Analysis
Access string - (String)
- Dashboard
Access string - (String) Dashboard access permission. Supported values are:
NONE
,READ_ONLY
- Device
Info stringAccess - Ext
Feature Dictionary<string, string>Permissions - Feature
Permissions Dictionary<string, string> - Id int
- Is
Auditor bool - (Boolean) Indicates whether this is an auditor role.
- Is
Non boolEditable - (Boolean) Indicates whether or not this admin user is editable/deletable.
- Logs
Limit string - (String) Log range limit. Returned values are:
UNRESTRICTED
,MONTH_1
,MONTH_2
,MONTH_3
,MONTH_4
,MONTH_5
,MONTH_6
- Permissions List<string>
- (List of String) List of functional areas to which this role has access. This attribute is subject to change.
- Policy
Access string - (String) Policy access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- Rank int
- (Number) Admin rank of this admin role. This is applicable only when admin rank is enabled in the advanced settings. Default value is 7 (the lowest rank). The assigned admin rank determines the roles or admin users this user can manage, and which rule orders this admin can access.
- Report
Access string - (String) Report access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- Report
Time intDuration - Role
Type string - (String) The admin role type. ()This attribute is subject to change.) Supported values are:
ORG_ADMIN
,EXEC_INSIGHT
,EXEC_INSIGHT_AND_ORG_ADMIN
,SDWAN
- Username
Access string - (String) Username access permission. When set to NONE, the username will be obfuscated. Supported values are:
NONE|READ_ONLY
- Name string
- Admin
Acct stringAccess - (String)
- Alerting
Access string - Analysis
Access string - (String)
- Dashboard
Access string - (String) Dashboard access permission. Supported values are:
NONE
,READ_ONLY
- Device
Info stringAccess - Ext
Feature map[string]stringPermissions - Feature
Permissions map[string]string - Id int
- Is
Auditor bool - (Boolean) Indicates whether this is an auditor role.
- Is
Non boolEditable - (Boolean) Indicates whether or not this admin user is editable/deletable.
- Logs
Limit string - (String) Log range limit. Returned values are:
UNRESTRICTED
,MONTH_1
,MONTH_2
,MONTH_3
,MONTH_4
,MONTH_5
,MONTH_6
- Permissions []string
- (List of String) List of functional areas to which this role has access. This attribute is subject to change.
- Policy
Access string - (String) Policy access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- Rank int
- (Number) Admin rank of this admin role. This is applicable only when admin rank is enabled in the advanced settings. Default value is 7 (the lowest rank). The assigned admin rank determines the roles or admin users this user can manage, and which rule orders this admin can access.
- Report
Access string - (String) Report access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- Report
Time intDuration - Role
Type string - (String) The admin role type. ()This attribute is subject to change.) Supported values are:
ORG_ADMIN
,EXEC_INSIGHT
,EXEC_INSIGHT_AND_ORG_ADMIN
,SDWAN
- Username
Access string - (String) Username access permission. When set to NONE, the username will be obfuscated. Supported values are:
NONE|READ_ONLY
- Name string
- admin
Acct StringAccess - (String)
- alerting
Access String - analysis
Access String - (String)
- dashboard
Access String - (String) Dashboard access permission. Supported values are:
NONE
,READ_ONLY
- device
Info StringAccess - ext
Feature Map<String,String>Permissions - feature
Permissions Map<String,String> - id Integer
- is
Auditor Boolean - (Boolean) Indicates whether this is an auditor role.
- is
Non BooleanEditable - (Boolean) Indicates whether or not this admin user is editable/deletable.
- logs
Limit String - (String) Log range limit. Returned values are:
UNRESTRICTED
,MONTH_1
,MONTH_2
,MONTH_3
,MONTH_4
,MONTH_5
,MONTH_6
- permissions List<String>
- (List of String) List of functional areas to which this role has access. This attribute is subject to change.
- policy
Access String - (String) Policy access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- rank Integer
- (Number) Admin rank of this admin role. This is applicable only when admin rank is enabled in the advanced settings. Default value is 7 (the lowest rank). The assigned admin rank determines the roles or admin users this user can manage, and which rule orders this admin can access.
- report
Access String - (String) Report access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- report
Time IntegerDuration - role
Type String - (String) The admin role type. ()This attribute is subject to change.) Supported values are:
ORG_ADMIN
,EXEC_INSIGHT
,EXEC_INSIGHT_AND_ORG_ADMIN
,SDWAN
- username
Access String - (String) Username access permission. When set to NONE, the username will be obfuscated. Supported values are:
NONE|READ_ONLY
- name String
- admin
Acct stringAccess - (String)
- alerting
Access string - analysis
Access string - (String)
- dashboard
Access string - (String) Dashboard access permission. Supported values are:
NONE
,READ_ONLY
- device
Info stringAccess - ext
Feature {[key: string]: string}Permissions - feature
Permissions {[key: string]: string} - id number
- is
Auditor boolean - (Boolean) Indicates whether this is an auditor role.
- is
Non booleanEditable - (Boolean) Indicates whether or not this admin user is editable/deletable.
- logs
Limit string - (String) Log range limit. Returned values are:
UNRESTRICTED
,MONTH_1
,MONTH_2
,MONTH_3
,MONTH_4
,MONTH_5
,MONTH_6
- permissions string[]
- (List of String) List of functional areas to which this role has access. This attribute is subject to change.
- policy
Access string - (String) Policy access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- rank number
- (Number) Admin rank of this admin role. This is applicable only when admin rank is enabled in the advanced settings. Default value is 7 (the lowest rank). The assigned admin rank determines the roles or admin users this user can manage, and which rule orders this admin can access.
- report
Access string - (String) Report access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- report
Time numberDuration - role
Type string - (String) The admin role type. ()This attribute is subject to change.) Supported values are:
ORG_ADMIN
,EXEC_INSIGHT
,EXEC_INSIGHT_AND_ORG_ADMIN
,SDWAN
- username
Access string - (String) Username access permission. When set to NONE, the username will be obfuscated. Supported values are:
NONE|READ_ONLY
- name string
- admin_
acct_ straccess - (String)
- alerting_
access str - analysis_
access str - (String)
- dashboard_
access str - (String) Dashboard access permission. Supported values are:
NONE
,READ_ONLY
- device_
info_ straccess - ext_
feature_ Mapping[str, str]permissions - feature_
permissions Mapping[str, str] - id int
- is_
auditor bool - (Boolean) Indicates whether this is an auditor role.
- is_
non_ booleditable - (Boolean) Indicates whether or not this admin user is editable/deletable.
- logs_
limit str - (String) Log range limit. Returned values are:
UNRESTRICTED
,MONTH_1
,MONTH_2
,MONTH_3
,MONTH_4
,MONTH_5
,MONTH_6
- permissions Sequence[str]
- (List of String) List of functional areas to which this role has access. This attribute is subject to change.
- policy_
access str - (String) Policy access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- rank int
- (Number) Admin rank of this admin role. This is applicable only when admin rank is enabled in the advanced settings. Default value is 7 (the lowest rank). The assigned admin rank determines the roles or admin users this user can manage, and which rule orders this admin can access.
- report_
access str - (String) Report access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- report_
time_ intduration - role_
type str - (String) The admin role type. ()This attribute is subject to change.) Supported values are:
ORG_ADMIN
,EXEC_INSIGHT
,EXEC_INSIGHT_AND_ORG_ADMIN
,SDWAN
- username_
access str - (String) Username access permission. When set to NONE, the username will be obfuscated. Supported values are:
NONE|READ_ONLY
- name str
- admin
Acct StringAccess - (String)
- alerting
Access String - analysis
Access String - (String)
- dashboard
Access String - (String) Dashboard access permission. Supported values are:
NONE
,READ_ONLY
- device
Info StringAccess - ext
Feature Map<String>Permissions - feature
Permissions Map<String> - id Number
- is
Auditor Boolean - (Boolean) Indicates whether this is an auditor role.
- is
Non BooleanEditable - (Boolean) Indicates whether or not this admin user is editable/deletable.
- logs
Limit String - (String) Log range limit. Returned values are:
UNRESTRICTED
,MONTH_1
,MONTH_2
,MONTH_3
,MONTH_4
,MONTH_5
,MONTH_6
- permissions List<String>
- (List of String) List of functional areas to which this role has access. This attribute is subject to change.
- policy
Access String - (String) Policy access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- rank Number
- (Number) Admin rank of this admin role. This is applicable only when admin rank is enabled in the advanced settings. Default value is 7 (the lowest rank). The assigned admin rank determines the roles or admin users this user can manage, and which rule orders this admin can access.
- report
Access String - (String) Report access permission. Returned values are:
NONE
,READ_ONLY
,READ_WRITE
- report
Time NumberDuration - role
Type String - (String) The admin role type. ()This attribute is subject to change.) Supported values are:
ORG_ADMIN
,EXEC_INSIGHT
,EXEC_INSIGHT_AND_ORG_ADMIN
,SDWAN
- username
Access String - (String) Username access permission. When set to NONE, the username will be obfuscated. Supported values are:
NONE|READ_ONLY
- name String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.