1. Packages
  2. Sumologic Provider
  3. API Docs
  4. CseInsightsStatus
Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi

sumologic.CseInsightsStatus

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.23.7 published on Thursday, Oct 24, 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

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const insightsStatus = new sumologic.CseInsightsStatus("insights_status", {
        name: "New Name",
        description: "New description",
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    insights_status = sumologic.CseInsightsStatus("insights_status",
        name="New Name",
        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, "insights_status", &sumologic.CseInsightsStatusArgs{
    			Name:        pulumi.String("New Name"),
    			Description: pulumi.String("New description"),
    		})
    		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 insightsStatus = new SumoLogic.CseInsightsStatus("insights_status", new()
        {
            Name = "New Name",
            Description = "New description",
        });
    
    });
    
    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()
                .name("New Name")
                .description("New description")
                .build());
    
        }
    }
    
    resources:
      insightsStatus:
        type: sumologic:CseInsightsStatus
        name: insights_status
        properties:
          name: New Name
          description: New description
    

    Create CseInsightsStatus Resource

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

    Constructor syntax

    new CseInsightsStatus(name: string, args?: CseInsightsStatusArgs, opts?: CustomResourceOptions);
    @overload
    def CseInsightsStatus(resource_name: str,
                          args: Optional[CseInsightsStatusArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CseInsightsStatus(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          name: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cseInsightsStatusResource = new SumoLogic.CseInsightsStatus("cseInsightsStatusResource", new()
    {
        Description = "string",
        Name = "string",
    });
    
    example, err := sumologic.NewCseInsightsStatus(ctx, "cseInsightsStatusResource", &sumologic.CseInsightsStatusArgs{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var cseInsightsStatusResource = new CseInsightsStatus("cseInsightsStatusResource", CseInsightsStatusArgs.builder()
        .description("string")
        .name("string")
        .build());
    
    cse_insights_status_resource = sumologic.CseInsightsStatus("cseInsightsStatusResource",
        description="string",
        name="string")
    
    const cseInsightsStatusResource = new sumologic.CseInsightsStatus("cseInsightsStatusResource", {
        description: "string",
        name: "string",
    });
    
    type: sumologic:CseInsightsStatus
    properties:
        description: string
        name: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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
    

    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.7 published on Thursday, Oct 24, 2024 by Pulumi