zia.NatControlRules
Explore with Pulumi AI
The zia_nat_control_rules resource allows the creation and management of NAT Control rules in the Zscaler Internet Access.
Example Usage
resource "zia_nat_control_rules" "this" {
name = "DNAT_02"
description = "DNAT_02"
order=1
rank=7
state = "ENABLED"
redirect_port="2000"
redirect_ip="1.1.1.1"
src_ips=["192.168.100.0/24", "192.168.200.1"]
dest_addresses=["3.217.228.0-3.217.231.255", "3.235.112.0-3.235.119.255", "35.80.88.0-35.80.95.255", "server1.acme.com", "*.acme.com"]
dest_countries=["BR", "CA", "GB"]
departments {
id = [8061246]
}
dest_ip_groups {
id = [-4]
}
dest_ipv6_groups {
id = [-5]
}
src_ip_groups {
id = [18448894]
}
src_ipv6_groups {
id = [-3]
}
time_windows {
id = [485]
}
nw_services {
id = [462370, 17472664]
}
locations {
id = [256000852, -3]
}
location_groups {
id = [8061257, 8061256]
}
labels {
id = [1416803]
}
}
Create NatControlRules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NatControlRules(name: string, args?: NatControlRulesArgs, opts?: CustomResourceOptions);
@overload
def NatControlRules(resource_name: str,
args: Optional[NatControlRulesArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def NatControlRules(resource_name: str,
opts: Optional[ResourceOptions] = None,
default_rule: Optional[bool] = None,
departments: Optional[NatControlRulesDepartmentsArgs] = None,
description: Optional[str] = None,
dest_addresses: Optional[Sequence[str]] = None,
dest_countries: Optional[Sequence[str]] = None,
dest_ip_categories: Optional[Sequence[str]] = None,
dest_ip_groups: Optional[NatControlRulesDestIpGroupsArgs] = None,
dest_ipv6_groups: Optional[NatControlRulesDestIpv6GroupsArgs] = None,
device_groups: Optional[NatControlRulesDeviceGroupsArgs] = None,
devices: Optional[NatControlRulesDevicesArgs] = None,
enable_full_logging: Optional[bool] = None,
groups: Optional[NatControlRulesGroupsArgs] = None,
labels: Optional[NatControlRulesLabelsArgs] = None,
location_groups: Optional[NatControlRulesLocationGroupsArgs] = None,
locations: Optional[NatControlRulesLocationsArgs] = None,
name: Optional[str] = None,
nw_service_groups: Optional[NatControlRulesNwServiceGroupsArgs] = None,
nw_services: Optional[NatControlRulesNwServicesArgs] = None,
order: Optional[int] = None,
predefined: Optional[bool] = None,
rank: Optional[int] = None,
redirect_fqdn: Optional[str] = None,
redirect_ip: Optional[str] = None,
redirect_port: Optional[int] = None,
res_categories: Optional[Sequence[str]] = None,
src_ip_groups: Optional[NatControlRulesSrcIpGroupsArgs] = None,
src_ips: Optional[Sequence[str]] = None,
src_ipv6_groups: Optional[NatControlRulesSrcIpv6GroupsArgs] = None,
state: Optional[str] = None,
time_windows: Optional[NatControlRulesTimeWindowsArgs] = None,
users: Optional[NatControlRulesUsersArgs] = None)
func NewNatControlRules(ctx *Context, name string, args *NatControlRulesArgs, opts ...ResourceOption) (*NatControlRules, error)
public NatControlRules(string name, NatControlRulesArgs? args = null, CustomResourceOptions? opts = null)
public NatControlRules(String name, NatControlRulesArgs args)
public NatControlRules(String name, NatControlRulesArgs args, CustomResourceOptions options)
type: zia:NatControlRules
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NatControlRulesArgs
- 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 NatControlRulesArgs
- 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 NatControlRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NatControlRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NatControlRulesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var natControlRulesResource = new Zia.NatControlRules("natControlRulesResource", new()
{
DefaultRule = false,
Departments = new Zia.Inputs.NatControlRulesDepartmentsArgs
{
Ids = new[]
{
0,
},
},
Description = "string",
DestAddresses = new[]
{
"string",
},
DestCountries = new[]
{
"string",
},
DestIpCategories = new[]
{
"string",
},
DestIpGroups = new Zia.Inputs.NatControlRulesDestIpGroupsArgs
{
Ids = new[]
{
0,
},
},
DestIpv6Groups = new Zia.Inputs.NatControlRulesDestIpv6GroupsArgs
{
Ids = new[]
{
0,
},
},
DeviceGroups = new Zia.Inputs.NatControlRulesDeviceGroupsArgs
{
Ids = new[]
{
0,
},
},
Devices = new Zia.Inputs.NatControlRulesDevicesArgs
{
Ids = new[]
{
0,
},
},
EnableFullLogging = false,
Groups = new Zia.Inputs.NatControlRulesGroupsArgs
{
Ids = new[]
{
0,
},
},
Labels = new Zia.Inputs.NatControlRulesLabelsArgs
{
Id = 0,
},
LocationGroups = new Zia.Inputs.NatControlRulesLocationGroupsArgs
{
Ids = new[]
{
0,
},
},
Locations = new Zia.Inputs.NatControlRulesLocationsArgs
{
Ids = new[]
{
0,
},
},
Name = "string",
NwServiceGroups = new Zia.Inputs.NatControlRulesNwServiceGroupsArgs
{
Ids = new[]
{
0,
},
},
NwServices = new Zia.Inputs.NatControlRulesNwServicesArgs
{
Ids = new[]
{
0,
},
},
Order = 0,
Predefined = false,
Rank = 0,
RedirectFqdn = "string",
RedirectIp = "string",
RedirectPort = 0,
ResCategories = new[]
{
"string",
},
SrcIpGroups = new Zia.Inputs.NatControlRulesSrcIpGroupsArgs
{
Ids = new[]
{
0,
},
},
SrcIps = new[]
{
"string",
},
SrcIpv6Groups = new Zia.Inputs.NatControlRulesSrcIpv6GroupsArgs
{
Ids = new[]
{
0,
},
},
State = "string",
TimeWindows = new Zia.Inputs.NatControlRulesTimeWindowsArgs
{
Ids = new[]
{
0,
},
},
Users = new Zia.Inputs.NatControlRulesUsersArgs
{
Ids = new[]
{
0,
},
},
});
example, err := zia.NewNatControlRules(ctx, "natControlRulesResource", &zia.NatControlRulesArgs{
DefaultRule: pulumi.Bool(false),
Departments: &zia.NatControlRulesDepartmentsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Description: pulumi.String("string"),
DestAddresses: pulumi.StringArray{
pulumi.String("string"),
},
DestCountries: pulumi.StringArray{
pulumi.String("string"),
},
DestIpCategories: pulumi.StringArray{
pulumi.String("string"),
},
DestIpGroups: &zia.NatControlRulesDestIpGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
DestIpv6Groups: &zia.NatControlRulesDestIpv6GroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
DeviceGroups: &zia.NatControlRulesDeviceGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Devices: &zia.NatControlRulesDevicesArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
EnableFullLogging: pulumi.Bool(false),
Groups: &zia.NatControlRulesGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Labels: &zia.NatControlRulesLabelsArgs{
Id: pulumi.Int(0),
},
LocationGroups: &zia.NatControlRulesLocationGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Locations: &zia.NatControlRulesLocationsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Name: pulumi.String("string"),
NwServiceGroups: &zia.NatControlRulesNwServiceGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
NwServices: &zia.NatControlRulesNwServicesArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Order: pulumi.Int(0),
Predefined: pulumi.Bool(false),
Rank: pulumi.Int(0),
RedirectFqdn: pulumi.String("string"),
RedirectIp: pulumi.String("string"),
RedirectPort: pulumi.Int(0),
ResCategories: pulumi.StringArray{
pulumi.String("string"),
},
SrcIpGroups: &zia.NatControlRulesSrcIpGroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
SrcIps: pulumi.StringArray{
pulumi.String("string"),
},
SrcIpv6Groups: &zia.NatControlRulesSrcIpv6GroupsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
State: pulumi.String("string"),
TimeWindows: &zia.NatControlRulesTimeWindowsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Users: &zia.NatControlRulesUsersArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
})
var natControlRulesResource = new NatControlRules("natControlRulesResource", NatControlRulesArgs.builder()
.defaultRule(false)
.departments(NatControlRulesDepartmentsArgs.builder()
.ids(0)
.build())
.description("string")
.destAddresses("string")
.destCountries("string")
.destIpCategories("string")
.destIpGroups(NatControlRulesDestIpGroupsArgs.builder()
.ids(0)
.build())
.destIpv6Groups(NatControlRulesDestIpv6GroupsArgs.builder()
.ids(0)
.build())
.deviceGroups(NatControlRulesDeviceGroupsArgs.builder()
.ids(0)
.build())
.devices(NatControlRulesDevicesArgs.builder()
.ids(0)
.build())
.enableFullLogging(false)
.groups(NatControlRulesGroupsArgs.builder()
.ids(0)
.build())
.labels(NatControlRulesLabelsArgs.builder()
.id(0)
.build())
.locationGroups(NatControlRulesLocationGroupsArgs.builder()
.ids(0)
.build())
.locations(NatControlRulesLocationsArgs.builder()
.ids(0)
.build())
.name("string")
.nwServiceGroups(NatControlRulesNwServiceGroupsArgs.builder()
.ids(0)
.build())
.nwServices(NatControlRulesNwServicesArgs.builder()
.ids(0)
.build())
.order(0)
.predefined(false)
.rank(0)
.redirectFqdn("string")
.redirectIp("string")
.redirectPort(0)
.resCategories("string")
.srcIpGroups(NatControlRulesSrcIpGroupsArgs.builder()
.ids(0)
.build())
.srcIps("string")
.srcIpv6Groups(NatControlRulesSrcIpv6GroupsArgs.builder()
.ids(0)
.build())
.state("string")
.timeWindows(NatControlRulesTimeWindowsArgs.builder()
.ids(0)
.build())
.users(NatControlRulesUsersArgs.builder()
.ids(0)
.build())
.build());
nat_control_rules_resource = zia.NatControlRules("natControlRulesResource",
default_rule=False,
departments={
"ids": [0],
},
description="string",
dest_addresses=["string"],
dest_countries=["string"],
dest_ip_categories=["string"],
dest_ip_groups={
"ids": [0],
},
dest_ipv6_groups={
"ids": [0],
},
device_groups={
"ids": [0],
},
devices={
"ids": [0],
},
enable_full_logging=False,
groups={
"ids": [0],
},
labels={
"id": 0,
},
location_groups={
"ids": [0],
},
locations={
"ids": [0],
},
name="string",
nw_service_groups={
"ids": [0],
},
nw_services={
"ids": [0],
},
order=0,
predefined=False,
rank=0,
redirect_fqdn="string",
redirect_ip="string",
redirect_port=0,
res_categories=["string"],
src_ip_groups={
"ids": [0],
},
src_ips=["string"],
src_ipv6_groups={
"ids": [0],
},
state="string",
time_windows={
"ids": [0],
},
users={
"ids": [0],
})
const natControlRulesResource = new zia.NatControlRules("natControlRulesResource", {
defaultRule: false,
departments: {
ids: [0],
},
description: "string",
destAddresses: ["string"],
destCountries: ["string"],
destIpCategories: ["string"],
destIpGroups: {
ids: [0],
},
destIpv6Groups: {
ids: [0],
},
deviceGroups: {
ids: [0],
},
devices: {
ids: [0],
},
enableFullLogging: false,
groups: {
ids: [0],
},
labels: {
id: 0,
},
locationGroups: {
ids: [0],
},
locations: {
ids: [0],
},
name: "string",
nwServiceGroups: {
ids: [0],
},
nwServices: {
ids: [0],
},
order: 0,
predefined: false,
rank: 0,
redirectFqdn: "string",
redirectIp: "string",
redirectPort: 0,
resCategories: ["string"],
srcIpGroups: {
ids: [0],
},
srcIps: ["string"],
srcIpv6Groups: {
ids: [0],
},
state: "string",
timeWindows: {
ids: [0],
},
users: {
ids: [0],
},
});
type: zia:NatControlRules
properties:
defaultRule: false
departments:
ids:
- 0
description: string
destAddresses:
- string
destCountries:
- string
destIpCategories:
- string
destIpGroups:
ids:
- 0
destIpv6Groups:
ids:
- 0
deviceGroups:
ids:
- 0
devices:
ids:
- 0
enableFullLogging: false
groups:
ids:
- 0
labels:
id: 0
locationGroups:
ids:
- 0
locations:
ids:
- 0
name: string
nwServiceGroups:
ids:
- 0
nwServices:
ids:
- 0
order: 0
predefined: false
rank: 0
redirectFqdn: string
redirectIp: string
redirectPort: 0
resCategories:
- string
srcIpGroups:
ids:
- 0
srcIps:
- string
srcIpv6Groups:
ids:
- 0
state: string
timeWindows:
ids:
- 0
users:
ids:
- 0
NatControlRules Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NatControlRules resource accepts the following input properties:
- Default
Rule bool - If set to true, the default rule is applied
- Departments
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Departments - list of departments for which rule must be applied
- Description string
- Additional information about the rule
- Dest
Addresses List<string> - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- Dest
Countries List<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 - Dest
Ip zscaler.Groups Pulumi Package. Zia. Inputs. Nat Control Rules Dest Ip Groups - list of destination ip groups
- Dest
Ipv6Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Dest Ipv6Groups - list of destination ipv6 groups
- Device
Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- Devices
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- Enable
Full boolLogging - Groups
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Groups - list of groups for which rule must be applied
- Labels
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Labels - list of Labels that are applicable to the rule.
- Location
Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Location Groups - list of locations groups
- Locations
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Locations - list of locations for which rule must be applied
- Name string
- Name of the nat control policy rule
- Nw
Service zscaler.Groups Pulumi Package. Zia. Inputs. Nat Control Rules Nw Service Groups - list of nw service groups
- Nw
Services zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Nw Services - list of nw services
- Order int
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- Predefined bool
- If set to true, a predefined rule is applied
- Rank int
- Admin rank of the nat control policy rule
- Redirect
Fqdn string - The action the nat control policy rule takes when packets match the rule
- Redirect
Ip string - The action the nat control policy rule takes when packets match the rule
- Redirect
Port int - The action the nat control policy rule takes when packets match the rule
- Res
Categories List<string> - List of destination domain categories to which the rule applies
- Src
Ip zscaler.Groups Pulumi Package. Zia. Inputs. Nat Control Rules Src Ip Groups - list of source ip groups
- Src
Ips List<string> - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- Src
Ipv6Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Src Ipv6Groups - list of source ipv6 groups
- State string
- Determines whether the nat control policy rule is enabled or disabled
- Time
Windows zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Time Windows - The time interval in which the nat control policy rule applies
- Users
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Users - list of users for which rule must be applied
- Default
Rule bool - If set to true, the default rule is applied
- Departments
Nat
Control Rules Departments Args - list of departments for which rule must be applied
- Description string
- Additional information about the rule
- Dest
Addresses []string - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- Dest
Countries []string - Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- Dest
Ip []stringCategories - Dest
Ip NatGroups Control Rules Dest Ip Groups Args - list of destination ip groups
- Dest
Ipv6Groups NatControl Rules Dest Ipv6Groups Args - list of destination ipv6 groups
- Device
Groups NatControl Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- Devices
Nat
Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- Enable
Full boolLogging - Groups
Nat
Control Rules Groups Args - list of groups for which rule must be applied
- Labels
Nat
Control Rules Labels Args - list of Labels that are applicable to the rule.
- Location
Groups NatControl Rules Location Groups Args - list of locations groups
- Locations
Nat
Control Rules Locations Args - list of locations for which rule must be applied
- Name string
- Name of the nat control policy rule
- Nw
Service NatGroups Control Rules Nw Service Groups Args - list of nw service groups
- Nw
Services NatControl Rules Nw Services Args - list of nw services
- Order int
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- Predefined bool
- If set to true, a predefined rule is applied
- Rank int
- Admin rank of the nat control policy rule
- Redirect
Fqdn string - The action the nat control policy rule takes when packets match the rule
- Redirect
Ip string - The action the nat control policy rule takes when packets match the rule
- Redirect
Port int - The action the nat control policy rule takes when packets match the rule
- Res
Categories []string - List of destination domain categories to which the rule applies
- Src
Ip NatGroups Control Rules Src Ip Groups Args - list of source ip groups
- Src
Ips []string - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- Src
Ipv6Groups NatControl Rules Src Ipv6Groups Args - list of source ipv6 groups
- State string
- Determines whether the nat control policy rule is enabled or disabled
- Time
Windows NatControl Rules Time Windows Args - The time interval in which the nat control policy rule applies
- Users
Nat
Control Rules Users Args - list of users for which rule must be applied
- default
Rule Boolean - If set to true, the default rule is applied
- departments
Nat
Control Rules Departments - list of departments for which rule must be applied
- description String
- Additional information about the rule
- dest
Addresses List<String> - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest
Countries List<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 - dest
Ip NatGroups Control Rules Dest Ip Groups - list of destination ip groups
- dest
Ipv6Groups NatControl Rules Dest Ipv6Groups - list of destination ipv6 groups
- device
Groups NatControl Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices
Nat
Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- enable
Full BooleanLogging - groups
Nat
Control Rules Groups - list of groups for which rule must be applied
- labels
Nat
Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups NatControl Rules Location Groups - list of locations groups
- locations
Nat
Control Rules Locations - list of locations for which rule must be applied
- name String
- Name of the nat control policy rule
- nw
Service NatGroups Control Rules Nw Service Groups - list of nw service groups
- nw
Services NatControl Rules Nw Services - list of nw services
- order Integer
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined Boolean
- If set to true, a predefined rule is applied
- rank Integer
- Admin rank of the nat control policy rule
- redirect
Fqdn String - The action the nat control policy rule takes when packets match the rule
- redirect
Ip String - The action the nat control policy rule takes when packets match the rule
- redirect
Port Integer - The action the nat control policy rule takes when packets match the rule
- res
Categories List<String> - List of destination domain categories to which the rule applies
- src
Ip NatGroups Control Rules Src Ip Groups - list of source ip groups
- src
Ips List<String> - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src
Ipv6Groups NatControl Rules Src Ipv6Groups - list of source ipv6 groups
- state String
- Determines whether the nat control policy rule is enabled or disabled
- time
Windows NatControl Rules Time Windows - The time interval in which the nat control policy rule applies
- users
Nat
Control Rules Users - list of users for which rule must be applied
- default
Rule boolean - If set to true, the default rule is applied
- departments
Nat
Control Rules Departments - list of departments for which rule must be applied
- description string
- Additional information about the rule
- dest
Addresses string[] - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest
Countries 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 - dest
Ip NatGroups Control Rules Dest Ip Groups - list of destination ip groups
- dest
Ipv6Groups NatControl Rules Dest Ipv6Groups - list of destination ipv6 groups
- device
Groups NatControl Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices
Nat
Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- enable
Full booleanLogging - groups
Nat
Control Rules Groups - list of groups for which rule must be applied
- labels
Nat
Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups NatControl Rules Location Groups - list of locations groups
- locations
Nat
Control Rules Locations - list of locations for which rule must be applied
- name string
- Name of the nat control policy rule
- nw
Service NatGroups Control Rules Nw Service Groups - list of nw service groups
- nw
Services NatControl Rules Nw Services - list of nw services
- order number
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined boolean
- If set to true, a predefined rule is applied
- rank number
- Admin rank of the nat control policy rule
- redirect
Fqdn string - The action the nat control policy rule takes when packets match the rule
- redirect
Ip string - The action the nat control policy rule takes when packets match the rule
- redirect
Port number - The action the nat control policy rule takes when packets match the rule
- res
Categories string[] - List of destination domain categories to which the rule applies
- src
Ip NatGroups Control Rules Src Ip Groups - list of source ip groups
- src
Ips string[] - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src
Ipv6Groups NatControl Rules Src Ipv6Groups - list of source ipv6 groups
- state string
- Determines whether the nat control policy rule is enabled or disabled
- time
Windows NatControl Rules Time Windows - The time interval in which the nat control policy rule applies
- users
Nat
Control Rules Users - list of users for which rule must be applied
- default_
rule bool - If set to true, the default rule is applied
- departments
Nat
Control Rules Departments Args - list of departments for which rule must be applied
- description str
- Additional information about the rule
- dest_
addresses Sequence[str] - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest_
countries Sequence[str] - 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 - dest_
ip_ Natgroups Control Rules Dest Ip Groups Args - list of destination ip groups
- dest_
ipv6_ Natgroups Control Rules Dest Ipv6Groups Args - list of destination ipv6 groups
- device_
groups NatControl Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices
Nat
Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- enable_
full_ boollogging - groups
Nat
Control Rules Groups Args - list of groups for which rule must be applied
- labels
Nat
Control Rules Labels Args - list of Labels that are applicable to the rule.
- location_
groups NatControl Rules Location Groups Args - list of locations groups
- locations
Nat
Control Rules Locations Args - list of locations for which rule must be applied
- name str
- Name of the nat control policy rule
- nw_
service_ Natgroups Control Rules Nw Service Groups Args - list of nw service groups
- nw_
services NatControl Rules Nw Services Args - list of nw services
- order int
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined bool
- If set to true, a predefined rule is applied
- rank int
- Admin rank of the nat control policy rule
- redirect_
fqdn str - The action the nat control policy rule takes when packets match the rule
- redirect_
ip str - The action the nat control policy rule takes when packets match the rule
- redirect_
port int - The action the nat control policy rule takes when packets match the rule
- res_
categories Sequence[str] - List of destination domain categories to which the rule applies
- src_
ip_ Natgroups Control Rules Src Ip Groups Args - list of source ip groups
- src_
ips Sequence[str] - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src_
ipv6_ Natgroups Control Rules Src Ipv6Groups Args - list of source ipv6 groups
- state str
- Determines whether the nat control policy rule is enabled or disabled
- time_
windows NatControl Rules Time Windows Args - The time interval in which the nat control policy rule applies
- users
Nat
Control Rules Users Args - list of users for which rule must be applied
- default
Rule Boolean - If set to true, the default rule is applied
- departments Property Map
- list of departments for which rule must be applied
- description String
- Additional information about the rule
- dest
Addresses List<String> - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest
Countries List<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 - dest
Ip Property MapGroups - list of destination ip groups
- dest
Ipv6Groups Property Map - list of destination ipv6 groups
- device
Groups Property Map - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices Property Map
- Name-ID pairs of devices for which rule must be applied.
- enable
Full BooleanLogging - groups Property Map
- list of groups for which rule must be applied
- labels Property Map
- list of Labels that are applicable to the rule.
- location
Groups Property Map - list of locations groups
- locations Property Map
- list of locations for which rule must be applied
- name String
- Name of the nat control policy rule
- nw
Service Property MapGroups - list of nw service groups
- nw
Services Property Map - list of nw services
- order Number
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined Boolean
- If set to true, a predefined rule is applied
- rank Number
- Admin rank of the nat control policy rule
- redirect
Fqdn String - The action the nat control policy rule takes when packets match the rule
- redirect
Ip String - The action the nat control policy rule takes when packets match the rule
- redirect
Port Number - The action the nat control policy rule takes when packets match the rule
- res
Categories List<String> - List of destination domain categories to which the rule applies
- src
Ip Property MapGroups - list of source ip groups
- src
Ips List<String> - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src
Ipv6Groups Property Map - list of source ipv6 groups
- state String
- Determines whether the nat control policy rule is enabled or disabled
- time
Windows Property Map - The time interval in which the nat control policy rule applies
- users Property Map
- list of users for which rule must be applied
Outputs
All input properties are implicitly available as output properties. Additionally, the NatControlRules resource produces the following output properties:
Look up Existing NatControlRules Resource
Get an existing NatControlRules 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?: NatControlRulesState, opts?: CustomResourceOptions): NatControlRules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_rule: Optional[bool] = None,
departments: Optional[NatControlRulesDepartmentsArgs] = None,
description: Optional[str] = None,
dest_addresses: Optional[Sequence[str]] = None,
dest_countries: Optional[Sequence[str]] = None,
dest_ip_categories: Optional[Sequence[str]] = None,
dest_ip_groups: Optional[NatControlRulesDestIpGroupsArgs] = None,
dest_ipv6_groups: Optional[NatControlRulesDestIpv6GroupsArgs] = None,
device_groups: Optional[NatControlRulesDeviceGroupsArgs] = None,
devices: Optional[NatControlRulesDevicesArgs] = None,
enable_full_logging: Optional[bool] = None,
groups: Optional[NatControlRulesGroupsArgs] = None,
labels: Optional[NatControlRulesLabelsArgs] = None,
location_groups: Optional[NatControlRulesLocationGroupsArgs] = None,
locations: Optional[NatControlRulesLocationsArgs] = None,
name: Optional[str] = None,
nw_service_groups: Optional[NatControlRulesNwServiceGroupsArgs] = None,
nw_services: Optional[NatControlRulesNwServicesArgs] = None,
order: Optional[int] = None,
predefined: Optional[bool] = None,
rank: Optional[int] = None,
redirect_fqdn: Optional[str] = None,
redirect_ip: Optional[str] = None,
redirect_port: Optional[int] = None,
res_categories: Optional[Sequence[str]] = None,
rule_id: Optional[int] = None,
src_ip_groups: Optional[NatControlRulesSrcIpGroupsArgs] = None,
src_ips: Optional[Sequence[str]] = None,
src_ipv6_groups: Optional[NatControlRulesSrcIpv6GroupsArgs] = None,
state: Optional[str] = None,
time_windows: Optional[NatControlRulesTimeWindowsArgs] = None,
users: Optional[NatControlRulesUsersArgs] = None) -> NatControlRules
func GetNatControlRules(ctx *Context, name string, id IDInput, state *NatControlRulesState, opts ...ResourceOption) (*NatControlRules, error)
public static NatControlRules Get(string name, Input<string> id, NatControlRulesState? state, CustomResourceOptions? opts = null)
public static NatControlRules get(String name, Output<String> id, NatControlRulesState state, CustomResourceOptions options)
resources: _: type: zia:NatControlRules get: id: ${id}
- 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.
- Default
Rule bool - If set to true, the default rule is applied
- Departments
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Departments - list of departments for which rule must be applied
- Description string
- Additional information about the rule
- Dest
Addresses List<string> - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- Dest
Countries List<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 - Dest
Ip zscaler.Groups Pulumi Package. Zia. Inputs. Nat Control Rules Dest Ip Groups - list of destination ip groups
- Dest
Ipv6Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Dest Ipv6Groups - list of destination ipv6 groups
- Device
Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- Devices
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- Enable
Full boolLogging - Groups
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Groups - list of groups for which rule must be applied
- Labels
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Labels - list of Labels that are applicable to the rule.
- Location
Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Location Groups - list of locations groups
- Locations
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Locations - list of locations for which rule must be applied
- Name string
- Name of the nat control policy rule
- Nw
Service zscaler.Groups Pulumi Package. Zia. Inputs. Nat Control Rules Nw Service Groups - list of nw service groups
- Nw
Services zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Nw Services - list of nw services
- Order int
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- Predefined bool
- If set to true, a predefined rule is applied
- Rank int
- Admin rank of the nat control policy rule
- Redirect
Fqdn string - The action the nat control policy rule takes when packets match the rule
- Redirect
Ip string - The action the nat control policy rule takes when packets match the rule
- Redirect
Port int - The action the nat control policy rule takes when packets match the rule
- Res
Categories List<string> - List of destination domain categories to which the rule applies
- Rule
Id int - Src
Ip zscaler.Groups Pulumi Package. Zia. Inputs. Nat Control Rules Src Ip Groups - list of source ip groups
- Src
Ips List<string> - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- Src
Ipv6Groups zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Src Ipv6Groups - list of source ipv6 groups
- State string
- Determines whether the nat control policy rule is enabled or disabled
- Time
Windows zscaler.Pulumi Package. Zia. Inputs. Nat Control Rules Time Windows - The time interval in which the nat control policy rule applies
- Users
zscaler.
Pulumi Package. Zia. Inputs. Nat Control Rules Users - list of users for which rule must be applied
- Default
Rule bool - If set to true, the default rule is applied
- Departments
Nat
Control Rules Departments Args - list of departments for which rule must be applied
- Description string
- Additional information about the rule
- Dest
Addresses []string - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- Dest
Countries []string - Destination countries for which the rule is applicable. If not set, the rule is not restricted to specific destination countries.
- Dest
Ip []stringCategories - Dest
Ip NatGroups Control Rules Dest Ip Groups Args - list of destination ip groups
- Dest
Ipv6Groups NatControl Rules Dest Ipv6Groups Args - list of destination ipv6 groups
- Device
Groups NatControl Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- Devices
Nat
Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- Enable
Full boolLogging - Groups
Nat
Control Rules Groups Args - list of groups for which rule must be applied
- Labels
Nat
Control Rules Labels Args - list of Labels that are applicable to the rule.
- Location
Groups NatControl Rules Location Groups Args - list of locations groups
- Locations
Nat
Control Rules Locations Args - list of locations for which rule must be applied
- Name string
- Name of the nat control policy rule
- Nw
Service NatGroups Control Rules Nw Service Groups Args - list of nw service groups
- Nw
Services NatControl Rules Nw Services Args - list of nw services
- Order int
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- Predefined bool
- If set to true, a predefined rule is applied
- Rank int
- Admin rank of the nat control policy rule
- Redirect
Fqdn string - The action the nat control policy rule takes when packets match the rule
- Redirect
Ip string - The action the nat control policy rule takes when packets match the rule
- Redirect
Port int - The action the nat control policy rule takes when packets match the rule
- Res
Categories []string - List of destination domain categories to which the rule applies
- Rule
Id int - Src
Ip NatGroups Control Rules Src Ip Groups Args - list of source ip groups
- Src
Ips []string - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- Src
Ipv6Groups NatControl Rules Src Ipv6Groups Args - list of source ipv6 groups
- State string
- Determines whether the nat control policy rule is enabled or disabled
- Time
Windows NatControl Rules Time Windows Args - The time interval in which the nat control policy rule applies
- Users
Nat
Control Rules Users Args - list of users for which rule must be applied
- default
Rule Boolean - If set to true, the default rule is applied
- departments
Nat
Control Rules Departments - list of departments for which rule must be applied
- description String
- Additional information about the rule
- dest
Addresses List<String> - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest
Countries List<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 - dest
Ip NatGroups Control Rules Dest Ip Groups - list of destination ip groups
- dest
Ipv6Groups NatControl Rules Dest Ipv6Groups - list of destination ipv6 groups
- device
Groups NatControl Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices
Nat
Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- enable
Full BooleanLogging - groups
Nat
Control Rules Groups - list of groups for which rule must be applied
- labels
Nat
Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups NatControl Rules Location Groups - list of locations groups
- locations
Nat
Control Rules Locations - list of locations for which rule must be applied
- name String
- Name of the nat control policy rule
- nw
Service NatGroups Control Rules Nw Service Groups - list of nw service groups
- nw
Services NatControl Rules Nw Services - list of nw services
- order Integer
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined Boolean
- If set to true, a predefined rule is applied
- rank Integer
- Admin rank of the nat control policy rule
- redirect
Fqdn String - The action the nat control policy rule takes when packets match the rule
- redirect
Ip String - The action the nat control policy rule takes when packets match the rule
- redirect
Port Integer - The action the nat control policy rule takes when packets match the rule
- res
Categories List<String> - List of destination domain categories to which the rule applies
- rule
Id Integer - src
Ip NatGroups Control Rules Src Ip Groups - list of source ip groups
- src
Ips List<String> - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src
Ipv6Groups NatControl Rules Src Ipv6Groups - list of source ipv6 groups
- state String
- Determines whether the nat control policy rule is enabled or disabled
- time
Windows NatControl Rules Time Windows - The time interval in which the nat control policy rule applies
- users
Nat
Control Rules Users - list of users for which rule must be applied
- default
Rule boolean - If set to true, the default rule is applied
- departments
Nat
Control Rules Departments - list of departments for which rule must be applied
- description string
- Additional information about the rule
- dest
Addresses string[] - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest
Countries 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 - dest
Ip NatGroups Control Rules Dest Ip Groups - list of destination ip groups
- dest
Ipv6Groups NatControl Rules Dest Ipv6Groups - list of destination ipv6 groups
- device
Groups NatControl Rules Device Groups - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices
Nat
Control Rules Devices - Name-ID pairs of devices for which rule must be applied.
- enable
Full booleanLogging - groups
Nat
Control Rules Groups - list of groups for which rule must be applied
- labels
Nat
Control Rules Labels - list of Labels that are applicable to the rule.
- location
Groups NatControl Rules Location Groups - list of locations groups
- locations
Nat
Control Rules Locations - list of locations for which rule must be applied
- name string
- Name of the nat control policy rule
- nw
Service NatGroups Control Rules Nw Service Groups - list of nw service groups
- nw
Services NatControl Rules Nw Services - list of nw services
- order number
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined boolean
- If set to true, a predefined rule is applied
- rank number
- Admin rank of the nat control policy rule
- redirect
Fqdn string - The action the nat control policy rule takes when packets match the rule
- redirect
Ip string - The action the nat control policy rule takes when packets match the rule
- redirect
Port number - The action the nat control policy rule takes when packets match the rule
- res
Categories string[] - List of destination domain categories to which the rule applies
- rule
Id number - src
Ip NatGroups Control Rules Src Ip Groups - list of source ip groups
- src
Ips string[] - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src
Ipv6Groups NatControl Rules Src Ipv6Groups - list of source ipv6 groups
- state string
- Determines whether the nat control policy rule is enabled or disabled
- time
Windows NatControl Rules Time Windows - The time interval in which the nat control policy rule applies
- users
Nat
Control Rules Users - list of users for which rule must be applied
- default_
rule bool - If set to true, the default rule is applied
- departments
Nat
Control Rules Departments Args - list of departments for which rule must be applied
- description str
- Additional information about the rule
- dest_
addresses Sequence[str] - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest_
countries Sequence[str] - 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 - dest_
ip_ Natgroups Control Rules Dest Ip Groups Args - list of destination ip groups
- dest_
ipv6_ Natgroups Control Rules Dest Ipv6Groups Args - list of destination ipv6 groups
- device_
groups NatControl Rules Device Groups Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices
Nat
Control Rules Devices Args - Name-ID pairs of devices for which rule must be applied.
- enable_
full_ boollogging - groups
Nat
Control Rules Groups Args - list of groups for which rule must be applied
- labels
Nat
Control Rules Labels Args - list of Labels that are applicable to the rule.
- location_
groups NatControl Rules Location Groups Args - list of locations groups
- locations
Nat
Control Rules Locations Args - list of locations for which rule must be applied
- name str
- Name of the nat control policy rule
- nw_
service_ Natgroups Control Rules Nw Service Groups Args - list of nw service groups
- nw_
services NatControl Rules Nw Services Args - list of nw services
- order int
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined bool
- If set to true, a predefined rule is applied
- rank int
- Admin rank of the nat control policy rule
- redirect_
fqdn str - The action the nat control policy rule takes when packets match the rule
- redirect_
ip str - The action the nat control policy rule takes when packets match the rule
- redirect_
port int - The action the nat control policy rule takes when packets match the rule
- res_
categories Sequence[str] - List of destination domain categories to which the rule applies
- rule_
id int - src_
ip_ Natgroups Control Rules Src Ip Groups Args - list of source ip groups
- src_
ips Sequence[str] - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src_
ipv6_ Natgroups Control Rules Src Ipv6Groups Args - list of source ipv6 groups
- state str
- Determines whether the nat control policy rule is enabled or disabled
- time_
windows NatControl Rules Time Windows Args - The time interval in which the nat control policy rule applies
- users
Nat
Control Rules Users Args - list of users for which rule must be applied
- default
Rule Boolean - If set to true, the default rule is applied
- departments Property Map
- list of departments for which rule must be applied
- description String
- Additional information about the rule
- dest
Addresses List<String> - Destination addresses. Supports IPv4, FQDNs, or wildcard FQDNs
- dest
Countries List<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 - dest
Ip Property MapGroups - list of destination ip groups
- dest
Ipv6Groups Property Map - list of destination ipv6 groups
- device
Groups Property Map - This field is applicable for devices that are managed using Zscaler Client Connector.
- devices Property Map
- Name-ID pairs of devices for which rule must be applied.
- enable
Full BooleanLogging - groups Property Map
- list of groups for which rule must be applied
- labels Property Map
- list of Labels that are applicable to the rule.
- location
Groups Property Map - list of locations groups
- locations Property Map
- list of locations for which rule must be applied
- name String
- Name of the nat control policy rule
- nw
Service Property MapGroups - list of nw service groups
- nw
Services Property Map - list of nw services
- order Number
- Rule order number. If omitted, the rule will be added to the end of the rule set.
- predefined Boolean
- If set to true, a predefined rule is applied
- rank Number
- Admin rank of the nat control policy rule
- redirect
Fqdn String - The action the nat control policy rule takes when packets match the rule
- redirect
Ip String - The action the nat control policy rule takes when packets match the rule
- redirect
Port Number - The action the nat control policy rule takes when packets match the rule
- res
Categories List<String> - List of destination domain categories to which the rule applies
- rule
Id Number - src
Ip Property MapGroups - list of source ip groups
- src
Ips List<String> - User-defined source IP addresses for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address.
- src
Ipv6Groups Property Map - list of source ipv6 groups
- state String
- Determines whether the nat control policy rule is enabled or disabled
- time
Windows Property Map - The time interval in which the nat control policy rule applies
- users Property Map
- list of users for which rule must be applied
Supporting Types
NatControlRulesDepartments, NatControlRulesDepartmentsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesDestIpGroups, NatControlRulesDestIpGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesDestIpv6Groups, NatControlRulesDestIpv6GroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesDeviceGroups, NatControlRulesDeviceGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesDevices, NatControlRulesDevicesArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesGroups, NatControlRulesGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesLabels, NatControlRulesLabelsArgs
- Id int
- Id int
- id Integer
- id number
- id int
- id Number
NatControlRulesLocationGroups, NatControlRulesLocationGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesLocations, NatControlRulesLocationsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesNwServiceGroups, NatControlRulesNwServiceGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesNwServices, NatControlRulesNwServicesArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesSrcIpGroups, NatControlRulesSrcIpGroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesSrcIpv6Groups, NatControlRulesSrcIpv6GroupsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesTimeWindows, NatControlRulesTimeWindowsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
NatControlRulesUsers, NatControlRulesUsersArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
zia_nat_control_rules can be imported by using <RULE ID>
or <RULE NAME>
as the import ID.
For example:
$ pulumi import zia:index/natControlRules:NatControlRules example <rule_id>
or
$ pulumi import zia:index/natControlRules:NatControlRules example <rule_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.