opentelekomcloud.PrivateNatDnatRuleV3
Explore with Pulumi AI
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 resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const transitIpId = config.requireObject("transitIpId");
const networkInterfaceId = config.requireObject("networkInterfaceId");
const gatewayId = config.requireObject("gatewayId");
const rule1 = new opentelekomcloud.PrivateNatDnatRuleV3("rule1", {
description: "created",
transitIpId: transitIpId,
networkInterfaceId: networkInterfaceId,
gatewayId: gatewayId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
transit_ip_id = config.require_object("transitIpId")
network_interface_id = config.require_object("networkInterfaceId")
gateway_id = config.require_object("gatewayId")
rule1 = opentelekomcloud.PrivateNatDnatRuleV3("rule1",
description="created",
transit_ip_id=transit_ip_id,
network_interface_id=network_interface_id,
gateway_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, "")
transitIpId := cfg.RequireObject("transitIpId")
networkInterfaceId := cfg.RequireObject("networkInterfaceId")
gatewayId := cfg.RequireObject("gatewayId")
_, err := opentelekomcloud.NewPrivateNatDnatRuleV3(ctx, "rule1", &opentelekomcloud.PrivateNatDnatRuleV3Args{
Description: pulumi.String("created"),
TransitIpId: pulumi.Any(transitIpId),
NetworkInterfaceId: pulumi.Any(networkInterfaceId),
GatewayId: pulumi.Any(gatewayId),
})
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 transitIpId = config.RequireObject<dynamic>("transitIpId");
var networkInterfaceId = config.RequireObject<dynamic>("networkInterfaceId");
var gatewayId = config.RequireObject<dynamic>("gatewayId");
var rule1 = new Opentelekomcloud.PrivateNatDnatRuleV3("rule1", new()
{
Description = "created",
TransitIpId = transitIpId,
NetworkInterfaceId = networkInterfaceId,
GatewayId = gatewayId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.PrivateNatDnatRuleV3;
import com.pulumi.opentelekomcloud.PrivateNatDnatRuleV3Args;
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 transitIpId = config.get("transitIpId");
final var networkInterfaceId = config.get("networkInterfaceId");
final var gatewayId = config.get("gatewayId");
var rule1 = new PrivateNatDnatRuleV3("rule1", PrivateNatDnatRuleV3Args.builder()
.description("created")
.transitIpId(transitIpId)
.networkInterfaceId(networkInterfaceId)
.gatewayId(gatewayId)
.build());
}
}
configuration:
transitIpId:
type: dynamic
networkInterfaceId:
type: dynamic
gatewayId:
type: dynamic
resources:
rule1:
type: opentelekomcloud:PrivateNatDnatRuleV3
properties:
description: created
transitIpId: ${transitIpId}
networkInterfaceId: ${networkInterfaceId}
gatewayId: ${gatewayId}
Create PrivateNatDnatRuleV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateNatDnatRuleV3(name: string, args: PrivateNatDnatRuleV3Args, opts?: CustomResourceOptions);
@overload
def PrivateNatDnatRuleV3(resource_name: str,
args: PrivateNatDnatRuleV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateNatDnatRuleV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_id: Optional[str] = None,
transit_ip_id: Optional[str] = None,
description: Optional[str] = None,
internal_service_port: Optional[str] = None,
network_interface_id: Optional[str] = None,
private_ip_address: Optional[str] = None,
protocol: Optional[str] = None,
timeouts: Optional[PrivateNatDnatRuleV3TimeoutsArgs] = None,
transit_service_port: Optional[str] = None)
func NewPrivateNatDnatRuleV3(ctx *Context, name string, args PrivateNatDnatRuleV3Args, opts ...ResourceOption) (*PrivateNatDnatRuleV3, error)
public PrivateNatDnatRuleV3(string name, PrivateNatDnatRuleV3Args args, CustomResourceOptions? opts = null)
public PrivateNatDnatRuleV3(String name, PrivateNatDnatRuleV3Args args)
public PrivateNatDnatRuleV3(String name, PrivateNatDnatRuleV3Args args, CustomResourceOptions options)
type: opentelekomcloud:PrivateNatDnatRuleV3
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 PrivateNatDnatRuleV3Args
- 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 PrivateNatDnatRuleV3Args
- 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 PrivateNatDnatRuleV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateNatDnatRuleV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateNatDnatRuleV3Args
- 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 privateNatDnatRuleV3Resource = new Opentelekomcloud.PrivateNatDnatRuleV3("privateNatDnatRuleV3Resource", new()
{
GatewayId = "string",
TransitIpId = "string",
Description = "string",
InternalServicePort = "string",
NetworkInterfaceId = "string",
PrivateIpAddress = "string",
Protocol = "string",
Timeouts = new Opentelekomcloud.Inputs.PrivateNatDnatRuleV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
TransitServicePort = "string",
});
example, err := opentelekomcloud.NewPrivateNatDnatRuleV3(ctx, "privateNatDnatRuleV3Resource", &opentelekomcloud.PrivateNatDnatRuleV3Args{
GatewayId: pulumi.String("string"),
TransitIpId: pulumi.String("string"),
Description: pulumi.String("string"),
InternalServicePort: pulumi.String("string"),
NetworkInterfaceId: pulumi.String("string"),
PrivateIpAddress: pulumi.String("string"),
Protocol: pulumi.String("string"),
Timeouts: &opentelekomcloud.PrivateNatDnatRuleV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
TransitServicePort: pulumi.String("string"),
})
var privateNatDnatRuleV3Resource = new PrivateNatDnatRuleV3("privateNatDnatRuleV3Resource", PrivateNatDnatRuleV3Args.builder()
.gatewayId("string")
.transitIpId("string")
.description("string")
.internalServicePort("string")
.networkInterfaceId("string")
.privateIpAddress("string")
.protocol("string")
.timeouts(PrivateNatDnatRuleV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.transitServicePort("string")
.build());
private_nat_dnat_rule_v3_resource = opentelekomcloud.PrivateNatDnatRuleV3("privateNatDnatRuleV3Resource",
gateway_id="string",
transit_ip_id="string",
description="string",
internal_service_port="string",
network_interface_id="string",
private_ip_address="string",
protocol="string",
timeouts={
"create": "string",
"delete": "string",
},
transit_service_port="string")
const privateNatDnatRuleV3Resource = new opentelekomcloud.PrivateNatDnatRuleV3("privateNatDnatRuleV3Resource", {
gatewayId: "string",
transitIpId: "string",
description: "string",
internalServicePort: "string",
networkInterfaceId: "string",
privateIpAddress: "string",
protocol: "string",
timeouts: {
create: "string",
"delete": "string",
},
transitServicePort: "string",
});
type: opentelekomcloud:PrivateNatDnatRuleV3
properties:
description: string
gatewayId: string
internalServicePort: string
networkInterfaceId: string
privateIpAddress: string
protocol: string
timeouts:
create: string
delete: string
transitIpId: string
transitServicePort: string
PrivateNatDnatRuleV3 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 PrivateNatDnatRuleV3 resource accepts the following input properties:
- Gateway
Id string - Specifies the private NAT gateway ID.
- Transit
Ip stringId - Specifies the ID of the transit IP address.
- Description string
- Provides supplementary information about the DNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- Internal
Service stringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - Network
Interface stringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - Private
Ip stringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - Protocol string
- Specifies the protocol type. Supported values:
tcp
,udp
,any
. - Timeouts
Private
Nat Dnat Rule V3Timeouts - Transit
Service stringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
.
- Gateway
Id string - Specifies the private NAT gateway ID.
- Transit
Ip stringId - Specifies the ID of the transit IP address.
- Description string
- Provides supplementary information about the DNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- Internal
Service stringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - Network
Interface stringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - Private
Ip stringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - Protocol string
- Specifies the protocol type. Supported values:
tcp
,udp
,any
. - Timeouts
Private
Nat Dnat Rule V3Timeouts Args - Transit
Service stringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
.
- gateway
Id String - Specifies the private NAT gateway ID.
- transit
Ip StringId - Specifies the ID of the transit IP address.
- description String
- Provides supplementary information about the DNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- internal
Service StringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network
Interface StringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private
Ip StringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - protocol String
- Specifies the protocol type. Supported values:
tcp
,udp
,any
. - timeouts
Private
Nat Dnat Rule V3Timeouts - transit
Service StringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
.
- gateway
Id string - Specifies the private NAT gateway ID.
- transit
Ip stringId - Specifies the ID of the transit IP address.
- description string
- Provides supplementary information about the DNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- internal
Service stringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network
Interface stringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private
Ip stringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - protocol string
- Specifies the protocol type. Supported values:
tcp
,udp
,any
. - timeouts
Private
Nat Dnat Rule V3Timeouts - transit
Service stringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
.
- gateway_
id str - Specifies the private NAT gateway ID.
- transit_
ip_ strid - Specifies the ID of the transit IP address.
- description str
- Provides supplementary information about the DNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- internal_
service_ strport - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network_
interface_ strid - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private_
ip_ straddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - protocol str
- Specifies the protocol type. Supported values:
tcp
,udp
,any
. - timeouts
Private
Nat Dnat Rule V3Timeouts Args - transit_
service_ strport - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
.
- gateway
Id String - Specifies the private NAT gateway ID.
- transit
Ip StringId - Specifies the ID of the transit IP address.
- description String
- Provides supplementary information about the DNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- internal
Service StringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network
Interface StringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private
Ip StringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - protocol String
- Specifies the protocol type. Supported values:
tcp
,udp
,any
. - timeouts Property Map
- transit
Service StringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateNatDnatRuleV3 resource produces the following output properties:
- 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.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Indicates the project ID.
- 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). - 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.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Indicates the project ID.
- 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). - 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.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Indicates the project ID.
- 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). - 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.
- enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - Indicates the project ID.
- 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). - 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.
- enterprise_
project_ strid - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - Indicates the project ID.
- 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). - 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.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the DNAT rule when the DNAT rule is created.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Indicates the project ID.
- 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). - 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.
Look up Existing PrivateNatDnatRuleV3 Resource
Get an existing PrivateNatDnatRuleV3 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?: PrivateNatDnatRuleV3State, opts?: CustomResourceOptions): PrivateNatDnatRuleV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
gateway_id: Optional[str] = None,
internal_service_port: Optional[str] = None,
network_interface_id: Optional[str] = None,
private_ip_address: Optional[str] = None,
project_id: Optional[str] = None,
protocol: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[PrivateNatDnatRuleV3TimeoutsArgs] = None,
transit_ip_id: Optional[str] = None,
transit_service_port: Optional[str] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> PrivateNatDnatRuleV3
func GetPrivateNatDnatRuleV3(ctx *Context, name string, id IDInput, state *PrivateNatDnatRuleV3State, opts ...ResourceOption) (*PrivateNatDnatRuleV3, error)
public static PrivateNatDnatRuleV3 Get(string name, Input<string> id, PrivateNatDnatRuleV3State? state, CustomResourceOptions? opts = null)
public static PrivateNatDnatRuleV3 get(String name, Output<String> id, PrivateNatDnatRuleV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:PrivateNatDnatRuleV3 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 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- 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 - Specifies the private NAT gateway ID.
- Internal
Service stringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - Network
Interface stringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - Private
Ip stringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - Project
Id string - Indicates the project ID.
- Protocol string
- Specifies 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). - Timeouts
Private
Nat Dnat Rule V3Timeouts - Transit
Ip stringId - Specifies the ID of the transit IP address.
- Transit
Service stringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
. - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- 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 - Specifies the private NAT gateway ID.
- Internal
Service stringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - Network
Interface stringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - Private
Ip stringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - Project
Id string - Indicates the project ID.
- Protocol string
- Specifies 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). - Timeouts
Private
Nat Dnat Rule V3Timeouts Args - Transit
Ip stringId - Specifies the ID of the transit IP address.
- Transit
Service stringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
. - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- 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 - Specifies the private NAT gateway ID.
- internal
Service StringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network
Interface StringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private
Ip StringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - project
Id String - Indicates the project ID.
- protocol String
- Specifies 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). - timeouts
Private
Nat Dnat Rule V3Timeouts - transit
Ip StringId - Specifies the ID of the transit IP address.
- transit
Service StringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
. - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- 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 - Specifies the private NAT gateway ID.
- internal
Service stringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network
Interface stringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private
Ip stringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - project
Id string - Indicates the project ID.
- protocol string
- Specifies 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). - timeouts
Private
Nat Dnat Rule V3Timeouts - transit
Ip stringId - Specifies the ID of the transit IP address.
- transit
Service stringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
. - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- 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 - Specifies the private NAT gateway ID.
- internal_
service_ strport - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network_
interface_ strid - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private_
ip_ straddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - project_
id str - Indicates the project ID.
- protocol str
- Specifies 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). - timeouts
Private
Nat Dnat Rule V3Timeouts Args - transit_
ip_ strid - Specifies the ID of the transit IP address.
- transit_
service_ strport - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
. - 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. The description can contain up to 255 characters and cannot contain angle brackets (<>).
- 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 - Specifies the private NAT gateway ID.
- internal
Service StringPort - Specifies the port number of the resource, which can be a compute instance, load balancer (v2 or v3), or virtual IP address. Value range:
0-65535
. Default value:0
. - network
Interface StringId - Specifies 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. Either this parameter or
private_ip_address
must be specified. Otherwise, an error will be reported. - private
Ip StringAddress - Specifies the port IP address that the NAT gateway uses. The resource can be a compute instance, load balancer (v2 or v3), or virtual IP address. Either this parameter or
network_interface_id
must be specified. Otherwise, an error will be reported. - project
Id String - Indicates the project ID.
- protocol String
- Specifies 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). - timeouts Property Map
- transit
Ip StringId - Specifies the ID of the transit IP address.
- transit
Service StringPort - Specifies the port number of the transit IP address. Value range:
0-65535
. Default value:0
. - 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.
Supporting Types
PrivateNatDnatRuleV3Timeouts, PrivateNatDnatRuleV3TimeoutsArgs
Import
Private NAT DNAT rule V3 resource can be imported using the DNAT rule ID, id
.
$ pulumi import opentelekomcloud:index/privateNatDnatRuleV3:PrivateNatDnatRuleV3 rule_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.