sumologic.CseEntityCriticalityConfig

Explore with Pulumi AI

Provides a Sumologic CSE Entity Criticality Configuration.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var entityCriticalityConfig = new SumoLogic.CseEntityCriticalityConfig("entityCriticalityConfig", new()
    {
        SeverityExpression = "severity + 2",
    });

});
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.NewCseEntityCriticalityConfig(ctx, "entityCriticalityConfig", &sumologic.CseEntityCriticalityConfigArgs{
			SeverityExpression: pulumi.String("severity + 2"),
		})
		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.CseEntityCriticalityConfig;
import com.pulumi.sumologic.CseEntityCriticalityConfigArgs;
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 entityCriticalityConfig = new CseEntityCriticalityConfig("entityCriticalityConfig", CseEntityCriticalityConfigArgs.builder()        
            .severityExpression("severity + 2")
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

entity_criticality_config = sumologic.CseEntityCriticalityConfig("entityCriticalityConfig", severity_expression="severity + 2")
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const entityCriticalityConfig = new sumologic.CseEntityCriticalityConfig("entityCriticalityConfig", {severityExpression: "severity + 2"});
resources:
  entityCriticalityConfig:
    type: sumologic:CseEntityCriticalityConfig
    properties:
      severityExpression: severity + 2

Create CseEntityCriticalityConfig Resource

new CseEntityCriticalityConfig(name: string, args: CseEntityCriticalityConfigArgs, opts?: CustomResourceOptions);
@overload
def CseEntityCriticalityConfig(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               name: Optional[str] = None,
                               severity_expression: Optional[str] = None)
@overload
def CseEntityCriticalityConfig(resource_name: str,
                               args: CseEntityCriticalityConfigArgs,
                               opts: Optional[ResourceOptions] = None)
func NewCseEntityCriticalityConfig(ctx *Context, name string, args CseEntityCriticalityConfigArgs, opts ...ResourceOption) (*CseEntityCriticalityConfig, error)
public CseEntityCriticalityConfig(string name, CseEntityCriticalityConfigArgs args, CustomResourceOptions? opts = null)
public CseEntityCriticalityConfig(String name, CseEntityCriticalityConfigArgs args)
public CseEntityCriticalityConfig(String name, CseEntityCriticalityConfigArgs args, CustomResourceOptions options)
type: sumologic:CseEntityCriticalityConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

SeverityExpression string

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

Name string

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

SeverityExpression string

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

Name string

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severityExpression String

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name String

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severityExpression string

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name string

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severity_expression str

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name str

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severityExpression String

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name String

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

Outputs

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

Get an existing CseEntityCriticalityConfig 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?: CseEntityCriticalityConfigState, opts?: CustomResourceOptions): CseEntityCriticalityConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        severity_expression: Optional[str] = None) -> CseEntityCriticalityConfig
func GetCseEntityCriticalityConfig(ctx *Context, name string, id IDInput, state *CseEntityCriticalityConfigState, opts ...ResourceOption) (*CseEntityCriticalityConfig, error)
public static CseEntityCriticalityConfig Get(string name, Input<string> id, CseEntityCriticalityConfigState? state, CustomResourceOptions? opts = null)
public static CseEntityCriticalityConfig get(String name, Output<String> id, CseEntityCriticalityConfigState 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:
Name string

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

SeverityExpression string

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

Name string

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

SeverityExpression string

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name String

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severityExpression String

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name string

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severityExpression string

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name str

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severity_expression str

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

name String

Human friendly and unique name. Examples: "Executive Laptop", "Bastion Host".

severityExpression String

Algebraic expression representing this entity's criticality. Examples: "severity * 2", "severity - 5", "severity / 3".

The following attributes are exported:

Import

Entity criticality configuration can be imported using the field id, e.g.hcl

 $ pulumi import sumologic:index/cseEntityCriticalityConfig:CseEntityCriticalityConfig entity_criticality_config id

Package Details

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

This Pulumi package is based on the sumologic Terraform Provider.