1. Packages
  2. Sumo Logic
  3. API Docs
  4. CseInsightsConfiguration
Sumo Logic v0.23.5 published on Monday, Oct 7, 2024 by Pulumi

sumologic.CseInsightsConfiguration

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.23.5 published on Monday, Oct 7, 2024 by Pulumi

    Provides the Sumologic CSE Insights Configuration for the whole organization. There can be only one configuration per organization.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const insightsConfiguration = new sumologic.CseInsightsConfiguration("insights_configuration", {
        lookbackDays: 13,
        threshold: 12,
        globalSignalSuppressionWindow: 48,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    insights_configuration = sumologic.CseInsightsConfiguration("insights_configuration",
        lookback_days=13,
        threshold=12,
        global_signal_suppression_window=48)
    
    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.NewCseInsightsConfiguration(ctx, "insights_configuration", &sumologic.CseInsightsConfigurationArgs{
    			LookbackDays:                  pulumi.Float64(13),
    			Threshold:                     pulumi.Float64(12),
    			GlobalSignalSuppressionWindow: pulumi.Float64(48),
    		})
    		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 insightsConfiguration = new SumoLogic.CseInsightsConfiguration("insights_configuration", new()
        {
            LookbackDays = 13,
            Threshold = 12,
            GlobalSignalSuppressionWindow = 48,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.CseInsightsConfiguration;
    import com.pulumi.sumologic.CseInsightsConfigurationArgs;
    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 insightsConfiguration = new CseInsightsConfiguration("insightsConfiguration", CseInsightsConfigurationArgs.builder()
                .lookbackDays(13)
                .threshold(12)
                .globalSignalSuppressionWindow(48)
                .build());
    
        }
    }
    
    resources:
      insightsConfiguration:
        type: sumologic:CseInsightsConfiguration
        name: insights_configuration
        properties:
          lookbackDays: 13
          threshold: 12
          globalSignalSuppressionWindow: 48
    

    Create CseInsightsConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CseInsightsConfiguration(name: string, args?: CseInsightsConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def CseInsightsConfiguration(resource_name: str,
                                 args: Optional[CseInsightsConfigurationArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def CseInsightsConfiguration(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 global_signal_suppression_window: Optional[float] = None,
                                 lookback_days: Optional[float] = None,
                                 threshold: Optional[float] = None)
    func NewCseInsightsConfiguration(ctx *Context, name string, args *CseInsightsConfigurationArgs, opts ...ResourceOption) (*CseInsightsConfiguration, error)
    public CseInsightsConfiguration(string name, CseInsightsConfigurationArgs? args = null, CustomResourceOptions? opts = null)
    public CseInsightsConfiguration(String name, CseInsightsConfigurationArgs args)
    public CseInsightsConfiguration(String name, CseInsightsConfigurationArgs args, CustomResourceOptions options)
    
    type: sumologic:CseInsightsConfiguration
    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 CseInsightsConfigurationArgs
    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 CseInsightsConfigurationArgs
    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 CseInsightsConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CseInsightsConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CseInsightsConfigurationArgs
    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 cseInsightsConfigurationResource = new SumoLogic.CseInsightsConfiguration("cseInsightsConfigurationResource", new()
    {
        GlobalSignalSuppressionWindow = 0,
        LookbackDays = 0,
        Threshold = 0,
    });
    
    example, err := sumologic.NewCseInsightsConfiguration(ctx, "cseInsightsConfigurationResource", &sumologic.CseInsightsConfigurationArgs{
    	GlobalSignalSuppressionWindow: pulumi.Float64(0),
    	LookbackDays:                  pulumi.Float64(0),
    	Threshold:                     pulumi.Float64(0),
    })
    
    var cseInsightsConfigurationResource = new CseInsightsConfiguration("cseInsightsConfigurationResource", CseInsightsConfigurationArgs.builder()
        .globalSignalSuppressionWindow(0)
        .lookbackDays(0)
        .threshold(0)
        .build());
    
    cse_insights_configuration_resource = sumologic.CseInsightsConfiguration("cseInsightsConfigurationResource",
        global_signal_suppression_window=0,
        lookback_days=0,
        threshold=0)
    
    const cseInsightsConfigurationResource = new sumologic.CseInsightsConfiguration("cseInsightsConfigurationResource", {
        globalSignalSuppressionWindow: 0,
        lookbackDays: 0,
        threshold: 0,
    });
    
    type: sumologic:CseInsightsConfiguration
    properties:
        globalSignalSuppressionWindow: 0
        lookbackDays: 0
        threshold: 0
    

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

    GlobalSignalSuppressionWindow double

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    LookbackDays double
    Detection window expressed in days.
    Threshold double
    Detection threshold activity score.
    GlobalSignalSuppressionWindow float64

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    LookbackDays float64
    Detection window expressed in days.
    Threshold float64
    Detection threshold activity score.
    globalSignalSuppressionWindow Double

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookbackDays Double
    Detection window expressed in days.
    threshold Double
    Detection threshold activity score.
    globalSignalSuppressionWindow number

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookbackDays number
    Detection window expressed in days.
    threshold number
    Detection threshold activity score.
    global_signal_suppression_window float

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookback_days float
    Detection window expressed in days.
    threshold float
    Detection threshold activity score.
    globalSignalSuppressionWindow Number

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookbackDays Number
    Detection window expressed in days.
    threshold Number
    Detection threshold activity score.

    Outputs

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

    Get an existing CseInsightsConfiguration 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?: CseInsightsConfigurationState, opts?: CustomResourceOptions): CseInsightsConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            global_signal_suppression_window: Optional[float] = None,
            lookback_days: Optional[float] = None,
            threshold: Optional[float] = None) -> CseInsightsConfiguration
    func GetCseInsightsConfiguration(ctx *Context, name string, id IDInput, state *CseInsightsConfigurationState, opts ...ResourceOption) (*CseInsightsConfiguration, error)
    public static CseInsightsConfiguration Get(string name, Input<string> id, CseInsightsConfigurationState? state, CustomResourceOptions? opts = null)
    public static CseInsightsConfiguration get(String name, Output<String> id, CseInsightsConfigurationState 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:
    GlobalSignalSuppressionWindow double

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    LookbackDays double
    Detection window expressed in days.
    Threshold double
    Detection threshold activity score.
    GlobalSignalSuppressionWindow float64

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    LookbackDays float64
    Detection window expressed in days.
    Threshold float64
    Detection threshold activity score.
    globalSignalSuppressionWindow Double

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookbackDays Double
    Detection window expressed in days.
    threshold Double
    Detection threshold activity score.
    globalSignalSuppressionWindow number

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookbackDays number
    Detection window expressed in days.
    threshold number
    Detection threshold activity score.
    global_signal_suppression_window float

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookback_days float
    Detection window expressed in days.
    threshold float
    Detection threshold activity score.
    globalSignalSuppressionWindow Number

    Detection global signal suppression window expressed in hours.

    The following attributes are exported:

    • ID - The internal ID of the insights configuration.
    lookbackDays Number
    Detection window expressed in days.
    threshold Number
    Detection threshold activity score.

    Import

    Insights Configuration can be imported using the id cse-insights-configuration:

    hcl

    $ pulumi import sumologic:index/cseInsightsConfiguration:CseInsightsConfiguration insights_configuration cse-insights-configuration
    

    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.
    sumologic logo
    Sumo Logic v0.23.5 published on Monday, Oct 7, 2024 by Pulumi