Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const allSettings = scm.getServiceRouteList({
folder: "ngfw-shared",
});
export const fetchedSettingListSummary = {
countOfSettingsFetched: allSettings.then(allSettings => allSettings.total),
value: allSettings.then(allSettings => allSettings.datas?.[0]),
};
import pulumi
import pulumi_scm as scm
all_settings = scm.get_service_route_list(folder="ngfw-shared")
pulumi.export("fetchedSettingListSummary", {
"countOfSettingsFetched": all_settings.total,
"value": all_settings.datas[0],
})
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 {
allSettings, err := scm.GetServiceRouteList(ctx, &scm.GetServiceRouteListArgs{
Folder: pulumi.StringRef("ngfw-shared"),
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedSettingListSummary", pulumi.Map{
"countOfSettingsFetched": allSettings.Total,
"value": allSettings.Datas[0],
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var allSettings = Scm.GetServiceRouteList.Invoke(new()
{
Folder = "ngfw-shared",
});
return new Dictionary<string, object?>
{
["fetchedSettingListSummary"] =
{
{ "countOfSettingsFetched", allSettings.Apply(getServiceRouteListResult => getServiceRouteListResult.Total) },
{ "value", allSettings.Apply(getServiceRouteListResult => getServiceRouteListResult.Datas[0]) },
},
};
});
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.GetServiceRouteListArgs;
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 allSettings = ScmFunctions.getServiceRouteList(GetServiceRouteListArgs.builder()
.folder("ngfw-shared")
.build());
ctx.export("fetchedSettingListSummary", Map.ofEntries(
Map.entry("countOfSettingsFetched", allSettings.total()),
Map.entry("value", allSettings.datas()[0])
));
}
}
variables:
allSettings:
fn::invoke:
function: scm:getServiceRouteList
arguments:
folder: ngfw-shared
outputs:
# -----------------------------------------------------------------------------
# OUTPUT: Display the fetched list data
# -----------------------------------------------------------------------------
fetchedSettingListSummary:
countOfSettingsFetched: ${allSettings.total}
value: ${allSettings.datas[0]}
Using getServiceRouteList
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 getServiceRouteList(args: GetServiceRouteListArgs, opts?: InvokeOptions): Promise<GetServiceRouteListResult>
function getServiceRouteListOutput(args: GetServiceRouteListOutputArgs, opts?: InvokeOptions): Output<GetServiceRouteListResult>def get_service_route_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceRouteListResult
def get_service_route_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,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceRouteListResult]func GetServiceRouteList(ctx *Context, args *GetServiceRouteListArgs, opts ...InvokeOption) (*GetServiceRouteListResult, error)
func GetServiceRouteListOutput(ctx *Context, args *GetServiceRouteListOutputArgs, opts ...InvokeOption) GetServiceRouteListResultOutput> Note: This function is named GetServiceRouteList in the Go SDK.
public static class GetServiceRouteList
{
public static Task<GetServiceRouteListResult> InvokeAsync(GetServiceRouteListArgs args, InvokeOptions? opts = null)
public static Output<GetServiceRouteListResult> Invoke(GetServiceRouteListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceRouteListResult> getServiceRouteList(GetServiceRouteListArgs args, InvokeOptions options)
public static Output<GetServiceRouteListResult> getServiceRouteList(GetServiceRouteListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getServiceRouteList:getServiceRouteList
arguments:
# arguments dictionaryThe following arguments are supported:
getServiceRouteList Result
The following output properties are available:
- Datas
List<Get
Service Route List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
Service Route List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
Service Route List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
Service Route List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- 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
Service Route List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
GetServiceRouteListData
GetServiceRouteListDataRoute
- destinations List<Property Map>
- Destination
- services List<Property Map>
- Service
GetServiceRouteListDataRouteDestination
- Name string
- Name
- Source
Get
Service Route List Data Route Destination Source - Source
- Name string
- Name
- Source
Get
Service Route List Data Route Destination Source - Source
- name String
- Name
- source
Get
Service Route List Data Route Destination Source - Source
- name string
- Name
- source
Get
Service Route List Data Route Destination Source - Source
- name str
- Name
- source
Get
Service Route List Data Route Destination Source - Source
- name String
- Name
- source Property Map
- Source
GetServiceRouteListDataRouteDestinationSource
- address String
- Address
- interface_ String
- Interface
GetServiceRouteListDataRouteService
- Name string
- The follow list details the accepted
namevalues and their corresponding service description. - Source
Get
Service Route List Data Route Service Source - Source
- Source
V6 GetService Route List Data Route Service Source V6 - Source v6
- Name string
- The follow list details the accepted
namevalues and their corresponding service description. - Source
Get
Service Route List Data Route Service Source - Source
- Source
V6 GetService Route List Data Route Service Source V6 - Source v6
- name String
- The follow list details the accepted
namevalues and their corresponding service description. - source
Get
Service Route List Data Route Service Source - Source
- source
V6 GetService Route List Data Route Service Source V6 - Source v6
- name string
- The follow list details the accepted
namevalues and their corresponding service description. - source
Get
Service Route List Data Route Service Source - Source
- source
V6 GetService Route List Data Route Service Source V6 - Source v6
- name str
- The follow list details the accepted
namevalues and their corresponding service description. - source
Get
Service Route List Data Route Service Source - Source
- source_
v6 GetService Route List Data Route Service Source V6 - Source v6
- name String
- The follow list details the accepted
namevalues and their corresponding service description. - source Property Map
- Source
- source
V6 Property Map - Source v6
GetServiceRouteListDataRouteServiceSource
- address String
- Address
- interface_ String
- Interface
GetServiceRouteListDataRouteServiceSourceV6
- address String
- Address
- interface_ String
- Interface
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
