SumoLogic

v0.10.0 published on Wednesday, Sep 21, 2022 by Pulumi

CseEntityEntityGroupConfiguration

Import

Entity Entity Group Configuration can be imported using the field id, e.g.hcl

 $ pulumi import sumologic:index/cseEntityEntityGroupConfiguration:CseEntityEntityGroupConfiguration entity_entity_group_configuration id

Example Usage

using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var entityEntityGroupConfiguration = new SumoLogic.CseEntityEntityGroupConfiguration("entityEntityGroupConfiguration", new()
    {
        Criticality = "HIGH",
        Description = "Entity Group description",
        EntityNamespace = "namespace",
        EntityType = "_hostname",
        Suffix = "red.co",
        Suppressed = true,
        Tags = new[]
        {
            "tag",
        },
    });

});
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.NewCseEntityEntityGroupConfiguration(ctx, "entityEntityGroupConfiguration", &sumologic.CseEntityEntityGroupConfigurationArgs{
			Criticality:     pulumi.String("HIGH"),
			Description:     pulumi.String("Entity Group description"),
			EntityNamespace: pulumi.String("namespace"),
			EntityType:      pulumi.String("_hostname"),
			Suffix:          pulumi.String("red.co"),
			Suppressed:      pulumi.Bool(true),
			Tags: pulumi.StringArray{
				pulumi.String("tag"),
			},
		})
		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.CseEntityEntityGroupConfiguration;
