1. Packages
  2. Vcd Provider
  3. API Docs
  4. NsxvDnat
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.NsxvDnat

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    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:

    EdgeGateway string
    The name of the edge gateway on which to apply the DNAT rule.
    NetworkName string
    The name of the network on which to apply the DNAT rule.
    NetworkType string
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    OriginalAddress 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.
    IcmpType string
    Only when protocol is set to icmp. One of any, 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. Default any
    LoggingEnabled bool
    Defines if the logging for this rule is enabaled. Default false.
    NsxvDnatId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    OriginalPort 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 or any. Default any.
    Protocol string
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    RuleTag 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.
    RuleType string
    Possible values - user, internal_high.
    TranslatedAddress 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.
    TranslatedPort 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.
    EdgeGateway string
    The name of the edge gateway on which to apply the DNAT rule.
    NetworkName string
    The name of the network on which to apply the DNAT rule.
    NetworkType string
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    OriginalAddress 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.
    IcmpType string
    Only when protocol is set to icmp. One of any, 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. Default any
    LoggingEnabled bool
    Defines if the logging for this rule is enabaled. Default false.
    NsxvDnatId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    OriginalPort 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 or any. Default any.
    Protocol string
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    RuleTag 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.
    RuleType string
    Possible values - user, internal_high.
    TranslatedAddress 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.
    TranslatedPort 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.
    edgeGateway String
    The name of the edge gateway on which to apply the DNAT rule.
    networkName String
    The name of the network on which to apply the DNAT rule.
    networkType String
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    originalAddress 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.
    icmpType String
    Only when protocol is set to icmp. One of any, 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. Default any
    loggingEnabled Boolean
    Defines if the logging for this rule is enabaled. Default false.
    nsxvDnatId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    originalPort 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 or any. Default any.
    protocol String
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    ruleTag 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.
    ruleType String
    Possible values - user, internal_high.
    translatedAddress 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.
    translatedPort 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.
    edgeGateway string
    The name of the edge gateway on which to apply the DNAT rule.
    networkName string
    The name of the network on which to apply the DNAT rule.
    networkType string
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    originalAddress 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.
    icmpType string
    Only when protocol is set to icmp. One of any, 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. Default any
    loggingEnabled boolean
    Defines if the logging for this rule is enabaled. Default false.
    nsxvDnatId string
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    originalPort 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 or any. Default any.
    protocol string
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    ruleTag 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.
    ruleType string
    Possible values - user, internal_high.
    translatedAddress 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.
    translatedPort 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 or ext.
    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 to icmp. One of any, 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. Default any
    logging_enabled bool
    Defines if the logging for this rule is enabaled. Default false.
    nsxv_dnat_id str
    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 or any. Default any.
    protocol str
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any 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.
    edgeGateway String
    The name of the edge gateway on which to apply the DNAT rule.
    networkName String
    The name of the network on which to apply the DNAT rule.
    networkType String
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    originalAddress 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.
    icmpType String
    Only when protocol is set to icmp. One of any, 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. Default any
    loggingEnabled Boolean
    Defines if the logging for this rule is enabaled. Default false.
    nsxvDnatId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    originalPort 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 or any. Default any.
    protocol String
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    ruleTag 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.
    ruleType String
    Possible values - user, internal_high.
    translatedAddress 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.
    translatedPort 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.
    The following state arguments are supported:
    Description string
    Free text description.
    EdgeGateway string
    The name of the edge gateway on which to apply the DNAT rule.
    Enabled bool
    Defines if the rule is enabaled. Default true.
    IcmpType string
    Only when protocol is set to icmp. One of any, 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. Default any
    LoggingEnabled bool
    Defines if the logging for this rule is enabaled. Default false.
    NetworkName string
    The name of the network on which to apply the DNAT rule.
    NetworkType string
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    NsxvDnatId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    OriginalAddress 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.
    OriginalPort 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 or any. Default any.
    Protocol string
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    RuleTag 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.
    RuleType string
    Possible values - user, internal_high.
    TranslatedAddress 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.
    TranslatedPort 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.
    EdgeGateway string
    The name of the edge gateway on which to apply the DNAT rule.
    Enabled bool
    Defines if the rule is enabaled. Default true.
    IcmpType string
    Only when protocol is set to icmp. One of any, 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. Default any
    LoggingEnabled bool
    Defines if the logging for this rule is enabaled. Default false.
    NetworkName string
    The name of the network on which to apply the DNAT rule.
    NetworkType string
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    NsxvDnatId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    OriginalAddress 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.
    OriginalPort 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 or any. Default any.
    Protocol string
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    RuleTag 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.
    RuleType string
    Possible values - user, internal_high.
    TranslatedAddress 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.
    TranslatedPort 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.
    edgeGateway String
    The name of the edge gateway on which to apply the DNAT rule.
    enabled Boolean
    Defines if the rule is enabaled. Default true.
    icmpType String
    Only when protocol is set to icmp. One of any, 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. Default any
    loggingEnabled Boolean
    Defines if the logging for this rule is enabaled. Default false.
    networkName String
    The name of the network on which to apply the DNAT rule.
    networkType String
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    nsxvDnatId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    originalAddress 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.
    originalPort 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 or any. Default any.
    protocol String
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    ruleTag 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.
    ruleType String
    Possible values - user, internal_high.
    translatedAddress 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.
    translatedPort 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.
    edgeGateway string
    The name of the edge gateway on which to apply the DNAT rule.
    enabled boolean
    Defines if the rule is enabaled. Default true.
    icmpType string
    Only when protocol is set to icmp. One of any, 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. Default any
    loggingEnabled boolean
    Defines if the logging for this rule is enabaled. Default false.
    networkName string
    The name of the network on which to apply the DNAT rule.
    networkType string
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    nsxvDnatId string
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    originalAddress 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.
    originalPort 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 or any. Default any.
    protocol string
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    ruleTag 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.
    ruleType string
    Possible values - user, internal_high.
    translatedAddress 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.
    translatedPort 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 to icmp. One of any, 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. Default any
    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 or ext.
    nsxv_dnat_id str
    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 or any. Default any.
    protocol str
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any 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.
    edgeGateway String
    The name of the edge gateway on which to apply the DNAT rule.
    enabled Boolean
    Defines if the rule is enabaled. Default true.
    icmpType String
    Only when protocol is set to icmp. One of any, 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. Default any
    loggingEnabled Boolean
    Defines if the logging for this rule is enabaled. Default false.
    networkName String
    The name of the network on which to apply the DNAT rule.
    networkType String
    Type of the network on which to apply the DNAT rule. Possible values org or ext.
    nsxvDnatId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
    originalAddress 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.
    originalPort 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 or any. Default any.
    protocol String
    Select the protocol to which the rule applies. One of tcp, udp, icmp, any. Default any protocols, select Any.
    ruleTag 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.
    ruleType String
    Possible values - user, internal_high.
    translatedAddress 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.
    translatedPort 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.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware