1. Registry
  2. Packages
  3. Sumologic Provider
  4. API Docs
  5. SloFolder
Viewing docs for sumologic 3.4.0
published on Thursday, Nov 19, 2026 by sumologic
sumologic logo
Viewing docs for sumologic 3.4.0
published on Thursday, Nov 19, 2026 by sumologic

    Provides the ability to create, read, delete, and update folders for SLO’s.

    Example SLO Folder

    NOTE: SLO folders are considered a different resource from Library content and monitor folders.

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const tfSloFolder = new sumologic.SloFolder("tf_slo_folder", {
        name: "Terraform Managed SLO's",
        description: "A folder for SLO's managed by terraform.",
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    tf_slo_folder = sumologic.SloFolder("tf_slo_folder",
        name="Terraform Managed SLO's",
        description="A folder for SLO's managed by terraform.")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewSloFolder(ctx, "tf_slo_folder", &sumologic.SloFolderArgs{
    			Name:        pulumi.String("Terraform Managed SLO's"),
    			Description: pulumi.String("A folder for SLO's managed by terraform."),
    		})
    		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 tfSloFolder = new Sumologic.SloFolder("tf_slo_folder", new()
        {
            Name = "Terraform Managed SLO's",
            Description = "A folder for SLO's managed by terraform.",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.SloFolder;
    import com.pulumi.sumologic.SloFolderArgs;
    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 tfSloFolder = new SloFolder("tfSloFolder", SloFolderArgs.builder()
                .name("Terraform Managed SLO's")
                .description("A folder for SLO's managed by terraform.")
                .build());
    
        }
    }
    
    resources:
      tfSloFolder:
        type: sumologic:SloFolder
        name: tf_slo_folder
        properties:
          name: Terraform Managed SLO's
          description: A folder for SLO's managed by terraform.
    
    Example coming soon!
    

    Example Creating SLO Folders and then SLO’s in them

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const tfSloFolder = new sumologic.SloFolder("tf_slo_folder", {
        name: "slo-tf-folder",
        description: "folder for SLO created for testing",
        parentId: "0000000000000001",
    });
    const sloTfTest = new sumologic.Slo("slo_tf_test", {
        name: "slo-tf-test1",
        description: "example SLO created for testing",
        parentId: tfSloFolder.sloFolderId,
        signalType: "Latency",
        service: "auth",
        application: "login",
        compliances: [{
            complianceType: "Rolling",
            size: "7d",
            target: 99,
            timezone: "Asia/Kolkata",
        }],
        indicator: {
            windowBasedEvaluation: {
                op: "LessThan",
                queryType: "Metrics",
                aggregation: "Avg",
                size: "1m",
                threshold: 200,
                queries: [{
                    queryGroupType: "Threshold",
                    queryGroups: [{
                        rowId: "A",
                        query: "metric=request_time_p90  service=auth api=login",
                        useRowCount: false,
                    }],
                }],
            },
        },
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    tf_slo_folder = sumologic.SloFolder("tf_slo_folder",
        name="slo-tf-folder",
        description="folder for SLO created for testing",
        parent_id="0000000000000001")
    slo_tf_test = sumologic.Slo("slo_tf_test",
        name="slo-tf-test1",
        description="example SLO created for testing",
        parent_id=tf_slo_folder.slo_folder_id,
        signal_type="Latency",
        service="auth",
        application="login",
        compliances=[{
            "compliance_type": "Rolling",
            "size": "7d",
            "target": 99,
            "timezone": "Asia/Kolkata",
        }],
        indicator={
            "window_based_evaluation": {
                "op": "LessThan",
                "query_type": "Metrics",
                "aggregation": "Avg",
                "size": "1m",
                "threshold": 200,
                "queries": [{
                    "query_group_type": "Threshold",
                    "query_groups": [{
                        "row_id": "A",
                        "query": "metric=request_time_p90  service=auth api=login",
                        "use_row_count": False,
                    }],
                }],
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tfSloFolder, err := sumologic.NewSloFolder(ctx, "tf_slo_folder", &sumologic.SloFolderArgs{
    			Name:        pulumi.String("slo-tf-folder"),
    			Description: pulumi.String("folder for SLO created for testing"),
    			ParentId:    pulumi.String("0000000000000001"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewSlo(ctx, "slo_tf_test", &sumologic.SloArgs{
    			Name:        pulumi.String("slo-tf-test1"),
    			Description: pulumi.String("example SLO created for testing"),
    			ParentId:    tfSloFolder.SloFolderId,
    			SignalType:  pulumi.String("Latency"),
    			Service:     pulumi.String("auth"),
    			Application: pulumi.String("login"),
    			Compliances: sumologic.SloComplianceArray{
    				&sumologic.SloComplianceArgs{
    					ComplianceType: pulumi.String("Rolling"),
    					Size:           pulumi.String("7d"),
    					Target:         pulumi.Float64(99),
    					Timezone:       pulumi.String("Asia/Kolkata"),
    				},
    			},
    			Indicator: &sumologic.SloIndicatorArgs{
    				WindowBasedEvaluation: &sumologic.SloIndicatorWindowBasedEvaluationArgs{
    					Op:          pulumi.String("LessThan"),
    					QueryType:   pulumi.String("Metrics"),
    					Aggregation: pulumi.String("Avg"),
    					Size:        pulumi.String("1m"),
    					Threshold:   pulumi.Float64(200),
    					Queries: sumologic.SloIndicatorWindowBasedEvaluationQueryArray{
    						&sumologic.SloIndicatorWindowBasedEvaluationQueryArgs{
    							QueryGroupType: pulumi.String("Threshold"),
    							QueryGroups: sumologic.SloIndicatorWindowBasedEvaluationQueryQueryGroupArray{
    								&sumologic.SloIndicatorWindowBasedEvaluationQueryQueryGroupArgs{
    									RowId:       pulumi.String("A"),
    									Query:       pulumi.String("metric=request_time_p90  service=auth api=login"),
    									UseRowCount: pulumi.Bool(false),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		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 tfSloFolder = new Sumologic.SloFolder("tf_slo_folder", new()
        {
            Name = "slo-tf-folder",
            Description = "folder for SLO created for testing",
            ParentId = "0000000000000001",
        });
    
        var sloTfTest = new Sumologic.Slo("slo_tf_test", new()
        {
            Name = "slo-tf-test1",
            Description = "example SLO created for testing",
            ParentId = tfSloFolder.SloFolderId,
            SignalType = "Latency",
            Service = "auth",
            Application = "login",
            Compliances = new[]
            {
                new Sumologic.Inputs.SloComplianceArgs
                {
                    ComplianceType = "Rolling",
                    Size = "7d",
                    Target = 99,
                    Timezone = "Asia/Kolkata",
                },
            },
            Indicator = new Sumologic.Inputs.SloIndicatorArgs
            {
                WindowBasedEvaluation = new Sumologic.Inputs.SloIndicatorWindowBasedEvaluationArgs
                {
                    Op = "LessThan",
                    QueryType = "Metrics",
                    Aggregation = "Avg",
                    Size = "1m",
                    Threshold = 200,
                    Queries = new[]
                    {
                        new Sumologic.Inputs.SloIndicatorWindowBasedEvaluationQueryArgs
                        {
                            QueryGroupType = "Threshold",
                            QueryGroups = new[]
                            {
                                new Sumologic.Inputs.SloIndicatorWindowBasedEvaluationQueryQueryGroupArgs
                                {
                                    RowId = "A",
                                    Query = "metric=request_time_p90  service=auth api=login",
                                    UseRowCount = false,
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.SloFolder;
    import com.pulumi.sumologic.SloFolderArgs;
    import com.pulumi.sumologic.Slo;
    import com.pulumi.sumologic.SloArgs;
    import com.pulumi.sumologic.inputs.SloComplianceArgs;
    import com.pulumi.sumologic.inputs.SloIndicatorArgs;
    import com.pulumi.sumologic.inputs.SloIndicatorWindowBasedEvaluationArgs;
    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 tfSloFolder = new SloFolder("tfSloFolder", SloFolderArgs.builder()
                .name("slo-tf-folder")
                .description("folder for SLO created for testing")
                .parentId("0000000000000001")
                .build());
    
            var sloTfTest = new Slo("sloTfTest", SloArgs.builder()
                .name("slo-tf-test1")
                .description("example SLO created for testing")
                .parentId(tfSloFolder.sloFolderId())
                .signalType("Latency")
                .service("auth")
                .application("login")
                .compliances(SloComplianceArgs.builder()
                    .complianceType("Rolling")
                    .size("7d")
                    .target(99.0)
                    .timezone("Asia/Kolkata")
                    .build())
                .indicator(SloIndicatorArgs.builder()
                    .windowBasedEvaluation(SloIndicatorWindowBasedEvaluationArgs.builder()
                        .op("LessThan")
                        .queryType("Metrics")
                        .aggregation("Avg")
                        .size("1m")
                        .threshold(200.0)
                        .queries(SloIndicatorWindowBasedEvaluationQueryArgs.builder()
                            .queryGroupType("Threshold")
                            .queryGroups(SloIndicatorWindowBasedEvaluationQueryQueryGroupArgs.builder()
                                .rowId("A")
                                .query("metric=request_time_p90  service=auth api=login")
                                .useRowCount(false)
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      tfSloFolder:
        type: sumologic:SloFolder
        name: tf_slo_folder
        properties:
          name: slo-tf-folder
          description: folder for SLO created for testing
          parentId: '0000000000000001'
      sloTfTest:
        type: sumologic:Slo
        name: slo_tf_test
        properties:
          name: slo-tf-test1
          description: example SLO created for testing
          parentId: ${tfSloFolder.sloFolderId}
          signalType: Latency
          service: auth
          application: login
          compliances:
            - complianceType: Rolling
              size: 7d
              target: 99
              timezone: Asia/Kolkata
          indicator:
            windowBasedEvaluation:
              op: LessThan
              queryType: Metrics
              aggregation: Avg
              size: 1m
              threshold: 200
              queries:
                - queryGroupType: Threshold
                  queryGroups:
                    - rowId: A
                      query: metric=request_time_p90  service=auth api=login
                      useRowCount: false
    
    Example coming soon!
    

    Example Nested SLO Folders

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const tfPaymentsTeamRootFolder = new sumologic.SloFolder("tf_payments_team_root_folder", {
        name: "Security Team SLOs",
        description: "SLO's payments services.",
    });
    const tfPaymentsTeamProdFolder = new sumologic.SloFolder("tf_payments_team_prod_folder", {
        name: "Production SLOs",
        description: "SLOs for the Payments service on Production Environment.",
        parentId: tfPaymentsTeamRootFolder.sloFolderId,
    });
    const tfPaymentsTeamStagFolder = new sumologic.SloFolder("tf_payments_team_stag_folder", {
        name: "Staging SLOs",
        description: "SLOs for the payments service on Staging Environment.",
        parentId: tfPaymentsTeamRootFolder.sloFolderId,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    tf_payments_team_root_folder = sumologic.SloFolder("tf_payments_team_root_folder",
        name="Security Team SLOs",
        description="SLO's payments services.")
    tf_payments_team_prod_folder = sumologic.SloFolder("tf_payments_team_prod_folder",
        name="Production SLOs",
        description="SLOs for the Payments service on Production Environment.",
        parent_id=tf_payments_team_root_folder.slo_folder_id)
    tf_payments_team_stag_folder = sumologic.SloFolder("tf_payments_team_stag_folder",
        name="Staging SLOs",
        description="SLOs for the payments service on Staging Environment.",
        parent_id=tf_payments_team_root_folder.slo_folder_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tfPaymentsTeamRootFolder, err := sumologic.NewSloFolder(ctx, "tf_payments_team_root_folder", &sumologic.SloFolderArgs{
    			Name:        pulumi.String("Security Team SLOs"),
    			Description: pulumi.String("SLO's payments services."),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewSloFolder(ctx, "tf_payments_team_prod_folder", &sumologic.SloFolderArgs{
    			Name:        pulumi.String("Production SLOs"),
    			Description: pulumi.String("SLOs for the Payments service on Production Environment."),
    			ParentId:    tfPaymentsTeamRootFolder.SloFolderId,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewSloFolder(ctx, "tf_payments_team_stag_folder", &sumologic.SloFolderArgs{
    			Name:        pulumi.String("Staging SLOs"),
    			Description: pulumi.String("SLOs for the payments service on Staging Environment."),
    			ParentId:    tfPaymentsTeamRootFolder.SloFolderId,
    		})
    		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 tfPaymentsTeamRootFolder = new Sumologic.SloFolder("tf_payments_team_root_folder", new()
        {
            Name = "Security Team SLOs",
            Description = "SLO's payments services.",
        });
    
        var tfPaymentsTeamProdFolder = new Sumologic.SloFolder("tf_payments_team_prod_folder", new()
        {
            Name = "Production SLOs",
            Description = "SLOs for the Payments service on Production Environment.",
            ParentId = tfPaymentsTeamRootFolder.SloFolderId,
        });
    
        var tfPaymentsTeamStagFolder = new Sumologic.SloFolder("tf_payments_team_stag_folder", new()
        {
            Name = "Staging SLOs",
            Description = "SLOs for the payments service on Staging Environment.",
            ParentId = tfPaymentsTeamRootFolder.SloFolderId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.SloFolder;
    import com.pulumi.sumologic.SloFolderArgs;
    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 tfPaymentsTeamRootFolder = new SloFolder("tfPaymentsTeamRootFolder", SloFolderArgs.builder()
                .name("Security Team SLOs")
                .description("SLO's payments services.")
                .build());
    
            var tfPaymentsTeamProdFolder = new SloFolder("tfPaymentsTeamProdFolder", SloFolderArgs.builder()
                .name("Production SLOs")
                .description("SLOs for the Payments service on Production Environment.")
                .parentId(tfPaymentsTeamRootFolder.sloFolderId())
                .build());
    
            var tfPaymentsTeamStagFolder = new SloFolder("tfPaymentsTeamStagFolder", SloFolderArgs.builder()
                .name("Staging SLOs")
                .description("SLOs for the payments service on Staging Environment.")
                .parentId(tfPaymentsTeamRootFolder.sloFolderId())
                .build());
    
        }
    }
    
    resources:
      tfPaymentsTeamRootFolder:
        type: sumologic:SloFolder
        name: tf_payments_team_root_folder
        properties:
          name: Security Team SLOs
          description: SLO's payments services.
      tfPaymentsTeamProdFolder:
        type: sumologic:SloFolder
        name: tf_payments_team_prod_folder
        properties:
          name: Production SLOs
          description: SLOs for the Payments service on Production Environment.
          parentId: ${tfPaymentsTeamRootFolder.sloFolderId}
      tfPaymentsTeamStagFolder:
        type: sumologic:SloFolder
        name: tf_payments_team_stag_folder
        properties:
          name: Staging SLOs
          description: SLOs for the payments service on Staging Environment.
          parentId: ${tfPaymentsTeamRootFolder.sloFolderId}
    
    Example coming soon!
    

    Create SloFolder Resource

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

    Constructor syntax

    new SloFolder(name: string, args: SloFolderArgs, opts?: CustomResourceOptions);
    @overload
    def SloFolder(resource_name: str,
                  args: SloFolderArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def SloFolder(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  description: Optional[str] = None,
                  content_type: Optional[str] = None,
                  is_locked: Optional[bool] = None,
                  name: Optional[str] = None,
                  parent_id: Optional[str] = None,
                  post_request_map: Optional[Mapping[str, str]] = None,
                  slo_folder_id: Optional[str] = None,
                  type: Optional[str] = None)
    func NewSloFolder(ctx *Context, name string, args SloFolderArgs, opts ...ResourceOption) (*SloFolder, error)
    public SloFolder(string name, SloFolderArgs args, CustomResourceOptions? opts = null)
    public SloFolder(String name, SloFolderArgs args)
    public SloFolder(String name, SloFolderArgs args, CustomResourceOptions options)
    
    type: sumologic:SloFolder
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sumologic_slo_folder" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SloFolderArgs
    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 SloFolderArgs
    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 SloFolderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SloFolderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SloFolderArgs
    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 sloFolderResource = new Sumologic.SloFolder("sloFolderResource", new()
    {
        Description = "string",
        ContentType = "string",
        IsLocked = false,
        Name = "string",
        ParentId = "string",
        PostRequestMap = 
        {
            { "string", "string" },
        },
        SloFolderId = "string",
        Type = "string",
    });
    
    example, err := sumologic.NewSloFolder(ctx, "sloFolderResource", &sumologic.SloFolderArgs{
    	Description: pulumi.String("string"),
    	ContentType: pulumi.String("string"),
    	IsLocked:    pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	ParentId:    pulumi.String("string"),
    	PostRequestMap: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	SloFolderId: pulumi.String("string"),
    	Type:        pulumi.String("string"),
    })
    
    resource "sumologic_slo_folder" "sloFolderResource" {
      lifecycle {
        create_before_destroy = true
      }
      description  = "string"
      content_type = "string"
      is_locked    = false
      name         = "string"
      parent_id    = "string"
      post_request_map = {
        "string" = "string"
      }
      slo_folder_id = "string"
      type          = "string"
    }
    
    var sloFolderResource = new SloFolder("sloFolderResource", SloFolderArgs.builder()
        .description("string")
        .contentType("string")
        .isLocked(false)
        .name("string")
        .parentId("string")
        .postRequestMap(Map.of("string", "string"))
        .sloFolderId("string")
        .type("string")
        .build());
    
    slo_folder_resource = sumologic.SloFolder("sloFolderResource",
        description="string",
        content_type="string",
        is_locked=False,
        name="string",
        parent_id="string",
        post_request_map={
            "string": "string",
        },
        slo_folder_id="string",
        type="string")
    
    const sloFolderResource = new sumologic.SloFolder("sloFolderResource", {
        description: "string",
        contentType: "string",
        isLocked: false,
        name: "string",
        parentId: "string",
        postRequestMap: {
            string: "string",
        },
        sloFolderId: "string",
        type: "string",
    });
    
    type: sumologic:SloFolder
    properties:
        contentType: string
        description: string
        isLocked: false
        name: string
        parentId: string
        postRequestMap:
            string: string
        sloFolderId: string
        type: string
    

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

    Description string
    The description of the SLO folder.
    ContentType string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    IsLocked bool
    Name string
    The name of the SLO folder. The name must be alphanumeric.
    ParentId string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    PostRequestMap Dictionary<string, string>
    SloFolderId string
    The identifier for this SLO folder.
    Type string
    The type of object model. Defaults to SlosLibraryFolder.
    Description string
    The description of the SLO folder.
    ContentType string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    IsLocked bool
    Name string
    The name of the SLO folder. The name must be alphanumeric.
    ParentId string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    PostRequestMap map[string]string
    SloFolderId string
    The identifier for this SLO folder.
    Type string
    The type of object model. Defaults to SlosLibraryFolder.
    description string
    The description of the SLO folder.
    content_type string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    is_locked bool
    name string
    The name of the SLO folder. The name must be alphanumeric.
    parent_id string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    post_request_map map(string)
    slo_folder_id string
    The identifier for this SLO folder.
    type string
    The type of object model. Defaults to SlosLibraryFolder.
    description String
    The description of the SLO folder.
    contentType String

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    isLocked Boolean
    name String
    The name of the SLO folder. The name must be alphanumeric.
    parentId String
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    postRequestMap Map<String,String>
    sloFolderId String
    The identifier for this SLO folder.
    type String
    The type of object model. Defaults to SlosLibraryFolder.
    description string
    The description of the SLO folder.
    contentType string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    isLocked boolean
    name string
    The name of the SLO folder. The name must be alphanumeric.
    parentId string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    postRequestMap {[key: string]: string}
    sloFolderId string
    The identifier for this SLO folder.
    type string
    The type of object model. Defaults to SlosLibraryFolder.
    description str
    The description of the SLO folder.
    content_type str

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    is_locked bool
    name str
    The name of the SLO folder. The name must be alphanumeric.
    parent_id str
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    post_request_map Mapping[str, str]
    slo_folder_id str
    The identifier for this SLO folder.
    type str
    The type of object model. Defaults to SlosLibraryFolder.
    description String
    The description of the SLO folder.
    contentType String

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    isLocked Boolean
    name String
    The name of the SLO folder. The name must be alphanumeric.
    parentId String
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    postRequestMap Map<String>
    sloFolderId String
    The identifier for this SLO folder.
    type String
    The type of object model. Defaults to SlosLibraryFolder.

    Outputs

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

    CreatedAt string
    Time the SLO folder was created, as reported by Sumo Logic.
    CreatedBy string
    ID of the user who created the SLO folder.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsMutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    IsSystem bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    ModifiedAt string
    Time the SLO folder was last modified.
    ModifiedBy string
    ID of the user who last modified the SLO folder.
    Version double
    The version of the SLO folder, set by Sumo Logic.
    CreatedAt string
    Time the SLO folder was created, as reported by Sumo Logic.
    CreatedBy string
    ID of the user who created the SLO folder.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsMutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    IsSystem bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    ModifiedAt string
    Time the SLO folder was last modified.
    ModifiedBy string
    ID of the user who last modified the SLO folder.
    Version float64
    The version of the SLO folder, set by Sumo Logic.
    created_at string
    Time the SLO folder was created, as reported by Sumo Logic.
    created_by string
    ID of the user who created the SLO folder.
    id string
    The provider-assigned unique ID for this managed resource.
    is_mutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    is_system bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modified_at string
    Time the SLO folder was last modified.
    modified_by string
    ID of the user who last modified the SLO folder.
    version number
    The version of the SLO folder, set by Sumo Logic.
    createdAt String
    Time the SLO folder was created, as reported by Sumo Logic.
    createdBy String
    ID of the user who created the SLO folder.
    id String
    The provider-assigned unique ID for this managed resource.
    isMutable Boolean
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    isSystem Boolean
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modifiedAt String
    Time the SLO folder was last modified.
    modifiedBy String
    ID of the user who last modified the SLO folder.
    version Double
    The version of the SLO folder, set by Sumo Logic.
    createdAt string
    Time the SLO folder was created, as reported by Sumo Logic.
    createdBy string
    ID of the user who created the SLO folder.
    id string
    The provider-assigned unique ID for this managed resource.
    isMutable boolean
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    isSystem boolean
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modifiedAt string
    Time the SLO folder was last modified.
    modifiedBy string
    ID of the user who last modified the SLO folder.
    version number
    The version of the SLO folder, set by Sumo Logic.
    created_at str
    Time the SLO folder was created, as reported by Sumo Logic.
    created_by str
    ID of the user who created the SLO folder.
    id str
    The provider-assigned unique ID for this managed resource.
    is_mutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    is_system bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modified_at str
    Time the SLO folder was last modified.
    modified_by str
    ID of the user who last modified the SLO folder.
    version float
    The version of the SLO folder, set by Sumo Logic.
    createdAt String
    Time the SLO folder was created, as reported by Sumo Logic.
    createdBy String
    ID of the user who created the SLO folder.
    id String
    The provider-assigned unique ID for this managed resource.
    isMutable Boolean
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    isSystem Boolean
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modifiedAt String
    Time the SLO folder was last modified.
    modifiedBy String
    ID of the user who last modified the SLO folder.
    version Number
    The version of the SLO folder, set by Sumo Logic.

    Look up Existing SloFolder Resource

    Get an existing SloFolder 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?: SloFolderState, opts?: CustomResourceOptions): SloFolder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content_type: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            description: Optional[str] = None,
            is_locked: Optional[bool] = None,
            is_mutable: Optional[bool] = None,
            is_system: Optional[bool] = None,
            modified_at: Optional[str] = None,
            modified_by: Optional[str] = None,
            name: Optional[str] = None,
            parent_id: Optional[str] = None,
            post_request_map: Optional[Mapping[str, str]] = None,
            slo_folder_id: Optional[str] = None,
            type: Optional[str] = None,
            version: Optional[float] = None) -> SloFolder
    func GetSloFolder(ctx *Context, name string, id IDInput, state *SloFolderState, opts ...ResourceOption) (*SloFolder, error)
    public static SloFolder Get(string name, Input<string> id, SloFolderState? state, CustomResourceOptions? opts = null)
    public static SloFolder get(String name, Output<String> id, SloFolderState state, CustomResourceOptions options)
    resources:  existingSloFolder:    type: sumologic:SloFolder    get:      id: ${id}
    import {
      to = sumologic_slo_folder.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state SloFolderState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state SloFolderState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state SloFolderState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state SloFolderState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    ContentType string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    CreatedAt string
    Time the SLO folder was created, as reported by Sumo Logic.
    CreatedBy string
    ID of the user who created the SLO folder.
    Description string
    The description of the SLO folder.
    IsLocked bool
    IsMutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    IsSystem bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    ModifiedAt string
    Time the SLO folder was last modified.
    ModifiedBy string
    ID of the user who last modified the SLO folder.
    Name string
    The name of the SLO folder. The name must be alphanumeric.
    ParentId string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    PostRequestMap Dictionary<string, string>
    SloFolderId string
    The identifier for this SLO folder.
    Type string
    The type of object model. Defaults to SlosLibraryFolder.
    Version double
    The version of the SLO folder, set by Sumo Logic.
    ContentType string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    CreatedAt string
    Time the SLO folder was created, as reported by Sumo Logic.
    CreatedBy string
    ID of the user who created the SLO folder.
    Description string
    The description of the SLO folder.
    IsLocked bool
    IsMutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    IsSystem bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    ModifiedAt string
    Time the SLO folder was last modified.
    ModifiedBy string
    ID of the user who last modified the SLO folder.
    Name string
    The name of the SLO folder. The name must be alphanumeric.
    ParentId string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    PostRequestMap map[string]string
    SloFolderId string
    The identifier for this SLO folder.
    Type string
    The type of object model. Defaults to SlosLibraryFolder.
    Version float64
    The version of the SLO folder, set by Sumo Logic.
    content_type string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    created_at string
    Time the SLO folder was created, as reported by Sumo Logic.
    created_by string
    ID of the user who created the SLO folder.
    description string
    The description of the SLO folder.
    is_locked bool
    is_mutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    is_system bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modified_at string
    Time the SLO folder was last modified.
    modified_by string
    ID of the user who last modified the SLO folder.
    name string
    The name of the SLO folder. The name must be alphanumeric.
    parent_id string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    post_request_map map(string)
    slo_folder_id string
    The identifier for this SLO folder.
    type string
    The type of object model. Defaults to SlosLibraryFolder.
    version number
    The version of the SLO folder, set by Sumo Logic.
    contentType String

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    createdAt String
    Time the SLO folder was created, as reported by Sumo Logic.
    createdBy String
    ID of the user who created the SLO folder.
    description String
    The description of the SLO folder.
    isLocked Boolean
    isMutable Boolean
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    isSystem Boolean
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modifiedAt String
    Time the SLO folder was last modified.
    modifiedBy String
    ID of the user who last modified the SLO folder.
    name String
    The name of the SLO folder. The name must be alphanumeric.
    parentId String
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    postRequestMap Map<String,String>
    sloFolderId String
    The identifier for this SLO folder.
    type String
    The type of object model. Defaults to SlosLibraryFolder.
    version Double
    The version of the SLO folder, set by Sumo Logic.
    contentType string

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    createdAt string
    Time the SLO folder was created, as reported by Sumo Logic.
    createdBy string
    ID of the user who created the SLO folder.
    description string
    The description of the SLO folder.
    isLocked boolean
    isMutable boolean
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    isSystem boolean
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modifiedAt string
    Time the SLO folder was last modified.
    modifiedBy string
    ID of the user who last modified the SLO folder.
    name string
    The name of the SLO folder. The name must be alphanumeric.
    parentId string
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    postRequestMap {[key: string]: string}
    sloFolderId string
    The identifier for this SLO folder.
    type string
    The type of object model. Defaults to SlosLibraryFolder.
    version number
    The version of the SLO folder, set by Sumo Logic.
    content_type str

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    created_at str
    Time the SLO folder was created, as reported by Sumo Logic.
    created_by str
    ID of the user who created the SLO folder.
    description str
    The description of the SLO folder.
    is_locked bool
    is_mutable bool
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    is_system bool
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modified_at str
    Time the SLO folder was last modified.
    modified_by str
    ID of the user who last modified the SLO folder.
    name str
    The name of the SLO folder. The name must be alphanumeric.
    parent_id str
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    post_request_map Mapping[str, str]
    slo_folder_id str
    The identifier for this SLO folder.
    type str
    The type of object model. Defaults to SlosLibraryFolder.
    version float
    The version of the SLO folder, set by Sumo Logic.
    contentType String

    The type of the content object. Defaults to Folder.

    Additional data provided in state:

    createdAt String
    Time the SLO folder was created, as reported by Sumo Logic.
    createdBy String
    ID of the user who created the SLO folder.
    description String
    The description of the SLO folder.
    isLocked Boolean
    isMutable Boolean
    Whether the SLO folder can be modified, as reported by Sumo Logic.
    isSystem Boolean
    Whether the SLO folder is a system-provided one, as reported by Sumo Logic.
    modifiedAt String
    Time the SLO folder was last modified.
    modifiedBy String
    ID of the user who last modified the SLO folder.
    name String
    The name of the SLO folder. The name must be alphanumeric.
    parentId String
    The identifier of the SLO Folder that contains this SLO Folder. Defaults to the root folder.
    postRequestMap Map<String>
    sloFolderId String
    The identifier for this SLO folder.
    type String
    The type of object model. Defaults to SlosLibraryFolder.
    version Number
    The version of the SLO folder, set by Sumo Logic.

    Import

    SLO folders can be imported using the SLO folder identifier, such as:

    shell

    $ pulumi import sumologic:index/sloFolder:SloFolder tf_slo_folder_1 0000000000ABC123
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Sumo Logic sumologic/terraform-provider-sumologic
    License
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Viewing docs for sumologic 3.4.0
    published on Thursday, Nov 19, 2026 by sumologic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial