Viewing docs for opentelekomcloud 1.36.61
published on Thursday, Mar 12, 2026 by opentelekomcloud
published on Thursday, Mar 12, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.36.61
published on Thursday, Mar 12, 2026 by opentelekomcloud
published on Thursday, Mar 12, 2026 by opentelekomcloud
Up-to-date reference of API arguments for Private NAT DNAT rule you can get at documentation portal
Manages a V3 Private NAT DNAT rule v3 data source within OpenTelekomCloud.
Example Usage
List all Private NAT DNAT rules
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const rule1 = opentelekomcloud.getPrivateNatDnatRuleV3({});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
rule1 = opentelekomcloud.get_private_nat_dnat_rule_v3()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.LookupPrivateNatDnatRuleV3(ctx, &opentelekomcloud.LookupPrivateNatDnatRuleV3Args{}, 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 rule1 = Opentelekomcloud.GetPrivateNatDnatRuleV3.Invoke();
});
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.GetPrivateNatDnatRuleV3Args;
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 rule1 = OpentelekomcloudFunctions.getPrivateNatDnatRuleV3(GetPrivateNatDnatRuleV3Args.builder()
.build());
}
}
variables:
rule1:
fn::invoke:
function: opentelekomcloud:getPrivateNatDnatRuleV3
arguments: {}
Using getPrivateNatDnatRuleV3
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 getPrivateNatDnatRuleV3(args: GetPrivateNatDnatRuleV3Args, opts?: InvokeOptions): Promise<GetPrivateNatDnatRuleV3Result>
function getPrivateNatDnatRuleV3Output(args: GetPrivateNatDnatRuleV3OutputArgs, opts?: InvokeOptions): Output<GetPrivateNatDnatRuleV3Result>def get_private_nat_dnat_rule_v3(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateNatDnatRuleV3Result
def get_private_nat_dnat_rule_v3_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateNatDnatRuleV3Result]func LookupPrivateNatDnatRuleV3(ctx *Context, args *LookupPrivateNatDnatRuleV3Args, opts ...InvokeOption) (*LookupPrivateNatDnatRuleV3Result, error)
func LookupPrivateNatDnatRuleV3Output(ctx *Context, args *LookupPrivateNatDnatRuleV3OutputArgs, opts ...InvokeOption) LookupPrivateNatDnatRuleV3ResultOutput> Note: This function is named LookupPrivateNatDnatRuleV3 in the Go SDK.
public static class GetPrivateNatDnatRuleV3
{
public static Task<GetPrivateNatDnatRuleV3Result> InvokeAsync(GetPrivateNatDnatRuleV3Args args, InvokeOptions? opts = null)
public static Output<GetPrivateNatDnatRuleV3Result> Invoke(GetPrivateNatDnatRuleV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivateNatDnatRuleV3Result> getPrivateNatDnatRuleV3(GetPrivateNatDnatRuleV3Args args, InvokeOptions options)
public static Output<GetPrivateNatDnatRuleV3Result> getPrivateNatDnatRuleV3(GetPrivateNatDnatRuleV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getPrivateNatDnatRuleV3:getPrivateNatDnatRuleV3
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Specifies the private NAT DNAT rule ID.
- Id string
- Specifies the private NAT DNAT rule ID.
- id String
- Specifies the private NAT DNAT rule ID.
- id string
- Specifies the private NAT DNAT rule ID.
- id str
- Specifies the private NAT DNAT rule ID.
- id String
- Specifies the private NAT DNAT rule ID.
getPrivateNatDnatRuleV3 Result
The following output properties are available:
- Dnat
Rules List<GetPrivate Nat Dnat Rule V3Dnat Rule> - Id string
- Private NAT DNAT rule ID.
- Dnat
Rules []GetPrivate Nat Dnat Rule V3Dnat Rule - Id string
- Private NAT DNAT rule ID.
- dnat
Rules List<GetPrivate Nat Dnat Rule V3Dnat Rule> - id String
- Private NAT DNAT rule ID.
- dnat
Rules GetPrivate Nat Dnat Rule V3Dnat Rule[] - id string
- Private NAT DNAT rule ID.
- dnat_
rules Sequence[GetPrivate Nat Dnat Rule V3Dnat Rule] - id str
- Private NAT DNAT rule ID.
- dnat
Rules List<Property Map> - id String
- Private NAT DNAT rule ID.
Supporting Types
GetPrivateNatDnatRuleV3DnatRule
- Created
At string - Indicates the time when the private NAT DNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Description string
- Provides supplementary information about the DNAT rule.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- Gateway
Id string - Indicates the private NAT gateway ID.
- Id string
- Specifies the private NAT DNAT rule ID.
- Internal
Service stringPort - Indicates the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- Network
Interface stringId - Indicates the port ID of the resource that the NAT gateway is bound to. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- Private
Ip stringAddress - Indicates the port IP address that the NAT gateway uses.
- Project
Id string - Indicates the project ID.
- Protocol string
- Indicates the protocol type. Supported values:
tcp,udp,any. - Status string
- Indicates the private NAT DNAT rule status. The value can be:
ACTIVE(The DNAT rule is running properly) orFROZEN(The DNAT rule is frozen). - Transit
Ip stringId - Indicates the ID of the transit IP address.
- Transit
Service stringPort - Indicates the port number of the transit IP address.
- Type string
- Indicates the backend resource type of the DNAT rule. The type can be:
COMPUTE,VIP,ELB,ELBv3,CUSTOMIZE. - Updated
At string - Indicates the time when the private NAT DNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Created
At string - Indicates the time when the private NAT DNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Description string
- Provides supplementary information about the DNAT rule.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- Gateway
Id string - Indicates the private NAT gateway ID.
- Id string
- Specifies the private NAT DNAT rule ID.
- Internal
Service stringPort - Indicates the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- Network
Interface stringId - Indicates the port ID of the resource that the NAT gateway is bound to. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- Private
Ip stringAddress - Indicates the port IP address that the NAT gateway uses.
- Project
Id string - Indicates the project ID.
- Protocol string
- Indicates the protocol type. Supported values:
tcp,udp,any. - Status string
- Indicates the private NAT DNAT rule status. The value can be:
ACTIVE(The DNAT rule is running properly) orFROZEN(The DNAT rule is frozen). - Transit
Ip stringId - Indicates the ID of the transit IP address.
- Transit
Service stringPort - Indicates the port number of the transit IP address.
- Type string
- Indicates the backend resource type of the DNAT rule. The type can be:
COMPUTE,VIP,ELB,ELBv3,CUSTOMIZE. - Updated
At string - Indicates the time when the private NAT DNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created
At String - Indicates the time when the private NAT DNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description String
- Provides supplementary information about the DNAT rule.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- gateway
Id String - Indicates the private NAT gateway ID.
- id String
- Specifies the private NAT DNAT rule ID.
- internal
Service StringPort - Indicates the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- network
Interface StringId - Indicates the port ID of the resource that the NAT gateway is bound to. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- private
Ip StringAddress - Indicates the port IP address that the NAT gateway uses.
- project
Id String - Indicates the project ID.
- protocol String
- Indicates the protocol type. Supported values:
tcp,udp,any. - status String
- Indicates the private NAT DNAT rule status. The value can be:
ACTIVE(The DNAT rule is running properly) orFROZEN(The DNAT rule is frozen). - transit
Ip StringId - Indicates the ID of the transit IP address.
- transit
Service StringPort - Indicates the port number of the transit IP address.
- type String
- Indicates the backend resource type of the DNAT rule. The type can be:
COMPUTE,VIP,ELB,ELBv3,CUSTOMIZE. - updated
At String - Indicates the time when the private NAT DNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created
At string - Indicates the time when the private NAT DNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description string
- Provides supplementary information about the DNAT rule.
- enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- gateway
Id string - Indicates the private NAT gateway ID.
- id string
- Specifies the private NAT DNAT rule ID.
- internal
Service stringPort - Indicates the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- network
Interface stringId - Indicates the port ID of the resource that the NAT gateway is bound to. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- private
Ip stringAddress - Indicates the port IP address that the NAT gateway uses.
- project
Id string - Indicates the project ID.
- protocol string
- Indicates the protocol type. Supported values:
tcp,udp,any. - status string
- Indicates the private NAT DNAT rule status. The value can be:
ACTIVE(The DNAT rule is running properly) orFROZEN(The DNAT rule is frozen). - transit
Ip stringId - Indicates the ID of the transit IP address.
- transit
Service stringPort - Indicates the port number of the transit IP address.
- type string
- Indicates the backend resource type of the DNAT rule. The type can be:
COMPUTE,VIP,ELB,ELBv3,CUSTOMIZE. - updated
At string - Indicates the time when the private NAT DNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created_
at str - Indicates the time when the private NAT DNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description str
- Provides supplementary information about the DNAT rule.
- enterprise_
project_ strid - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- gateway_
id str - Indicates the private NAT gateway ID.
- id str
- Specifies the private NAT DNAT rule ID.
- internal_
service_ strport - Indicates the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- network_
interface_ strid - Indicates the port ID of the resource that the NAT gateway is bound to. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- private_
ip_ straddress - Indicates the port IP address that the NAT gateway uses.
- project_
id str - Indicates the project ID.
- protocol str
- Indicates the protocol type. Supported values:
tcp,udp,any. - status str
- Indicates the private NAT DNAT rule status. The value can be:
ACTIVE(The DNAT rule is running properly) orFROZEN(The DNAT rule is frozen). - transit_
ip_ strid - Indicates the ID of the transit IP address.
- transit_
service_ strport - Indicates the port number of the transit IP address.
- type str
- Indicates the backend resource type of the DNAT rule. The type can be:
COMPUTE,VIP,ELB,ELBv3,CUSTOMIZE. - updated_
at str - Indicates the time when the private NAT DNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created
At String - Indicates the time when the private NAT DNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description String
- Provides supplementary information about the DNAT rule.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- gateway
Id String - Indicates the private NAT gateway ID.
- id String
- Specifies the private NAT DNAT rule ID.
- internal
Service StringPort - Indicates the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- network
Interface StringId - Indicates the port ID of the resource that the NAT gateway is bound to. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address.
- private
Ip StringAddress - Indicates the port IP address that the NAT gateway uses.
- project
Id String - Indicates the project ID.
- protocol String
- Indicates the protocol type. Supported values:
tcp,udp,any. - status String
- Indicates the private NAT DNAT rule status. The value can be:
ACTIVE(The DNAT rule is running properly) orFROZEN(The DNAT rule is frozen). - transit
Ip StringId - Indicates the ID of the transit IP address.
- transit
Service StringPort - Indicates the port number of the transit IP address.
- type String
- Indicates the backend resource type of the DNAT rule. The type can be:
COMPUTE,VIP,ELB,ELBv3,CUSTOMIZE. - updated
At String - Indicates the time when the private NAT DNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
Viewing docs for opentelekomcloud 1.36.61
published on Thursday, Mar 12, 2026 by opentelekomcloud
published on Thursday, Mar 12, 2026 by opentelekomcloud
