vcd.NsxvDnat
Explore with Pulumi AI
Create NsxvDnat Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NsxvDnat(name: string, args: NsxvDnatArgs, opts?: CustomResourceOptions);
@overload
def NsxvDnat(resource_name: str,
args: NsxvDnatArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NsxvDnat(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_name: Optional[str] = None,
edge_gateway: Optional[str] = None,
original_address: Optional[str] = None,
network_type: Optional[str] = None,
org: Optional[str] = None,
logging_enabled: Optional[bool] = None,
icmp_type: Optional[str] = None,
nsxv_dnat_id: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
original_port: Optional[str] = None,
protocol: Optional[str] = None,
rule_tag: Optional[float] = None,
rule_type: Optional[str] = None,
translated_address: Optional[str] = None,
translated_port: Optional[str] = None,
vdc: Optional[str] = None)
func NewNsxvDnat(ctx *Context, name string, args NsxvDnatArgs, opts ...ResourceOption) (*NsxvDnat, error)
public NsxvDnat(string name, NsxvDnatArgs args, CustomResourceOptions? opts = null)
public NsxvDnat(String name, NsxvDnatArgs args)
public NsxvDnat(String name, NsxvDnatArgs args, CustomResourceOptions options)
type: vcd:NsxvDnat
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 NsxvDnatArgs
- 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 NsxvDnatArgs
- 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 NsxvDnatArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxvDnatArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NsxvDnatArgs
- 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 nsxvDnatResource = new Vcd.NsxvDnat("nsxvDnatResource", new()
{
NetworkName = "string",
EdgeGateway = "string",
OriginalAddress = "string",
NetworkType = "string",
Org = "string",
LoggingEnabled = false,
IcmpType = "string",
NsxvDnatId = "string",
Description = "string",
Enabled = false,
OriginalPort = "string",
Protocol = "string",
RuleTag = 0,
RuleType = "string",
TranslatedAddress = "string",
TranslatedPort = "string",
Vdc = "string",
});
example, err := vcd.NewNsxvDnat(ctx, "nsxvDnatResource", &vcd.NsxvDnatArgs{
NetworkName: pulumi.String("string"),
EdgeGateway: pulumi.String("string"),
OriginalAddress: pulumi.String("string"),
NetworkType: pulumi.String("string"),
Org: pulumi.String("string"),
LoggingEnabled: pulumi.Bool(false),
IcmpType: pulumi.String("string"),
NsxvDnatId: pulumi.String("string"),
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
OriginalPort: pulumi.String("string"),
Protocol: pulumi.String("string"),
RuleTag: pulumi.Float64(0),
RuleType: pulumi.String("string"),
TranslatedAddress: pulumi.String("string"),
TranslatedPort: pulumi.String("string"),
Vdc: pulumi.String("string"),
})
var nsxvDnatResource = new NsxvDnat("nsxvDnatResource", NsxvDnatArgs.builder()
.networkName("string")
.edgeGateway("string")
.originalAddress("string")
.networkType("string")
.org("string")
.loggingEnabled(false)
.icmpType("string")
.nsxvDnatId("string")
.description("string")
.enabled(false)
.originalPort("string")
.protocol("string")
.ruleTag(0)
.ruleType("string")
.translatedAddress("string")
.translatedPort("string")
.vdc("string")
.build());
nsxv_dnat_resource = vcd.NsxvDnat("nsxvDnatResource",
network_name="string",
edge_gateway="string",
original_address="string",
network_type="string",
org="string",
logging_enabled=False,
icmp_type="string",
nsxv_dnat_id="string",
description="string",
enabled=False,
original_port="string",
protocol="string",
rule_tag=0,
rule_type="string",
translated_address="string",
translated_port="string",
vdc="string")
const nsxvDnatResource = new vcd.NsxvDnat("nsxvDnatResource", {
networkName: "string",
edgeGateway: "string",
originalAddress: "string",
networkType: "string",
org: "string",
loggingEnabled: false,
icmpType: "string",
nsxvDnatId: "string",
description: "string",
enabled: false,
originalPort: "string",
protocol: "string",
ruleTag: 0,
ruleType: "string",
translatedAddress: "string",
translatedPort: "string",
vdc: "string",
});
type: vcd:NsxvDnat
properties:
description: string
edgeGateway: string
enabled: false
icmpType: string
loggingEnabled: false
networkName: string
networkType: string
nsxvDnatId: string
org: string
originalAddress: string
originalPort: string
protocol: string
ruleTag: 0
ruleType: string
translatedAddress: string
translatedPort: string
vdc: string
NsxvDnat 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 NsxvDnat resource accepts the following input properties:
- Edge
Gateway string - The name of the edge gateway on which to apply the DNAT rule.
- Network
Name string - The name of the network on which to apply the DNAT rule.
- Network
Type string - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - Original
Address string - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- Description string
- Free text description.
- Enabled bool
- Defines if the rule is enabaled. Default
true
. - Icmp
Type string - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- Logging
Enabled bool - Defines if the logging for this rule is enabaled. Default
false
. - Nsxv
Dnat stringId - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Original
Port string - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - Protocol string
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - Rule
Tag double - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- Rule
Type string - Possible values -
user
,internal_high
. - Translated
Address string - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- Translated
Port string - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- Vdc string
- The name of VDC to use, optional if defined at provider level.
- Edge
Gateway string - The name of the edge gateway on which to apply the DNAT rule.
- Network
Name string - The name of the network on which to apply the DNAT rule.
- Network
Type string - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - Original
Address string - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- Description string
- Free text description.
- Enabled bool
- Defines if the rule is enabaled. Default
true
. - Icmp
Type string - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- Logging
Enabled bool - Defines if the logging for this rule is enabaled. Default
false
. - Nsxv
Dnat stringId - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Original
Port string - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - Protocol string
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - Rule
Tag float64 - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- Rule
Type string - Possible values -
user
,internal_high
. - Translated
Address string - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- Translated
Port string - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- Vdc string
- The name of VDC to use, optional if defined at provider level.
- edge
Gateway String - The name of the edge gateway on which to apply the DNAT rule.
- network
Name String - The name of the network on which to apply the DNAT rule.
- network
Type String - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - original
Address String - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- description String
- Free text description.
- enabled Boolean
- Defines if the rule is enabaled. Default
true
. - icmp
Type String - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging
Enabled Boolean - Defines if the logging for this rule is enabaled. Default
false
. - nsxv
Dnat StringId - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original
Port String - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol String
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule
Tag Double - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule
Type String - Possible values -
user
,internal_high
. - translated
Address String - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated
Port String - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc String
- The name of VDC to use, optional if defined at provider level.
- edge
Gateway string - The name of the edge gateway on which to apply the DNAT rule.
- network
Name string - The name of the network on which to apply the DNAT rule.
- network
Type string - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - original
Address string - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- description string
- Free text description.
- enabled boolean
- Defines if the rule is enabaled. Default
true
. - icmp
Type string - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging
Enabled boolean - Defines if the logging for this rule is enabaled. Default
false
. - nsxv
Dnat stringId - org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original
Port string - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol string
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule
Tag number - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule
Type string - Possible values -
user
,internal_high
. - translated
Address string - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated
Port string - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc string
- The name of VDC to use, optional if defined at provider level.
- edge_
gateway str - The name of the edge gateway on which to apply the DNAT rule.
- network_
name str - The name of the network on which to apply the DNAT rule.
- network_
type str - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - original_
address str - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- description str
- Free text description.
- enabled bool
- Defines if the rule is enabaled. Default
true
. - icmp_
type str - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging_
enabled bool - Defines if the logging for this rule is enabaled. Default
false
. - nsxv_
dnat_ strid - org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original_
port str - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol str
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule_
tag float - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule_
type str - Possible values -
user
,internal_high
. - translated_
address str - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated_
port str - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc str
- The name of VDC to use, optional if defined at provider level.
- edge
Gateway String - The name of the edge gateway on which to apply the DNAT rule.
- network
Name String - The name of the network on which to apply the DNAT rule.
- network
Type String - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - original
Address String - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- description String
- Free text description.
- enabled Boolean
- Defines if the rule is enabaled. Default
true
. - icmp
Type String - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging
Enabled Boolean - Defines if the logging for this rule is enabaled. Default
false
. - nsxv
Dnat StringId - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original
Port String - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol String
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule
Tag Number - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule
Type String - Possible values -
user
,internal_high
. - translated
Address String - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated
Port String - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc String
- The name of VDC to use, optional if defined at provider level.
Outputs
All input properties are implicitly available as output properties. Additionally, the NsxvDnat resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NsxvDnat Resource
Get an existing NsxvDnat 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?: NsxvDnatState, opts?: CustomResourceOptions): NsxvDnat
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
edge_gateway: Optional[str] = None,
enabled: Optional[bool] = None,
icmp_type: Optional[str] = None,
logging_enabled: Optional[bool] = None,
network_name: Optional[str] = None,
network_type: Optional[str] = None,
nsxv_dnat_id: Optional[str] = None,
org: Optional[str] = None,
original_address: Optional[str] = None,
original_port: Optional[str] = None,
protocol: Optional[str] = None,
rule_tag: Optional[float] = None,
rule_type: Optional[str] = None,
translated_address: Optional[str] = None,
translated_port: Optional[str] = None,
vdc: Optional[str] = None) -> NsxvDnat
func GetNsxvDnat(ctx *Context, name string, id IDInput, state *NsxvDnatState, opts ...ResourceOption) (*NsxvDnat, error)
public static NsxvDnat Get(string name, Input<string> id, NsxvDnatState? state, CustomResourceOptions? opts = null)
public static NsxvDnat get(String name, Output<String> id, NsxvDnatState state, CustomResourceOptions options)
resources: _: type: vcd:NsxvDnat 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.
- Description string
- Free text description.
- Edge
Gateway string - The name of the edge gateway on which to apply the DNAT rule.
- Enabled bool
- Defines if the rule is enabaled. Default
true
. - Icmp
Type string - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- Logging
Enabled bool - Defines if the logging for this rule is enabaled. Default
false
. - Network
Name string - The name of the network on which to apply the DNAT rule.
- Network
Type string - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - Nsxv
Dnat stringId - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Original
Address string - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- Original
Port string - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - Protocol string
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - Rule
Tag double - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- Rule
Type string - Possible values -
user
,internal_high
. - Translated
Address string - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- Translated
Port string - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- Vdc string
- The name of VDC to use, optional if defined at provider level.
- Description string
- Free text description.
- Edge
Gateway string - The name of the edge gateway on which to apply the DNAT rule.
- Enabled bool
- Defines if the rule is enabaled. Default
true
. - Icmp
Type string - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- Logging
Enabled bool - Defines if the logging for this rule is enabaled. Default
false
. - Network
Name string - The name of the network on which to apply the DNAT rule.
- Network
Type string - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - Nsxv
Dnat stringId - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Original
Address string - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- Original
Port string - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - Protocol string
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - Rule
Tag float64 - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- Rule
Type string - Possible values -
user
,internal_high
. - Translated
Address string - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- Translated
Port string - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- Vdc string
- The name of VDC to use, optional if defined at provider level.
- description String
- Free text description.
- edge
Gateway String - The name of the edge gateway on which to apply the DNAT rule.
- enabled Boolean
- Defines if the rule is enabaled. Default
true
. - icmp
Type String - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging
Enabled Boolean - Defines if the logging for this rule is enabaled. Default
false
. - network
Name String - The name of the network on which to apply the DNAT rule.
- network
Type String - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - nsxv
Dnat StringId - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original
Address String - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- original
Port String - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol String
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule
Tag Double - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule
Type String - Possible values -
user
,internal_high
. - translated
Address String - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated
Port String - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc String
- The name of VDC to use, optional if defined at provider level.
- description string
- Free text description.
- edge
Gateway string - The name of the edge gateway on which to apply the DNAT rule.
- enabled boolean
- Defines if the rule is enabaled. Default
true
. - icmp
Type string - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging
Enabled boolean - Defines if the logging for this rule is enabaled. Default
false
. - network
Name string - The name of the network on which to apply the DNAT rule.
- network
Type string - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - nsxv
Dnat stringId - org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original
Address string - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- original
Port string - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol string
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule
Tag number - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule
Type string - Possible values -
user
,internal_high
. - translated
Address string - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated
Port string - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc string
- The name of VDC to use, optional if defined at provider level.
- description str
- Free text description.
- edge_
gateway str - The name of the edge gateway on which to apply the DNAT rule.
- enabled bool
- Defines if the rule is enabaled. Default
true
. - icmp_
type str - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging_
enabled bool - Defines if the logging for this rule is enabaled. Default
false
. - network_
name str - The name of the network on which to apply the DNAT rule.
- network_
type str - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - nsxv_
dnat_ strid - org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original_
address str - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- original_
port str - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol str
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule_
tag float - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule_
type str - Possible values -
user
,internal_high
. - translated_
address str - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated_
port str - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc str
- The name of VDC to use, optional if defined at provider level.
- description String
- Free text description.
- edge
Gateway String - The name of the edge gateway on which to apply the DNAT rule.
- enabled Boolean
- Defines if the rule is enabaled. Default
true
. - icmp
Type String - Only when
protocol
is set toicmp
. One ofany
,address-mask-request
,address-mask-reply
,destination-unreachable
,echo-request
,echo-reply
,parameter-problem
,redirect
,router-advertisement
,router-solicitation
,source-quench
,time-exceeded
,timestamp-request
,timestamp-reply
. Defaultany
- logging
Enabled Boolean - Defines if the logging for this rule is enabaled. Default
false
. - network
Name String - The name of the network on which to apply the DNAT rule.
- network
Type String - Type of the network on which to apply the DNAT rule. Possible values
org
orext
. - nsxv
Dnat StringId - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- original
Address String - IP address, range or subnet. This address must be the public IP address of the edge gateway for which you are configuring the DNAT rule. In the packet being inspected, this IP address or range would be those that appear as the destination IP address of the packet. These packet destination addresses are the ones translated by this DNAT rule.
- original
Port String - Select the port or port range that the incoming traffic uses on the
edge gateway to connect to the internal network on which the virtual machines are connected. This
selection is not available when the Protocol is set to
icmp
orany
. Defaultany
. - protocol String
- Select the protocol to which the rule applies. One of
tcp
,udp
,icmp
,any
. Defaultany
protocols, select Any. - rule
Tag Number - This can be used to specify user-controlled rule tag. If not specified, it will report rule ID after creation. Must be between 65537-131072.
- rule
Type String - Possible values -
user
,internal_high
. - translated
Address String - IP address, range or subnet. IP addresses to which destination addresses on inbound packets will be translated. These addresses are the IP addresses of the one or more virtual machines for which you are configuring DNAT so that they can receive traffic from the external network.
- translated
Port String - Select the port or port range that inbound traffic is connecting to on the virtual machines on the internal network. These ports are the ones into which the DNAT rule is translating for the packets inbound to the virtual machines.
- vdc String
- The name of VDC to use, optional if defined at provider level.
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.