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

    Using getVpnSettingList

    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 getVpnSettingList(args: GetVpnSettingListArgs, opts?: InvokeOptions): Promise<GetVpnSettingListResult>
    function getVpnSettingListOutput(args: GetVpnSettingListOutputArgs, opts?: InvokeOptions): Output<GetVpnSettingListResult>
    def get_vpn_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) -> GetVpnSettingListResult
    def get_vpn_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[GetVpnSettingListResult]
    func GetVpnSettingList(ctx *Context, args *GetVpnSettingListArgs, opts ...InvokeOption) (*GetVpnSettingListResult, error)
    func GetVpnSettingListOutput(ctx *Context, args *GetVpnSettingListOutputArgs, opts ...InvokeOption) GetVpnSettingListResultOutput

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

    public static class GetVpnSettingList 
    {
        public static Task<GetVpnSettingListResult> InvokeAsync(GetVpnSettingListArgs args, InvokeOptions? opts = null)
        public static Output<GetVpnSettingListResult> Invoke(GetVpnSettingListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpnSettingListResult> getVpnSettingList(GetVpnSettingListArgs args, InvokeOptions options)
    public static Output<GetVpnSettingListResult> getVpnSettingList(GetVpnSettingListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getVpnSettingList:getVpnSettingList
      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.

    getVpnSettingList Result

    The following output properties are available:

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

    GetVpnSettingListData

    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
    Snippet string
    The snippet of the item.
    Tfid string
    Vpn GetVpnSettingListDataVpn
    Vpn
    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
    Snippet string
    The snippet of the item.
    Tfid string
    Vpn GetVpnSettingListDataVpn
    Vpn
    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
    snippet String
    The snippet of the item.
    tfid String
    vpn GetVpnSettingListDataVpn
    Vpn
    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
    snippet string
    The snippet of the item.
    tfid string
    vpn GetVpnSettingListDataVpn
    Vpn
    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
    snippet str
    The snippet of the item.
    tfid str
    vpn GetVpnSettingListDataVpn
    Vpn
    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
    snippet String
    The snippet of the item.
    tfid String
    vpn Property Map
    Vpn

    GetVpnSettingListDataVpn

    GetVpnSettingListDataVpnIkev2

    CertificateCacheSize int
    Maximum cached certificates
    CookieThreshold int
    Cookie activation threshold
    MaxHalfOpenedSa int
    Maximum half-opened SA
    CertificateCacheSize int
    Maximum cached certificates
    CookieThreshold int
    Cookie activation threshold
    MaxHalfOpenedSa int
    Maximum half-opened SA
    certificateCacheSize Integer
    Maximum cached certificates
    cookieThreshold Integer
    Cookie activation threshold
    maxHalfOpenedSa Integer
    Maximum half-opened SA
    certificateCacheSize number
    Maximum cached certificates
    cookieThreshold number
    Cookie activation threshold
    maxHalfOpenedSa number
    Maximum half-opened SA
    certificate_cache_size int
    Maximum cached certificates
    cookie_threshold int
    Cookie activation threshold
    max_half_opened_sa int
    Maximum half-opened SA
    certificateCacheSize Number
    Maximum cached certificates
    cookieThreshold Number
    Cookie activation threshold
    maxHalfOpenedSa Number
    Maximum half-opened SA

    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