opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud
opentelekomcloud.getPrivateNatSnatRuleV3
Explore with Pulumi AI
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud
Up-to-date reference of API arguments for Private NAT SNAT rule you can get at documentation portal
Manages a V3 Private NAT SNAT rule data source within OpenTelekomCloud.
Example Usage
List all Private NAT SNAT rules
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const rule1 = opentelekomcloud.getPrivateNatSnatRuleV3({});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
rule1 = opentelekomcloud.get_private_nat_snat_rule_v3()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.LookupPrivateNatSnatRuleV3(ctx, &opentelekomcloud.LookupPrivateNatSnatRuleV3Args{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var rule1 = Opentelekomcloud.GetPrivateNatSnatRuleV3.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetPrivateNatSnatRuleV3Args;
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 rule1 = OpentelekomcloudFunctions.getPrivateNatSnatRuleV3();
}
}
variables:
rule1:
fn::invoke:
function: opentelekomcloud:getPrivateNatSnatRuleV3
arguments: {}
Using getPrivateNatSnatRuleV3
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPrivateNatSnatRuleV3(args: GetPrivateNatSnatRuleV3Args, opts?: InvokeOptions): Promise<GetPrivateNatSnatRuleV3Result>
function getPrivateNatSnatRuleV3Output(args: GetPrivateNatSnatRuleV3OutputArgs, opts?: InvokeOptions): Output<GetPrivateNatSnatRuleV3Result>
def get_private_nat_snat_rule_v3(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateNatSnatRuleV3Result
def get_private_nat_snat_rule_v3_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateNatSnatRuleV3Result]
func LookupPrivateNatSnatRuleV3(ctx *Context, args *LookupPrivateNatSnatRuleV3Args, opts ...InvokeOption) (*LookupPrivateNatSnatRuleV3Result, error)
func LookupPrivateNatSnatRuleV3Output(ctx *Context, args *LookupPrivateNatSnatRuleV3OutputArgs, opts ...InvokeOption) LookupPrivateNatSnatRuleV3ResultOutput
> Note: This function is named LookupPrivateNatSnatRuleV3
in the Go SDK.
public static class GetPrivateNatSnatRuleV3
{
public static Task<GetPrivateNatSnatRuleV3Result> InvokeAsync(GetPrivateNatSnatRuleV3Args args, InvokeOptions? opts = null)
public static Output<GetPrivateNatSnatRuleV3Result> Invoke(GetPrivateNatSnatRuleV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateNatSnatRuleV3Result> getPrivateNatSnatRuleV3(GetPrivateNatSnatRuleV3Args args, InvokeOptions options)
public static Output<GetPrivateNatSnatRuleV3Result> getPrivateNatSnatRuleV3(GetPrivateNatSnatRuleV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getPrivateNatSnatRuleV3:getPrivateNatSnatRuleV3
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Specifies the private NAT SNAT rule ID.
- Id string
- Specifies the private NAT SNAT rule ID.
- id String
- Specifies the private NAT SNAT rule ID.
- id string
- Specifies the private NAT SNAT rule ID.
- id str
- Specifies the private NAT SNAT rule ID.
- id String
- Specifies the private NAT SNAT rule ID.
getPrivateNatSnatRuleV3 Result
The following output properties are available:
- Snat
Rules List<GetPrivate Nat Snat Rule V3Snat Rule> - Indicates the private NAT SNAT rules. The structure is defined below.
- Id string
- Private NAT SNAT rule ID.
- Snat
Rules []GetPrivate Nat Snat Rule V3Snat Rule - Indicates the private NAT SNAT rules. The structure is defined below.
- Id string
- Private NAT SNAT rule ID.
- snat
Rules List<GetPrivate Nat Snat Rule V3Snat Rule> - Indicates the private NAT SNAT rules. The structure is defined below.
- id String
- Private NAT SNAT rule ID.
- snat
Rules GetPrivate Nat Snat Rule V3Snat Rule[] - Indicates the private NAT SNAT rules. The structure is defined below.
- id string
- Private NAT SNAT rule ID.
- snat_
rules Sequence[GetPrivate Nat Snat Rule V3Snat Rule] - Indicates the private NAT SNAT rules. The structure is defined below.
- id str
- Private NAT SNAT rule ID.
- snat
Rules List<Property Map> - Indicates the private NAT SNAT rules. The structure is defined below.
- id String
- Private NAT SNAT rule ID.
Supporting Types
GetPrivateNatSnatRuleV3SnatRule
- Cidr string
- Indicates the CIDR block that matches the SNAT rule.
- Created
At 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.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
- Gateway
Id string - Indicates the private NAT gateway ID.
- Id string
- Specifies the private NAT SNAT rule ID.
- Project
Id 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) orFROZEN
(The SNAT rule is frozen). - Transit
Ip List<GetAssociations Private Nat Snat Rule V3Snat Rule Transit Ip Association> - Indicates the list of details of associated transit IP addresses. The structure is described below.
- Transit
Ip List<string>Ids - Indicates the IDs of the transit IP addresses.
- Updated
At string - 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 string - Indicates the ID of the subnet that matches the SNAT rule.
- Cidr string
- Indicates the CIDR block that matches the SNAT rule.
- Created
At 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.
- Enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
- Gateway
Id string - Indicates the private NAT gateway ID.
- Id string
- Specifies the private NAT SNAT rule ID.
- Project
Id 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) orFROZEN
(The SNAT rule is frozen). - Transit
Ip []GetAssociations Private Nat Snat Rule V3Snat Rule Transit Ip Association - Indicates the list of details of associated transit IP addresses. The structure is described below.
- Transit
Ip []stringIds - Indicates the IDs of the transit IP addresses.
- Updated
At string - 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 string - Indicates the ID of the subnet that matches the SNAT rule.
- cidr String
- Indicates the CIDR block that matches the SNAT rule.
- created
At 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.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
- gateway
Id String - Indicates the private NAT gateway ID.
- id String
- Specifies the private NAT SNAT rule ID.
- project
Id 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) orFROZEN
(The SNAT rule is frozen). - transit
Ip List<GetAssociations Private Nat Snat Rule V3Snat Rule Transit Ip Association> - Indicates the list of details of associated transit IP addresses. The structure is described below.
- transit
Ip List<String>Ids - Indicates the IDs of the transit IP addresses.
- updated
At String - 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 String - Indicates the ID of the subnet that matches the SNAT rule.
- cidr string
- Indicates the CIDR block that matches the SNAT rule.
- created
At 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.
- enterprise
Project stringId - Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
- gateway
Id string - Indicates the private NAT gateway ID.
- id string
- Specifies the private NAT SNAT rule ID.
- project
Id 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) orFROZEN
(The SNAT rule is frozen). - transit
Ip GetAssociations Private Nat Snat Rule V3Snat Rule Transit Ip Association[] - Indicates the list of details of associated transit IP addresses. The structure is described below.
- transit
Ip string[]Ids - Indicates the IDs of the transit IP addresses.
- updated
At string - 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 string - Indicates the ID of the subnet that matches the SNAT rule.
- cidr str
- Indicates the CIDR block that matches the SNAT rule.
- 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.
- enterprise_
project_ strid - Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
- gateway_
id str - Indicates the private NAT gateway ID.
- id str
- Specifies the 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) orFROZEN
(The SNAT rule is frozen). - transit_
ip_ Sequence[Getassociations Private Nat Snat Rule V3Snat Rule Transit Ip Association] - Indicates the list of details of associated transit IP addresses. The structure is described below.
- transit_
ip_ Sequence[str]ids - Indicates the IDs of the transit IP addresses.
- 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 - Indicates the ID of the subnet that matches the SNAT rule.
- cidr String
- Indicates the CIDR block that matches the SNAT rule.
- created
At 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.
- enterprise
Project StringId - Indicates the ID of the enterprise project that is associated with the SNAT rule when the SNAT rule is created.
- gateway
Id String - Indicates the private NAT gateway ID.
- id String
- Specifies the private NAT SNAT rule ID.
- project
Id 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) orFROZEN
(The SNAT rule is frozen). - transit
Ip List<Property Map>Associations - Indicates the list of details of associated transit IP addresses. The structure is described below.
- transit
Ip List<String>Ids - Indicates the IDs of the transit IP addresses.
- updated
At String - 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 String - Indicates the ID of the subnet that matches the SNAT rule.
GetPrivateNatSnatRuleV3SnatRuleTransitIpAssociation
- Transit
Ip stringAddress - Indicates the transit IP address.
- Transit
Ip stringId - Indicates the ID of the transit IP address.
- Transit
Ip stringAddress - Indicates the transit IP address.
- Transit
Ip stringId - Indicates the ID of the transit IP address.
- transit
Ip StringAddress - Indicates the transit IP address.
- transit
Ip StringId - Indicates the ID of the transit IP address.
- transit
Ip stringAddress - Indicates the transit IP address.
- transit
Ip stringId - Indicates the ID of the transit IP address.
- transit_
ip_ straddress - Indicates the transit IP address.
- transit_
ip_ strid - Indicates the ID of the transit IP address.
- transit
Ip StringAddress - Indicates the transit IP address.
- transit
Ip StringId - Indicates the ID of the transit IP address.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud