opentelekomcloud.PrivateNatGatewayV3
Explore with Pulumi AI
Up-to-date reference of API arguments for Private NAT gateway you can get at documentation portal
Manages a V3 Private NAT Gateway resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const networkId = config.requireObject("networkId");
const gateway1 = new opentelekomcloud.PrivateNatGatewayV3("gateway1", {
description: "created",
spec: "Small",
downlinkVpcs: [{
virsubnetId: networkId,
}],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
network_id = config.require_object("networkId")
gateway1 = opentelekomcloud.PrivateNatGatewayV3("gateway1",
description="created",
spec="Small",
downlink_vpcs=[{
"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.NewPrivateNatGatewayV3(ctx, "gateway1", &opentelekomcloud.PrivateNatGatewayV3Args{
Description: pulumi.String("created"),
Spec: pulumi.String("Small"),
DownlinkVpcs: opentelekomcloud.PrivateNatGatewayV3DownlinkVpcArray{
&opentelekomcloud.PrivateNatGatewayV3DownlinkVpcArgs{
VirsubnetId: pulumi.Any(networkId),
},
},
})
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 gateway1 = new Opentelekomcloud.PrivateNatGatewayV3("gateway1", new()
{
Description = "created",
Spec = "Small",
DownlinkVpcs = new[]
{
new Opentelekomcloud.Inputs.PrivateNatGatewayV3DownlinkVpcArgs
{
VirsubnetId = networkId,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.PrivateNatGatewayV3;
import com.pulumi.opentelekomcloud.PrivateNatGatewayV3Args;
import com.pulumi.opentelekomcloud.inputs.PrivateNatGatewayV3DownlinkVpcArgs;
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");
var gateway1 = new PrivateNatGatewayV3("gateway1", PrivateNatGatewayV3Args.builder()
.description("created")
.spec("Small")
.downlinkVpcs(PrivateNatGatewayV3DownlinkVpcArgs.builder()
.virsubnetId(networkId)
.build())
.build());
}
}
configuration:
networkId:
type: dynamic
resources:
gateway1:
type: opentelekomcloud:PrivateNatGatewayV3
properties:
description: created
spec: Small
downlinkVpcs:
- virsubnetId: ${networkId}
Create PrivateNatGatewayV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateNatGatewayV3(name: string, args: PrivateNatGatewayV3Args, opts?: CustomResourceOptions);
@overload
def PrivateNatGatewayV3(resource_name: str,
args: PrivateNatGatewayV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateNatGatewayV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
downlink_vpcs: Optional[Sequence[PrivateNatGatewayV3DownlinkVpcArgs]] = None,
description: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
name: Optional[str] = None,
spec: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[PrivateNatGatewayV3TimeoutsArgs] = None)
func NewPrivateNatGatewayV3(ctx *Context, name string, args PrivateNatGatewayV3Args, opts ...ResourceOption) (*PrivateNatGatewayV3, error)
public PrivateNatGatewayV3(string name, PrivateNatGatewayV3Args args, CustomResourceOptions? opts = null)
public PrivateNatGatewayV3(String name, PrivateNatGatewayV3Args args)
public PrivateNatGatewayV3(String name, PrivateNatGatewayV3Args args, CustomResourceOptions options)
type: opentelekomcloud:PrivateNatGatewayV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PrivateNatGatewayV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PrivateNatGatewayV3Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PrivateNatGatewayV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateNatGatewayV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateNatGatewayV3Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var privateNatGatewayV3Resource = new Opentelekomcloud.PrivateNatGatewayV3("privateNatGatewayV3Resource", new()
{
DownlinkVpcs = new[]
{
new Opentelekomcloud.Inputs.PrivateNatGatewayV3DownlinkVpcArgs
{
VirsubnetId = "string",
NgportIpAddress = "string",
VpcId = "string",
},
},
Description = "string",
EnterpriseProjectId = "string",
Name = "string",
Spec = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.PrivateNatGatewayV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := opentelekomcloud.NewPrivateNatGatewayV3(ctx, "privateNatGatewayV3Resource", &opentelekomcloud.PrivateNatGatewayV3Args{
DownlinkVpcs: opentelekomcloud.PrivateNatGatewayV3DownlinkVpcArray{
&opentelekomcloud.PrivateNatGatewayV3DownlinkVpcArgs{
VirsubnetId: pulumi.String("string"),
NgportIpAddress: pulumi.String("string"),
VpcId: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
EnterpriseProjectId: pulumi.String("string"),
Name: pulumi.String("string"),
Spec: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.PrivateNatGatewayV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var privateNatGatewayV3Resource = new PrivateNatGatewayV3("privateNatGatewayV3Resource", PrivateNatGatewayV3Args.builder()
.downlinkVpcs(PrivateNatGatewayV3DownlinkVpcArgs.builder()
.virsubnetId("string")
.ngportIpAddress("string")
.vpcId("string")
.build())
.description("string")
.enterpriseProjectId("string")
.name("string")
.spec("string")
.tags(Map.of("string", "string"))
.timeouts(PrivateNatGatewayV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
private_nat_gateway_v3_resource = opentelekomcloud.PrivateNatGatewayV3("privateNatGatewayV3Resource",
downlink_vpcs=[{
"virsubnet_id": "string",
"ngport_ip_address": "string",
"vpc_id": "string",
}],
description="string",
enterprise_project_id="string",
name="string",
spec="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
})
const privateNatGatewayV3Resource = new opentelekomcloud.PrivateNatGatewayV3("privateNatGatewayV3Resource", {
downlinkVpcs: [{
virsubnetId: "string",
ngportIpAddress: "string",
vpcId: "string",
}],
description: "string",
enterpriseProjectId: "string",
name: "string",
spec: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: opentelekomcloud:PrivateNatGatewayV3
properties:
description: string
downlinkVpcs:
- ngportIpAddress: string
virsubnetId: string
vpcId: string
enterpriseProjectId: string
name: string
spec: string
tags:
string: string
timeouts:
create: string
delete: string
PrivateNatGatewayV3 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PrivateNatGatewayV3 resource accepts the following input properties:
- Downlink
Vpcs List<PrivateNat Gateway V3Downlink Vpc> - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - Description string
- Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- Enterprise
Project stringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Name string
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- Spec string
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - Dictionary<string, string>
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- Timeouts
Private
Nat Gateway V3Timeouts
- Downlink
Vpcs []PrivateNat Gateway V3Downlink Vpc Args - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - Description string
- Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- Enterprise
Project stringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Name string
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- Spec string
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - map[string]string
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- Timeouts
Private
Nat Gateway V3Timeouts Args
- downlink
Vpcs List<PrivateNat Gateway V3Downlink Vpc> - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - description String
- Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- enterprise
Project StringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name String
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- spec String
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - Map<String,String>
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts
Private
Nat Gateway V3Timeouts
- downlink
Vpcs PrivateNat Gateway V3Downlink Vpc[] - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - description string
- Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- enterprise
Project stringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name string
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- spec string
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - {[key: string]: string}
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts
Private
Nat Gateway V3Timeouts
- downlink_
vpcs Sequence[PrivateNat Gateway V3Downlink Vpc Args] - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - description str
- Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- enterprise_
project_ strid - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name str
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- spec str
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - Mapping[str, str]
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts
Private
Nat Gateway V3Timeouts Args
- downlink
Vpcs List<Property Map> - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - description String
- Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- enterprise
Project StringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name String
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- spec String
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - Map<String>
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateNatGatewayV3 resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Indicates the project ID.
- Rule
Max double - Indicates Specifies the maximum number of rules. Value range:
0-65535
- 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). - 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Indicates the project ID.
- Rule
Max float64 - Indicates Specifies the maximum number of rules. Value range:
0-65535
- 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). - 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.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Indicates the project ID.
- rule
Max Double - Indicates Specifies the maximum number of rules. Value range:
0-65535
- 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). - 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.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - Indicates the project ID.
- rule
Max number - Indicates Specifies the maximum number of rules. Value range:
0-65535
- 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). - 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.
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - Indicates the project ID.
- rule_
max float - Indicates Specifies the maximum number of rules. Value range:
0-65535
- 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). - 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.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Indicates the project ID.
- rule
Max Number - Indicates Specifies the maximum number of rules. Value range:
0-65535
- 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). - 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.
Look up Existing PrivateNatGatewayV3 Resource
Get an existing PrivateNatGatewayV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PrivateNatGatewayV3State, opts?: CustomResourceOptions): PrivateNatGatewayV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
downlink_vpcs: Optional[Sequence[PrivateNatGatewayV3DownlinkVpcArgs]] = None,
enterprise_project_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
rule_max: Optional[float] = None,
spec: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[PrivateNatGatewayV3TimeoutsArgs] = None,
transit_ip_pool_size_max: Optional[float] = None,
updated_at: Optional[str] = None) -> PrivateNatGatewayV3
func GetPrivateNatGatewayV3(ctx *Context, name string, id IDInput, state *PrivateNatGatewayV3State, opts ...ResourceOption) (*PrivateNatGatewayV3, error)
public static PrivateNatGatewayV3 Get(string name, Input<string> id, PrivateNatGatewayV3State? state, CustomResourceOptions? opts = null)
public static PrivateNatGatewayV3 get(String name, Output<String> id, PrivateNatGatewayV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:PrivateNatGatewayV3 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- Downlink
Vpcs List<PrivateNat Gateway V3Downlink Vpc> - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - Enterprise
Project stringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Name string
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- Project
Id string - Indicates the project ID.
- Rule
Max double - Indicates Specifies the maximum number of rules. Value range:
0-65535
- Spec string
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - 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>
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- Timeouts
Private
Nat Gateway V3Timeouts - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- Downlink
Vpcs []PrivateNat Gateway V3Downlink Vpc Args - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - Enterprise
Project stringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Name string
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- Project
Id string - Indicates the project ID.
- Rule
Max float64 - Indicates Specifies the maximum number of rules. Value range:
0-65535
- Spec string
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - 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
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- Timeouts
Private
Nat Gateway V3Timeouts Args - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- downlink
Vpcs List<PrivateNat Gateway V3Downlink Vpc> - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - enterprise
Project StringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name String
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- project
Id String - Indicates the project ID.
- rule
Max Double - Indicates Specifies the maximum number of rules. Value range:
0-65535
- spec String
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - 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>
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts
Private
Nat Gateway V3Timeouts - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- downlink
Vpcs PrivateNat Gateway V3Downlink Vpc[] - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - enterprise
Project stringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name string
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- project
Id string - Indicates the project ID.
- rule
Max number - Indicates Specifies the maximum number of rules. Value range:
0-65535
- spec string
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - 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}
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts
Private
Nat Gateway V3Timeouts - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- downlink_
vpcs Sequence[PrivateNat Gateway V3Downlink Vpc Args] - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - enterprise_
project_ strid - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name str
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- project_
id str - Indicates the project ID.
- rule_
max float - Indicates Specifies the maximum number of rules. Value range:
0-65535
- spec str
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - 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]
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts
Private
Nat Gateway V3Timeouts Args - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- downlink
Vpcs List<Property Map> - Specifies the VPC where the private NAT gateway works. The downlink_vpcs structure is documented below. Default value:
0
. - enterprise
Project StringId - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- name String
- Specifies the private NAT gateway name. Only digits, letters, underscores (_), and hyphens (-) are allowed.
- project
Id String - Indicates the project ID.
- rule
Max Number - Indicates Specifies the maximum number of rules. Value range:
0-65535
- spec String
- Specifies the private NAT gateway specifications. The value can be:
Small
,Medium
,Large
,Extra-large
. Default value:Small
. - 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>
Specifies the tag list in key/value format.
The
downlink_vpcs
block supports:- timeouts Property Map
- 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.
Supporting Types
PrivateNatGatewayV3DownlinkVpc, PrivateNatGatewayV3DownlinkVpcArgs
- Virsubnet
Id string - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Ngport
Ip stringAddress - Specifies the private IP address of the private NAT gateway.
- Vpc
Id string - Indicates the ID of the VPC where the private NAT gateway works.
- Virsubnet
Id string - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- Ngport
Ip stringAddress - Specifies the private IP address of the private NAT gateway.
- Vpc
Id string - Indicates the ID of the VPC where the private NAT gateway works.
- virsubnet
Id String - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- ngport
Ip StringAddress - Specifies the private IP address of the private NAT gateway.
- vpc
Id String - Indicates the ID of the VPC where the private NAT gateway works.
- virsubnet
Id string - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- ngport
Ip stringAddress - Specifies the private IP address of the private NAT gateway.
- vpc
Id string - Indicates the ID of the VPC where the private NAT gateway works.
- virsubnet_
id str - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- ngport_
ip_ straddress - Specifies the private IP address of the private NAT gateway.
- vpc_
id str - Indicates the ID of the VPC where the private NAT gateway works.
- virsubnet
Id String - Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- ngport
Ip StringAddress - Specifies the private IP address of the private NAT gateway.
- vpc
Id String - Indicates the ID of the VPC where the private NAT gateway works.
PrivateNatGatewayV3Timeouts, PrivateNatGatewayV3TimeoutsArgs
Import
Private NAT Gateway V3 resource can be imported using the gateway ID, id
.
$ pulumi import opentelekomcloud:index/privateNatGatewayV3:PrivateNatGatewayV3 gw_1 <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.