Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
zia.getNatControlRules
Explore with Pulumi AI
Use the zia_nat_control_rules data source to get information about a NAT Control rule available in the Zscaler Internet Access.
Example Usage
By Name
data "zia_nat_control_rules" "this" {
name = "DNAT_01"
}
By ID
data "zia_nat_control_rules" "this" {
id = 154658
}
Using getNatControlRules
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 getNatControlRules(args: GetNatControlRulesArgs, opts?: InvokeOptions): Promise<GetNatControlRulesResult>
function getNatControlRulesOutput(args: GetNatControlRulesOutputArgs, opts?: InvokeOptions): Output<GetNatControlRulesResult>
def get_nat_control_rules(id: Optional[int] = None,
name: Optional[str] = None,
redirect_fqdn: Optional[str] = None,
redirect_ip: Optional[str] = None,
redirect_port: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetNatControlRulesResult
def get_nat_control_rules_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
redirect_fqdn: Optional[pulumi.Input[str]] = None,
redirect_ip: Optional[pulumi.Input[str]] = None,
redirect_port: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatControlRulesResult]
func LookupNatControlRules(ctx *Context, args *LookupNatControlRulesArgs, opts ...InvokeOption) (*LookupNatControlRulesResult, error)
func LookupNatControlRulesOutput(ctx *Context, args *LookupNatControlRulesOutputArgs, opts ...InvokeOption) LookupNatControlRulesResultOutput
> Note: This function is named LookupNatControlRules
in the Go SDK.
public static class GetNatControlRules
{
public static Task<GetNatControlRulesResult> InvokeAsync(GetNatControlRulesArgs args, InvokeOptions? opts = null)
public static Output<GetNatControlRulesResult> Invoke(GetNatControlRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNatControlRulesResult> getNatControlRules(GetNatControlRulesArgs args, InvokeOptions options)
public static Output<GetNatControlRulesResult> getNatControlRules(GetNatControlRulesArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getNatControlRules:getNatControlRules
arguments:
# arguments dictionary
The following arguments are supported:
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Redirect
Fqdn string - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- Redirect
Ip string - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- Redirect
Port int - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Redirect
Fqdn string - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- Redirect
Ip string - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- Redirect
Port int - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- redirect
Fqdn String - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect
Ip String - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect
Port Integer - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- redirect
Fqdn string - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect
Ip string - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect
Port number - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- redirect_
fqdn str - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect_
ip str - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect_
port int - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- redirect
Fqdn String - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect
Ip String - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect
Port Number - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
getNatControlRules Result
The following output properties are available:
- Default
Rule bool - (Boolean) If set to true, the default rule is applied
- Departments
List<zscaler.
Pulumi Package. Zia. Outputs. Get Nat Control Rules Department> - (Block List, Max: 1) Apply to any number of departments When not used it implies
Any
to apply the rule to all departments. - Description string
- (string) - Additional information about the forwarding rule
- Dest
Addresses List<string> - ** - (List of String) - IP addresses and fully qualified domain names (FQDNs), if the domain has multiple destination IP addresses or if its IP addresses may change. For IP addresses, you can enter individual IP addresses, subnets, or address ranges. If adding multiple items, hit Enter after each entry.
- Dest
Countries List<string> - ** - (List of String) Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- Dest
Ip List<string>Categories - ** - (List of String) IP address categories of destination for which the DNAT rule is applicable. If not set, the rule is not restricted to specific destination IP categories.
- Dest
Ip List<zscaler.Groups Pulumi Package. Zia. Outputs. Get Nat Control Rules Dest Ip Group> - ** - (Block List, Max: 1) Any number of destination IP address groups that you want to control with this rule.
- Dest
Ipv6Groups List<zscaler.Pulumi Package. Zia. Outputs. Get Nat Control Rules Dest Ipv6Group> - ** - (Block List, Max: 1) Any number of destination IPv6 address groups that you want to control with this rule.
- Device
Groups List<zscaler.Pulumi Package. Zia. Outputs. Get Nat Control Rules Device Group> - Devices
List<zscaler.
Pulumi Package. Zia. Outputs. Get Nat Control Rules Device> - Enable
Full boolLogging - (Boolean)
- Groups
List<zscaler.
Pulumi Package. Zia. Outputs. Get Nat Control Rules Group> - (Block List, Max: 1) You can manually select up to
8
groups. When not used it impliesAny
to apply the rule to all groups. - Id int
- (int) The ID of this resource.
- Labels
List<zscaler.
Pulumi Package. Zia. Outputs. Get Nat Control Rules Label> - (Block List, Max: 1) Labels that are applicable to the rule.
- Last
Modified List<zscaler.Bies Pulumi Package. Zia. Outputs. Get Nat Control Rules Last Modified By> - Last
Modified intTime - (Number)
- Location
Groups List<zscaler.Pulumi Package. Zia. Outputs. Get Nat Control Rules Location Group> - (Block List, Max: 1) You can manually select up to
32
location groups. When not used it impliesAny
to apply the rule to all location groups. - Locations
List<zscaler.
Pulumi Package. Zia. Outputs. Get Nat Control Rules Location> - (Block List, Max: 1) You can manually select up to
8
locations. When not used it impliesAny
to apply the rule to all groups. - Name string
- (String) The configured name of the entity
- Nw
Service List<zscaler.Groups Pulumi Package. Zia. Outputs. Get Nat Control Rules Nw Service Group> - (Block List, Max: 1) Any number of predefined or custom network service groups to which the rule applies.
- Nw
Services List<zscaler.Pulumi Package. Zia. Outputs. Get Nat Control Rules Nw Service> - (Block List, Max: 1) When not used it applies the rule to all network services or you can select specific network services. The Zscaler firewall has predefined services and you can configure up to
1,024
additional custom services. - Order int
- (string) - The order of execution for the forwarding rule order.
- Predefined bool
- (Boolean) If set to true, a predefined rule is applied
- Rank int
- Res
Categories List<string> - Src
Ip List<zscaler.Groups Pulumi Package. Zia. Outputs. Get Nat Control Rules Src Ip Group> - (Block List, Max: 1) Any number of source IP address groups that you want to control with this rule.
- Src
Ips List<string> - (List of String) You can enter individual IP addresses, subnets, or address ranges.
- Src
Ipv6Groups List<zscaler.Pulumi Package. Zia. Outputs. Get Nat Control Rules Src Ipv6Group> - (Block List, Max: 1) Any number of source IPv6 address groups that you want to control with this rule.
- State string
- Time
Windows List<zscaler.Pulumi Package. Zia. Outputs. Get Nat Control Rules Time Window> - (Block List, Max: 1) You can manually select up to
2
time intervals. When not used it impliesalways
to apply the rule to all time intervals. - Users
List<zscaler.
Pulumi Package. Zia. Outputs. Get Nat Control Rules User> - (Block List, Max: 1) You can manually select up to
4
general and/or special users. When not used it impliesAny
to apply the rule to all users. - Redirect
Fqdn string - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- Redirect
Ip string - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- Redirect
Port int - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- Default
Rule bool - (Boolean) If set to true, the default rule is applied
- Departments
[]Get
Nat Control Rules Department - (Block List, Max: 1) Apply to any number of departments When not used it implies
Any
to apply the rule to all departments. - Description string
- (string) - Additional information about the forwarding rule
- Dest
Addresses []string - ** - (List of String) - IP addresses and fully qualified domain names (FQDNs), if the domain has multiple destination IP addresses or if its IP addresses may change. For IP addresses, you can enter individual IP addresses, subnets, or address ranges. If adding multiple items, hit Enter after each entry.
- Dest
Countries []string - ** - (List of String) Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- Dest
Ip []stringCategories - ** - (List of String) IP address categories of destination for which the DNAT rule is applicable. If not set, the rule is not restricted to specific destination IP categories.
- Dest
Ip []GetGroups Nat Control Rules Dest Ip Group - ** - (Block List, Max: 1) Any number of destination IP address groups that you want to control with this rule.
- Dest
Ipv6Groups []GetNat Control Rules Dest Ipv6Group - ** - (Block List, Max: 1) Any number of destination IPv6 address groups that you want to control with this rule.
- Device
Groups []GetNat Control Rules Device Group - Devices
[]Get
Nat Control Rules Device - Enable
Full boolLogging - (Boolean)
- Groups
[]Get
Nat Control Rules Group - (Block List, Max: 1) You can manually select up to
8
groups. When not used it impliesAny
to apply the rule to all groups. - Id int
- (int) The ID of this resource.
- Labels
[]Get
Nat Control Rules Label - (Block List, Max: 1) Labels that are applicable to the rule.
- Last
Modified []GetBies Nat Control Rules Last Modified By - Last
Modified intTime - (Number)
- Location
Groups []GetNat Control Rules Location Group - (Block List, Max: 1) You can manually select up to
32
location groups. When not used it impliesAny
to apply the rule to all location groups. - Locations
[]Get
Nat Control Rules Location - (Block List, Max: 1) You can manually select up to
8
locations. When not used it impliesAny
to apply the rule to all groups. - Name string
- (String) The configured name of the entity
- Nw
Service []GetGroups Nat Control Rules Nw Service Group - (Block List, Max: 1) Any number of predefined or custom network service groups to which the rule applies.
- Nw
Services []GetNat Control Rules Nw Service - (Block List, Max: 1) When not used it applies the rule to all network services or you can select specific network services. The Zscaler firewall has predefined services and you can configure up to
1,024
additional custom services. - Order int
- (string) - The order of execution for the forwarding rule order.
- Predefined bool
- (Boolean) If set to true, a predefined rule is applied
- Rank int
- Res
Categories []string - Src
Ip []GetGroups Nat Control Rules Src Ip Group - (Block List, Max: 1) Any number of source IP address groups that you want to control with this rule.
- Src
Ips []string - (List of String) You can enter individual IP addresses, subnets, or address ranges.
- Src
Ipv6Groups []GetNat Control Rules Src Ipv6Group - (Block List, Max: 1) Any number of source IPv6 address groups that you want to control with this rule.
- State string
- Time
Windows []GetNat Control Rules Time Window - (Block List, Max: 1) You can manually select up to
2
time intervals. When not used it impliesalways
to apply the rule to all time intervals. - Users
[]Get
Nat Control Rules User - (Block List, Max: 1) You can manually select up to
4
general and/or special users. When not used it impliesAny
to apply the rule to all users. - Redirect
Fqdn string - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- Redirect
Ip string - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- Redirect
Port int - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- default
Rule Boolean - (Boolean) If set to true, the default rule is applied
- departments
List<Get
Nat Control Rules Department> - (Block List, Max: 1) Apply to any number of departments When not used it implies
Any
to apply the rule to all departments. - description String
- (string) - Additional information about the forwarding rule
- dest
Addresses List<String> - ** - (List of String) - IP addresses and fully qualified domain names (FQDNs), if the domain has multiple destination IP addresses or if its IP addresses may change. For IP addresses, you can enter individual IP addresses, subnets, or address ranges. If adding multiple items, hit Enter after each entry.
- dest
Countries List<String> - ** - (List of String) Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- dest
Ip List<String>Categories - ** - (List of String) IP address categories of destination for which the DNAT rule is applicable. If not set, the rule is not restricted to specific destination IP categories.
- dest
Ip List<GetGroups Nat Control Rules Dest Ip Group> - ** - (Block List, Max: 1) Any number of destination IP address groups that you want to control with this rule.
- dest
Ipv6Groups List<GetNat Control Rules Dest Ipv6Group> - ** - (Block List, Max: 1) Any number of destination IPv6 address groups that you want to control with this rule.
- device
Groups List<GetNat Control Rules Device Group> - devices
List<Get
Nat Control Rules Device> - enable
Full BooleanLogging - (Boolean)
- groups
List<Get
Nat Control Rules Group> - (Block List, Max: 1) You can manually select up to
8
groups. When not used it impliesAny
to apply the rule to all groups. - id Integer
- (int) The ID of this resource.
- labels
List<Get
Nat Control Rules Label> - (Block List, Max: 1) Labels that are applicable to the rule.
- last
Modified List<GetBies Nat Control Rules Last Modified By> - last
Modified IntegerTime - (Number)
- location
Groups List<GetNat Control Rules Location Group> - (Block List, Max: 1) You can manually select up to
32
location groups. When not used it impliesAny
to apply the rule to all location groups. - locations
List<Get
Nat Control Rules Location> - (Block List, Max: 1) You can manually select up to
8
locations. When not used it impliesAny
to apply the rule to all groups. - name String
- (String) The configured name of the entity
- nw
Service List<GetGroups Nat Control Rules Nw Service Group> - (Block List, Max: 1) Any number of predefined or custom network service groups to which the rule applies.
- nw
Services List<GetNat Control Rules Nw Service> - (Block List, Max: 1) When not used it applies the rule to all network services or you can select specific network services. The Zscaler firewall has predefined services and you can configure up to
1,024
additional custom services. - order Integer
- (string) - The order of execution for the forwarding rule order.
- predefined Boolean
- (Boolean) If set to true, a predefined rule is applied
- rank Integer
- res
Categories List<String> - src
Ip List<GetGroups Nat Control Rules Src Ip Group> - (Block List, Max: 1) Any number of source IP address groups that you want to control with this rule.
- src
Ips List<String> - (List of String) You can enter individual IP addresses, subnets, or address ranges.
- src
Ipv6Groups List<GetNat Control Rules Src Ipv6Group> - (Block List, Max: 1) Any number of source IPv6 address groups that you want to control with this rule.
- state String
- time
Windows List<GetNat Control Rules Time Window> - (Block List, Max: 1) You can manually select up to
2
time intervals. When not used it impliesalways
to apply the rule to all time intervals. - users
List<Get
Nat Control Rules User> - (Block List, Max: 1) You can manually select up to
4
general and/or special users. When not used it impliesAny
to apply the rule to all users. - redirect
Fqdn String - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect
Ip String - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect
Port Integer - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- default
Rule boolean - (Boolean) If set to true, the default rule is applied
- departments
Get
Nat Control Rules Department[] - (Block List, Max: 1) Apply to any number of departments When not used it implies
Any
to apply the rule to all departments. - description string
- (string) - Additional information about the forwarding rule
- dest
Addresses string[] - ** - (List of String) - IP addresses and fully qualified domain names (FQDNs), if the domain has multiple destination IP addresses or if its IP addresses may change. For IP addresses, you can enter individual IP addresses, subnets, or address ranges. If adding multiple items, hit Enter after each entry.
- dest
Countries string[] - ** - (List of String) Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- dest
Ip string[]Categories - ** - (List of String) IP address categories of destination for which the DNAT rule is applicable. If not set, the rule is not restricted to specific destination IP categories.
- dest
Ip GetGroups Nat Control Rules Dest Ip Group[] - ** - (Block List, Max: 1) Any number of destination IP address groups that you want to control with this rule.
- dest
Ipv6Groups GetNat Control Rules Dest Ipv6Group[] - ** - (Block List, Max: 1) Any number of destination IPv6 address groups that you want to control with this rule.
- device
Groups GetNat Control Rules Device Group[] - devices
Get
Nat Control Rules Device[] - enable
Full booleanLogging - (Boolean)
- groups
Get
Nat Control Rules Group[] - (Block List, Max: 1) You can manually select up to
8
groups. When not used it impliesAny
to apply the rule to all groups. - id number
- (int) The ID of this resource.
- labels
Get
Nat Control Rules Label[] - (Block List, Max: 1) Labels that are applicable to the rule.
- last
Modified GetBies Nat Control Rules Last Modified By[] - last
Modified numberTime - (Number)
- location
Groups GetNat Control Rules Location Group[] - (Block List, Max: 1) You can manually select up to
32
location groups. When not used it impliesAny
to apply the rule to all location groups. - locations
Get
Nat Control Rules Location[] - (Block List, Max: 1) You can manually select up to
8
locations. When not used it impliesAny
to apply the rule to all groups. - name string
- (String) The configured name of the entity
- nw
Service GetGroups Nat Control Rules Nw Service Group[] - (Block List, Max: 1) Any number of predefined or custom network service groups to which the rule applies.
- nw
Services GetNat Control Rules Nw Service[] - (Block List, Max: 1) When not used it applies the rule to all network services or you can select specific network services. The Zscaler firewall has predefined services and you can configure up to
1,024
additional custom services. - order number
- (string) - The order of execution for the forwarding rule order.
- predefined boolean
- (Boolean) If set to true, a predefined rule is applied
- rank number
- res
Categories string[] - src
Ip GetGroups Nat Control Rules Src Ip Group[] - (Block List, Max: 1) Any number of source IP address groups that you want to control with this rule.
- src
Ips string[] - (List of String) You can enter individual IP addresses, subnets, or address ranges.
- src
Ipv6Groups GetNat Control Rules Src Ipv6Group[] - (Block List, Max: 1) Any number of source IPv6 address groups that you want to control with this rule.
- state string
- time
Windows GetNat Control Rules Time Window[] - (Block List, Max: 1) You can manually select up to
2
time intervals. When not used it impliesalways
to apply the rule to all time intervals. - users
Get
Nat Control Rules User[] - (Block List, Max: 1) You can manually select up to
4
general and/or special users. When not used it impliesAny
to apply the rule to all users. - redirect
Fqdn string - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect
Ip string - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect
Port number - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- default_
rule bool - (Boolean) If set to true, the default rule is applied
- departments
Sequence[Get
Nat Control Rules Department] - (Block List, Max: 1) Apply to any number of departments When not used it implies
Any
to apply the rule to all departments. - description str
- (string) - Additional information about the forwarding rule
- dest_
addresses Sequence[str] - ** - (List of String) - IP addresses and fully qualified domain names (FQDNs), if the domain has multiple destination IP addresses or if its IP addresses may change. For IP addresses, you can enter individual IP addresses, subnets, or address ranges. If adding multiple items, hit Enter after each entry.
- dest_
countries Sequence[str] - ** - (List of String) Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- dest_
ip_ Sequence[str]categories - ** - (List of String) IP address categories of destination for which the DNAT rule is applicable. If not set, the rule is not restricted to specific destination IP categories.
- dest_
ip_ Sequence[Getgroups Nat Control Rules Dest Ip Group] - ** - (Block List, Max: 1) Any number of destination IP address groups that you want to control with this rule.
- dest_
ipv6_ Sequence[Getgroups Nat Control Rules Dest Ipv6Group] - ** - (Block List, Max: 1) Any number of destination IPv6 address groups that you want to control with this rule.
- device_
groups Sequence[GetNat Control Rules Device Group] - devices
Sequence[Get
Nat Control Rules Device] - enable_
full_ boollogging - (Boolean)
- groups
Sequence[Get
Nat Control Rules Group] - (Block List, Max: 1) You can manually select up to
8
groups. When not used it impliesAny
to apply the rule to all groups. - id int
- (int) The ID of this resource.
- labels
Sequence[Get
Nat Control Rules Label] - (Block List, Max: 1) Labels that are applicable to the rule.
- last_
modified_ Sequence[Getbies Nat Control Rules Last Modified By] - last_
modified_ inttime - (Number)
- location_
groups Sequence[GetNat Control Rules Location Group] - (Block List, Max: 1) You can manually select up to
32
location groups. When not used it impliesAny
to apply the rule to all location groups. - locations
Sequence[Get
Nat Control Rules Location] - (Block List, Max: 1) You can manually select up to
8
locations. When not used it impliesAny
to apply the rule to all groups. - name str
- (String) The configured name of the entity
- nw_
service_ Sequence[Getgroups Nat Control Rules Nw Service Group] - (Block List, Max: 1) Any number of predefined or custom network service groups to which the rule applies.
- nw_
services Sequence[GetNat Control Rules Nw Service] - (Block List, Max: 1) When not used it applies the rule to all network services or you can select specific network services. The Zscaler firewall has predefined services and you can configure up to
1,024
additional custom services. - order int
- (string) - The order of execution for the forwarding rule order.
- predefined bool
- (Boolean) If set to true, a predefined rule is applied
- rank int
- res_
categories Sequence[str] - src_
ip_ Sequence[Getgroups Nat Control Rules Src Ip Group] - (Block List, Max: 1) Any number of source IP address groups that you want to control with this rule.
- src_
ips Sequence[str] - (List of String) You can enter individual IP addresses, subnets, or address ranges.
- src_
ipv6_ Sequence[Getgroups Nat Control Rules Src Ipv6Group] - (Block List, Max: 1) Any number of source IPv6 address groups that you want to control with this rule.
- state str
- time_
windows Sequence[GetNat Control Rules Time Window] - (Block List, Max: 1) You can manually select up to
2
time intervals. When not used it impliesalways
to apply the rule to all time intervals. - users
Sequence[Get
Nat Control Rules User] - (Block List, Max: 1) You can manually select up to
4
general and/or special users. When not used it impliesAny
to apply the rule to all users. - redirect_
fqdn str - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect_
ip str - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect_
port int - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
- default
Rule Boolean - (Boolean) If set to true, the default rule is applied
- departments List<Property Map>
- (Block List, Max: 1) Apply to any number of departments When not used it implies
Any
to apply the rule to all departments. - description String
- (string) - Additional information about the forwarding rule
- dest
Addresses List<String> - ** - (List of String) - IP addresses and fully qualified domain names (FQDNs), if the domain has multiple destination IP addresses or if its IP addresses may change. For IP addresses, you can enter individual IP addresses, subnets, or address ranges. If adding multiple items, hit Enter after each entry.
- dest
Countries List<String> - ** - (List of String) Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- dest
Ip List<String>Categories - ** - (List of String) IP address categories of destination for which the DNAT rule is applicable. If not set, the rule is not restricted to specific destination IP categories.
- dest
Ip List<Property Map>Groups - ** - (Block List, Max: 1) Any number of destination IP address groups that you want to control with this rule.
- dest
Ipv6Groups List<Property Map> - ** - (Block List, Max: 1) Any number of destination IPv6 address groups that you want to control with this rule.
- device
Groups List<Property Map> - devices List<Property Map>
- enable
Full BooleanLogging - (Boolean)
- groups List<Property Map>
- (Block List, Max: 1) You can manually select up to
8
groups. When not used it impliesAny
to apply the rule to all groups. - id Number
- (int) The ID of this resource.
- labels List<Property Map>
- (Block List, Max: 1) Labels that are applicable to the rule.
- last
Modified List<Property Map>Bies - last
Modified NumberTime - (Number)
- location
Groups List<Property Map> - (Block List, Max: 1) You can manually select up to
32
location groups. When not used it impliesAny
to apply the rule to all location groups. - locations List<Property Map>
- (Block List, Max: 1) You can manually select up to
8
locations. When not used it impliesAny
to apply the rule to all groups. - name String
- (String) The configured name of the entity
- nw
Service List<Property Map>Groups - (Block List, Max: 1) Any number of predefined or custom network service groups to which the rule applies.
- nw
Services List<Property Map> - (Block List, Max: 1) When not used it applies the rule to all network services or you can select specific network services. The Zscaler firewall has predefined services and you can configure up to
1,024
additional custom services. - order Number
- (string) - The order of execution for the forwarding rule order.
- predefined Boolean
- (Boolean) If set to true, a predefined rule is applied
- rank Number
- res
Categories List<String> - src
Ip List<Property Map>Groups - (Block List, Max: 1) Any number of source IP address groups that you want to control with this rule.
- src
Ips List<String> - (List of String) You can enter individual IP addresses, subnets, or address ranges.
- src
Ipv6Groups List<Property Map> - (Block List, Max: 1) Any number of source IPv6 address groups that you want to control with this rule.
- state String
- time
Windows List<Property Map> - (Block List, Max: 1) You can manually select up to
2
time intervals. When not used it impliesalways
to apply the rule to all time intervals. - users List<Property Map>
- (Block List, Max: 1) You can manually select up to
4
general and/or special users. When not used it impliesAny
to apply the rule to all users. - redirect
Fqdn String - (string) - FQDN to which the traffic is redirected to when the DNAT rule is triggered. This is mutually exclusive to redirect IP.
- redirect
Ip String - (string) - IP address to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific IP address.
- redirect
Port Number - (string) - Port to which the traffic is redirected to when the DNAT rule is triggered. If not set, no redirection is done to the specific port.
Supporting Types
GetNatControlRulesDepartment
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesDestIpGroup
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesDestIpv6Group
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesDevice
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesDeviceGroup
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesGroup
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesLabel
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesLastModifiedBy
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesLocation
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesLocationGroup
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesNwService
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesNwServiceGroup
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesSrcIpGroup
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesSrcIpv6Group
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesTimeWindow
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
GetNatControlRulesUser
- Extensions Dictionary<string, string>
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- Extensions map[string]string
- (Map of String)
- Id int
- A unique identifier assigned to the forwarding rule.
- Name string
- The name of the forwarding rule.
- extensions Map<String,String>
- (Map of String)
- id Integer
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
- extensions {[key: string]: string}
- (Map of String)
- id number
- A unique identifier assigned to the forwarding rule.
- name string
- The name of the forwarding rule.
- extensions Mapping[str, str]
- (Map of String)
- id int
- A unique identifier assigned to the forwarding rule.
- name str
- The name of the forwarding rule.
- extensions Map<String>
- (Map of String)
- id Number
- A unique identifier assigned to the forwarding rule.
- name String
- The name of the forwarding rule.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.