sumologic.CseEntityEntityGroupConfiguration
Explore with Pulumi AI
Example Usage
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",
name: "Hostaname entity group configuration",
suffix: "red.co",
suppressed: true,
tags: ["tag"],
});
import pulumi
import pulumi_sumologic as sumologic
entity_entity_group_configuration = sumologic.CseEntityEntityGroupConfiguration("entity_entity_group_configuration",
criticality="HIGH",
description="Entity Group description",
entity_namespace="namespace",
entity_type="_hostname",
name="Hostaname entity group configuration",
suffix="red.co",
suppressed=True,
tags=["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, "entity_entity_group_configuration", &sumologic.CseEntityEntityGroupConfigurationArgs{
Criticality: pulumi.String("HIGH"),
Description: pulumi.String("Entity Group description"),
EntityNamespace: pulumi.String("namespace"),
EntityType: pulumi.String("_hostname"),
Name: pulumi.String("Hostaname entity group configuration"),
Suffix: pulumi.String("red.co"),
Suppressed: pulumi.Bool(true),
Tags: pulumi.StringArray{
pulumi.String("tag"),
},
})
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 entityEntityGroupConfiguration = new SumoLogic.CseEntityEntityGroupConfiguration("entity_entity_group_configuration", new()
{
Criticality = "HIGH",
Description = "Entity Group description",
EntityNamespace = "namespace",
EntityType = "_hostname",
Name = "Hostaname entity group configuration",
Suffix = "red.co",
Suppressed = true,
Tags = new[]
{
"tag",
},
});
});
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")
.name("Hostaname entity group configuration")
.suffix("red.co")
.suppressed(true)
.tags("tag")
.build());
}
}
resources:
entityEntityGroupConfiguration:
type: sumologic:CseEntityEntityGroupConfiguration
name: entity_entity_group_configuration
properties:
criticality: HIGH
description: Entity Group description
entityNamespace: namespace
entityType: _hostname
name: Hostaname entity group configuration
suffix: red.co
suppressed: true
tags:
- tag
Create CseEntityEntityGroupConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseEntityEntityGroupConfiguration(name: string, args?: CseEntityEntityGroupConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CseEntityEntityGroupConfiguration(resource_name: str,
args: Optional[CseEntityEntityGroupConfigurationArgs] = None,
opts: Optional[ResourceOptions] = None)
@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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var cseEntityEntityGroupConfigurationResource = new SumoLogic.CseEntityEntityGroupConfiguration("cseEntityEntityGroupConfigurationResource", new()
{
Criticality = "string",
Description = "string",
EntityNamespace = "string",
EntityType = "string",
Name = "string",
NetworkBlock = "string",
Prefix = "string",
Suffix = "string",
Suppressed = false,
Tags = new[]
{
"string",
},
});
example, err := sumologic.NewCseEntityEntityGroupConfiguration(ctx, "cseEntityEntityGroupConfigurationResource", &sumologic.CseEntityEntityGroupConfigurationArgs{
Criticality: pulumi.String("string"),
Description: pulumi.String("string"),
EntityNamespace: pulumi.String("string"),
EntityType: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkBlock: pulumi.String("string"),
Prefix: pulumi.String("string"),
Suffix: pulumi.String("string"),
Suppressed: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var cseEntityEntityGroupConfigurationResource = new CseEntityEntityGroupConfiguration("cseEntityEntityGroupConfigurationResource", CseEntityEntityGroupConfigurationArgs.builder()
.criticality("string")
.description("string")
.entityNamespace("string")
.entityType("string")
.name("string")
.networkBlock("string")
.prefix("string")
.suffix("string")
.suppressed(false)
.tags("string")
.build());
cse_entity_entity_group_configuration_resource = sumologic.CseEntityEntityGroupConfiguration("cseEntityEntityGroupConfigurationResource",
criticality="string",
description="string",
entity_namespace="string",
entity_type="string",
name="string",
network_block="string",
prefix="string",
suffix="string",
suppressed=False,
tags=["string"])
const cseEntityEntityGroupConfigurationResource = new sumologic.CseEntityEntityGroupConfiguration("cseEntityEntityGroupConfigurationResource", {
criticality: "string",
description: "string",
entityNamespace: "string",
entityType: "string",
name: "string",
networkBlock: "string",
prefix: "string",
suffix: "string",
suppressed: false,
tags: ["string"],
});
type: sumologic:CseEntityEntityGroupConfiguration
properties:
criticality: string
description: string
entityNamespace: string
entityType: string
name: string
networkBlock: string
prefix: string
suffix: string
suppressed: false
tags:
- string
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.
- Entity
Namespace string - The entity namespace.
- Entity
Type string - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- Name string
- The entity group configuration name.
- Network
Block 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
- List<string>
The entity group configuration tags list.
The following attributes are exported:
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- Entity
Namespace string - The entity namespace.
- Entity
Type string - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- Name string
- The entity group configuration name.
- Network
Block 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
- []string
The entity group configuration tags list.
The following attributes are exported:
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- entity
Namespace String - The entity namespace.
- entity
Type String - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- name String
- The entity group configuration name.
- network
Block 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
- List<String>
The entity group configuration tags list.
The following attributes are exported:
- criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description string
- The entity group configuration description.
- entity
Namespace string - The entity namespace.
- entity
Type string - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- name string
- The entity group configuration name.
- network
Block 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
- string[]
The entity group configuration tags list.
The following attributes are exported:
- 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
- Sequence[str]
The entity group configuration tags list.
The following attributes are exported:
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- entity
Namespace String - The entity namespace.
- entity
Type String - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- name String
- The entity group configuration name.
- network
Block 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
- List<String>
The entity group configuration tags list.
The following attributes are exported:
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 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.
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- Entity
Namespace string - The entity namespace.
- Entity
Type string - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- Name string
- The entity group configuration name.
- Network
Block 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
- List<string>
The entity group configuration tags list.
The following attributes are exported:
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- Entity
Namespace string - The entity namespace.
- Entity
Type string - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- Name string
- The entity group configuration name.
- Network
Block 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
- []string
The entity group configuration tags list.
The following attributes are exported:
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- entity
Namespace String - The entity namespace.
- entity
Type String - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- name String
- The entity group configuration name.
- network
Block 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
- List<String>
The entity group configuration tags list.
The following attributes are exported:
- criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description string
- The entity group configuration description.
- entity
Namespace string - The entity namespace.
- entity
Type string - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- name string
- The entity group configuration name.
- network
Block 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
- string[]
The entity group configuration tags list.
The following attributes are exported:
- 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
- Sequence[str]
The entity group configuration tags list.
The following attributes are exported:
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- entity
Namespace String - The entity namespace.
- entity
Type String - The entity type Examples: "_ip", "_mac", "_username", "_hostname".
- name String
- The entity group configuration name.
- network
Block 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
- List<String>
The entity group configuration tags list.
The following attributes are exported:
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
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.