1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getGeneralSettingList
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.getGeneralSettingList({
        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_general_setting_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.GetGeneralSettingList(ctx, &scm.GetGeneralSettingListArgs{
    			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.GetGeneralSettingList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedSettingListSummary"] = 
            {
                { "countOfSettingsFetched", allSettings.Apply(getGeneralSettingListResult => getGeneralSettingListResult.Total) },
                { "value", allSettings.Apply(getGeneralSettingListResult => getGeneralSettingListResult.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.GetGeneralSettingListArgs;
    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.getGeneralSettingList(GetGeneralSettingListArgs.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:getGeneralSettingList
          arguments:
            folder: All
    outputs:
      # -----------------------------------------------------------------------------
      # OUTPUT: Display the fetched list data
      # -----------------------------------------------------------------------------
      fetchedSettingListSummary:
        countOfSettingsFetched: ${allSettings.total}
        value: ${allSettings.datas[0]}
    

    Using getGeneralSettingList

    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 getGeneralSettingList(args: GetGeneralSettingListArgs, opts?: InvokeOptions): Promise<GetGeneralSettingListResult>
    function getGeneralSettingListOutput(args: GetGeneralSettingListOutputArgs, opts?: InvokeOptions): Output<GetGeneralSettingListResult>
    def get_general_setting_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) -> GetGeneralSettingListResult
    def get_general_setting_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[GetGeneralSettingListResult]
    func GetGeneralSettingList(ctx *Context, args *GetGeneralSettingListArgs, opts ...InvokeOption) (*GetGeneralSettingListResult, error)
    func GetGeneralSettingListOutput(ctx *Context, args *GetGeneralSettingListOutputArgs, opts ...InvokeOption) GetGeneralSettingListResultOutput

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

    public static class GetGeneralSettingList 
    {
        public static Task<GetGeneralSettingListResult> InvokeAsync(GetGeneralSettingListArgs args, InvokeOptions? opts = null)
        public static Output<GetGeneralSettingListResult> Invoke(GetGeneralSettingListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGeneralSettingListResult> getGeneralSettingList(GetGeneralSettingListArgs args, InvokeOptions options)
    public static Output<GetGeneralSettingListResult> getGeneralSettingList(GetGeneralSettingListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getGeneralSettingList:getGeneralSettingList
      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.

    getGeneralSettingList Result

    The following output properties are available:

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

    GetGeneralSettingListData

    Device string
    The device in which the resource is defined
    Folder string
    The folder of the item. Default: Shared.
    General GetGeneralSettingListDataGeneral
    General
    Id string
    UUID of the resource
    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.
    General GetGeneralSettingListDataGeneral
    General
    Id string
    UUID of the resource
    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.
    general GetGeneralSettingListDataGeneral
    General
    id String
    UUID of the resource
    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.
    general GetGeneralSettingListDataGeneral
    General
    id string
    UUID of the resource
    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.
    general GetGeneralSettingListDataGeneral
    General
    id str
    UUID of the resource
    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.
    general Property Map
    General
    id String
    UUID of the resource
    snippet String
    The snippet of the item.
    tfid String

    GetGeneralSettingListDataGeneral

    AckLoginBanner bool
    Force admins to acknowledge login banner
    Domain string
    DNS domain
    GeoLocation GetGeneralSettingListDataGeneralGeoLocation
    Geographic coordinates
    Locale string
    Locale
    LoginBanner string
    Logon banner
    Setting GetGeneralSettingListDataGeneralSetting
    Setting
    SslTlsServiceProfile string
    SSL/TLS service profile
    Timezone string
    Timezone
    AckLoginBanner bool
    Force admins to acknowledge login banner
    Domain string
    DNS domain
    GeoLocation GetGeneralSettingListDataGeneralGeoLocation
    Geographic coordinates
    Locale string
    Locale
    LoginBanner string
    Logon banner
    Setting GetGeneralSettingListDataGeneralSetting
    Setting
    SslTlsServiceProfile string
    SSL/TLS service profile
    Timezone string
    Timezone
    ackLoginBanner Boolean
    Force admins to acknowledge login banner
    domain String
    DNS domain
    geoLocation GetGeneralSettingListDataGeneralGeoLocation
    Geographic coordinates
    locale String
    Locale
    loginBanner String
    Logon banner
    setting GetGeneralSettingListDataGeneralSetting
    Setting
    sslTlsServiceProfile String
    SSL/TLS service profile
    timezone String
    Timezone
    ackLoginBanner boolean
    Force admins to acknowledge login banner
    domain string
    DNS domain
    geoLocation GetGeneralSettingListDataGeneralGeoLocation
    Geographic coordinates
    locale string
    Locale
    loginBanner string
    Logon banner
    setting GetGeneralSettingListDataGeneralSetting
    Setting
    sslTlsServiceProfile string
    SSL/TLS service profile
    timezone string
    Timezone
    ack_login_banner bool
    Force admins to acknowledge login banner
    domain str
    DNS domain
    geo_location GetGeneralSettingListDataGeneralGeoLocation
    Geographic coordinates
    locale str
    Locale
    login_banner str
    Logon banner
    setting GetGeneralSettingListDataGeneralSetting
    Setting
    ssl_tls_service_profile str
    SSL/TLS service profile
    timezone str
    Timezone
    ackLoginBanner Boolean
    Force admins to acknowledge login banner
    domain String
    DNS domain
    geoLocation Property Map
    Geographic coordinates
    locale String
    Locale
    loginBanner String
    Logon banner
    setting Property Map
    Setting
    sslTlsServiceProfile String
    SSL/TLS service profile
    timezone String
    Timezone

    GetGeneralSettingListDataGeneralGeoLocation

    Latitude string
    Latitude
    Longitude string
    Longitude
    Latitude string
    Latitude
    Longitude string
    Longitude
    latitude String
    Latitude
    longitude String
    Longitude
    latitude string
    Latitude
    longitude string
    Longitude
    latitude str
    Latitude
    longitude str
    Longitude
    latitude String
    Latitude
    longitude String
    Longitude

    GetGeneralSettingListDataGeneralSetting

    AutoMacDetect bool
    Use hypervisor assigned MAC addresses
    FailOpen bool
    Fail open
    Management GetGeneralSettingListDataGeneralSettingManagement
    Management
    TunnelAcceleration bool
    Tunnel acceleration
    AutoMacDetect bool
    Use hypervisor assigned MAC addresses
    FailOpen bool
    Fail open
    Management GetGeneralSettingListDataGeneralSettingManagement
    Management
    TunnelAcceleration bool
    Tunnel acceleration
    autoMacDetect Boolean
    Use hypervisor assigned MAC addresses
    failOpen Boolean
    Fail open
    management GetGeneralSettingListDataGeneralSettingManagement
    Management
    tunnelAcceleration Boolean
    Tunnel acceleration
    autoMacDetect boolean
    Use hypervisor assigned MAC addresses
    failOpen boolean
    Fail open
    management GetGeneralSettingListDataGeneralSettingManagement
    Management
    tunnelAcceleration boolean
    Tunnel acceleration
    auto_mac_detect bool
    Use hypervisor assigned MAC addresses
    fail_open bool
    Fail open
    management GetGeneralSettingListDataGeneralSettingManagement
    Management
    tunnel_acceleration bool
    Tunnel acceleration
    autoMacDetect Boolean
    Use hypervisor assigned MAC addresses
    failOpen Boolean
    Fail open
    management Property Map
    Management
    tunnelAcceleration Boolean
    Tunnel acceleration

    GetGeneralSettingListDataGeneralSettingManagement

    AutoAcquireCommitLock bool
    Automatically acquire commit lock
    EnableCertificateExpirationCheck bool
    Certificate expiration check
    AutoAcquireCommitLock bool
    Automatically acquire commit lock
    EnableCertificateExpirationCheck bool
    Certificate expiration check
    autoAcquireCommitLock Boolean
    Automatically acquire commit lock
    enableCertificateExpirationCheck Boolean
    Certificate expiration check
    autoAcquireCommitLock boolean
    Automatically acquire commit lock
    enableCertificateExpirationCheck boolean
    Certificate expiration check
    auto_acquire_commit_lock bool
    Automatically acquire commit lock
    enable_certificate_expiration_check bool
    Certificate expiration check
    autoAcquireCommitLock Boolean
    Automatically acquire commit lock
    enableCertificateExpirationCheck Boolean
    Certificate expiration check

    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