import com.pulumi.sumologic.CseEntityEntityGroupConfigurationArgs;
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 entityEntityGroupConfiguration = new CseEntityEntityGroupConfiguration("entityEntityGroupConfiguration", CseEntityEntityGroupConfigurationArgs.builder()        
            .criticality("HIGH")
            .description("Entity Group description")
            .entityNamespace("namespace")
            .entityType("_hostname")
            .suffix("red.co")
            .suppressed(true)
            .tags("tag")
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

entity_entity_group_configuration = sumologic.CseEntityEntityGroupConfiguration("entityEntityGroupConfiguration",
    criticality="HIGH",
    description="Entity Group description",
    entity_namespace="namespace",
    entity_type="_hostname",
    suffix="red.co",
    suppressed=True,
    tags=["tag"])
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const entityEntityGroupConfiguration = new sumologic.CseEntityEntityGroupConfiguration("entity_entity_group_configuration", {
    criticality: "HIGH",
    description: "Entity Group description",
    entityNamespace: "namespace",
    entityType: "_hostname",
    suffix: "red.co",
    suppressed: true,
    tags: ["tag"],
});
resources:
  entityEntityGroupConfiguration:
    type: sumologic:CseEntityEntityGroupConfiguration
    properties:
      criticality: HIGH
      description: Entity Group description
      entityNamespace: namespace
      entityType: _hostname
      suffix: red.co
      suppressed: true
      tags:
        - tag

Create a CseEntityEntityGroupConfiguration Resource

new CseEntityEntityGroupConfiguration(name: string, args?: CseEntityEntityGroupConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CseEntityEntityGroupConfiguration(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      criticality: Optional[str] = None,
                                      description: Optional[str] = None,
                                      entity_namespace: Optional[str] = None,
                                      entity_type: Optional[str] = None,
                                      name: Optional[str] = None,
                                      network_block: Optional[str] = None,
                                      prefix: Optional[str] = None,
                                      suffix: Optional[str] = None,
                                      suppressed: Optional[bool] = None,
                                      tags: Optional[Sequence[str]] = None)
@overload
def CseEntityEntityGroupConfiguration(resource_name: str,
                                      args: Optional[CseEntityEntityGroupConfigurationArgs] = None,
                                      opts: Optional[ResourceOptions] = None)
func NewCseEntityEntityGroupConfiguration(ctx *Context, name string, args *CseEntityEntityGroupConfigurationArgs, opts ...ResourceOption) (*CseEntityEntityGroupConfiguration, error)
public CseEntityEntityGroupConfiguration(string name, CseEntityEntityGroupConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public CseEntityEntityGroupConfiguration(String name, CseEntityEntityGroupConfigurationArgs args)
public CseEntityEntityGroupConfiguration(String name, CseEntityEntityGroupConfigurationArgs args, CustomResourceOptions options)
type: sumologic:CseEntityEntityGroupConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CseEntityEntityGroupConfigurationArgs
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 CseEntityEntityGroupConfigurationArgs
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 CseEntityEntityGroupConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CseEntityEntityGroupConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CseEntityEntityGroupConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CseEntityEntityGroupConfiguration 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 CseEntityEntityGroupConfiguration resource accepts the following input properties:

Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

EntityNamespace string

The entity namespace.

EntityType string

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

Name string

The entity group configuration name.

NetworkBlock string

The entity group configuration network block value Example: "192.168.0.0/16".

Prefix string

The entity group configuration prefix value.

Suffix string

The entity group configuration suffix value.

Suppressed bool
Tags List<string>

The entity group configuration tags list.

Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

EntityNamespace string

The entity namespace.

EntityType string

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

Name string

The entity group configuration name.

NetworkBlock string

The entity group configuration network block value Example: "192.168.0.0/16".

Prefix string

The entity group configuration prefix value.

Suffix string

The entity group configuration suffix value.

Suppressed bool
Tags []string

The entity group configuration tags list.

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

entityNamespace String

The entity namespace.

entityType String

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name String

The entity group configuration name.

networkBlock String

The entity group configuration network block value Example: "192.168.0.0/16".

prefix String

The entity group configuration prefix value.

suffix String

The entity group configuration suffix value.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description string

The entity group configuration description.

entityNamespace string

The entity namespace.

entityType string

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name string

The entity group configuration name.

networkBlock string

The entity group configuration network block value Example: "192.168.0.0/16".

prefix string

The entity group configuration prefix value.

suffix string

The entity group configuration suffix value.

suppressed boolean
tags string[]

The entity group configuration tags list.

criticality str

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description str

The entity group configuration description.

entity_namespace str

The entity namespace.

entity_type str

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name str

The entity group configuration name.

network_block str

The entity group configuration network block value Example: "192.168.0.0/16".

prefix str

The entity group configuration prefix value.

suffix str

The entity group configuration suffix value.

suppressed bool
tags Sequence[str]

The entity group configuration tags list.

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

entityNamespace String

The entity namespace.

entityType String

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name String

The entity group configuration name.

networkBlock String

The entity group configuration network block value Example: "192.168.0.0/16".

prefix String

The entity group configuration prefix value.

suffix String

The entity group configuration suffix value.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

Outputs

All input properties are implicitly available as output properties. Additionally, the CseEntityEntityGroupConfiguration 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 an Existing CseEntityEntityGroupConfiguration Resource

Get an existing CseEntityEntityGroupConfiguration 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?: CseEntityEntityGroupConfigurationState, opts?: CustomResourceOptions): CseEntityEntityGroupConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        criticality: Optional[str] = None,
        description: Optional[str] = None,
        entity_namespace: Optional[str] = None,
        entity_type: Optional[str] = None,
        name: Optional[str] = None,
        network_block: Optional[str] = None,
        prefix: Optional[str] = None,
        suffix: Optional[str] = None,
        suppressed: Optional[bool] = None,
        tags: Optional[Sequence[str]] = None) -> CseEntityEntityGroupConfiguration
func GetCseEntityEntityGroupConfiguration(ctx *Context, name string, id IDInput, state *CseEntityEntityGroupConfigurationState, opts ...ResourceOption) (*CseEntityEntityGroupConfiguration, error)
public static CseEntityEntityGroupConfiguration Get(string name, Input<string> id, CseEntityEntityGroupConfigurationState? state, CustomResourceOptions? opts = null)
public static CseEntityEntityGroupConfiguration get(String name, Output<String> id, CseEntityEntityGroupConfigurationState 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:
Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

EntityNamespace string

The entity namespace.

EntityType string

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

Name string

The entity group configuration name.

NetworkBlock string

The entity group configuration network block value Example: "192.168.0.0/16".

Prefix string

The entity group configuration prefix value.

Suffix string

The entity group configuration suffix value.

Suppressed bool
Tags List<string>

The entity group configuration tags list.

Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

EntityNamespace string

The entity namespace.

EntityType string

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

Name string

The entity group configuration name.

NetworkBlock string

The entity group configuration network block value Example: "192.168.0.0/16".

Prefix string

The entity group configuration prefix value.

Suffix string

The entity group configuration suffix value.

Suppressed bool
Tags []string

The entity group configuration tags list.

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

entityNamespace String

The entity namespace.

entityType String

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name String

The entity group configuration name.

networkBlock String

The entity group configuration network block value Example: "192.168.0.0/16".

prefix String

The entity group configuration prefix value.

suffix String

The entity group configuration suffix value.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description string

The entity group configuration description.

entityNamespace string

The entity namespace.

entityType string

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name string

The entity group configuration name.

networkBlock string

The entity group configuration network block value Example: "192.168.0.0/16".

prefix string

The entity group configuration prefix value.

suffix string

The entity group configuration suffix value.

suppressed boolean
tags string[]

The entity group configuration tags list.

criticality str

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description str

The entity group configuration description.

entity_namespace str

The entity namespace.

entity_type str

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name str

The entity group configuration name.

network_block str

The entity group configuration network block value Example: "192.168.0.0/16".

prefix str

The entity group configuration prefix value.

suffix str

The entity group configuration suffix value.

suppressed bool
tags Sequence[str]

The entity group configuration tags list.

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

entityNamespace String

The entity namespace.

entityType String

The entity type Examples: "_ip", "_mac", "_username", "_hostname".

name String

The entity group configuration name.

networkBlock String

The entity group configuration network block value Example: "192.168.0.0/16".

prefix String

The entity group configuration prefix value.

suffix String

The entity group configuration suffix value.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

Package Details

Repository
https://github.com/pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.