Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler
zia.getLocationGroups
Explore with Pulumi AI
Use the zia_location_groups data source to get information about a location group option available in the Zscaler Internet Access.
data "zia_location_groups" "example"{
name = "Corporate User Traffic Group"
}
data "zia_location_groups" "example"{
name = "Guest Wifi Group"
}
data "zia_location_groups" "example"{
name = "IoT Traffic Group"
}
data "zia_location_groups" "example"{
name = "Server Traffic Group"
}
data "zia_location_groups" "example"{
name = "Server Traffic Group"
}
Using getLocationGroups
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 getLocationGroups(args: GetLocationGroupsArgs, opts?: InvokeOptions): Promise<GetLocationGroupsResult>
function getLocationGroupsOutput(args: GetLocationGroupsOutputArgs, opts?: InvokeOptions): Output<GetLocationGroupsResult>
def get_location_groups(dynamic_location_group_criterias: Optional[Sequence[GetLocationGroupsDynamicLocationGroupCriteria]] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLocationGroupsResult
def get_location_groups_output(dynamic_location_group_criterias: Optional[pulumi.Input[Sequence[pulumi.Input[GetLocationGroupsDynamicLocationGroupCriteriaArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLocationGroupsResult]
func GetLocationGroups(ctx *Context, args *GetLocationGroupsArgs, opts ...InvokeOption) (*GetLocationGroupsResult, error)
func GetLocationGroupsOutput(ctx *Context, args *GetLocationGroupsOutputArgs, opts ...InvokeOption) GetLocationGroupsResultOutput
> Note: This function is named GetLocationGroups
in the Go SDK.
public static class GetLocationGroups
{
public static Task<GetLocationGroupsResult> InvokeAsync(GetLocationGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetLocationGroupsResult> Invoke(GetLocationGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLocationGroupsResult> getLocationGroups(GetLocationGroupsArgs args, InvokeOptions options)
public static Output<GetLocationGroupsResult> getLocationGroups(GetLocationGroupsArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getLocationGroups:getLocationGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Dynamic
Location List<zscaler.Group Criterias Pulumi Package. Zia. Inputs. Get Location Groups Dynamic Location Group Criteria> - (Block Set) Dynamic location group information.
- Name string
- Location group name
- Dynamic
Location []GetGroup Criterias Location Groups Dynamic Location Group Criteria - (Block Set) Dynamic location group information.
- Name string
- Location group name
- dynamic
Location List<GetGroup Criterias Location Groups Dynamic Location Group Criteria> - (Block Set) Dynamic location group information.
- name String
- Location group name
- dynamic
Location GetGroup Criterias Location Groups Dynamic Location Group Criteria[] - (Block Set) Dynamic location group information.
- name string
- Location group name
- dynamic_
location_ Sequence[Getgroup_ criterias Location Groups Dynamic Location Group Criteria] - (Block Set) Dynamic location group information.
- name str
- Location group name
- dynamic
Location List<Property Map>Group Criterias - (Block Set) Dynamic location group information.
- name String
- Location group name
getLocationGroups Result
The following output properties are available:
- Comments string
- (List of Object)
- Deleted bool
- (Boolean) Indicates the location group was deleted
- Group
Type string - (String) The location group's type (i.e., Static or Dynamic)
- Id int
- (Number) Identifier that uniquely identifies an entity
- Last
Mod intTime - (List of Object) Automatically populated with the current time, after a successful POST or PUT request.
- Last
Mod List<zscaler.Users Pulumi Package. Zia. Outputs. Get Location Groups Last Mod User> - (List of Object)
- Locations
List<zscaler.
Pulumi Package. Zia. Outputs. Get Location Groups Location> - (List of Object) The Name-ID pairs of the locations that are assigned to the static location group. This is ignored if the groupType is Dynamic.
- Predefined bool
- (Boolean)
- Dynamic
Location List<zscaler.Group Criterias Pulumi Package. Zia. Outputs. Get Location Groups Dynamic Location Group Criteria> - (Block Set) Dynamic location group information.
- Name string
- (String) The configured name of the entity
- Comments string
- (List of Object)
- Deleted bool
- (Boolean) Indicates the location group was deleted
- Group
Type string - (String) The location group's type (i.e., Static or Dynamic)
- Id int
- (Number) Identifier that uniquely identifies an entity
- Last
Mod intTime - (List of Object) Automatically populated with the current time, after a successful POST or PUT request.
- Last
Mod []GetUsers Location Groups Last Mod User - (List of Object)
- Locations
[]Get
Location Groups Location - (List of Object) The Name-ID pairs of the locations that are assigned to the static location group. This is ignored if the groupType is Dynamic.
- Predefined bool
- (Boolean)
- Dynamic
Location []GetGroup Criterias Location Groups Dynamic Location Group Criteria - (Block Set) Dynamic location group information.
- Name string
- (String) The configured name of the entity
- comments String
- (List of Object)
- deleted Boolean
- (Boolean) Indicates the location group was deleted
- group
Type String - (String) The location group's type (i.e., Static or Dynamic)
- id Integer
- (Number) Identifier that uniquely identifies an entity
- last
Mod IntegerTime - (List of Object) Automatically populated with the current time, after a successful POST or PUT request.
- last
Mod List<GetUsers Location Groups Last Mod User> - (List of Object)
- locations
List<Get
Location Groups Location> - (List of Object) The Name-ID pairs of the locations that are assigned to the static location group. This is ignored if the groupType is Dynamic.
- predefined Boolean
- (Boolean)
- dynamic
Location List<GetGroup Criterias Location Groups Dynamic Location Group Criteria> - (Block Set) Dynamic location group information.
- name String
- (String) The configured name of the entity
- comments string
- (List of Object)
- deleted boolean
- (Boolean) Indicates the location group was deleted
- group
Type string - (String) The location group's type (i.e., Static or Dynamic)
- id number
- (Number) Identifier that uniquely identifies an entity
- last
Mod numberTime - (List of Object) Automatically populated with the current time, after a successful POST or PUT request.
- last
Mod GetUsers Location Groups Last Mod User[] - (List of Object)
- locations
Get
Location Groups Location[] - (List of Object) The Name-ID pairs of the locations that are assigned to the static location group. This is ignored if the groupType is Dynamic.
- predefined boolean
- (Boolean)
- dynamic
Location GetGroup Criterias Location Groups Dynamic Location Group Criteria[] - (Block Set) Dynamic location group information.
- name string
- (String) The configured name of the entity
- comments str
- (List of Object)
- deleted bool
- (Boolean) Indicates the location group was deleted
- group_
type str - (String) The location group's type (i.e., Static or Dynamic)
- id int
- (Number) Identifier that uniquely identifies an entity
- last_
mod_ inttime - (List of Object) Automatically populated with the current time, after a successful POST or PUT request.
- last_
mod_ Sequence[Getusers Location Groups Last Mod User] - (List of Object)
- locations
Sequence[Get
Location Groups Location] - (List of Object) The Name-ID pairs of the locations that are assigned to the static location group. This is ignored if the groupType is Dynamic.
- predefined bool
- (Boolean)
- dynamic_
location_ Sequence[Getgroup_ criterias Location Groups Dynamic Location Group Criteria] - (Block Set) Dynamic location group information.
- name str
- (String) The configured name of the entity
- comments String
- (List of Object)
- deleted Boolean
- (Boolean) Indicates the location group was deleted
- group
Type String - (String) The location group's type (i.e., Static or Dynamic)
- id Number
- (Number) Identifier that uniquely identifies an entity
- last
Mod NumberTime - (List of Object) Automatically populated with the current time, after a successful POST or PUT request.
- last
Mod List<Property Map>Users - (List of Object)
- locations List<Property Map>
- (List of Object) The Name-ID pairs of the locations that are assigned to the static location group. This is ignored if the groupType is Dynamic.
- predefined Boolean
- (Boolean)
- dynamic
Location List<Property Map>Group Criterias - (Block Set) Dynamic location group information.
- name String
- (String) The configured name of the entity
Supporting Types
GetLocationGroupsDynamicLocationGroupCriteria
- Enable
Bandwidth boolControl - (Boolean) Enable Bandwidth Control. When set to true, Bandwidth Control is enabled for the location.
- Enable
Caution bool - (Boolean) Enable Caution. When set to true, a caution notifcation is enabled for the location.
- Enable
Xff boolForwarding - (Boolean) Enable
XFF
Forwarding. When set to true, traffic is passed to Zscaler Cloud via the X-Forwarded-For (XFF) header. - Enforce
Aup bool - (Boolean) Enable AUP. When set to true, AUP is enabled for the location.
- Enforce
Authentication bool - (Boolean) Enforce Authentication. Required when ports are enabled, IP Surrogate is enabled, or Kerberos Authentication is enabled.
- Enforce
Firewall boolControl - (Boolean) Enable Firewall. When set to true, Firewall is enabled for the location.
- Managed
Bies List<zscaler.Pulumi Package. Zia. Inputs. Get Location Groups Dynamic Location Group Criteria Managed By> - (Block List)
- Cities
List<zscaler.
Pulumi Package. Zia. Inputs. Get Location Groups Dynamic Location Group Criteria City> - (Block List)
- Countries List<string>
- (List of String) One or more countries from a predefined set
- Names
List<zscaler.
Pulumi Package. Zia. Inputs. Get Location Groups Dynamic Location Group Criteria Name> - Location group name
- Profiles List<string>
- (List of String) One or more location profiles from a predefined set
- Enable
Bandwidth boolControl - (Boolean) Enable Bandwidth Control. When set to true, Bandwidth Control is enabled for the location.
- Enable
Caution bool - (Boolean) Enable Caution. When set to true, a caution notifcation is enabled for the location.
- Enable
Xff boolForwarding - (Boolean) Enable
XFF
Forwarding. When set to true, traffic is passed to Zscaler Cloud via the X-Forwarded-For (XFF) header. - Enforce
Aup bool - (Boolean) Enable AUP. When set to true, AUP is enabled for the location.
- Enforce
Authentication bool - (Boolean) Enforce Authentication. Required when ports are enabled, IP Surrogate is enabled, or Kerberos Authentication is enabled.
- Enforce
Firewall boolControl - (Boolean) Enable Firewall. When set to true, Firewall is enabled for the location.
- Managed
Bies []GetLocation Groups Dynamic Location Group Criteria Managed By - (Block List)
- Cities
[]Get
Location Groups Dynamic Location Group Criteria City - (Block List)
- Countries []string
- (List of String) One or more countries from a predefined set
- Names
[]Get
Location Groups Dynamic Location Group Criteria Name - Location group name
- Profiles []string
- (List of String) One or more location profiles from a predefined set
- enable
Bandwidth BooleanControl - (Boolean) Enable Bandwidth Control. When set to true, Bandwidth Control is enabled for the location.
- enable
Caution Boolean - (Boolean) Enable Caution. When set to true, a caution notifcation is enabled for the location.
- enable
Xff BooleanForwarding - (Boolean) Enable
XFF
Forwarding. When set to true, traffic is passed to Zscaler Cloud via the X-Forwarded-For (XFF) header. - enforce
Aup Boolean - (Boolean) Enable AUP. When set to true, AUP is enabled for the location.
- enforce
Authentication Boolean - (Boolean) Enforce Authentication. Required when ports are enabled, IP Surrogate is enabled, or Kerberos Authentication is enabled.
- enforce
Firewall BooleanControl - (Boolean) Enable Firewall. When set to true, Firewall is enabled for the location.
- managed
Bies List<GetLocation Groups Dynamic Location Group Criteria Managed By> - (Block List)
- cities
List<Get
Location Groups Dynamic Location Group Criteria City> - (Block List)
- countries List<String>
- (List of String) One or more countries from a predefined set
- names
List<Get
Location Groups Dynamic Location Group Criteria Name> - Location group name
- profiles List<String>
- (List of String) One or more location profiles from a predefined set
- enable
Bandwidth booleanControl - (Boolean) Enable Bandwidth Control. When set to true, Bandwidth Control is enabled for the location.
- enable
Caution boolean - (Boolean) Enable Caution. When set to true, a caution notifcation is enabled for the location.
- enable
Xff booleanForwarding - (Boolean) Enable
XFF
Forwarding. When set to true, traffic is passed to Zscaler Cloud via the X-Forwarded-For (XFF) header. - enforce
Aup boolean - (Boolean) Enable AUP. When set to true, AUP is enabled for the location.
- enforce
Authentication boolean - (Boolean) Enforce Authentication. Required when ports are enabled, IP Surrogate is enabled, or Kerberos Authentication is enabled.
- enforce
Firewall booleanControl - (Boolean) Enable Firewall. When set to true, Firewall is enabled for the location.
- managed
Bies GetLocation Groups Dynamic Location Group Criteria Managed By[] - (Block List)
- cities
Get
Location Groups Dynamic Location Group Criteria City[] - (Block List)
- countries string[]
- (List of String) One or more countries from a predefined set
- names
Get
Location Groups Dynamic Location Group Criteria Name[] - Location group name
- profiles string[]
- (List of String) One or more location profiles from a predefined set
- enable_
bandwidth_ boolcontrol - (Boolean) Enable Bandwidth Control. When set to true, Bandwidth Control is enabled for the location.
- enable_
caution bool - (Boolean) Enable Caution. When set to true, a caution notifcation is enabled for the location.
- enable_
xff_ boolforwarding - (Boolean) Enable
XFF
Forwarding. When set to true, traffic is passed to Zscaler Cloud via the X-Forwarded-For (XFF) header. - enforce_
aup bool - (Boolean) Enable AUP. When set to true, AUP is enabled for the location.
- enforce_
authentication bool - (Boolean) Enforce Authentication. Required when ports are enabled, IP Surrogate is enabled, or Kerberos Authentication is enabled.
- enforce_
firewall_ boolcontrol - (Boolean) Enable Firewall. When set to true, Firewall is enabled for the location.
- managed_
bies Sequence[GetLocation Groups Dynamic Location Group Criteria Managed By] - (Block List)
- cities
Sequence[Get
Location Groups Dynamic Location Group Criteria City] - (Block List)
- countries Sequence[str]
- (List of String) One or more countries from a predefined set
- names
Sequence[Get
Location Groups Dynamic Location Group Criteria Name] - Location group name
- profiles Sequence[str]
- (List of String) One or more location profiles from a predefined set
- enable
Bandwidth BooleanControl - (Boolean) Enable Bandwidth Control. When set to true, Bandwidth Control is enabled for the location.
- enable
Caution Boolean - (Boolean) Enable Caution. When set to true, a caution notifcation is enabled for the location.
- enable
Xff BooleanForwarding - (Boolean) Enable
XFF
Forwarding. When set to true, traffic is passed to Zscaler Cloud via the X-Forwarded-For (XFF) header. - enforce
Aup Boolean - (Boolean) Enable AUP. When set to true, AUP is enabled for the location.
- enforce
Authentication Boolean - (Boolean) Enforce Authentication. Required when ports are enabled, IP Surrogate is enabled, or Kerberos Authentication is enabled.
- enforce
Firewall BooleanControl - (Boolean) Enable Firewall. When set to true, Firewall is enabled for the location.
- managed
Bies List<Property Map> - (Block List)
- cities List<Property Map>
- (Block List)
- countries List<String>
- (List of String) One or more countries from a predefined set
- names List<Property Map>
- Location group name
- profiles List<String>
- (List of String) One or more location profiles from a predefined set
GetLocationGroupsDynamicLocationGroupCriteriaCity
- Match
String string - (String) String value to be matched or partially matched
- Match
Type string - (String) Operator that performs match action
- Match
String string - (String) String value to be matched or partially matched
- Match
Type string - (String) Operator that performs match action
- match
String String - (String) String value to be matched or partially matched
- match
Type String - (String) Operator that performs match action
- match
String string - (String) String value to be matched or partially matched
- match
Type string - (String) Operator that performs match action
- match_
string str - (String) String value to be matched or partially matched
- match_
type str - (String) Operator that performs match action
- match
String String - (String) String value to be matched or partially matched
- match
Type String - (String) Operator that performs match action
GetLocationGroupsDynamicLocationGroupCriteriaManagedBy
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- Unique identifier for the location group
- Name string
- Location group name
- Extensions map[string]string
- (Map of String)
- Id int
- Unique identifier for the location group
- Name string
- Location group name
- extensions Map<String,String>
- (Map of String)
- id Integer
- Unique identifier for the location group
- name String
- Location group name
- extensions {[key: string]: string}
- (Map of String)
- id number
- Unique identifier for the location group
- name string
- Location group name
- extensions Mapping[str, str]
- (Map of String)
- id int
- Unique identifier for the location group
- name str
- Location group name
- extensions Map<String>
- (Map of String)
- id Number
- Unique identifier for the location group
- name String
- Location group name
GetLocationGroupsDynamicLocationGroupCriteriaName
- Match
String string - (String) String value to be matched or partially matched
- Match
Type string - (String) Operator that performs match action
- Match
String string - (String) String value to be matched or partially matched
- Match
Type string - (String) Operator that performs match action
- match
String String - (String) String value to be matched or partially matched
- match
Type String - (String) Operator that performs match action
- match
String string - (String) String value to be matched or partially matched
- match
Type string - (String) Operator that performs match action
- match_
string str - (String) String value to be matched or partially matched
- match_
type str - (String) Operator that performs match action
- match
String String - (String) String value to be matched or partially matched
- match
Type String - (String) Operator that performs match action
GetLocationGroupsLastModUser
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- Unique identifier for the location group
- Name string
- Location group name
- Extensions map[string]string
- (Map of String)
- Id int
- Unique identifier for the location group
- Name string
- Location group name
- extensions Map<String,String>
- (Map of String)
- id Integer
- Unique identifier for the location group
- name String
- Location group name
- extensions {[key: string]: string}
- (Map of String)
- id number
- Unique identifier for the location group
- name string
- Location group name
- extensions Mapping[str, str]
- (Map of String)
- id int
- Unique identifier for the location group
- name str
- Location group name
- extensions Map<String>
- (Map of String)
- id Number
- Unique identifier for the location group
- name String
- Location group name
GetLocationGroupsLocation
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- Unique identifier for the location group
- Name string
- Location group name
- Extensions map[string]string
- (Map of String)
- Id int
- Unique identifier for the location group
- Name string
- Location group name
- extensions Map<String,String>
- (Map of String)
- id Integer
- Unique identifier for the location group
- name String
- Location group name
- extensions {[key: string]: string}
- (Map of String)
- id number
- Unique identifier for the location group
- name string
- Location group name
- extensions Mapping[str, str]
- (Map of String)
- id int
- Unique identifier for the location group
- name str
- Location group name
- extensions Map<String>
- (Map of String)
- id Number
- Unique identifier for the location group
- name String
- Location group name
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.