opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud
opentelekomcloud.getPrivateNatTransitIpV3
Explore with Pulumi AI
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud
Up-to-date reference of API arguments for Private NAT Transit IP you can get at documentation portal
Manages a V3 Private NAT Transit IP data source within OpenTelekomCloud.
Example Usage
List all Transit IPs
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const transitIp1 = opentelekomcloud.getPrivateNatTransitIpV3({});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
transit_ip1 = opentelekomcloud.get_private_nat_transit_ip_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.LookupPrivateNatTransitIpV3(ctx, &opentelekomcloud.LookupPrivateNatTransitIpV3Args{}, 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 transitIp1 = Opentelekomcloud.GetPrivateNatTransitIpV3.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.GetPrivateNatTransitIpV3Args;
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 transitIp1 = OpentelekomcloudFunctions.getPrivateNatTransitIpV3();
}
}
variables:
transitIp1:
fn::invoke:
function: opentelekomcloud:getPrivateNatTransitIpV3
arguments: {}
List all Transit IPs in a subnet
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const networkId = config.requireObject("networkId");
const transitIp1 = opentelekomcloud.getPrivateNatTransitIpV3({
virsubnetId: networkId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
network_id = config.require_object("networkId")
transit_ip1 = opentelekomcloud.get_private_nat_transit_ip_v3(virsubnet_id=network_id)
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, "")
networkId := cfg.RequireObject("networkId")
_, err := opentelekomcloud.LookupPrivateNatTransitIpV3(ctx, &opentelekomcloud.LookupPrivateNatTransitIpV3Args{
VirsubnetId: pulumi.StringRef(networkId),
}, 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 networkId = config.RequireObject<dynamic>("networkId");
var transitIp1 = Opentelekomcloud.GetPrivateNatTransitIpV3.Invoke(new()
{
VirsubnetId = networkId,
});
});
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.GetPrivateNatTransitIpV3Args;
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 networkId = config.get("networkId");
final var transitIp1 = OpentelekomcloudFunctions.getPrivateNatTransitIpV3(GetPrivateNatTransitIpV3Args.builder()
.virsubnetId(networkId)
.build());
}
}
configuration:
networkId:
type: dynamic
variables:
transitIp1:
fn::invoke:
function: opentelekomcloud:getPrivateNatTransitIpV3
arguments:
virsubnetId: ${networkId}
Get Transit IP by ID
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const id = config.requireObject("id");
const transitIp1 = opentelekomcloud.getPrivateNatTransitIpV3({
id: id,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
id = config.require_object("id")
transit_ip1 = opentelekomcloud.get_private_nat_transit_ip_v3(id=id)
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, "")
id := cfg.RequireObject("id")
_, err := opentelekomcloud.LookupPrivateNatTransitIpV3(ctx, &opentelekomcloud.LookupPrivateNatTransitIpV3Args{
Id: pulumi.StringRef(id),
}, 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 id = config.RequireObject<dynamic>("id");
var transitIp1 = Opentelekomcloud.GetPrivateNatTransitIpV3.Invoke(new()
{
Id = id,
});
});
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.GetPrivateNatTransitIpV3Args;
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 id = config.get("id");
final var transitIp1 = OpentelekomcloudFunctions.getPrivateNatTransitIpV3(GetPrivateNatTransitIpV3Args.builder()
.id(id)
.build());
}
}
configuration:
id:
type: dynamic
variables:
transitIp1:
fn::invoke:
function: opentelekomcloud:getPrivateNatTransitIpV3
arguments:
id: ${id}
Get Transit IP by IP address
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const ipAddress = config.requireObject("ipAddress");
const transitIp1 = opentelekomcloud.getPrivateNatTransitIpV3({
ipAddress: ipAddress,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
ip_address = config.require_object("ipAddress")
transit_ip1 = opentelekomcloud.get_private_nat_transit_ip_v3(ip_address=ip_address)
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, "")
ipAddress := cfg.RequireObject("ipAddress")
_, err := opentelekomcloud.LookupPrivateNatTransitIpV3(ctx, &opentelekomcloud.LookupPrivateNatTransitIpV3Args{
IpAddress: pulumi.StringRef(ipAddress),
}, 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 ipAddress = config.RequireObject<dynamic>("ipAddress");
var transitIp1 = Opentelekomcloud.GetPrivateNatTransitIpV3.Invoke(new()
{
IpAddress = ipAddress,
});
});
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.GetPrivateNatTransitIpV3Args;
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 ipAddress = config.get("ipAddress");
final var transitIp1 = OpentelekomcloudFunctions.getPrivateNatTransitIpV3(GetPrivateNatTransitIpV3Args.builder()
.ipAddress(ipAddress)
.build());
}
}
configuration:
ipAddress:
type: dynamic
variables:
transitIp1:
fn::invoke:
function: opentelekomcloud:getPrivateNatTransitIpV3
arguments:
ipAddress: ${ipAddress}
Using getPrivateNatTransitIpV3
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 getPrivateNatTransitIpV3(args: GetPrivateNatTransitIpV3Args, opts?: InvokeOptions): Promise<GetPrivateNatTransitIpV3Result>
function getPrivateNatTransitIpV3Output(args: GetPrivateNatTransitIpV3OutputArgs, opts?: InvokeOptions): Output<GetPrivateNatTransitIpV3Result>
def get_private_nat_transit_ip_v3(id: Optional[str] = None,
ip_address: Optional[str] = None,
virsubnet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateNatTransitIpV3Result
def get_private_nat_transit_ip_v3_output(id: Optional[pulumi.Input[str]] = None,
ip_address: Optional[pulumi.Input[str]] = None,
virsubnet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateNatTransitIpV3Result]
func LookupPrivateNatTransitIpV3(ctx *Context, args *LookupPrivateNatTransitIpV3Args, opts ...InvokeOption) (*LookupPrivateNatTransitIpV3Result, error)
func LookupPrivateNatTransitIpV3Output(ctx *Context, args *LookupPrivateNatTransitIpV3OutputArgs, opts ...InvokeOption) LookupPrivateNatTransitIpV3ResultOutput
> Note: This function is named LookupPrivateNatTransitIpV3
in the Go SDK.
public static class GetPrivateNatTransitIpV3
{
public static Task<GetPrivateNatTransitIpV3Result> InvokeAsync(GetPrivateNatTransitIpV3Args args, InvokeOptions? opts = null)
public static Output<GetPrivateNatTransitIpV3Result> Invoke(GetPrivateNatTransitIpV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateNatTransitIpV3Result> getPrivateNatTransitIpV3(GetPrivateNatTransitIpV3Args args, InvokeOptions options)
public static Output<GetPrivateNatTransitIpV3Result> getPrivateNatTransitIpV3(GetPrivateNatTransitIpV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getPrivateNatTransitIpV3:getPrivateNatTransitIpV3
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Specifies the private NAT transit IP ID.
- Ip
Address string - Specifies the transit IP address.
- Virsubnet
Id string - Specifies the subnet ID of the current project.
- Id string
- Specifies the private NAT transit IP ID.
- Ip
Address string - Specifies the transit IP address.
- Virsubnet
Id string - Specifies the subnet ID of the current project.
- id String
- Specifies the private NAT transit IP ID.
- ip
Address String - Specifies the transit IP address.
- virsubnet
Id String - Specifies the subnet ID of the current project.
- id string
- Specifies the private NAT transit IP ID.
- ip
Address string - Specifies the transit IP address.
- virsubnet
Id string - Specifies the subnet ID of the current project.
- id str
- Specifies the private NAT transit IP ID.
- ip_
address str - Specifies the transit IP address.
- virsubnet_
id str - Specifies the subnet ID of the current project.
- id String
- Specifies the private NAT transit IP ID.
- ip
Address String - Specifies the transit IP address.
- virsubnet
Id String - Specifies the subnet ID of the current project.
getPrivateNatTransitIpV3 Result
The following output properties are available:
- Transit
Ips List<GetPrivate Nat Transit Ip V3Transit Ip> - The list of private NAT transit IPs. The structure is defined below.
- Id string
- Private NAT Transit IP ID.
- Ip
Address string - Indicates the transit IP address.
- Virsubnet
Id string - Indicates the subnet ID of the current project.
- Transit
Ips []GetPrivate Nat Transit Ip V3Transit Ip - The list of private NAT transit IPs. The structure is defined below.
- Id string
- Private NAT Transit IP ID.
- Ip
Address string - Indicates the transit IP address.
- Virsubnet
Id string - Indicates the subnet ID of the current project.
- transit
Ips List<GetPrivate Nat Transit Ip V3Transit Ip> - The list of private NAT transit IPs. The structure is defined below.
- id String
- Private NAT Transit IP ID.
- ip
Address String - Indicates the transit IP address.
- virsubnet
Id String - Indicates the subnet ID of the current project.
- transit
Ips GetPrivate Nat Transit Ip V3Transit Ip[] - The list of private NAT transit IPs. The structure is defined below.
- id string
- Private NAT Transit IP ID.
- ip
Address string - Indicates the transit IP address.
- virsubnet
Id string - Indicates the subnet ID of the current project.
- transit_
ips Sequence[GetPrivate Nat Transit Ip V3Transit Ip] - The list of private NAT transit IPs. The structure is defined below.
- id str
- Private NAT Transit IP ID.
- ip_
address str - Indicates the transit IP address.
- virsubnet_
id str - Indicates the subnet ID of the current project.
- transit
Ips List<Property Map> - The list of private NAT transit IPs. The structure is defined below.
- id String
- Private NAT Transit IP ID.
- ip
Address String - Indicates the transit IP address.
- virsubnet
Id String - Indicates the subnet ID of the current project.
Supporting Types
GetPrivateNatTransitIpV3TransitIp
- Created
At string - Indicates the time when the private NAT Transit IP was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the transit IP address when the transit IP address is being assigned.
- Gateway
Id string - Indicates the ID of the private NAT gateway associated with the transit IP address.
- Id string
- Specifies the private NAT transit IP ID.
- Ip
Address string - Specifies the transit IP address.
- Network
Interface stringId - Indicates the network interface ID of the transit IP address.
- Project
Id string - Indicates the project ID.
- Status string
- Indicates the private NAT transit IP status. The value can be:
ACTIVE
(The Transit IP is running properly) orFROZEN
(The Transit IP is frozen). - Dictionary<string, string>
- Indicates the tag list in key/value format.
- Updated
At string - Indicates the time when the private NAT Transit IP was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Virsubnet
Id string - Specifies the subnet ID of the current project.
- Created
At string - Indicates the time when the private NAT Transit IP was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the transit IP address when the transit IP address is being assigned.
- Gateway
Id string - Indicates the ID of the private NAT gateway associated with the transit IP address.
- Id string
- Specifies the private NAT transit IP ID.
- Ip
Address string - Specifies the transit IP address.
- Network
Interface stringId - Indicates the network interface ID of the transit IP address.
- Project
Id string - Indicates the project ID.
- Status string
- Indicates the private NAT transit IP status. The value can be:
ACTIVE
(The Transit IP is running properly) orFROZEN
(The Transit IP is frozen). - map[string]string
- Indicates the tag list in key/value format.
- Updated
At string - Indicates the time when the private NAT Transit IP was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Virsubnet
Id string - Specifies the subnet ID of the current project.
- created
At String - Indicates the time when the private NAT Transit IP was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the transit IP address when the transit IP address is being assigned.
- gateway
Id String - Indicates the ID of the private NAT gateway associated with the transit IP address.
- id String
- Specifies the private NAT transit IP ID.
- ip
Address String - Specifies the transit IP address.
- network
Interface StringId - Indicates the network interface ID of the transit IP address.
- project
Id String - Indicates the project ID.
- status String
- Indicates the private NAT transit IP status. The value can be:
ACTIVE
(The Transit IP is running properly) orFROZEN
(The Transit IP is frozen). - Map<String,String>
- Indicates the tag list in key/value format.
- updated
At String - Indicates the time when the private NAT Transit IP was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- virsubnet
Id String - Specifies the subnet ID of the current project.
- created
At string - Indicates the time when the private NAT Transit IP was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the transit IP address when the transit IP address is being assigned.
- gateway
Id string - Indicates the ID of the private NAT gateway associated with the transit IP address.
- id string
- Specifies the private NAT transit IP ID.
- ip
Address string - Specifies the transit IP address.
- network
Interface stringId - Indicates the network interface ID of the transit IP address.
- project
Id string - Indicates the project ID.
- status string
- Indicates the private NAT transit IP status. The value can be:
ACTIVE
(The Transit IP is running properly) orFROZEN
(The Transit IP is frozen). - {[key: string]: string}
- Indicates the tag list in key/value format.
- updated
At string - Indicates the time when the private NAT Transit IP was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- virsubnet
Id string - Specifies the subnet ID of the current project.
- created_
at str - Indicates the time when the private NAT Transit IP was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- enterprise_
project_ strid - Indicates the ID of the enterprise project that is associated with the transit IP address when the transit IP address is being assigned.
- gateway_
id str - Indicates the ID of the private NAT gateway associated with the transit IP address.
- id str
- Specifies the private NAT transit IP ID.
- ip_
address str - Specifies the transit IP address.
- network_
interface_ strid - Indicates the network interface ID of the transit IP address.
- project_
id str - Indicates the project ID.
- status str
- Indicates the private NAT transit IP status. The value can be:
ACTIVE
(The Transit IP is running properly) orFROZEN
(The Transit IP is frozen). - Mapping[str, str]
- Indicates the tag list in key/value format.
- updated_
at str - Indicates the time when the private NAT Transit IP was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- virsubnet_
id str - Specifies the subnet ID of the current project.
- created
At String - Indicates the time when the private NAT Transit IP was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the transit IP address when the transit IP address is being assigned.
- gateway
Id String - Indicates the ID of the private NAT gateway associated with the transit IP address.
- id String
- Specifies the private NAT transit IP ID.
- ip
Address String - Specifies the transit IP address.
- network
Interface StringId - Indicates the network interface ID of the transit IP address.
- project
Id String - Indicates the project ID.
- status String
- Indicates the private NAT transit IP status. The value can be:
ACTIVE
(The Transit IP is running properly) orFROZEN
(The Transit IP is frozen). - Map<String>
- Indicates the tag list in key/value format.
- updated
At String - Indicates the time when the private NAT Transit IP was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- virsubnet
Id String - Specifies the subnet ID of the current project.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud