Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Define a data source for listing NAT rules
const pagedNatRulesList = scm.getNatRuleList({
folder: "All",
limit: 10,
offset: 10,
position: "pre",
});
export const fetchedNATRuleListSummary = {
totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
};
import pulumi
import pulumi_scm as scm
# Define a data source for listing NAT rules
paged_nat_rules_list = scm.get_nat_rule_list(folder="All",
limit=10,
offset=10,
position="pre")
pulumi.export("fetchedNATRuleListSummary", {
"totalRulesInList": paged_nat_rules_list.total,
"allRules": paged_nat_rules_list.datas,
})
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Define a data source for listing NAT rules
pagedNatRulesList, err := scm.GetNatRuleList(ctx, &scm.GetNatRuleListArgs{
Folder: pulumi.StringRef("All"),
Limit: pulumi.IntRef(10),
Offset: pulumi.IntRef(10),
Position: "pre",
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedNATRuleListSummary", pulumi.Map{
"totalRulesInList": pagedNatRulesList.Total,
"allRules": pagedNatRulesList.Datas,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Define a data source for listing NAT rules
var pagedNatRulesList = Scm.GetNatRuleList.Invoke(new()
{
Folder = "All",
Limit = 10,
Offset = 10,
Position = "pre",
});
return new Dictionary<string, object?>
{
["fetchedNATRuleListSummary"] =
{
{ "totalRulesInList", pagedNatRulesList.Apply(getNatRuleListResult => getNatRuleListResult.Total) },
{ "allRules", pagedNatRulesList.Apply(getNatRuleListResult => getNatRuleListResult.Datas) },
},
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetNatRuleListArgs;
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) {
// Define a data source for listing NAT rules
final var pagedNatRulesList = ScmFunctions.getNatRuleList(GetNatRuleListArgs.builder()
.folder("All")
.limit(10)
.offset(10)
.position("pre")
.build());
ctx.export("fetchedNATRuleListSummary", Map.ofEntries(
Map.entry("totalRulesInList", pagedNatRulesList.total()),
Map.entry("allRules", pagedNatRulesList.datas())
));
}
}
variables:
# Define a data source for listing NAT rules
pagedNatRulesList:
fn::invoke:
function: scm:getNatRuleList
arguments:
folder: All
limit: 10
offset: 10
position: pre
outputs:
# --- Output Block to Print Retrieved Data ---
fetchedNATRuleListSummary:
totalRulesInList: ${pagedNatRulesList.total}
allRules: ${pagedNatRulesList.datas}
Using getNatRuleList
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 getNatRuleList(args: GetNatRuleListArgs, opts?: InvokeOptions): Promise<GetNatRuleListResult>
function getNatRuleListOutput(args: GetNatRuleListOutputArgs, opts?: InvokeOptions): Output<GetNatRuleListResult>def get_nat_rule_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
position: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNatRuleListResult
def get_nat_rule_list_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
offset: Optional[pulumi.Input[int]] = None,
position: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatRuleListResult]func GetNatRuleList(ctx *Context, args *GetNatRuleListArgs, opts ...InvokeOption) (*GetNatRuleListResult, error)
func GetNatRuleListOutput(ctx *Context, args *GetNatRuleListOutputArgs, opts ...InvokeOption) GetNatRuleListResultOutput> Note: This function is named GetNatRuleList in the Go SDK.
public static class GetNatRuleList
{
public static Task<GetNatRuleListResult> InvokeAsync(GetNatRuleListArgs args, InvokeOptions? opts = null)
public static Output<GetNatRuleListResult> Invoke(GetNatRuleListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNatRuleListResult> getNatRuleList(GetNatRuleListArgs args, InvokeOptions options)
public static Output<GetNatRuleListResult> getNatRuleList(GetNatRuleListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getNatRuleList:getNatRuleList
arguments:
# arguments dictionaryThe following arguments are supported:
- Position string
- The relative position of the rule
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Position string
- The relative position of the rule
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- position String
- The relative position of the rule
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- position string
- The relative position of the rule
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- position String
- The relative position of the rule
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
getNatRuleList Result
The following output properties are available:
- Datas
List<Get
Nat Rule List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Position string
- The relative position of the rule
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Nat Rule List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Position string
- The relative position of the rule
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas
List<Get
Nat Rule List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- position String
- The relative position of the rule
- tfid String
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Nat Rule List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- position string
- The relative position of the rule
- tfid string
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Nat Rule List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- position str
- The relative position of the rule
- tfid str
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- position String
- The relative position of the rule
- tfid String
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetNatRuleListData
- Active
Active stringDevice Binding - Active active device binding
- Description string
- NAT rule description
- Destination
Translation GetNat Rule List Data Destination Translation - Destination translation
- Destinations List<string>
- Destination address(es) of the original packet
- Device string
- The device in which the resource is defined
- Disabled bool
- Disable NAT rule?
- Dynamic
Destination GetTranslation Nat Rule List Data Dynamic Destination Translation - Dynamic destination translation
- Folder string
- The folder in which the resource is defined
- Froms List<string>
- Source zone(s) of the original packet
- Id string
- UUID of the resource
- Name string
- NAT rule name
- Nat
Type string - NAT type
- Position string
- The relative position of the rule
- Service string
- The service of the original packet
- Snippet string
- The snippet in which the resource is defined
- Source
Translation GetNat Rule List Data Source Translation - Source translation
- Sources List<string>
- Source address(es) of the original packet
- List<string>
- NAT rule tags
- Tfid string
- To
Interface string - Destination interface of the original packet
- Tos List<string>
- Destination zone of the original packet
- Active
Active stringDevice Binding - Active active device binding
- Description string
- NAT rule description
- Destination
Translation GetNat Rule List Data Destination Translation - Destination translation
- Destinations []string
- Destination address(es) of the original packet
- Device string
- The device in which the resource is defined
- Disabled bool
- Disable NAT rule?
- Dynamic
Destination GetTranslation Nat Rule List Data Dynamic Destination Translation - Dynamic destination translation
- Folder string
- The folder in which the resource is defined
- Froms []string
- Source zone(s) of the original packet
- Id string
- UUID of the resource
- Name string
- NAT rule name
- Nat
Type string - NAT type
- Position string
- The relative position of the rule
- Service string
- The service of the original packet
- Snippet string
- The snippet in which the resource is defined
- Source
Translation GetNat Rule List Data Source Translation - Source translation
- Sources []string
- Source address(es) of the original packet
- []string
- NAT rule tags
- Tfid string
- To
Interface string - Destination interface of the original packet
- Tos []string
- Destination zone of the original packet
- active
Active StringDevice Binding - Active active device binding
- description String
- NAT rule description
- destination
Translation GetNat Rule List Data Destination Translation - Destination translation
- destinations List<String>
- Destination address(es) of the original packet
- device String
- The device in which the resource is defined
- disabled Boolean
- Disable NAT rule?
- dynamic
Destination GetTranslation Nat Rule List Data Dynamic Destination Translation - Dynamic destination translation
- folder String
- The folder in which the resource is defined
- froms List<String>
- Source zone(s) of the original packet
- id String
- UUID of the resource
- name String
- NAT rule name
- nat
Type String - NAT type
- position String
- The relative position of the rule
- service String
- The service of the original packet
- snippet String
- The snippet in which the resource is defined
- source
Translation GetNat Rule List Data Source Translation - Source translation
- sources List<String>
- Source address(es) of the original packet
- List<String>
- NAT rule tags
- tfid String
- to
Interface String - Destination interface of the original packet
- tos List<String>
- Destination zone of the original packet
- active
Active stringDevice Binding - Active active device binding
- description string
- NAT rule description
- destination
Translation GetNat Rule List Data Destination Translation - Destination translation
- destinations string[]
- Destination address(es) of the original packet
- device string
- The device in which the resource is defined
- disabled boolean
- Disable NAT rule?
- dynamic
Destination GetTranslation Nat Rule List Data Dynamic Destination Translation - Dynamic destination translation
- folder string
- The folder in which the resource is defined
- froms string[]
- Source zone(s) of the original packet
- id string
- UUID of the resource
- name string
- NAT rule name
- nat
Type string - NAT type
- position string
- The relative position of the rule
- service string
- The service of the original packet
- snippet string
- The snippet in which the resource is defined
- source
Translation GetNat Rule List Data Source Translation - Source translation
- sources string[]
- Source address(es) of the original packet
- string[]
- NAT rule tags
- tfid string
- to
Interface string - Destination interface of the original packet
- tos string[]
- Destination zone of the original packet
- active_
active_ strdevice_ binding - Active active device binding
- description str
- NAT rule description
- destination_
translation GetNat Rule List Data Destination Translation - Destination translation
- destinations Sequence[str]
- Destination address(es) of the original packet
- device str
- The device in which the resource is defined
- disabled bool
- Disable NAT rule?
- dynamic_
destination_ Gettranslation Nat Rule List Data Dynamic Destination Translation - Dynamic destination translation
- folder str
- The folder in which the resource is defined
- froms Sequence[str]
- Source zone(s) of the original packet
- id str
- UUID of the resource
- name str
- NAT rule name
- nat_
type str - NAT type
- position str
- The relative position of the rule
- service str
- The service of the original packet
- snippet str
- The snippet in which the resource is defined
- source_
translation GetNat Rule List Data Source Translation - Source translation
- sources Sequence[str]
- Source address(es) of the original packet
- Sequence[str]
- NAT rule tags
- tfid str
- to_
interface str - Destination interface of the original packet
- tos Sequence[str]
- Destination zone of the original packet
- active
Active StringDevice Binding - Active active device binding
- description String
- NAT rule description
- destination
Translation Property Map - Destination translation
- destinations List<String>
- Destination address(es) of the original packet
- device String
- The device in which the resource is defined
- disabled Boolean
- Disable NAT rule?
- dynamic
Destination Property MapTranslation - Dynamic destination translation
- folder String
- The folder in which the resource is defined
- froms List<String>
- Source zone(s) of the original packet
- id String
- UUID of the resource
- name String
- NAT rule name
- nat
Type String - NAT type
- position String
- The relative position of the rule
- service String
- The service of the original packet
- snippet String
- The snippet in which the resource is defined
- source
Translation Property Map - Source translation
- sources List<String>
- Source address(es) of the original packet
- List<String>
- NAT rule tags
- tfid String
- to
Interface String - Destination interface of the original packet
- tos List<String>
- Destination zone of the original packet
GetNatRuleListDataDestinationTranslation
- Dns
Rewrite GetNat Rule List Data Destination Translation Dns Rewrite - DNS rewrite
- Translated
Address string - Translated destination IP address
- Translated
Port int - Translated destination port
- Dns
Rewrite GetNat Rule List Data Destination Translation Dns Rewrite - DNS rewrite
- Translated
Address string - Translated destination IP address
- Translated
Port int - Translated destination port
- dns
Rewrite GetNat Rule List Data Destination Translation Dns Rewrite - DNS rewrite
- translated
Address String - Translated destination IP address
- translated
Port Integer - Translated destination port
- dns
Rewrite GetNat Rule List Data Destination Translation Dns Rewrite - DNS rewrite
- translated
Address string - Translated destination IP address
- translated
Port number - Translated destination port
- dns_
rewrite GetNat Rule List Data Destination Translation Dns Rewrite - DNS rewrite
- translated_
address str - Translated destination IP address
- translated_
port int - Translated destination port
- dns
Rewrite Property Map - DNS rewrite
- translated
Address String - Translated destination IP address
- translated
Port Number - Translated destination port
GetNatRuleListDataDestinationTranslationDnsRewrite
- Direction string
- Direction
- Direction string
- Direction
- direction String
- Direction
- direction string
- Direction
- direction str
- Direction
- direction String
- Direction
GetNatRuleListDataDynamicDestinationTranslation
- Distribution string
- Distribution method
- Translated
Address string - Translated destination IP address
- Translated
Port int - Translated destination port
- Distribution string
- Distribution method
- Translated
Address string - Translated destination IP address
- Translated
Port int - Translated destination port
- distribution String
- Distribution method
- translated
Address String - Translated destination IP address
- translated
Port Integer - Translated destination port
- distribution string
- Distribution method
- translated
Address string - Translated destination IP address
- translated
Port number - Translated destination port
- distribution str
- Distribution method
- translated_
address str - Translated destination IP address
- translated_
port int - Translated destination port
- distribution String
- Distribution method
- translated
Address String - Translated destination IP address
- translated
Port Number - Translated destination port
GetNatRuleListDataSourceTranslation
- dynamic
Ip Property Map - Dynamic IP
- dynamic
Ip Property MapAnd Port - Dynamic IP and port
- static
Ip Property Map - Static IP
GetNatRuleListDataSourceTranslationDynamicIp
- Fallback
Get
Nat Rule List Data Source Translation Dynamic Ip Fallback - Fallback
- Translated
Addresses List<string> - Translated IP addresses
- Fallback
Get
Nat Rule List Data Source Translation Dynamic Ip Fallback - Fallback
- Translated
Addresses []string - Translated IP addresses
- fallback
Get
Nat Rule List Data Source Translation Dynamic Ip Fallback - Fallback
- translated
Addresses List<String> - Translated IP addresses
- fallback
Get
Nat Rule List Data Source Translation Dynamic Ip Fallback - Fallback
- translated
Addresses string[] - Translated IP addresses
- fallback
Get
Nat Rule List Data Source Translation Dynamic Ip Fallback - Fallback
- translated_
addresses Sequence[str] - Translated IP addresses
- fallback Property Map
- Fallback
- translated
Addresses List<String> - Translated IP addresses
GetNatRuleListDataSourceTranslationDynamicIpAndPort
- Interface
Address GetNat Rule List Data Source Translation Dynamic Ip And Port Interface Address - Translated source interface
- Translated
Addresses List<string> - Translated source IP addresses
- Interface
Address GetNat Rule List Data Source Translation Dynamic Ip And Port Interface Address - Translated source interface
- Translated
Addresses []string - Translated source IP addresses
- interface
Address GetNat Rule List Data Source Translation Dynamic Ip And Port Interface Address - Translated source interface
- translated
Addresses List<String> - Translated source IP addresses
- interface
Address GetNat Rule List Data Source Translation Dynamic Ip And Port Interface Address - Translated source interface
- translated
Addresses string[] - Translated source IP addresses
- interface_
address GetNat Rule List Data Source Translation Dynamic Ip And Port Interface Address - Translated source interface
- translated_
addresses Sequence[str] - Translated source IP addresses
- interface
Address Property Map - Translated source interface
- translated
Addresses List<String> - Translated source IP addresses
GetNatRuleListDataSourceTranslationDynamicIpAndPortInterfaceAddress
- Floating
Ip string - Floating IP address
- Interface string
- Interface name
- Ip string
- Translated source IP address
- Floating
Ip string - Floating IP address
- Interface string
- Interface name
- Ip string
- Translated source IP address
- floating
Ip String - Floating IP address
- interface_ String
- Interface name
- ip String
- Translated source IP address
- floating
Ip string - Floating IP address
- interface string
- Interface name
- ip string
- Translated source IP address
- floating_
ip str - Floating IP address
- interface str
- Interface name
- ip str
- Translated source IP address
- floating
Ip String - Floating IP address
- interface String
- Interface name
- ip String
- Translated source IP address
GetNatRuleListDataSourceTranslationDynamicIpFallback
- Interface
Address GetNat Rule List Data Source Translation Dynamic Ip Fallback Interface Address - Fallback interface
- Translated
Addresses List<string> - Fallback IP addresses
- Interface
Address GetNat Rule List Data Source Translation Dynamic Ip Fallback Interface Address - Fallback interface
- Translated
Addresses []string - Fallback IP addresses
- interface
Address GetNat Rule List Data Source Translation Dynamic Ip Fallback Interface Address - Fallback interface
- translated
Addresses List<String> - Fallback IP addresses
- interface
Address GetNat Rule List Data Source Translation Dynamic Ip Fallback Interface Address - Fallback interface
- translated
Addresses string[] - Fallback IP addresses
- interface_
address GetNat Rule List Data Source Translation Dynamic Ip Fallback Interface Address - Fallback interface
- translated_
addresses Sequence[str] - Fallback IP addresses
- interface
Address Property Map - Fallback interface
- translated
Addresses List<String> - Fallback IP addresses
GetNatRuleListDataSourceTranslationDynamicIpFallbackInterfaceAddress
- Floating
Ip string - Floating IP address
- Interface string
- Interface name
- Ip string
- IP address
- Floating
Ip string - Floating IP address
- Interface string
- Interface name
- Ip string
- IP address
- floating
Ip String - Floating IP address
- interface_ String
- Interface name
- ip String
- IP address
- floating
Ip string - Floating IP address
- interface string
- Interface name
- ip string
- IP address
- floating_
ip str - Floating IP address
- interface str
- Interface name
- ip str
- IP address
- floating
Ip String - Floating IP address
- interface String
- Interface name
- ip String
- IP address
GetNatRuleListDataSourceTranslationStaticIp
- Bi
Directional string - Bi directional
- Translated
Address string - Translated IP address
- Bi
Directional string - Bi directional
- Translated
Address string - Translated IP address
- bi
Directional String - Bi directional
- translated
Address String - Translated IP address
- bi
Directional string - Bi directional
- translated
Address string - Translated IP address
- bi_
directional str - Bi directional
- translated_
address str - Translated IP address
- bi
Directional String - Bi directional
- translated
Address String - Translated IP address
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
