1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getNatDnatRulesV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getNatDnatRulesV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for NAT Gateway you can get at documentation portal

    Use this data source to get the list of DNAT rules within OpenTelekomCloud..

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const protocol = config.requireObject("protocol");
    const rule = opentelekomcloud.getNatDnatRulesV2({
        protocol: protocol,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    protocol = config.require_object("protocol")
    rule = opentelekomcloud.get_nat_dnat_rules_v2(protocol=protocol)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		protocol := cfg.RequireObject("protocol")
    		_, err := opentelekomcloud.GetNatDnatRulesV2(ctx, &opentelekomcloud.GetNatDnatRulesV2Args{
    			Protocol: pulumi.StringRef(protocol),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var protocol = config.RequireObject<dynamic>("protocol");
        var rule = Opentelekomcloud.GetNatDnatRulesV2.Invoke(new()
        {
            Protocol = protocol,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetNatDnatRulesV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var protocol = config.get("protocol");
            final var rule = OpentelekomcloudFunctions.getNatDnatRulesV2(GetNatDnatRulesV2Args.builder()
                .protocol(protocol)
                .build());
    
        }
    }
    
    configuration:
      protocol:
        type: dynamic
    variables:
      rule:
        fn::invoke:
          function: opentelekomcloud:getNatDnatRulesV2
          arguments:
            protocol: ${protocol}
    

    Using getNatDnatRulesV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNatDnatRulesV2(args: GetNatDnatRulesV2Args, opts?: InvokeOptions): Promise<GetNatDnatRulesV2Result>
    function getNatDnatRulesV2Output(args: GetNatDnatRulesV2OutputArgs, opts?: InvokeOptions): Output<GetNatDnatRulesV2Result>
    def get_nat_dnat_rules_v2(description: Optional[str] = None,
                              external_service_port: Optional[float] = None,
                              floating_ip_address: Optional[str] = None,
                              floating_ip_id: Optional[str] = None,
                              gateway_id: Optional[str] = None,
                              id: Optional[str] = None,
                              internal_service_port: Optional[float] = None,
                              port_id: Optional[str] = None,
                              private_ip: Optional[str] = None,
                              protocol: Optional[str] = None,
                              rule_id: Optional[str] = None,
                              status: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetNatDnatRulesV2Result
    def get_nat_dnat_rules_v2_output(description: Optional[pulumi.Input[str]] = None,
                              external_service_port: Optional[pulumi.Input[float]] = None,
                              floating_ip_address: Optional[pulumi.Input[str]] = None,
                              floating_ip_id: Optional[pulumi.Input[str]] = None,
                              gateway_id: Optional[pulumi.Input[str]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              internal_service_port: Optional[pulumi.Input[float]] = None,
                              port_id: Optional[pulumi.Input[str]] = None,
                              private_ip: Optional[pulumi.Input[str]] = None,
                              protocol: Optional[pulumi.Input[str]] = None,
                              rule_id: Optional[pulumi.Input[str]] = None,
                              status: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetNatDnatRulesV2Result]
    func GetNatDnatRulesV2(ctx *Context, args *GetNatDnatRulesV2Args, opts ...InvokeOption) (*GetNatDnatRulesV2Result, error)
    func GetNatDnatRulesV2Output(ctx *Context, args *GetNatDnatRulesV2OutputArgs, opts ...InvokeOption) GetNatDnatRulesV2ResultOutput

    > Note: This function is named GetNatDnatRulesV2 in the Go SDK.

    public static class GetNatDnatRulesV2 
    {
        public static Task<GetNatDnatRulesV2Result> InvokeAsync(GetNatDnatRulesV2Args args, InvokeOptions? opts = null)
        public static Output<GetNatDnatRulesV2Result> Invoke(GetNatDnatRulesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNatDnatRulesV2Result> getNatDnatRulesV2(GetNatDnatRulesV2Args args, InvokeOptions options)
    public static Output<GetNatDnatRulesV2Result> getNatDnatRulesV2(GetNatDnatRulesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getNatDnatRulesV2:getNatDnatRulesV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Description string
    Specifies the description of the DNAT rule.
    ExternalServicePort double
    Specifies the port of the EIP associated with the DNAT rule.
    FloatingIpAddress string
    Specifies the IP address of the EIP associated with the DNAT rule.
    FloatingIpId string
    Specifies the ID of the EIP associated with the DNAT rule.
    GatewayId string
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    Id string
    The ID of the DNAT rule.
    InternalServicePort double
    Specifies the port of the backend instance to which the DNAT rule belongs.
    PortId string
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    PrivateIp string
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    Protocol string
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    RuleId string
    Specifies the ID of the DNAT rule.
    Status string
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    Description string
    Specifies the description of the DNAT rule.
    ExternalServicePort float64
    Specifies the port of the EIP associated with the DNAT rule.
    FloatingIpAddress string
    Specifies the IP address of the EIP associated with the DNAT rule.
    FloatingIpId string
    Specifies the ID of the EIP associated with the DNAT rule.
    GatewayId string
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    Id string
    The ID of the DNAT rule.
    InternalServicePort float64
    Specifies the port of the backend instance to which the DNAT rule belongs.
    PortId string
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    PrivateIp string
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    Protocol string
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    RuleId string
    Specifies the ID of the DNAT rule.
    Status string
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    description String
    Specifies the description of the DNAT rule.
    externalServicePort Double
    Specifies the port of the EIP associated with the DNAT rule.
    floatingIpAddress String
    Specifies the IP address of the EIP associated with the DNAT rule.
    floatingIpId String
    Specifies the ID of the EIP associated with the DNAT rule.
    gatewayId String
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id String
    The ID of the DNAT rule.
    internalServicePort Double
    Specifies the port of the backend instance to which the DNAT rule belongs.
    portId String
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    privateIp String
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol String
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    ruleId String
    Specifies the ID of the DNAT rule.
    status String
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    description string
    Specifies the description of the DNAT rule.
    externalServicePort number
    Specifies the port of the EIP associated with the DNAT rule.
    floatingIpAddress string
    Specifies the IP address of the EIP associated with the DNAT rule.
    floatingIpId string
    Specifies the ID of the EIP associated with the DNAT rule.
    gatewayId string
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id string
    The ID of the DNAT rule.
    internalServicePort number
    Specifies the port of the backend instance to which the DNAT rule belongs.
    portId string
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    privateIp string
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol string
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    ruleId string
    Specifies the ID of the DNAT rule.
    status string
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    description str
    Specifies the description of the DNAT rule.
    external_service_port float
    Specifies the port of the EIP associated with the DNAT rule.
    floating_ip_address str
    Specifies the IP address of the EIP associated with the DNAT rule.
    floating_ip_id str
    Specifies the ID of the EIP associated with the DNAT rule.
    gateway_id str
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id str
    The ID of the DNAT rule.
    internal_service_port float
    Specifies the port of the backend instance to which the DNAT rule belongs.
    port_id str
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    private_ip str
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol str
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    rule_id str
    Specifies the ID of the DNAT rule.
    status str
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    description String
    Specifies the description of the DNAT rule.
    externalServicePort Number
    Specifies the port of the EIP associated with the DNAT rule.
    floatingIpAddress String
    Specifies the IP address of the EIP associated with the DNAT rule.
    floatingIpId String
    Specifies the ID of the EIP associated with the DNAT rule.
    gatewayId String
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id String
    The ID of the DNAT rule.
    internalServicePort Number
    Specifies the port of the backend instance to which the DNAT rule belongs.
    portId String
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    privateIp String
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol String
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    ruleId String
    Specifies the ID of the DNAT rule.
    status String
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.

    getNatDnatRulesV2 Result

    The following output properties are available:

    Id string
    The ID of the DNAT rule.
    Region string
    The region where the DNAT rules are located.
    Rules List<GetNatDnatRulesV2Rule>
    The list ot the DNAT rules. The rules structure is documented below.
    Description string
    The description of the DNAT rule.
    ExternalServicePort double
    The port of the EIP associated with the DNAT rule belongs.
    FloatingIpAddress string
    The IP address of the EIP associated with the DNAT rule.
    FloatingIpId string
    The ID of the EIP associated with the DNAT rule.
    GatewayId string
    The ID of the NAT gateway to which the DNAT rule belongs.
    InternalServicePort double
    The port of the backend instance to which the DNAT rule belongs.
    PortId string
    The port ID of the backend instance to which the DNAT rule belongs.
    PrivateIp string
    The private IP address of the backend instance to which the DNAT rule belongs.
    Protocol string
    The protocol type of the DNAT rule.
    RuleId string
    Status string
    The status of the DNAT rule.
    Id string
    The ID of the DNAT rule.
    Region string
    The region where the DNAT rules are located.
    Rules []GetNatDnatRulesV2Rule
    The list ot the DNAT rules. The rules structure is documented below.
    Description string
    The description of the DNAT rule.
    ExternalServicePort float64
    The port of the EIP associated with the DNAT rule belongs.
    FloatingIpAddress string
    The IP address of the EIP associated with the DNAT rule.
    FloatingIpId string
    The ID of the EIP associated with the DNAT rule.
    GatewayId string
    The ID of the NAT gateway to which the DNAT rule belongs.
    InternalServicePort float64
    The port of the backend instance to which the DNAT rule belongs.
    PortId string
    The port ID of the backend instance to which the DNAT rule belongs.
    PrivateIp string
    The private IP address of the backend instance to which the DNAT rule belongs.
    Protocol string
    The protocol type of the DNAT rule.
    RuleId string
    Status string
    The status of the DNAT rule.
    id String
    The ID of the DNAT rule.
    region String
    The region where the DNAT rules are located.
    rules List<GetNatDnatRulesV2Rule>
    The list ot the DNAT rules. The rules structure is documented below.
    description String
    The description of the DNAT rule.
    externalServicePort Double
    The port of the EIP associated with the DNAT rule belongs.
    floatingIpAddress String
    The IP address of the EIP associated with the DNAT rule.
    floatingIpId String
    The ID of the EIP associated with the DNAT rule.
    gatewayId String
    The ID of the NAT gateway to which the DNAT rule belongs.
    internalServicePort Double
    The port of the backend instance to which the DNAT rule belongs.
    portId String
    The port ID of the backend instance to which the DNAT rule belongs.
    privateIp String
    The private IP address of the backend instance to which the DNAT rule belongs.
    protocol String
    The protocol type of the DNAT rule.
    ruleId String
    status String
    The status of the DNAT rule.
    id string
    The ID of the DNAT rule.
    region string
    The region where the DNAT rules are located.
    rules GetNatDnatRulesV2Rule[]
    The list ot the DNAT rules. The rules structure is documented below.
    description string
    The description of the DNAT rule.
    externalServicePort number
    The port of the EIP associated with the DNAT rule belongs.
    floatingIpAddress string
    The IP address of the EIP associated with the DNAT rule.
    floatingIpId string
    The ID of the EIP associated with the DNAT rule.
    gatewayId string
    The ID of the NAT gateway to which the DNAT rule belongs.
    internalServicePort number
    The port of the backend instance to which the DNAT rule belongs.
    portId string
    The port ID of the backend instance to which the DNAT rule belongs.
    privateIp string
    The private IP address of the backend instance to which the DNAT rule belongs.
    protocol string
    The protocol type of the DNAT rule.
    ruleId string
    status string
    The status of the DNAT rule.
    id str
    The ID of the DNAT rule.
    region str
    The region where the DNAT rules are located.
    rules Sequence[GetNatDnatRulesV2Rule]
    The list ot the DNAT rules. The rules structure is documented below.
    description str
    The description of the DNAT rule.
    external_service_port float
    The port of the EIP associated with the DNAT rule belongs.
    floating_ip_address str
    The IP address of the EIP associated with the DNAT rule.
    floating_ip_id str
    The ID of the EIP associated with the DNAT rule.
    gateway_id str
    The ID of the NAT gateway to which the DNAT rule belongs.
    internal_service_port float
    The port of the backend instance to which the DNAT rule belongs.
    port_id str
    The port ID of the backend instance to which the DNAT rule belongs.
    private_ip str
    The private IP address of the backend instance to which the DNAT rule belongs.
    protocol str
    The protocol type of the DNAT rule.
    rule_id str
    status str
    The status of the DNAT rule.
    id String
    The ID of the DNAT rule.
    region String
    The region where the DNAT rules are located.
    rules List<Property Map>
    The list ot the DNAT rules. The rules structure is documented below.
    description String
    The description of the DNAT rule.
    externalServicePort Number
    The port of the EIP associated with the DNAT rule belongs.
    floatingIpAddress String
    The IP address of the EIP associated with the DNAT rule.
    floatingIpId String
    The ID of the EIP associated with the DNAT rule.
    gatewayId String
    The ID of the NAT gateway to which the DNAT rule belongs.
    internalServicePort Number
    The port of the backend instance to which the DNAT rule belongs.
    portId String
    The port ID of the backend instance to which the DNAT rule belongs.
    privateIp String
    The private IP address of the backend instance to which the DNAT rule belongs.
    protocol String
    The protocol type of the DNAT rule.
    ruleId String
    status String
    The status of the DNAT rule.

    Supporting Types

    GetNatDnatRulesV2Rule

    CreatedAt string
    The creation time of the DNAT rule.
    Description string
    Specifies the description of the DNAT rule.
    ExternalServicePort double
    Specifies the port of the EIP associated with the DNAT rule.
    FloatingIpAddress string
    Specifies the IP address of the EIP associated with the DNAT rule.
    FloatingIpId string
    Specifies the ID of the EIP associated with the DNAT rule.
    GatewayId string
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    Id string
    The ID of the DNAT rule.
    InternalServicePort double
    Specifies the port of the backend instance to which the DNAT rule belongs.
    PortId string
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    PrivateIp string
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    Protocol string
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    Status string
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    CreatedAt string
    The creation time of the DNAT rule.
    Description string
    Specifies the description of the DNAT rule.
    ExternalServicePort float64
    Specifies the port of the EIP associated with the DNAT rule.
    FloatingIpAddress string
    Specifies the IP address of the EIP associated with the DNAT rule.
    FloatingIpId string
    Specifies the ID of the EIP associated with the DNAT rule.
    GatewayId string
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    Id string
    The ID of the DNAT rule.
    InternalServicePort float64
    Specifies the port of the backend instance to which the DNAT rule belongs.
    PortId string
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    PrivateIp string
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    Protocol string
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    Status string
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    createdAt String
    The creation time of the DNAT rule.
    description String
    Specifies the description of the DNAT rule.
    externalServicePort Double
    Specifies the port of the EIP associated with the DNAT rule.
    floatingIpAddress String
    Specifies the IP address of the EIP associated with the DNAT rule.
    floatingIpId String
    Specifies the ID of the EIP associated with the DNAT rule.
    gatewayId String
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id String
    The ID of the DNAT rule.
    internalServicePort Double
    Specifies the port of the backend instance to which the DNAT rule belongs.
    portId String
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    privateIp String
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol String
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    status String
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    createdAt string
    The creation time of the DNAT rule.
    description string
    Specifies the description of the DNAT rule.
    externalServicePort number
    Specifies the port of the EIP associated with the DNAT rule.
    floatingIpAddress string
    Specifies the IP address of the EIP associated with the DNAT rule.
    floatingIpId string
    Specifies the ID of the EIP associated with the DNAT rule.
    gatewayId string
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id string
    The ID of the DNAT rule.
    internalServicePort number
    Specifies the port of the backend instance to which the DNAT rule belongs.
    portId string
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    privateIp string
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol string
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    status string
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    created_at str
    The creation time of the DNAT rule.
    description str
    Specifies the description of the DNAT rule.
    external_service_port float
    Specifies the port of the EIP associated with the DNAT rule.
    floating_ip_address str
    Specifies the IP address of the EIP associated with the DNAT rule.
    floating_ip_id str
    Specifies the ID of the EIP associated with the DNAT rule.
    gateway_id str
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id str
    The ID of the DNAT rule.
    internal_service_port float
    Specifies the port of the backend instance to which the DNAT rule belongs.
    port_id str
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    private_ip str
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol str
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    status str
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.
    createdAt String
    The creation time of the DNAT rule.
    description String
    Specifies the description of the DNAT rule.
    externalServicePort Number
    Specifies the port of the EIP associated with the DNAT rule.
    floatingIpAddress String
    Specifies the IP address of the EIP associated with the DNAT rule.
    floatingIpId String
    Specifies the ID of the EIP associated with the DNAT rule.
    gatewayId String
    Specifies the ID of the NAT gateway to which the DNAT rule belongs.
    id String
    The ID of the DNAT rule.
    internalServicePort Number
    Specifies the port of the backend instance to which the DNAT rule belongs.
    portId String
    Specifies the port ID of the backend instance to which the DNAT rule belongs.
    privateIp String
    Specifies the private IP address of the backend instance to which the DNAT rule belongs.
    protocol String
    Specifies the protocol type of the DNAT rule. The value can be one of the following:
    status String
    Specifies the status of the DNAT rule. The value can be one of the following:

    • ACTIVE: The SNAT rule is available.
    • EIP_FREEZED: The EIP is frozen associated with SNAT rule.
    • INACTIVE: The SNAT rule is unavailable.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud