1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getConfigMatchList
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
scm logo
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi

    ConfigMatchList data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Look up the config match list by its ID.
    const configMatchListDs = scm.getConfigMatchList({
        id: "e8592b6e-b135-4792-b722-fc583a8f7b8e",
    });
    export const configMatchListDataSourceResults = configMatchListDs;
    
    import pulumi
    import pulumi_scm as scm
    
    # Look up the config match list by its ID.
    config_match_list_ds = scm.get_config_match_list(id="e8592b6e-b135-4792-b722-fc583a8f7b8e")
    pulumi.export("configMatchListDataSourceResults", config_match_list_ds)
    
    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 {
    		// Look up the config match list by its ID.
    		configMatchListDs, err := scm.LookupConfigMatchList(ctx, &scm.LookupConfigMatchListArgs{
    			Id: "e8592b6e-b135-4792-b722-fc583a8f7b8e",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("configMatchListDataSourceResults", configMatchListDs)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Look up the config match list by its ID.
        var configMatchListDs = Scm.GetConfigMatchList.Invoke(new()
        {
            Id = "e8592b6e-b135-4792-b722-fc583a8f7b8e",
        });
    
        return new Dictionary<string, object?>
        {
            ["configMatchListDataSourceResults"] = configMatchListDs,
        };
    });
    
    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.GetConfigMatchListArgs;
    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) {
            // Look up the config match list by its ID.
            final var configMatchListDs = ScmFunctions.getConfigMatchList(GetConfigMatchListArgs.builder()
                .id("e8592b6e-b135-4792-b722-fc583a8f7b8e")
                .build());
    
            ctx.export("configMatchListDataSourceResults", configMatchListDs);
        }
    }
    
    variables:
      # Look up the config match list by its ID.
      configMatchListDs:
        fn::invoke:
          function: scm:getConfigMatchList
          arguments:
            id: e8592b6e-b135-4792-b722-fc583a8f7b8e
    outputs:
      # Output the details of the config match list
      configMatchListDataSourceResults: ${configMatchListDs}
    

    Using getConfigMatchList

    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 getConfigMatchList(args: GetConfigMatchListArgs, opts?: InvokeOptions): Promise<GetConfigMatchListResult>
    function getConfigMatchListOutput(args: GetConfigMatchListOutputArgs, opts?: InvokeOptions): Output<GetConfigMatchListResult>
    def get_config_match_list(device: Optional[str] = None,
                              folder: Optional[str] = None,
                              id: Optional[str] = None,
                              name: Optional[str] = None,
                              snippet: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetConfigMatchListResult
    def get_config_match_list_output(device: Optional[pulumi.Input[str]] = None,
                              folder: Optional[pulumi.Input[str]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              snippet: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetConfigMatchListResult]
    func LookupConfigMatchList(ctx *Context, args *LookupConfigMatchListArgs, opts ...InvokeOption) (*LookupConfigMatchListResult, error)
    func LookupConfigMatchListOutput(ctx *Context, args *LookupConfigMatchListOutputArgs, opts ...InvokeOption) LookupConfigMatchListResultOutput

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

    public static class GetConfigMatchList 
    {
        public static Task<GetConfigMatchListResult> InvokeAsync(GetConfigMatchListArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigMatchListResult> Invoke(GetConfigMatchListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConfigMatchListResult> getConfigMatchList(GetConfigMatchListArgs args, InvokeOptions options)
    public static Output<GetConfigMatchListResult> getConfigMatchList(GetConfigMatchListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getConfigMatchList:getConfigMatchList
      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
    Name string
    Snippet string
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getConfigMatchList Result

    The following output properties are available:

    Description string
    Device string
    The device in which the resource is defined
    Filter string
    Folder string
    Id string
    UUID of the resource
    Name string
    SendEmails List<string>
    SendHttps List<string>
    SendSnmptraps List<string>
    SendSyslogs List<string>
    SendToPanorama bool
    Snippet string
    Tfid string
    Description string
    Device string
    The device in which the resource is defined
    Filter string
    Folder string
    Id string
    UUID of the resource
    Name string
    SendEmails []string
    SendHttps []string
    SendSnmptraps []string
    SendSyslogs []string
    SendToPanorama bool
    Snippet string
    Tfid string
    description String
    device String
    The device in which the resource is defined
    filter String
    folder String
    id String
    UUID of the resource
    name String
    sendEmails List<String>
    sendHttps List<String>
    sendSnmptraps List<String>
    sendSyslogs List<String>
    sendToPanorama Boolean
    snippet String
    tfid String
    description string
    device string
    The device in which the resource is defined
    filter string
    folder string
    id string
    UUID of the resource
    name string
    sendEmails string[]
    sendHttps string[]
    sendSnmptraps string[]
    sendSyslogs string[]
    sendToPanorama boolean
    snippet string
    tfid string
    description str
    device str
    The device in which the resource is defined
    filter str
    folder str
    id str
    UUID of the resource
    name str
    send_emails Sequence[str]
    send_https Sequence[str]
    send_snmptraps Sequence[str]
    send_syslogs Sequence[str]
    send_to_panorama bool
    snippet str
    tfid str
    description String
    device String
    The device in which the resource is defined
    filter String
    folder String
    id String
    UUID of the resource
    name String
    sendEmails List<String>
    sendHttps List<String>
    sendSnmptraps List<String>
    sendSyslogs List<String>
    sendToPanorama Boolean
    snippet String
    tfid String

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Viewing docs for Strata Cloud Manager v1.0.5
    published on Saturday, Mar 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.