1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. PrivateNatSnatRuleV3
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud

opentelekomcloud.PrivateNatSnatRuleV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for Private NAT SNAT rule you can get at documentation portal

    Manages a V3 Private NAT SNAT 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 networkId = config.requireObject("networkId");
    const gatewayId = config.requireObject("gatewayId");
    const rule1 = new opentelekomcloud.PrivateNatSnatRuleV3("rule1", {
        description: "created",
        transitIpIds: ["var.transit_ip_id"],
        virsubnetId: networkId,
        gatewayId: gatewayId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    transit_ip_id = config.require_object("transitIpId")
    network_id = config.require_object("networkId")
    gateway_id = config.require_object("gatewayId")
    rule1 = opentelekomcloud.PrivateNatSnatRuleV3("rule1",
        description="created",
        transit_ip_ids=["var.transit_ip_id"],
        virsubnet_id=network_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")
    		networkId := cfg.RequireObject("networkId")
    		gatewayId := cfg.RequireObject("gatewayId")
    		_, err := opentelekomcloud.NewPrivateNatSnatRuleV3(ctx, "rule1", &opentelekomcloud.PrivateNatSnatRuleV3Args{
    			Description: pulumi.String("created"),
    			TransitIpIds: pulumi.StringArray{
    				pulumi.String("var.transit_ip_id"),
    			},
    			VirsubnetId: pulumi.Any(networkId),
    			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 networkId = config.RequireObject<dynamic>("networkId");
        var gatewayId = config.RequireObject<dynamic>("gatewayId");
        var rule1 = new Opentelekomcloud.PrivateNatSnatRuleV3("rule1", new()
        {
            Description = "created",
            TransitIpIds = new[]
            {
                "var.transit_ip_id",
            },
            VirsubnetId = networkId,
            GatewayId = gatewayId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.PrivateNatSnatRuleV3;
    import com.pulumi.opentelekomcloud.PrivateNatSnatRuleV3Args;
    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 networkId = config.get("networkId");
            final var gatewayId = config.get("gatewayId");
            var rule1 = new PrivateNatSnatRuleV3("rule1", PrivateNatSnatRuleV3Args.builder()
                .description("created")
                .transitIpIds("var.transit_ip_id")
                .virsubnetId(networkId)
                .gatewayId(gatewayId)
                .build());
    
        }
    }
    
    configuration:
      transitIpId:
        type: dynamic
      networkId:
        type: dynamic
      gatewayId:
        type: dynamic
    resources:
      rule1:
        type: opentelekomcloud:PrivateNatSnatRuleV3
        properties:
          description: created
          transitIpIds:
            - var.transit_ip_id
          virsubnetId: ${networkId}
          gatewayId: ${gatewayId}
    

    Create PrivateNatSnatRuleV3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PrivateNatSnatRuleV3(name: string, args: PrivateNatSnatRuleV3Args, opts?: CustomResourceOptions);
    @overload
    def PrivateNatSnatRuleV3(resource_name: str,
                             args: PrivateNatSnatRuleV3Args,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateNatSnatRuleV3(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             gateway_id: Optional[str] = None,
                             transit_ip_ids: Optional[Sequence[str]] = None,
                             cidr: Optional[str] = None,
                             description: Optional[str] = None,
                             private_nat_snat_rule_v3_id: Optional[str] = None,
                             timeouts: Optional[PrivateNatSnatRuleV3TimeoutsArgs] = None,
                             virsubnet_id: Optional[str] = None)
    func NewPrivateNatSnatRuleV3(ctx *Context, name string, args PrivateNatSnatRuleV3Args, opts ...ResourceOption) (*PrivateNatSnatRuleV3, error)
    public PrivateNatSnatRuleV3(string name, PrivateNatSnatRuleV3Args args, CustomResourceOptions? opts = null)
    public PrivateNatSnatRuleV3(String name, PrivateNatSnatRuleV3Args args)
    public PrivateNatSnatRuleV3(String name, PrivateNatSnatRuleV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:PrivateNatSnatRuleV3
    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 PrivateNatSnatRuleV3Args
    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 PrivateNatSnatRuleV3Args
    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 PrivateNatSnatRuleV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateNatSnatRuleV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateNatSnatRuleV3Args
    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 privateNatSnatRuleV3Resource = new Opentelekomcloud.PrivateNatSnatRuleV3("privateNatSnatRuleV3Resource", new()
    {
        GatewayId = "string",
        TransitIpIds = new[]
        {
            "string",
        },
        Cidr = "string",
        Description = "string",
        PrivateNatSnatRuleV3Id = "string",
        Timeouts = new Opentelekomcloud.Inputs.PrivateNatSnatRuleV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        VirsubnetId = "string",
    });
    
    example, err := opentelekomcloud.NewPrivateNatSnatRuleV3(ctx, "privateNatSnatRuleV3Resource", &opentelekomcloud.PrivateNatSnatRuleV3Args{
    	GatewayId: pulumi.String("string"),
    	TransitIpIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Cidr:                   pulumi.String("string"),
    	Description:            pulumi.String("string"),
    	PrivateNatSnatRuleV3Id: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.PrivateNatSnatRuleV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	VirsubnetId: pulumi.String("string"),
    })
    
    var privateNatSnatRuleV3Resource = new PrivateNatSnatRuleV3("privateNatSnatRuleV3Resource", PrivateNatSnatRuleV3Args.builder()
        .gatewayId("string")
        .transitIpIds("string")
        .cidr("string")
        .description("string")
        .privateNatSnatRuleV3Id("string")
        .timeouts(PrivateNatSnatRuleV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .virsubnetId("string")
        .build());
    
    private_nat_snat_rule_v3_resource = opentelekomcloud.PrivateNatSnatRuleV3("privateNatSnatRuleV3Resource",
        gateway_id="string",
        transit_ip_ids=["string"],
        cidr="string",
        description="string",
        private_nat_snat_rule_v3_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        },
        virsubnet_id="string")
    
    const privateNatSnatRuleV3Resource = new opentelekomcloud.PrivateNatSnatRuleV3("privateNatSnatRuleV3Resource", {
        gatewayId: "string",
        transitIpIds: ["string"],
        cidr: "string",
        description: "string",
        privateNatSnatRuleV3Id: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
        virsubnetId: "string",
    });
    
    type: opentelekomcloud:PrivateNatSnatRuleV3
    properties:
        cidr: string
        description: string
        gatewayId: string
        privateNatSnatRuleV3Id: string
        timeouts:
            create: string
            delete: string
        transitIpIds:
            - string
        virsubnetId: string
    

    PrivateNatSnatRuleV3 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 PrivateNatSnatRuleV3 resource accepts the following input properties:

    GatewayId string
    Specifies the private NAT gateway ID.
    TransitIpIds List<string>
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    Cidr string
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    Description string
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    PrivateNatSnatRuleV3Id string
    Private NAT SNAT rule ID.
    Timeouts PrivateNatSnatRuleV3Timeouts
    VirsubnetId string
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    GatewayId string
    Specifies the private NAT gateway ID.
    TransitIpIds []string
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    Cidr string
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    Description string
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    PrivateNatSnatRuleV3Id string
    Private NAT SNAT rule ID.
    Timeouts PrivateNatSnatRuleV3TimeoutsArgs
    VirsubnetId string
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    gatewayId String
    Specifies the private NAT gateway ID.
    transitIpIds List<String>
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    cidr String
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    description String
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    privateNatSnatRuleV3Id String
    Private NAT SNAT rule ID.
    timeouts PrivateNatSnatRuleV3Timeouts
    virsubnetId String
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    gatewayId string
    Specifies the private NAT gateway ID.
    transitIpIds string[]
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    cidr string
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    description string
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    privateNatSnatRuleV3Id string
    Private NAT SNAT rule ID.
    timeouts PrivateNatSnatRuleV3Timeouts
    virsubnetId string
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    gateway_id str
    Specifies the private NAT gateway ID.
    transit_ip_ids Sequence[str]
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    cidr str
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    description str
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    private_nat_snat_rule_v3_id str
    Private NAT SNAT rule ID.
    timeouts PrivateNatSnatRuleV3TimeoutsArgs
    virsubnet_id str
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    gatewayId String
    Specifies the private NAT gateway ID.
    transitIpIds List<String>
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    cidr String
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    description String
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    privateNatSnatRuleV3Id String
    Private NAT SNAT rule ID.
    timeouts Property Map
    virsubnetId String
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PrivateNatSnatRuleV3 resource produces the following output properties:

    CreatedAt string
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    EnterpriseProjectId string
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Indicates the project ID.
    Status string
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    TransitIpAssociations List<PrivateNatSnatRuleV3TransitIpAssociation>
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    UpdatedAt string
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    CreatedAt string
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    EnterpriseProjectId string
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Indicates the project ID.
    Status string
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    TransitIpAssociations []PrivateNatSnatRuleV3TransitIpAssociation
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    UpdatedAt string
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    createdAt String
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    enterpriseProjectId String
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    Indicates the project ID.
    status String
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    transitIpAssociations List<PrivateNatSnatRuleV3TransitIpAssociation>
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    updatedAt String
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    createdAt string
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    enterpriseProjectId string
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    Indicates the project ID.
    status string
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    transitIpAssociations PrivateNatSnatRuleV3TransitIpAssociation[]
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    updatedAt string
    Indicates the time when the private NAT SNAT 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 SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    enterprise_project_id str
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT 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 SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    transit_ip_associations Sequence[PrivateNatSnatRuleV3TransitIpAssociation]
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    updated_at str
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    createdAt String
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    enterpriseProjectId String
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    Indicates the project ID.
    status String
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    transitIpAssociations List<Property Map>
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    updatedAt String
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.

    Look up Existing PrivateNatSnatRuleV3 Resource

    Get an existing PrivateNatSnatRuleV3 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?: PrivateNatSnatRuleV3State, opts?: CustomResourceOptions): PrivateNatSnatRuleV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cidr: Optional[str] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            enterprise_project_id: Optional[str] = None,
            gateway_id: Optional[str] = None,
            private_nat_snat_rule_v3_id: Optional[str] = None,
            project_id: Optional[str] = None,
            status: Optional[str] = None,
            timeouts: Optional[PrivateNatSnatRuleV3TimeoutsArgs] = None,
            transit_ip_associations: Optional[Sequence[PrivateNatSnatRuleV3TransitIpAssociationArgs]] = None,
            transit_ip_ids: Optional[Sequence[str]] = None,
            updated_at: Optional[str] = None,
            virsubnet_id: Optional[str] = None) -> PrivateNatSnatRuleV3
    func GetPrivateNatSnatRuleV3(ctx *Context, name string, id IDInput, state *PrivateNatSnatRuleV3State, opts ...ResourceOption) (*PrivateNatSnatRuleV3, error)
    public static PrivateNatSnatRuleV3 Get(string name, Input<string> id, PrivateNatSnatRuleV3State? state, CustomResourceOptions? opts = null)
    public static PrivateNatSnatRuleV3 get(String name, Output<String> id, PrivateNatSnatRuleV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:PrivateNatSnatRuleV3    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.
    The following state arguments are supported:
    Cidr string
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    CreatedAt string
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    Description string
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    EnterpriseProjectId string
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    GatewayId string
    Specifies the private NAT gateway ID.
    PrivateNatSnatRuleV3Id string
    Private NAT SNAT rule ID.
    ProjectId string
    Indicates the project ID.
    Status string
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    Timeouts PrivateNatSnatRuleV3Timeouts
    TransitIpAssociations List<PrivateNatSnatRuleV3TransitIpAssociation>
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    TransitIpIds List<string>
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    UpdatedAt string
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    VirsubnetId string
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    Cidr string
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    CreatedAt string
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    Description string
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    EnterpriseProjectId string
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    GatewayId string
    Specifies the private NAT gateway ID.
    PrivateNatSnatRuleV3Id string
    Private NAT SNAT rule ID.
    ProjectId string
    Indicates the project ID.
    Status string
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    Timeouts PrivateNatSnatRuleV3TimeoutsArgs
    TransitIpAssociations []PrivateNatSnatRuleV3TransitIpAssociationArgs
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    TransitIpIds []string
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    UpdatedAt string
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    VirsubnetId string
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    cidr String
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    createdAt String
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    description String
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    enterpriseProjectId String
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    gatewayId String
    Specifies the private NAT gateway ID.
    privateNatSnatRuleV3Id String
    Private NAT SNAT rule ID.
    projectId String
    Indicates the project ID.
    status String
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    timeouts PrivateNatSnatRuleV3Timeouts
    transitIpAssociations List<PrivateNatSnatRuleV3TransitIpAssociation>
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    transitIpIds List<String>
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    updatedAt String
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    virsubnetId String
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    cidr string
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    createdAt string
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    description string
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    enterpriseProjectId string
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    gatewayId string
    Specifies the private NAT gateway ID.
    privateNatSnatRuleV3Id string
    Private NAT SNAT rule ID.
    projectId string
    Indicates the project ID.
    status string
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    timeouts PrivateNatSnatRuleV3Timeouts
    transitIpAssociations PrivateNatSnatRuleV3TransitIpAssociation[]
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    transitIpIds string[]
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    updatedAt string
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    virsubnetId string
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    cidr str
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    created_at str
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    description str
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    enterprise_project_id str
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    gateway_id str
    Specifies the private NAT gateway ID.
    private_nat_snat_rule_v3_id str
    Private NAT SNAT rule ID.
    project_id str
    Indicates the project ID.
    status str
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    timeouts PrivateNatSnatRuleV3TimeoutsArgs
    transit_ip_associations Sequence[PrivateNatSnatRuleV3TransitIpAssociationArgs]
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    transit_ip_ids Sequence[str]
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    updated_at str
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    virsubnet_id str
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.
    cidr String
    Specifies the CIDR block that matches the SNAT rule. Either this parameter or virsubnet_id must be specified.
    createdAt String
    Indicates the time when the private NAT SNAT rule was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    description String
    Provides supplementary information about the SNAT rule. The description can contain up to 255 characters and cannot contain angle brackets (<>).
    enterpriseProjectId String
    Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
    gatewayId String
    Specifies the private NAT gateway ID.
    privateNatSnatRuleV3Id String
    Private NAT SNAT rule ID.
    projectId String
    Indicates the project ID.
    status String
    Indicates the private NAT SNAT rule status. The value can be: ACTIVE (The SNAT rule is running properly) or FROZEN (The SNAT rule is frozen).
    timeouts Property Map
    transitIpAssociations List<Property Map>
    Indicates the list of details of associated transit IP addresses. The structure is described below.
    transitIpIds List<String>
    Specifies the IDs of the transit IP addresses. A maximum number of 20 IDs is allowed.
    updatedAt String
    Indicates the time when the private NAT SNAT rule was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
    virsubnetId String
    Specifies the ID of the subnet that matches the SNAT rule. Either this parameter or cidr must be specified.

    Supporting Types

    PrivateNatSnatRuleV3Timeouts, PrivateNatSnatRuleV3TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    PrivateNatSnatRuleV3TransitIpAssociation, PrivateNatSnatRuleV3TransitIpAssociationArgs

    TransitIpAddress string
    Indicates the transit IP address.
    TransitIpId string
    Indicates the ID of the transit IP address.
    TransitIpAddress string
    Indicates the transit IP address.
    TransitIpId string
    Indicates the ID of the transit IP address.
    transitIpAddress String
    Indicates the transit IP address.
    transitIpId String
    Indicates the ID of the transit IP address.
    transitIpAddress string
    Indicates the transit IP address.
    transitIpId string
    Indicates the ID of the transit IP address.
    transit_ip_address str
    Indicates the transit IP address.
    transit_ip_id str
    Indicates the ID of the transit IP address.
    transitIpAddress String
    Indicates the transit IP address.
    transitIpId String
    Indicates the ID of the transit IP address.

    Import

    Private NAT SNAT rule V3 resource can be imported using the SNAT rule ID, id.

    $ pulumi import opentelekomcloud:index/privateNatSnatRuleV3:PrivateNatSnatRuleV3 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.
    opentelekomcloud logo
    opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud
      AI Agentic Workflows: Register now