1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. natgateway
  6. getDnatentry
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Data Source schema for Volcengine::NatGateway::Dnatentry

    Using getDnatentry

    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 getDnatentry(args: GetDnatentryArgs, opts?: InvokeOptions): Promise<GetDnatentryResult>
    function getDnatentryOutput(args: GetDnatentryOutputArgs, opts?: InvokeOptions): Output<GetDnatentryResult>
    def get_dnatentry(id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDnatentryResult
    def get_dnatentry_output(id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDnatentryResult]
    func LookupDnatentry(ctx *Context, args *LookupDnatentryArgs, opts ...InvokeOption) (*LookupDnatentryResult, error)
    func LookupDnatentryOutput(ctx *Context, args *LookupDnatentryOutputArgs, opts ...InvokeOption) LookupDnatentryResultOutput

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

    public static class GetDnatentry 
    {
        public static Task<GetDnatentryResult> InvokeAsync(GetDnatentryArgs args, InvokeOptions? opts = null)
        public static Output<GetDnatentryResult> Invoke(GetDnatentryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnatentryResult> getDnatentry(GetDnatentryArgs args, InvokeOptions options)
    public static Output<GetDnatentryResult> getDnatentry(GetDnatentryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:natgateway/getDnatentry:getDnatentry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getDnatentry Result

    The following output properties are available:

    DnatEntryId string
    ID of the DNAT rule.
    DnatEntryName string
    Name of the DNAT rule.
    ExternalIp string
    IP address used by the NAT gateway for network address translation. If the NAT gateway is a public NAT gateway, enter its bound public IP address. If the NAT gateway is a private NAT gateway, enter its transit IP address.
    ExternalPort string
    Port or port range that receives requests from the public network.
    Id string
    Uniquely identifies the resource.
    InternalIp string
    Private IP address of the cloud server instance.
    InternalPort string
    Port or port range of the private IP address of the cloud server instance.
    NatGatewayId string
    ID of the NAT gateway to which the DNAT rule belongs.
    PortType string
    Port type of the DNAT rule. specified: Specified port. any: Any port, i.e., IP mapping.
    Protocol string
    Protocol type. tcp: Forwards TCP protocol packets. udp: Forwards UDP protocol packets.
    Status string
    Status of the DNAT rule. Creating: Creating. Deleting: Deleting. Available: Available.
    DnatEntryId string
    ID of the DNAT rule.
    DnatEntryName string
    Name of the DNAT rule.
    ExternalIp string
    IP address used by the NAT gateway for network address translation. If the NAT gateway is a public NAT gateway, enter its bound public IP address. If the NAT gateway is a private NAT gateway, enter its transit IP address.
    ExternalPort string
    Port or port range that receives requests from the public network.
    Id string
    Uniquely identifies the resource.
    InternalIp string
    Private IP address of the cloud server instance.
    InternalPort string
    Port or port range of the private IP address of the cloud server instance.
    NatGatewayId string
    ID of the NAT gateway to which the DNAT rule belongs.
    PortType string
    Port type of the DNAT rule. specified: Specified port. any: Any port, i.e., IP mapping.
    Protocol string
    Protocol type. tcp: Forwards TCP protocol packets. udp: Forwards UDP protocol packets.
    Status string
    Status of the DNAT rule. Creating: Creating. Deleting: Deleting. Available: Available.
    dnatEntryId String
    ID of the DNAT rule.
    dnatEntryName String
    Name of the DNAT rule.
    externalIp String
    IP address used by the NAT gateway for network address translation. If the NAT gateway is a public NAT gateway, enter its bound public IP address. If the NAT gateway is a private NAT gateway, enter its transit IP address.
    externalPort String
    Port or port range that receives requests from the public network.
    id String
    Uniquely identifies the resource.
    internalIp String
    Private IP address of the cloud server instance.
    internalPort String
    Port or port range of the private IP address of the cloud server instance.
    natGatewayId String
    ID of the NAT gateway to which the DNAT rule belongs.
    portType String
    Port type of the DNAT rule. specified: Specified port. any: Any port, i.e., IP mapping.
    protocol String
    Protocol type. tcp: Forwards TCP protocol packets. udp: Forwards UDP protocol packets.
    status String
    Status of the DNAT rule. Creating: Creating. Deleting: Deleting. Available: Available.
    dnatEntryId string
    ID of the DNAT rule.
    dnatEntryName string
    Name of the DNAT rule.
    externalIp string
    IP address used by the NAT gateway for network address translation. If the NAT gateway is a public NAT gateway, enter its bound public IP address. If the NAT gateway is a private NAT gateway, enter its transit IP address.
    externalPort string
    Port or port range that receives requests from the public network.
    id string
    Uniquely identifies the resource.
    internalIp string
    Private IP address of the cloud server instance.
    internalPort string
    Port or port range of the private IP address of the cloud server instance.
    natGatewayId string
    ID of the NAT gateway to which the DNAT rule belongs.
    portType string
    Port type of the DNAT rule. specified: Specified port. any: Any port, i.e., IP mapping.
    protocol string
    Protocol type. tcp: Forwards TCP protocol packets. udp: Forwards UDP protocol packets.
    status string
    Status of the DNAT rule. Creating: Creating. Deleting: Deleting. Available: Available.
    dnat_entry_id str
    ID of the DNAT rule.
    dnat_entry_name str
    Name of the DNAT rule.
    external_ip str
    IP address used by the NAT gateway for network address translation. If the NAT gateway is a public NAT gateway, enter its bound public IP address. If the NAT gateway is a private NAT gateway, enter its transit IP address.
    external_port str
    Port or port range that receives requests from the public network.
    id str
    Uniquely identifies the resource.
    internal_ip str
    Private IP address of the cloud server instance.
    internal_port str
    Port or port range of the private IP address of the cloud server instance.
    nat_gateway_id str
    ID of the NAT gateway to which the DNAT rule belongs.
    port_type str
    Port type of the DNAT rule. specified: Specified port. any: Any port, i.e., IP mapping.
    protocol str
    Protocol type. tcp: Forwards TCP protocol packets. udp: Forwards UDP protocol packets.
    status str
    Status of the DNAT rule. Creating: Creating. Deleting: Deleting. Available: Available.
    dnatEntryId String
    ID of the DNAT rule.
    dnatEntryName String
    Name of the DNAT rule.
    externalIp String
    IP address used by the NAT gateway for network address translation. If the NAT gateway is a public NAT gateway, enter its bound public IP address. If the NAT gateway is a private NAT gateway, enter its transit IP address.
    externalPort String
    Port or port range that receives requests from the public network.
    id String
    Uniquely identifies the resource.
    internalIp String
    Private IP address of the cloud server instance.
    internalPort String
    Port or port range of the private IP address of the cloud server instance.
    natGatewayId String
    ID of the NAT gateway to which the DNAT rule belongs.
    portType String
    Port type of the DNAT rule. specified: Specified port. any: Any port, i.e., IP mapping.
    protocol String
    Protocol type. tcp: Forwards TCP protocol packets. udp: Forwards UDP protocol packets.
    status String
    Status of the DNAT rule. Creating: Creating. Deleting: Deleting. Available: Available.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.