1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getConfigMatchList
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 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.GetConfigMatchList(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.ArrayList;
    import java.util.Arrays;
    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}
    
    terraform {
      required_providers {
        scm = {
          source = "pulumi/scm"
        }
      }
    }
    
    data "scm_config_match_list" "configMatchListDs" {
      id = "e8592b6e-b135-4792-b722-fc583a8f7b8e"
    }
    
    # Look up the config match list by its ID.
    # Output the details of the config match list
    output "configMatchListDataSourceResults" {
      value = data.scm_config_match_list.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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
                              folder: pulumi.Input[Optional[str]] = None,
                              id: pulumi.Input[Optional[str]] = None,
                              name: pulumi.Input[Optional[str]] = None,
                              snippet: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = 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 Output<GetConfigMatchListResult> Invoke(GetConfigMatchListInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetConfigMatchListResult> getConfigMatchList(GetConfigMatchListArgs args, InvokeOptions options)
    public static Output<GetConfigMatchListResult> getConfigMatchList(GetConfigMatchListArgs args, InvokeOptions options)
    public static Output<GetConfigMatchListResult> getConfigMatchList(GetConfigMatchListArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scm:index/getConfigMatchList:getConfigMatchList
      arguments:
        # arguments dictionary
    data "scm_get_config_match_list" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Name of the config match list entry
    Snippet string
    The snippet in which the resource is defined
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Name of the config match list entry
    Snippet string
    The snippet in which the resource is defined
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Name of the config match list entry
    snippet string
    The snippet in which the resource is defined
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Name of the config match list entry
    snippet String
    The snippet in which the resource is defined
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Name of the config match list entry
    snippet string
    The snippet in which the resource is defined
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Name of the config match list entry
    snippet str
    The snippet in which the resource is defined
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Name of the config match list entry
    snippet String
    The snippet in which the resource is defined

    getConfigMatchList Result

    The following output properties are available:

    Description string
    Description of the config match list entry
    Device string
    The device in which the resource is defined
    Filter string
    Filter of the config match list entry
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Name string
    Name of the config match list entry
    SendEmails List<string>
    Send Email List of the config match list entry
    SendHttps List<string>
    Send HTTP List of the config match list entry
    SendSnmptraps List<string>
    Send SNMP Trap List of the config match list entry
    SendSyslogs List<string>
    Send Sys Log List of the config match list entry
    SendToPanorama bool
    Send Panorama Flag of the config match list entry
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    The Terraform ID.
    Description string
    Description of the config match list entry
    Device string
    The device in which the resource is defined
    Filter string
    Filter of the config match list entry
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Name string
    Name of the config match list entry
    SendEmails []string
    Send Email List of the config match list entry
    SendHttps []string
    Send HTTP List of the config match list entry
    SendSnmptraps []string
    Send SNMP Trap List of the config match list entry
    SendSyslogs []string
    Send Sys Log List of the config match list entry
    SendToPanorama bool
    Send Panorama Flag of the config match list entry
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    The Terraform ID.
    description string
    Description of the config match list entry
    device string
    The device in which the resource is defined
    filter string
    Filter of the config match list entry
    folder string
    The folder in which the resource is defined
    id string
    UUID of the resource
    name string
    Name of the config match list entry
    send_emails list(string)
    Send Email List of the config match list entry
    send_https list(string)
    Send HTTP List of the config match list entry
    send_snmptraps list(string)
    Send SNMP Trap List of the config match list entry
    send_syslogs list(string)
    Send Sys Log List of the config match list entry
    send_to_panorama bool
    Send Panorama Flag of the config match list entry
    snippet string
    The snippet in which the resource is defined
    tfid string
    The Terraform ID.
    description String
    Description of the config match list entry
    device String
    The device in which the resource is defined
    filter String
    Filter of the config match list entry
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    name String
    Name of the config match list entry
    sendEmails List<String>
    Send Email List of the config match list entry
    sendHttps List<String>
    Send HTTP List of the config match list entry
    sendSnmptraps List<String>
    Send SNMP Trap List of the config match list entry
    sendSyslogs List<String>
    Send Sys Log List of the config match list entry
    sendToPanorama Boolean
    Send Panorama Flag of the config match list entry
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.
    description string
    Description of the config match list entry
    device string
    The device in which the resource is defined
    filter string
    Filter of the config match list entry
    folder string
    The folder in which the resource is defined
    id string
    UUID of the resource
    name string
    Name of the config match list entry
    sendEmails string[]
    Send Email List of the config match list entry
    sendHttps string[]
    Send HTTP List of the config match list entry
    sendSnmptraps string[]
    Send SNMP Trap List of the config match list entry
    sendSyslogs string[]
    Send Sys Log List of the config match list entry
    sendToPanorama boolean
    Send Panorama Flag of the config match list entry
    snippet string
    The snippet in which the resource is defined
    tfid string
    The Terraform ID.
    description str
    Description of the config match list entry
    device str
    The device in which the resource is defined
    filter str
    Filter of the config match list entry
    folder str
    The folder in which the resource is defined
    id str
    UUID of the resource
    name str
    Name of the config match list entry
    send_emails Sequence[str]
    Send Email List of the config match list entry
    send_https Sequence[str]
    Send HTTP List of the config match list entry
    send_snmptraps Sequence[str]
    Send SNMP Trap List of the config match list entry
    send_syslogs Sequence[str]
    Send Sys Log List of the config match list entry
    send_to_panorama bool
    Send Panorama Flag of the config match list entry
    snippet str
    The snippet in which the resource is defined
    tfid str
    The Terraform ID.
    description String
    Description of the config match list entry
    device String
    The device in which the resource is defined
    filter String
    Filter of the config match list entry
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    name String
    Name of the config match list entry
    sendEmails List<String>
    Send Email List of the config match list entry
    sendHttps List<String>
    Send HTTP List of the config match list entry
    sendSnmptraps List<String>
    Send SNMP Trap List of the config match list entry
    sendSyslogs List<String>
    Send Sys Log List of the config match list entry
    sendToPanorama Boolean
    Send Panorama Flag of the config match list entry
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.

    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
    Viewing docs for Strata Cloud Manager v1.2.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial