SumoLogic

Pulumi Official
Package maintained by Pulumi
v0.6.0 published on Thursday, Apr 7, 2022 by Pulumi

CseEntityCriticalityConfig

Provides a Sumologic CSE Entity Criticality Configuration.

Example Usage

using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

class MyStack : Stack
{
    public MyStack()
    {
        var entityCriticalityConfig = new SumoLogic.CseEntityCriticalityConfig("entityCriticalityConfig", new SumoLogic.CseEntityCriticalityConfigArgs
        {
            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
	})
}

Coming soon!

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("entity_criticality_config", {
    severityExpression: "severity + 2",
});

Coming soon!

Create a 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".

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".

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".

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".

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".

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".

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 an 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".

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".

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".

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".

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".

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".

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
https://github.com/pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.