1. Packages
  2. Sumologic Provider
  3. API Docs
  4. CseCustomMatchListColumn
Sumo Logic v1.0.7 published on Friday, Apr 11, 2025 by Pulumi

sumologic.CseCustomMatchListColumn

Explore with Pulumi AI

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"],
});
Copy
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"])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
resources:
  customMatchListColumn:
    type: sumologic:CseCustomMatchListColumn
    name: custom_match_list_column
    properties:
      name: Custom Match List Column name
      fields:
        - srcDevice_ip
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. CseCustomMatchListColumnArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. CseCustomMatchListColumnArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CseCustomMatchListColumnArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
example, err := sumologic.NewCseCustomMatchListColumn(ctx, "cseCustomMatchListColumnResource", &sumologic.CseCustomMatchListColumnArgs{
	Fields: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
})
Copy
var cseCustomMatchListColumnResource = new CseCustomMatchListColumn("cseCustomMatchListColumnResource", CseCustomMatchListColumnArgs.builder()
    .fields("string")
    .name("string")
    .build());
Copy
cse_custom_match_list_column_resource = sumologic.CseCustomMatchListColumn("cseCustomMatchListColumnResource",
    fields=["string"],
    name="string")
Copy
const cseCustomMatchListColumnResource = new sumologic.CseCustomMatchListColumn("cseCustomMatchListColumnResource", {
    fields: ["string"],
    name: "string",
});
Copy
type: sumologic:CseCustomMatchListColumn
properties:
    fields:
        - string
    name: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CseCustomMatchListColumn resource accepts the following input properties:

Fields This property is required. List<string>

Custom Match List Column fields.

The following attributes are exported:

Name string
Custom Match List Column name.
Fields This property is required. []string

Custom Match List Column fields.

The following attributes are exported:

Name string
Custom Match List Column name.
fields This property is required. List<String>

Custom Match List Column fields.

The following attributes are exported:

name String
Custom Match List Column name.
fields This property is required. string[]

Custom Match List Column fields.

The following attributes are exported:

name string
Custom Match List Column name.
fields This property is required. Sequence[str]

Custom Match List Column fields.

The following attributes are exported:

name str
Custom Match List Column name.
fields This property is required. 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)
resources:  _:    type: sumologic:CseCustomMatchListColumn    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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
Copy

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.