1. Packages
  2. Sumo Logic
  3. API Docs
  4. CseInsightsStatus
Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi

sumologic.CseInsightsStatus

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi

    Provides a Sumologic CSE Insights Status. Preconfigured Insight statuses cannot be edited or deleted; you can however create custom statuses.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var insightsStatus = new SumoLogic.CseInsightsStatus("insightsStatus", new()
        {
            Description = "New description",
        });
    
    });
    
    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.NewCseInsightsStatus(ctx, "insightsStatus", &sumologic.CseInsightsStatusArgs{
    			Description: pulumi.String("New description"),
    		})
    		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.CseInsightsStatus;
    import com.pulumi.sumologic.CseInsightsStatusArgs;
    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 insightsStatus = new CseInsightsStatus("insightsStatus", CseInsightsStatusArgs.builder()        
                .description("New description")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    insights_status = sumologic.CseInsightsStatus("insightsStatus", description="New description")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const insightsStatus = new sumologic.CseInsightsStatus("insightsStatus", {description: "New description"});
    
    resources:
      insightsStatus:
        type: sumologic:CseInsightsStatus
        properties:
          description: New description
    

    Create CseInsightsStatus Resource

    new CseInsightsStatus(name: string, args?: CseInsightsStatusArgs, opts?: CustomResourceOptions);
    @overload
    def CseInsightsStatus(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          name: Optional[str] = None)
    @overload
    def CseInsightsStatus(resource_name: str,
                          args: Optional[CseInsightsStatusArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    func NewCseInsightsStatus(ctx *Context, name string, args *CseInsightsStatusArgs, opts ...ResourceOption) (*CseInsightsStatus, error)
    public CseInsightsStatus(string name, CseInsightsStatusArgs? args = null, CustomResourceOptions? opts = null)
    public CseInsightsStatus(String name, CseInsightsStatusArgs args)
    public CseInsightsStatus(String name, CseInsightsStatusArgs args, CustomResourceOptions options)
    
    type: sumologic:CseInsightsStatus
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args CseInsightsStatusArgs
    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 CseInsightsStatusArgs
    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 CseInsightsStatusArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CseInsightsStatusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CseInsightsStatusArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Description string

    The description of the insights status.

    The following attributes are exported:

    Name string
    The name of the insights status.
    Description string

    The description of the insights status.

    The following attributes are exported:

    Name string
    The name of the insights status.
    description String

    The description of the insights status.

    The following attributes are exported:

    name String
    The name of the insights status.
    description string

    The description of the insights status.

    The following attributes are exported:

    name string
    The name of the insights status.
    description str

    The description of the insights status.

    The following attributes are exported:

    name str
    The name of the insights status.
    description String

    The description of the insights status.

    The following attributes are exported:

    name String
    The name of the insights status.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CseInsightsStatus resource produces the following output properties:

    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    displayName string
    id string
    The provider-assigned unique ID for this managed resource.
    display_name str
    id str
    The provider-assigned unique ID for this managed resource.
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CseInsightsStatus Resource

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

    The following attributes are exported:

    DisplayName string
    Name string
    The name of the insights status.
    Description string

    The description of the insights status.

    The following attributes are exported:

    DisplayName string
    Name string
    The name of the insights status.
    description String

    The description of the insights status.

    The following attributes are exported:

    displayName String
    name String
    The name of the insights status.
    description string

    The description of the insights status.

    The following attributes are exported:

    displayName string
    name string
    The name of the insights status.
    description str

    The description of the insights status.

    The following attributes are exported:

    display_name str
    name str
    The name of the insights status.
    description String

    The description of the insights status.

    The following attributes are exported:

    displayName String
    name String
    The name of the insights status.

    Import

    Insights Status can be imported using the field id, e.g.:

    hcl

    $ pulumi import sumologic:index/cseInsightsStatus:CseInsightsStatus insights_status id
    

    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.20.3 published on Wednesday, Mar 6, 2024 by Pulumi