1. Packages
  2. Sumo Logic
  3. API Docs
  4. CseCustomMatchListColumn
Sumo Logic v0.19.0 published on Thursday, Sep 28, 2023 by Pulumi

sumologic.CseCustomMatchListColumn

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.19.0 published on Thursday, Sep 28, 2023 by Pulumi

    Provides a Sumologic CSE Custom Match List Column.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var customMatchListColumn = new SumoLogic.CseCustomMatchListColumn("customMatchListColumn", new()
        {
            Fields = new[]
            {
                "srcDevice_ip",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewCseCustomMatchListColumn(ctx, "customMatchListColumn", &sumologic.CseCustomMatchListColumnArgs{
    			Fields: pulumi.StringArray{
    				pulumi.String("srcDevice_ip"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.CseCustomMatchListColumn;
    import com.pulumi.sumologic.CseCustomMatchListColumnArgs;
    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) {
            var customMatchListColumn = new CseCustomMatchListColumn("customMatchListColumn", CseCustomMatchListColumnArgs.builder()        
                .fields("srcDevice_ip")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    custom_match_list_column = sumologic.CseCustomMatchListColumn("customMatchListColumn", fields=["srcDevice_ip"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const customMatchListColumn = new sumologic.CseCustomMatchListColumn("customMatchListColumn", {fields: ["srcDevice_ip"]});
    
    resources:
      customMatchListColumn:
        type: sumologic:CseCustomMatchListColumn
        properties:
          fields:
            - srcDevice_ip
    

    Create CseCustomMatchListColumn Resource

    new CseCustomMatchListColumn(name: string, args: CseCustomMatchListColumnArgs, opts?: CustomResourceOptions);
    @overload
    def CseCustomMatchListColumn(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 fields: Optional[Sequence[str]] = None,
                                 name: Optional[str] = None)
    @overload
    def CseCustomMatchListColumn(resource_name: str,
                                 args: CseCustomMatchListColumnArgs,
                                 opts: Optional[ResourceOptions] = None)
    func NewCseCustomMatchListColumn(ctx *Context, name string, args CseCustomMatchListColumnArgs, opts ...ResourceOption) (*CseCustomMatchListColumn, error)
    public CseCustomMatchListColumn(string name, CseCustomMatchListColumnArgs args, CustomResourceOptions? opts = null)
    public CseCustomMatchListColumn(String name, CseCustomMatchListColumnArgs args)
    public CseCustomMatchListColumn(String name, CseCustomMatchListColumnArgs args, CustomResourceOptions options)
    
    type: sumologic:CseCustomMatchListColumn
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args CseCustomMatchListColumnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CseCustomMatchListColumnArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CseCustomMatchListColumnArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CseCustomMatchListColumnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CseCustomMatchListColumnArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CseCustomMatchListColumn Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The CseCustomMatchListColumn resource accepts the following input properties:

    Fields List<string>

    Custom Match List Column fields.

    The following attributes are exported:

    Name string

    Custom Match List Column name.

    Fields []string

    Custom Match List Column fields.

    The following attributes are exported:

    Name string

    Custom Match List Column name.

    fields List<String>

    Custom Match List Column fields.

    The following attributes are exported:

    name String

    Custom Match List Column name.

    fields string[]

    Custom Match List Column fields.

    The following attributes are exported:

    name string

    Custom Match List Column name.

    fields Sequence[str]

    Custom Match List Column fields.

    The following attributes are exported:

    name str

    Custom Match List Column name.

    fields List<String>

    Custom Match List Column fields.

    The following attributes are exported:

    name String

    Custom Match List Column name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CseCustomMatchListColumn resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing CseCustomMatchListColumn Resource

    Get an existing CseCustomMatchListColumn resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CseCustomMatchListColumnState, opts?: CustomResourceOptions): CseCustomMatchListColumn
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            fields: Optional[Sequence[str]] = None,
            name: Optional[str] = None) -> CseCustomMatchListColumn
    func GetCseCustomMatchListColumn(ctx *Context, name string, id IDInput, state *CseCustomMatchListColumnState, opts ...ResourceOption) (*CseCustomMatchListColumn, error)
    public static CseCustomMatchListColumn Get(string name, Input<string> id, CseCustomMatchListColumnState? state, CustomResourceOptions? opts = null)
    public static CseCustomMatchListColumn get(String name, Output<String> id, CseCustomMatchListColumnState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Fields List<string>

    Custom Match List Column fields.

    The following attributes are exported:

    Name string

    Custom Match List Column name.

    Fields []string

    Custom Match List Column fields.

    The following attributes are exported:

    Name string

    Custom Match List Column name.

    fields List<String>

    Custom Match List Column fields.

    The following attributes are exported:

    name String

    Custom Match List Column name.

    fields string[]

    Custom Match List Column fields.

    The following attributes are exported:

    name string

    Custom Match List Column name.

    fields Sequence[str]

    Custom Match List Column fields.

    The following attributes are exported:

    name str

    Custom Match List Column name.

    fields List<String>

    Custom Match List Column fields.

    The following attributes are exported:

    name String

    Custom Match List Column name.

    Import

    Custom Match List Column can be imported using the field id, e.g.hcl

     $ pulumi import sumologic:index/cseCustomMatchListColumn:CseCustomMatchListColumn custom_match_list_column id
    

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the sumologic Terraform Provider.

    sumologic logo
    Sumo Logic v0.19.0 published on Thursday, Sep 28, 2023 by Pulumi