1. Packages
  2. Sumo Logic
  3. API Docs
  4. CseCustomMatchListColumn
Sumo Logic v0.23.4 published on Friday, Sep 20, 2024 by Pulumi

sumologic.CseCustomMatchListColumn

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.23.4 published on Friday, Sep 20, 2024 by Pulumi

    Provides a Sumologic CSE Custom Match List Column.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const customMatchListColumn = new sumologic.CseCustomMatchListColumn("custom_match_list_column", {
        name: "Custom Match List Column name",
        fields: ["srcDevice_ip"],
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    custom_match_list_column = sumologic.CseCustomMatchListColumn("custom_match_list_column",
        name="Custom Match List Column name",
        fields=["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, "custom_match_list_column", &sumologic.CseCustomMatchListColumnArgs{
    			Name: pulumi.String("Custom Match List Column name"),
    			Fields: pulumi.StringArray{
    				pulumi.String("srcDevice_ip"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var customMatchListColumn = new SumoLogic.CseCustomMatchListColumn("custom_match_list_column", new()
        {
            Name = "Custom Match List Column name",
            Fields = new[]
            {
                "srcDevice_ip",
            },
        });
    
    });
    
    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()
                .name("Custom Match List Column name")
                .fields("srcDevice_ip")
                .build());
    
        }
    }
    
    resources:
      customMatchListColumn:
        type: sumologic:CseCustomMatchListColumn
        name: custom_match_list_column
        properties:
          name: Custom Match List Column name
          fields:
            - srcDevice_ip
    

    Create CseCustomMatchListColumn Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CseCustomMatchListColumn(name: string, args: CseCustomMatchListColumnArgs, opts?: CustomResourceOptions);
    @overload
    def CseCustomMatchListColumn(resource_name: str,
                                 args: CseCustomMatchListColumnArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def CseCustomMatchListColumn(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 fields: Optional[Sequence[str]] = None,
                                 name: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cseCustomMatchListColumnResource = new SumoLogic.CseCustomMatchListColumn("cseCustomMatchListColumnResource", new()
    {
        Fields = new[]
        {
            "string",
        },
        Name = "string",
    });
    
    example, err := sumologic.NewCseCustomMatchListColumn(ctx, "cseCustomMatchListColumnResource", &sumologic.CseCustomMatchListColumnArgs{
    	Fields: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var cseCustomMatchListColumnResource = new CseCustomMatchListColumn("cseCustomMatchListColumnResource", CseCustomMatchListColumnArgs.builder()
        .fields("string")
        .name("string")
        .build());
    
    cse_custom_match_list_column_resource = sumologic.CseCustomMatchListColumn("cseCustomMatchListColumnResource",
        fields=["string"],
        name="string")
    
    const cseCustomMatchListColumnResource = new sumologic.CseCustomMatchListColumn("cseCustomMatchListColumnResource", {
        fields: ["string"],
        name: "string",
    });
    
    type: sumologic:CseCustomMatchListColumn
    properties:
        fields:
            - string
        name: string
    

    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
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.23.4 published on Friday, Sep 20, 2024 by Pulumi