1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getSessionTimeoutList
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
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.getSessionTimeoutList({
        folder: "All",
    });
    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_session_timeout_list(folder="All")
    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.GetSessionTimeoutList(ctx, &scm.GetSessionTimeoutListArgs{
    			Folder: pulumi.StringRef("All"),
    		}, 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.GetSessionTimeoutList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedSettingListSummary"] = 
            {
                { "countOfSettingsFetched", allSettings.Apply(getSessionTimeoutListResult => getSessionTimeoutListResult.Total) },
                { "value", allSettings.Apply(getSessionTimeoutListResult => getSessionTimeoutListResult.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.GetSessionTimeoutListArgs;
    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.getSessionTimeoutList(GetSessionTimeoutListArgs.builder()
                .folder("All")
                .build());
    
            ctx.export("fetchedSettingListSummary", Map.ofEntries(
                Map.entry("countOfSettingsFetched", allSettings.total()),
                Map.entry("value", allSettings.datas()[0])
            ));
        }
    }
    
    variables:
      allSettings:
        fn::invoke:
          function: scm:getSessionTimeoutList
          arguments:
            folder: All
    outputs:
      # -----------------------------------------------------------------------------
      # OUTPUT: Display the fetched list data
      # -----------------------------------------------------------------------------
      fetchedSettingListSummary:
        countOfSettingsFetched: ${allSettings.total}
        value: ${allSettings.datas[0]}
    

    Using getSessionTimeoutList

    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 getSessionTimeoutList(args: GetSessionTimeoutListArgs, opts?: InvokeOptions): Promise<GetSessionTimeoutListResult>
    function getSessionTimeoutListOutput(args: GetSessionTimeoutListOutputArgs, opts?: InvokeOptions): Output<GetSessionTimeoutListResult>
    def get_session_timeout_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) -> GetSessionTimeoutListResult
    def get_session_timeout_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[GetSessionTimeoutListResult]
    func GetSessionTimeoutList(ctx *Context, args *GetSessionTimeoutListArgs, opts ...InvokeOption) (*GetSessionTimeoutListResult, error)
    func GetSessionTimeoutListOutput(ctx *Context, args *GetSessionTimeoutListOutputArgs, opts ...InvokeOption) GetSessionTimeoutListResultOutput

    > Note: This function is named GetSessionTimeoutList in the Go SDK.

    public static class GetSessionTimeoutList 
    {
        public static Task<GetSessionTimeoutListResult> InvokeAsync(GetSessionTimeoutListArgs args, InvokeOptions? opts = null)
        public static Output<GetSessionTimeoutListResult> Invoke(GetSessionTimeoutListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSessionTimeoutListResult> getSessionTimeoutList(GetSessionTimeoutListArgs args, InvokeOptions options)
    public static Output<GetSessionTimeoutListResult> getSessionTimeoutList(GetSessionTimeoutListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getSessionTimeoutList:getSessionTimeoutList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    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.
    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.
    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.
    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.
    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.

    getSessionTimeoutList Result

    The following output properties are available:

    Datas List<GetSessionTimeoutListData>
    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 []GetSessionTimeoutListData
    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<GetSessionTimeoutListData>
    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 GetSessionTimeoutListData[]
    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[GetSessionTimeoutListData]
    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

    GetSessionTimeoutListData

    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    Id string
    UUID of the resource
    SessionTimeouts GetSessionTimeoutListDataSessionTimeouts
    Session timeouts
    Snippet string
    The snippet of the item.
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    Id string
    UUID of the resource
    SessionTimeouts GetSessionTimeoutListDataSessionTimeouts
    Session timeouts
    Snippet string
    The snippet of the item.
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    The folder of the item. Default: Shared.
    id String
    UUID of the resource
    sessionTimeouts GetSessionTimeoutListDataSessionTimeouts
    Session timeouts
    snippet String
    The snippet of the item.
    tfid String
    device string
    The device in which the resource is defined
    folder string
    The folder of the item. Default: Shared.
    id string
    UUID of the resource
    sessionTimeouts GetSessionTimeoutListDataSessionTimeouts
    Session timeouts
    snippet string
    The snippet of the item.
    tfid string
    device str
    The device in which the resource is defined
    folder str
    The folder of the item. Default: Shared.
    id str
    UUID of the resource
    session_timeouts GetSessionTimeoutListDataSessionTimeouts
    Session timeouts
    snippet str
    The snippet of the item.
    tfid str
    device String
    The device in which the resource is defined
    folder String
    The folder of the item. Default: Shared.
    id String
    UUID of the resource
    sessionTimeouts Property Map
    Session timeouts
    snippet String
    The snippet of the item.
    tfid String

    GetSessionTimeoutListDataSessionTimeouts

    TimeoutCaptivePortal int
    Captive Portal (seconds)
    TimeoutDefault int
    Default timeout (seconds)
    TimeoutDiscardDefault int
    Discard default (seconds)
    TimeoutDiscardTcp int
    Discard TCP (seconds)
    TimeoutDiscardUdp int
    Discard UDP (seconds)
    TimeoutIcmp int
    ICMP (seconds)
    TimeoutScan int
    Scan (seconds)
    TimeoutTcp int
    TCP (seconds)
    TimeoutTcpHalfClosed int
    TCP Half Closed (seconds)
    TimeoutTcpTimeWait int
    TCP Time Wait (seconds)
    TimeoutTcpUnverifiedRst int
    Unverified RST (seconds)
    TimeoutTcphandshake int
    TCP handshake (seconds)
    TimeoutTcpinit int
    TCP init (seconds)
    TimeoutUdp int
    UDP (seconds)
    TimeoutCaptivePortal int
    Captive Portal (seconds)
    TimeoutDefault int
    Default timeout (seconds)
    TimeoutDiscardDefault int
    Discard default (seconds)
    TimeoutDiscardTcp int
    Discard TCP (seconds)
    TimeoutDiscardUdp int
    Discard UDP (seconds)
    TimeoutIcmp int
    ICMP (seconds)
    TimeoutScan int
    Scan (seconds)
    TimeoutTcp int
    TCP (seconds)
    TimeoutTcpHalfClosed int
    TCP Half Closed (seconds)
    TimeoutTcpTimeWait int
    TCP Time Wait (seconds)
    TimeoutTcpUnverifiedRst int
    Unverified RST (seconds)
    TimeoutTcphandshake int
    TCP handshake (seconds)
    TimeoutTcpinit int
    TCP init (seconds)
    TimeoutUdp int
    UDP (seconds)
    timeoutCaptivePortal Integer
    Captive Portal (seconds)
    timeoutDefault Integer
    Default timeout (seconds)
    timeoutDiscardDefault Integer
    Discard default (seconds)
    timeoutDiscardTcp Integer
    Discard TCP (seconds)
    timeoutDiscardUdp Integer
    Discard UDP (seconds)
    timeoutIcmp Integer
    ICMP (seconds)
    timeoutScan Integer
    Scan (seconds)
    timeoutTcp Integer
    TCP (seconds)
    timeoutTcpHalfClosed Integer
    TCP Half Closed (seconds)
    timeoutTcpTimeWait Integer
    TCP Time Wait (seconds)
    timeoutTcpUnverifiedRst Integer
    Unverified RST (seconds)
    timeoutTcphandshake Integer
    TCP handshake (seconds)
    timeoutTcpinit Integer
    TCP init (seconds)
    timeoutUdp Integer
    UDP (seconds)
    timeoutCaptivePortal number
    Captive Portal (seconds)
    timeoutDefault number
    Default timeout (seconds)
    timeoutDiscardDefault number
    Discard default (seconds)
    timeoutDiscardTcp number
    Discard TCP (seconds)
    timeoutDiscardUdp number
    Discard UDP (seconds)
    timeoutIcmp number
    ICMP (seconds)
    timeoutScan number
    Scan (seconds)
    timeoutTcp number
    TCP (seconds)
    timeoutTcpHalfClosed number
    TCP Half Closed (seconds)
    timeoutTcpTimeWait number
    TCP Time Wait (seconds)
    timeoutTcpUnverifiedRst number
    Unverified RST (seconds)
    timeoutTcphandshake number
    TCP handshake (seconds)
    timeoutTcpinit number
    TCP init (seconds)
    timeoutUdp number
    UDP (seconds)
    timeout_captive_portal int
    Captive Portal (seconds)
    timeout_default int
    Default timeout (seconds)
    timeout_discard_default int
    Discard default (seconds)
    timeout_discard_tcp int
    Discard TCP (seconds)
    timeout_discard_udp int
    Discard UDP (seconds)
    timeout_icmp int
    ICMP (seconds)
    timeout_scan int
    Scan (seconds)
    timeout_tcp int
    TCP (seconds)
    timeout_tcp_half_closed int
    TCP Half Closed (seconds)
    timeout_tcp_time_wait int
    TCP Time Wait (seconds)
    timeout_tcp_unverified_rst int
    Unverified RST (seconds)
    timeout_tcphandshake int
    TCP handshake (seconds)
    timeout_tcpinit int
    TCP init (seconds)
    timeout_udp int
    UDP (seconds)
    timeoutCaptivePortal Number
    Captive Portal (seconds)
    timeoutDefault Number
    Default timeout (seconds)
    timeoutDiscardDefault Number
    Discard default (seconds)
    timeoutDiscardTcp Number
    Discard TCP (seconds)
    timeoutDiscardUdp Number
    Discard UDP (seconds)
    timeoutIcmp Number
    ICMP (seconds)
    timeoutScan Number
    Scan (seconds)
    timeoutTcp Number
    TCP (seconds)
    timeoutTcpHalfClosed Number
    TCP Half Closed (seconds)
    timeoutTcpTimeWait Number
    TCP Time Wait (seconds)
    timeoutTcpUnverifiedRst Number
    Unverified RST (seconds)
    timeoutTcphandshake Number
    TCP handshake (seconds)
    timeoutTcpinit Number
    TCP init (seconds)
    timeoutUdp Number
    UDP (seconds)

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate