sumologic.CseInsightsResolution
Explore with Pulumi AI
Provides a Sumologic CSE Insights Resolution. When an insight gets closed, a resolution indicates why it got closed.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const insightsResolution = new sumologic.CseInsightsResolution("insights_resolution", {
name: "New Name",
description: "New description",
parent: "No Action",
});
import pulumi
import pulumi_sumologic as sumologic
insights_resolution = sumologic.CseInsightsResolution("insights_resolution",
name="New Name",
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, "insights_resolution", &sumologic.CseInsightsResolutionArgs{
Name: pulumi.String("New Name"),
Description: pulumi.String("New description"),
Parent: pulumi.String("No Action"),
})
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 insightsResolution = new SumoLogic.CseInsightsResolution("insights_resolution", new()
{
Name = "New Name",
Description = "New description",
Parent = "No Action",
});
});
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()
.name("New Name")
.description("New description")
.parent("No Action")
.build());
}
}
resources:
insightsResolution:
type: sumologic:CseInsightsResolution
name: insights_resolution
properties:
name: New Name
description: New description
parent: No Action
Create CseInsightsResolution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseInsightsResolution(name: string, args?: CseInsightsResolutionArgs, opts?: CustomResourceOptions);
@overload
def CseInsightsResolution(resource_name: str,
args: Optional[CseInsightsResolutionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CseInsightsResolution(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
parent: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var cseInsightsResolutionResource = new SumoLogic.CseInsightsResolution("cseInsightsResolutionResource", new()
{
Description = "string",
Name = "string",
Parent = "string",
});
example, err := sumologic.NewCseInsightsResolution(ctx, "cseInsightsResolutionResource", &sumologic.CseInsightsResolutionArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Parent: pulumi.String("string"),
})
var cseInsightsResolutionResource = new CseInsightsResolution("cseInsightsResolutionResource", CseInsightsResolutionArgs.builder()
.description("string")
.name("string")
.parent("string")
.build());
cse_insights_resolution_resource = sumologic.CseInsightsResolution("cseInsightsResolutionResource",
description="string",
name="string",
parent="string")
const cseInsightsResolutionResource = new sumologic.CseInsightsResolution("cseInsightsResolutionResource", {
description: "string",
name: "string",
parent: "string",
});
type: sumologic:CseInsightsResolution
properties:
description: string
name: string
parent: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
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.
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
- 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"
The following attributes are exported:
Import
Insights Resolution can be imported using the field id, e.g.:
hcl
$ pulumi import sumologic:index/cseInsightsResolution:CseInsightsResolution insights_resolution 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.