1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getVpnSetting
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

    VpnSetting data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const settingsData = scm.getVpnSetting({
        id: "7e4287ab-dfec-48bc-866d-8fb2ae3e1c5f",
    });
    export const fetchedSettings = settingsData;
    
    import pulumi
    import pulumi_scm as scm
    
    settings_data = scm.get_vpn_setting(id="7e4287ab-dfec-48bc-866d-8fb2ae3e1c5f")
    pulumi.export("fetchedSettings", settings_data)
    
    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 {
    		settingsData, err := scm.LookupVpnSetting(ctx, &scm.LookupVpnSettingArgs{
    			Id: "7e4287ab-dfec-48bc-866d-8fb2ae3e1c5f",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedSettings", settingsData)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var settingsData = Scm.GetVpnSetting.Invoke(new()
        {
            Id = "7e4287ab-dfec-48bc-866d-8fb2ae3e1c5f",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedSettings"] = settingsData,
        };
    });
    
    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.GetVpnSettingArgs;
    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 settingsData = ScmFunctions.getVpnSetting(GetVpnSettingArgs.builder()
                .id("7e4287ab-dfec-48bc-866d-8fb2ae3e1c5f")
                .build());
    
            ctx.export("fetchedSettings", settingsData);
        }
    }
    
    variables:
      settingsData:
        fn::invoke:
          function: scm:getVpnSetting
          arguments:
            id: 7e4287ab-dfec-48bc-866d-8fb2ae3e1c5f
    outputs:
      fetchedSettings: ${settingsData}
    

    Using getVpnSetting

    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 getVpnSetting(args: GetVpnSettingArgs, opts?: InvokeOptions): Promise<GetVpnSettingResult>
    function getVpnSettingOutput(args: GetVpnSettingOutputArgs, opts?: InvokeOptions): Output<GetVpnSettingResult>
    def get_vpn_setting(device: Optional[str] = None,
                        folder: Optional[str] = None,
                        id: Optional[str] = None,
                        snippet: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetVpnSettingResult
    def get_vpn_setting_output(device: Optional[pulumi.Input[str]] = None,
                        folder: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        snippet: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetVpnSettingResult]
    func LookupVpnSetting(ctx *Context, args *LookupVpnSettingArgs, opts ...InvokeOption) (*LookupVpnSettingResult, error)
    func LookupVpnSettingOutput(ctx *Context, args *LookupVpnSettingOutputArgs, opts ...InvokeOption) LookupVpnSettingResultOutput

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

    public static class GetVpnSetting 
    {
        public static Task<GetVpnSettingResult> InvokeAsync(GetVpnSettingArgs args, InvokeOptions? opts = null)
        public static Output<GetVpnSettingResult> Invoke(GetVpnSettingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpnSettingResult> getVpnSetting(GetVpnSettingArgs args, InvokeOptions options)
    public static Output<GetVpnSettingResult> getVpnSetting(GetVpnSettingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getVpnSetting:getVpnSetting
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Snippet string
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Snippet string
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    snippet String
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    snippet string
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    snippet str
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    snippet String

    getVpnSetting Result

    The following output properties are available:

    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    Snippet string
    Tfid string
    Vpn GetVpnSettingVpn
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    Snippet string
    Tfid string
    Vpn GetVpnSettingVpn
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    snippet String
    tfid String
    vpn GetVpnSettingVpn
    device string
    The device in which the resource is defined
    folder string
    id string
    UUID of the resource
    snippet string
    tfid string
    vpn GetVpnSettingVpn
    device str
    The device in which the resource is defined
    folder str
    id str
    UUID of the resource
    snippet str
    tfid str
    vpn GetVpnSettingVpn
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    snippet String
    tfid String
    vpn Property Map

    Supporting Types

    GetVpnSettingVpn

    GetVpnSettingVpnIkev2

    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