CseInsightsResolution

Provides a Sumologic CSE Insights Resolution. When an insight gets closed, a resolution indicates why it got closed.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var insightsResolution = new SumoLogic.CseInsightsResolution("insightsResolution", new()
    {
        Description = "New description",
        Parent = "No Action",
    });

});
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.NewCseInsightsResolution(ctx, "insightsResolution", &sumologic.CseInsightsResolutionArgs{
			Description: pulumi.String("New description"),
			Parent:      pulumi.String("No Action"),
		})
		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.CseInsightsResolution;
import com.pulumi.sumologic.CseInsightsResolutionArgs;
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 insightsResolution = new CseInsightsResolution("insightsResolution", CseInsightsResolutionArgs.builder()        
            .description("New description")
            .parent("No Action")
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

insights_resolution = sumologic.CseInsightsResolution("insightsResolution",
    description="New description",
    parent="No Action")
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const insightsResolution = new sumologic.CseInsightsResolution("insights_resolution", {
    description: "New description",
    parent: "No Action",
});
resources:
  insightsResolution:
    type: sumologic:CseInsightsResolution
    properties:
      description: New description
      parent: No Action

Create CseInsightsResolution Resource

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

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

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

Description string

The description of the insights resolution.

Name string

The name of the insights resolution.

Parent string

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

Description string

The description of the insights resolution.

Name string

The name of the insights resolution.

Parent string

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description String

The description of the insights resolution.

name String

The name of the insights resolution.

parent String

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description string

The description of the insights resolution.

name string

The name of the insights resolution.

parent string

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description str

The description of the insights resolution.

name str

The name of the insights resolution.

parent str

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description String

The description of the insights resolution.

name String

The name of the insights resolution.

parent String

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

Outputs

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

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

The description of the insights resolution.

Name string

The name of the insights resolution.

Parent string

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

Description string

The description of the insights resolution.

Name string

The name of the insights resolution.

Parent string

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description String

The description of the insights resolution.

name String

The name of the insights resolution.

parent String

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description string

The description of the insights resolution.

name string

The name of the insights resolution.

parent string

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description str

The description of the insights resolution.

name str

The name of the insights resolution.

parent str

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

description String

The description of the insights resolution.

name String

The name of the insights resolution.

parent String

The name of the built-in parent insights resolution. Supported values: "Resolved", "False Positive", "No Action", "Duplicate"

Import

Insights Resolution can be imported using the field id, e.g.hcl

 $ pulumi import sumologic:index/cseInsightsResolution:CseInsightsResolution insights_resolution 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.