nsxt.NatRule
Explore with Pulumi AI
Create NatRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NatRule(name: string, args: NatRuleArgs, opts?: CustomResourceOptions);
@overload
def NatRule(resource_name: str,
args: NatRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NatRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
logical_router_id: Optional[str] = None,
action: Optional[str] = None,
match_destination_network: Optional[str] = None,
enabled: Optional[bool] = None,
logging: Optional[bool] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
match_source_network: Optional[str] = None,
nat_pass: Optional[bool] = None,
nat_rule_id: Optional[str] = None,
rule_priority: Optional[float] = None,
tags: Optional[Sequence[NatRuleTagArgs]] = None,
translated_network: Optional[str] = None,
translated_ports: Optional[str] = None)
func NewNatRule(ctx *Context, name string, args NatRuleArgs, opts ...ResourceOption) (*NatRule, error)
public NatRule(string name, NatRuleArgs args, CustomResourceOptions? opts = null)
public NatRule(String name, NatRuleArgs args)
public NatRule(String name, NatRuleArgs args, CustomResourceOptions options)
type: nsxt:NatRule
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 NatRuleArgs
- 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 NatRuleArgs
- 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 NatRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NatRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NatRuleArgs
- 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 natRuleResource = new Nsxt.NatRule("natRuleResource", new()
{
LogicalRouterId = "string",
Action = "string",
MatchDestinationNetwork = "string",
Enabled = false,
Logging = false,
DisplayName = "string",
Description = "string",
MatchSourceNetwork = "string",
NatPass = false,
NatRuleId = "string",
RulePriority = 0,
Tags = new[]
{
new Nsxt.Inputs.NatRuleTagArgs
{
Scope = "string",
Tag = "string",
},
},
TranslatedNetwork = "string",
TranslatedPorts = "string",
});
example, err := nsxt.NewNatRule(ctx, "natRuleResource", &nsxt.NatRuleArgs{
LogicalRouterId: pulumi.String("string"),
Action: pulumi.String("string"),
MatchDestinationNetwork: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Logging: pulumi.Bool(false),
DisplayName: pulumi.String("string"),
Description: pulumi.String("string"),
MatchSourceNetwork: pulumi.String("string"),
NatPass: pulumi.Bool(false),
NatRuleId: pulumi.String("string"),
RulePriority: pulumi.Float64(0),
Tags: nsxt.NatRuleTagArray{
&nsxt.NatRuleTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
TranslatedNetwork: pulumi.String("string"),
TranslatedPorts: pulumi.String("string"),
})
var natRuleResource = new NatRule("natRuleResource", NatRuleArgs.builder()
.logicalRouterId("string")
.action("string")
.matchDestinationNetwork("string")
.enabled(false)
.logging(false)
.displayName("string")
.description("string")
.matchSourceNetwork("string")
.natPass(false)
.natRuleId("string")
.rulePriority(0)
.tags(NatRuleTagArgs.builder()
.scope("string")
.tag("string")
.build())
.translatedNetwork("string")
.translatedPorts("string")
.build());
nat_rule_resource = nsxt.NatRule("natRuleResource",
logical_router_id="string",
action="string",
match_destination_network="string",
enabled=False,
logging=False,
display_name="string",
description="string",
match_source_network="string",
nat_pass=False,
nat_rule_id="string",
rule_priority=0,
tags=[{
"scope": "string",
"tag": "string",
}],
translated_network="string",
translated_ports="string")
const natRuleResource = new nsxt.NatRule("natRuleResource", {
logicalRouterId: "string",
action: "string",
matchDestinationNetwork: "string",
enabled: false,
logging: false,
displayName: "string",
description: "string",
matchSourceNetwork: "string",
natPass: false,
natRuleId: "string",
rulePriority: 0,
tags: [{
scope: "string",
tag: "string",
}],
translatedNetwork: "string",
translatedPorts: "string",
});
type: nsxt:NatRule
properties:
action: string
description: string
displayName: string
enabled: false
logging: false
logicalRouterId: string
matchDestinationNetwork: string
matchSourceNetwork: string
natPass: false
natRuleId: string
rulePriority: 0
tags:
- scope: string
tag: string
translatedNetwork: string
translatedPorts: string
NatRule 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 NatRule resource accepts the following input properties:
- Action string
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- Logical
Router stringId - ID of the logical router.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Enabled bool
- enable/disable the rule.
- Logging bool
- enable/disable the logging of rule.
- Match
Destination stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Match
Source stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Nat
Pass bool - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- Nat
Rule stringId - ID of the NAT rule.
- Rule
Priority double - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- List<Nat
Rule Tag> - A list of scope + tag pairs to associate with this NAT rule.
- Translated
Network string - IP Address | IP Range | CIDR.
- Translated
Ports string - port number or port range. Allowed only when action=DNAT.
- Action string
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- Logical
Router stringId - ID of the logical router.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Enabled bool
- enable/disable the rule.
- Logging bool
- enable/disable the logging of rule.
- Match
Destination stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Match
Source stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Nat
Pass bool - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- Nat
Rule stringId - ID of the NAT rule.
- Rule
Priority float64 - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- []Nat
Rule Tag Args - A list of scope + tag pairs to associate with this NAT rule.
- Translated
Network string - IP Address | IP Range | CIDR.
- Translated
Ports string - port number or port range. Allowed only when action=DNAT.
- action String
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- logical
Router StringId - ID of the logical router.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- enabled Boolean
- enable/disable the rule.
- logging Boolean
- enable/disable the logging of rule.
- match
Destination StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- match
Source StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- nat
Pass Boolean - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat
Rule StringId - ID of the NAT rule.
- rule
Priority Double - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- List<Nat
Rule Tag> - A list of scope + tag pairs to associate with this NAT rule.
- translated
Network String - IP Address | IP Range | CIDR.
- translated
Ports String - port number or port range. Allowed only when action=DNAT.
- action string
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- logical
Router stringId - ID of the logical router.
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- enabled boolean
- enable/disable the rule.
- logging boolean
- enable/disable the logging of rule.
- match
Destination stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- match
Source stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- nat
Pass boolean - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat
Rule stringId - ID of the NAT rule.
- rule
Priority number - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- Nat
Rule Tag[] - A list of scope + tag pairs to associate with this NAT rule.
- translated
Network string - IP Address | IP Range | CIDR.
- translated
Ports string - port number or port range. Allowed only when action=DNAT.
- action str
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- logical_
router_ strid - ID of the logical router.
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- enabled bool
- enable/disable the rule.
- logging bool
- enable/disable the logging of rule.
- match_
destination_ strnetwork - IP Address | CIDR. Omitting this field implies Any.
- match_
source_ strnetwork - IP Address | CIDR. Omitting this field implies Any.
- nat_
pass bool - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat_
rule_ strid - ID of the NAT rule.
- rule_
priority float - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- Sequence[Nat
Rule Tag Args] - A list of scope + tag pairs to associate with this NAT rule.
- translated_
network str - IP Address | IP Range | CIDR.
- translated_
ports str - port number or port range. Allowed only when action=DNAT.
- action String
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- logical
Router StringId - ID of the logical router.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- enabled Boolean
- enable/disable the rule.
- logging Boolean
- enable/disable the logging of rule.
- match
Destination StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- match
Source StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- nat
Pass Boolean - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat
Rule StringId - ID of the NAT rule.
- rule
Priority Number - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- List<Property Map>
- A list of scope + tag pairs to associate with this NAT rule.
- translated
Network String - IP Address | IP Range | CIDR.
- translated
Ports String - port number or port range. Allowed only when action=DNAT.
Outputs
All input properties are implicitly available as output properties. Additionally, the NatRule resource produces the following output properties:
Look up Existing NatRule Resource
Get an existing NatRule 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?: NatRuleState, opts?: CustomResourceOptions): NatRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
enabled: Optional[bool] = None,
logging: Optional[bool] = None,
logical_router_id: Optional[str] = None,
match_destination_network: Optional[str] = None,
match_source_network: Optional[str] = None,
nat_pass: Optional[bool] = None,
nat_rule_id: Optional[str] = None,
revision: Optional[float] = None,
rule_priority: Optional[float] = None,
tags: Optional[Sequence[NatRuleTagArgs]] = None,
translated_network: Optional[str] = None,
translated_ports: Optional[str] = None) -> NatRule
func GetNatRule(ctx *Context, name string, id IDInput, state *NatRuleState, opts ...ResourceOption) (*NatRule, error)
public static NatRule Get(string name, Input<string> id, NatRuleState? state, CustomResourceOptions? opts = null)
public static NatRule get(String name, Output<String> id, NatRuleState state, CustomResourceOptions options)
resources: _: type: nsxt:NatRule 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.
- Action string
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Enabled bool
- enable/disable the rule.
- Logging bool
- enable/disable the logging of rule.
- Logical
Router stringId - ID of the logical router.
- Match
Destination stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Match
Source stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Nat
Pass bool - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- Nat
Rule stringId - ID of the NAT rule.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rule
Priority double - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- List<Nat
Rule Tag> - A list of scope + tag pairs to associate with this NAT rule.
- Translated
Network string - IP Address | IP Range | CIDR.
- Translated
Ports string - port number or port range. Allowed only when action=DNAT.
- Action string
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Enabled bool
- enable/disable the rule.
- Logging bool
- enable/disable the logging of rule.
- Logical
Router stringId - ID of the logical router.
- Match
Destination stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Match
Source stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- Nat
Pass bool - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- Nat
Rule stringId - ID of the NAT rule.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rule
Priority float64 - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- []Nat
Rule Tag Args - A list of scope + tag pairs to associate with this NAT rule.
- Translated
Network string - IP Address | IP Range | CIDR.
- Translated
Ports string - port number or port range. Allowed only when action=DNAT.
- action String
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- enabled Boolean
- enable/disable the rule.
- logging Boolean
- enable/disable the logging of rule.
- logical
Router StringId - ID of the logical router.
- match
Destination StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- match
Source StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- nat
Pass Boolean - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat
Rule StringId - ID of the NAT rule.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule
Priority Double - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- List<Nat
Rule Tag> - A list of scope + tag pairs to associate with this NAT rule.
- translated
Network String - IP Address | IP Range | CIDR.
- translated
Ports String - port number or port range. Allowed only when action=DNAT.
- action string
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- enabled boolean
- enable/disable the rule.
- logging boolean
- enable/disable the logging of rule.
- logical
Router stringId - ID of the logical router.
- match
Destination stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- match
Source stringNetwork - IP Address | CIDR. Omitting this field implies Any.
- nat
Pass boolean - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat
Rule stringId - ID of the NAT rule.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule
Priority number - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- Nat
Rule Tag[] - A list of scope + tag pairs to associate with this NAT rule.
- translated
Network string - IP Address | IP Range | CIDR.
- translated
Ports string - port number or port range. Allowed only when action=DNAT.
- action str
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- enabled bool
- enable/disable the rule.
- logging bool
- enable/disable the logging of rule.
- logical_
router_ strid - ID of the logical router.
- match_
destination_ strnetwork - IP Address | CIDR. Omitting this field implies Any.
- match_
source_ strnetwork - IP Address | CIDR. Omitting this field implies Any.
- nat_
pass bool - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat_
rule_ strid - ID of the NAT rule.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule_
priority float - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- Sequence[Nat
Rule Tag Args] - A list of scope + tag pairs to associate with this NAT rule.
- translated_
network str - IP Address | IP Range | CIDR.
- translated_
ports str - port number or port range. Allowed only when action=DNAT.
- action String
- NAT rule action type. Valid actions are: SNAT, DNAT, NO_NAT and REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, and can NOT be supported when the logical router is running at active-active HA mode. The REFLEXIVE action is stateless. The NO_NAT action has no translated_fields, only match fields.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- enabled Boolean
- enable/disable the rule.
- logging Boolean
- enable/disable the logging of rule.
- logical
Router StringId - ID of the logical router.
- match
Destination StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- match
Source StringNetwork - IP Address | CIDR. Omitting this field implies Any.
- nat
Pass Boolean - Enable/disable to bypass following firewall stage. The default is true, meaning that the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
- nat
Rule StringId - ID of the NAT rule.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule
Priority Number - The priority of the rule which is ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
- List<Property Map>
- A list of scope + tag pairs to associate with this NAT rule.
- translated
Network String - IP Address | IP Range | CIDR.
- translated
Ports String - port number or port range. Allowed only when action=DNAT.
Supporting Types
NatRuleTag, NatRuleTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.