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 gateway you can get at documentation portal
Manages a V3 Private NAT Gateway data source within OpenTelekomCloud.
Example Usage
List all Private NAT gateways
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const gateway1 = opentelekomcloud.getPrivateNatGatewayV3({});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
gateway1 = opentelekomcloud.get_private_nat_gateway_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.LookupPrivateNatGatewayV3(ctx, &opentelekomcloud.LookupPrivateNatGatewayV3Args{}, 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 gateway1 = Opentelekomcloud.GetPrivateNatGatewayV3.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.GetPrivateNatGatewayV3Args;
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 gateway1 = OpentelekomcloudFunctions.getPrivateNatGatewayV3(GetPrivateNatGatewayV3Args.builder()
.build());
}
}
variables:
gateway1:
fn::invoke:
function: opentelekomcloud:getPrivateNatGatewayV3
arguments: {}
Get Private NAT gateway using ID
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const gatewayId = config.requireObject<any>("gatewayId");
const gateway1 = opentelekomcloud.getPrivateNatGatewayV3({
id: gatewayId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
gateway_id = config.require_object("gatewayId")
gateway1 = opentelekomcloud.get_private_nat_gateway_v3(id=gateway_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, "")
gatewayId := cfg.RequireObject("gatewayId")
_, err := opentelekomcloud.LookupPrivateNatGatewayV3(ctx, &opentelekomcloud.LookupPrivateNatGatewayV3Args{
Id: pulumi.StringRef(gatewayId),
}, 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 gatewayId = config.RequireObject<dynamic>("gatewayId");
var gateway1 = Opentelekomcloud.GetPrivateNatGatewayV3.Invoke(new()
{
Id = gatewayId,
});
});
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.GetPrivateNatGatewayV3Args;
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 gatewayId = config.get("gatewayId");
final var gateway1 = OpentelekomcloudFunctions.getPrivateNatGatewayV3(GetPrivateNatGatewayV3Args.builder()
.id(gatewayId)
.build());
}
}
configuration:
gatewayId:
type: dynamic
variables:
gateway1:
fn::invoke:
function: opentelekomcloud:getPrivateNatGatewayV3
arguments:
id: ${gatewayId}
Get Private NAT gateway using Name
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const gatewayName = config.requireObject<any>("gatewayName");
const gateway1 = opentelekomcloud.getPrivateNatGatewayV3({
name: gatewayName,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
gateway_name = config.require_object("gatewayName")
gateway1 = opentelekomcloud.get_private_nat_gateway_v3(name=gateway_name)
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, "")
gatewayName := cfg.RequireObject("gatewayName")
_, err := opentelekomcloud.LookupPrivateNatGatewayV3(ctx, &opentelekomcloud.LookupPrivateNatGatewayV3Args{
Name: pulumi.StringRef(gatewayName),
}, 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 gatewayName = config.RequireObject<dynamic>("gatewayName");
var gateway1 = Opentelekomcloud.GetPrivateNatGatewayV3.Invoke(new()
{
Name = gatewayName,
});
});
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.GetPrivateNatGatewayV3Args;
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 gatewayName = config.get("gatewayName");
final var gateway1 = OpentelekomcloudFunctions.getPrivateNatGatewayV3(GetPrivateNatGatewayV3Args.builder()
.name(gatewayName)
.build());
}
}
configuration:
gatewayName:
type: dynamic
variables:
gateway1:
fn::invoke:
function: opentelekomcloud:getPrivateNatGatewayV3
arguments:
name: ${gatewayName}
Using getPrivateNatGatewayV3
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 getPrivateNatGatewayV3(args: GetPrivateNatGatewayV3Args, opts?: InvokeOptions): Promise<GetPrivateNatGatewayV3Result>
function getPrivateNatGatewayV3Output(args: GetPrivateNatGatewayV3OutputArgs, opts?: InvokeOptions): Output<GetPrivateNatGatewayV3Result>def get_private_nat_gateway_v3(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateNatGatewayV3Result
def get_private_nat_gateway_v3_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateNatGatewayV3Result]func LookupPrivateNatGatewayV3(ctx *Context, args *LookupPrivateNatGatewayV3Args, opts ...InvokeOption) (*LookupPrivateNatGatewayV3Result, error)
func LookupPrivateNatGatewayV3Output(ctx *Context, args *LookupPrivateNatGatewayV3OutputArgs, opts ...InvokeOption) LookupPrivateNatGatewayV3ResultOutput> Note: This function is named LookupPrivateNatGatewayV3 in the Go SDK.
public static class GetPrivateNatGatewayV3
{
public static Task<GetPrivateNatGatewayV3Result> InvokeAsync(GetPrivateNatGatewayV3Args args, InvokeOptions? opts = null)
public static Output<GetPrivateNatGatewayV3Result> Invoke(GetPrivateNatGatewayV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivateNatGatewayV3Result> getPrivateNatGatewayV3(GetPrivateNatGatewayV3Args args, InvokeOptions options)
public static Output<GetPrivateNatGatewayV3Result> getPrivateNatGatewayV3(GetPrivateNatGatewayV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getPrivateNatGatewayV3:getPrivateNatGatewayV3
arguments:
# arguments dictionaryThe following arguments are supported:
getPrivateNatGatewayV3 Result
The following output properties are available:
- Gateways
List<Get
Private Nat Gateway V3Gateway> - Indicates the private NAT gateways. The structure is defined below.
- Id string
- Private NAT gateway ID.
- Name string
- Indicates the private NAT gateway name.
- Gateways
[]Get
Private Nat Gateway V3Gateway - Indicates the private NAT gateways. The structure is defined below.
- Id string
- Private NAT gateway ID.
- Name string
- Indicates the private NAT gateway name.
- gateways
List<Get
Private Nat Gateway V3Gateway> - Indicates the private NAT gateways. The structure is defined below.
- id String
- Private NAT gateway ID.
- name String
- Indicates the private NAT gateway name.
- gateways
Get
Private Nat Gateway V3Gateway[] - Indicates the private NAT gateways. The structure is defined below.
- id string
- Private NAT gateway ID.
- name string
- Indicates the private NAT gateway name.
- gateways
Sequence[Get
Private Nat Gateway V3Gateway] - Indicates the private NAT gateways. The structure is defined below.
- id str
- Private NAT gateway ID.
- name str
- Indicates the private NAT gateway name.
- gateways List<Property Map>
- Indicates the private NAT gateways. The structure is defined below.
- id String
- Private NAT gateway ID.
- name String
- Indicates the private NAT gateway name.
Supporting Types
GetPrivateNatGatewayV3Gateway
- Created
At string - Indicates the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Description string
- Provides supplementary information about the private NAT gateway.
- Downlink
Vpcs List<GetPrivate Nat Gateway V3Gateway Downlink Vpc> - Indicates the VPC where the private NAT gateway works. The structure is documented below.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Id string
- Specifies the private NAT gateway name.
- Name string
- Specifies the private NAT gateway name.
- Project
Id string - Indicates the project ID.
- Rule
Max double - Indicates Specifies the maximum number of rules. Value range:
0-65535 - Spec string
- Indicates the private NAT gateway specifications. The value can be:
Small,Medium,Large,Extra-large. - Status string
- Indicates the private NAT gateway status. The value can be:
ACTIVE(The private NAT gateway is running properly) orFROZEN(The private NAT gateway is frozen). - Dictionary<string, string>
- Indicates the tag list in key/value format.
- Transit
Ip doublePool Size Max - Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range:
0-100 - Updated
At string - Indicates the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Created
At string - Indicates the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- Description string
- Provides supplementary information about the private NAT gateway.
- Downlink
Vpcs []GetPrivate Nat Gateway V3Gateway Downlink Vpc - Indicates the VPC where the private NAT gateway works. The structure is documented below.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Id string
- Specifies the private NAT gateway name.
- Name string
- Specifies the private NAT gateway name.
- Project
Id string - Indicates the project ID.
- Rule
Max float64 - Indicates Specifies the maximum number of rules. Value range:
0-65535 - Spec string
- Indicates the private NAT gateway specifications. The value can be:
Small,Medium,Large,Extra-large. - Status string
- Indicates the private NAT gateway status. The value can be:
ACTIVE(The private NAT gateway is running properly) orFROZEN(The private NAT gateway is frozen). - map[string]string
- Indicates the tag list in key/value format.
- Transit
Ip float64Pool Size Max - Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range:
0-100 - Updated
At string - Indicates the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created
At String - Indicates the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description String
- Provides supplementary information about the private NAT gateway.
- downlink
Vpcs List<GetPrivate Nat Gateway V3Gateway Downlink Vpc> - Indicates the VPC where the private NAT gateway works. The structure is documented below.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- id String
- Specifies the private NAT gateway name.
- name String
- Specifies the private NAT gateway name.
- project
Id String - Indicates the project ID.
- rule
Max Double - Indicates Specifies the maximum number of rules. Value range:
0-65535 - spec String
- Indicates the private NAT gateway specifications. The value can be:
Small,Medium,Large,Extra-large. - status String
- Indicates the private NAT gateway status. The value can be:
ACTIVE(The private NAT gateway is running properly) orFROZEN(The private NAT gateway is frozen). - Map<String,String>
- Indicates the tag list in key/value format.
- transit
Ip DoublePool Size Max - Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range:
0-100 - updated
At String - Indicates the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created
At string - Indicates the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description string
- Provides supplementary information about the private NAT gateway.
- downlink
Vpcs GetPrivate Nat Gateway V3Gateway Downlink Vpc[] - Indicates the VPC where the private NAT gateway works. The structure is documented below.
- enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- id string
- Specifies the private NAT gateway name.
- name string
- Specifies the private NAT gateway name.
- project
Id string - Indicates the project ID.
- rule
Max number - Indicates Specifies the maximum number of rules. Value range:
0-65535 - spec string
- Indicates the private NAT gateway specifications. The value can be:
Small,Medium,Large,Extra-large. - status string
- Indicates the private NAT gateway status. The value can be:
ACTIVE(The private NAT gateway is running properly) orFROZEN(The private NAT gateway is frozen). - {[key: string]: string}
- Indicates the tag list in key/value format.
- transit
Ip numberPool Size Max - Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range:
0-100 - updated
At string - Indicates the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created_
at str - Indicates the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description str
- Provides supplementary information about the private NAT gateway.
- downlink_
vpcs Sequence[GetPrivate Nat Gateway V3Gateway Downlink Vpc] - Indicates the VPC where the private NAT gateway works. The structure is documented below.
- enterprise_
project_ strid - Indicates the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- id str
- Specifies the private NAT gateway name.
- name str
- Specifies the private NAT gateway name.
- project_
id str - Indicates the project ID.
- rule_
max float - Indicates Specifies the maximum number of rules. Value range:
0-65535 - spec str
- Indicates the private NAT gateway specifications. The value can be:
Small,Medium,Large,Extra-large. - status str
- Indicates the private NAT gateway status. The value can be:
ACTIVE(The private NAT gateway is running properly) orFROZEN(The private NAT gateway is frozen). - Mapping[str, str]
- Indicates the tag list in key/value format.
- transit_
ip_ floatpool_ size_ max - Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range:
0-100 - updated_
at str - Indicates the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- created
At String - Indicates the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description String
- Provides supplementary information about the private NAT gateway.
- downlink
Vpcs List<Property Map> - Indicates the VPC where the private NAT gateway works. The structure is documented below.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- id String
- Specifies the private NAT gateway name.
- name String
- Specifies the private NAT gateway name.
- project
Id String - Indicates the project ID.
- rule
Max Number - Indicates Specifies the maximum number of rules. Value range:
0-65535 - spec String
- Indicates the private NAT gateway specifications. The value can be:
Small,Medium,Large,Extra-large. - status String
- Indicates the private NAT gateway status. The value can be:
ACTIVE(The private NAT gateway is running properly) orFROZEN(The private NAT gateway is frozen). - Map<String>
- Indicates the tag list in key/value format.
- transit
Ip NumberPool Size Max - Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range:
0-100 - updated
At String - Indicates the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
GetPrivateNatGatewayV3GatewayDownlinkVpc
- Ngport
Ip stringAddress - Indicates the private IP address of the private NAT gateway.
- Virsubnet
Id string - Indicates the ID of the subnet where the private NAT gateway works.
- Vpc
Id string - Indicates the ID of the VPC where the private NAT gateway works.
- Ngport
Ip stringAddress - Indicates the private IP address of the private NAT gateway.
- Virsubnet
Id string - Indicates the ID of the subnet where the private NAT gateway works.
- Vpc
Id string - Indicates the ID of the VPC where the private NAT gateway works.
- ngport
Ip StringAddress - Indicates the private IP address of the private NAT gateway.
- virsubnet
Id String - Indicates the ID of the subnet where the private NAT gateway works.
- vpc
Id String - Indicates the ID of the VPC where the private NAT gateway works.
- ngport
Ip stringAddress - Indicates the private IP address of the private NAT gateway.
- virsubnet
Id string - Indicates the ID of the subnet where the private NAT gateway works.
- vpc
Id string - Indicates the ID of the VPC where the private NAT gateway works.
- ngport_
ip_ straddress - Indicates the private IP address of the private NAT gateway.
- virsubnet_
id str - Indicates the ID of the subnet where the private NAT gateway works.
- vpc_
id str - Indicates the ID of the VPC where the private NAT gateway works.
- ngport
Ip StringAddress - Indicates the private IP address of the private NAT gateway.
- virsubnet
Id String - Indicates the ID of the subnet where the private NAT gateway works.
- vpc
Id String - Indicates the ID of the VPC where the private NAT gateway works.
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
