1. Packages
  2. Coralogix Provider
  3. API Docs
  4. TcoPoliciesLogs
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

coralogix.TcoPoliciesLogs

Explore with Pulumi AI

coralogix logo
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

    Coralogix TCO-Policies-List. For more information - https://coralogix.com/docs/tco-optimizer-api.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as coralogix from "@pulumi/coralogix";
    
    const tcoPolicies = new coralogix.TcoPoliciesLogs("tcoPolicies", {policies: [
        {
            applications: {
                names: ["prod"],
                ruleType: "starts_with",
            },
            archiveRetentionId: "e1c980d0-c910-4c54-8326-67f3cf95645a",
            name: "Example tco_policy from terraform 1",
            priority: "low",
            severities: [
                "debug",
                "verbose",
                "info",
            ],
            subsystems: {
                names: [
                    "mobile",
                    "web",
                ],
                ruleType: "is",
            },
        },
        {
            applications: {
                names: ["prod"],
                ruleType: "starts_with",
            },
            name: "Example tco_policy from terraform 2",
            priority: "medium",
            severities: [
                "error",
                "warning",
                "critical",
            ],
            subsystems: {
                names: [
                    "mobile",
                    "web",
                ],
                ruleType: "is",
            },
        },
        {
            applications: {
                names: ["prod"],
                ruleType: "starts_with",
            },
            name: "Example tco_policy from terraform 3",
            priority: "high",
            severities: [
                "error",
                "warning",
                "critical",
            ],
            subsystems: {
                names: [
                    "mobile",
                    "web",
                ],
                ruleType: "is",
            },
        },
        {
            applications: {
                names: ["prod"],
                ruleType: "starts_with",
            },
            name: "Example tco_policy from terraform 4",
            priority: "high",
            severities: [
                "error",
                "warning",
                "critical",
            ],
            subsystems: {
                names: [
                    "mobile",
                    "web",
                ],
                ruleType: "is",
            },
        },
    ]});
    
    import pulumi
    import pulumi_coralogix as coralogix
    
    tco_policies = coralogix.TcoPoliciesLogs("tcoPolicies", policies=[
        {
            "applications": {
                "names": ["prod"],
                "rule_type": "starts_with",
            },
            "archive_retention_id": "e1c980d0-c910-4c54-8326-67f3cf95645a",
            "name": "Example tco_policy from terraform 1",
            "priority": "low",
            "severities": [
                "debug",
                "verbose",
                "info",
            ],
            "subsystems": {
                "names": [
                    "mobile",
                    "web",
                ],
                "rule_type": "is",
            },
        },
        {
            "applications": {
                "names": ["prod"],
                "rule_type": "starts_with",
            },
            "name": "Example tco_policy from terraform 2",
            "priority": "medium",
            "severities": [
                "error",
                "warning",
                "critical",
            ],
            "subsystems": {
                "names": [
                    "mobile",
                    "web",
                ],
                "rule_type": "is",
            },
        },
        {
            "applications": {
                "names": ["prod"],
                "rule_type": "starts_with",
            },
            "name": "Example tco_policy from terraform 3",
            "priority": "high",
            "severities": [
                "error",
                "warning",
                "critical",
            ],
            "subsystems": {
                "names": [
                    "mobile",
                    "web",
                ],
                "rule_type": "is",
            },
        },
        {
            "applications": {
                "names": ["prod"],
                "rule_type": "starts_with",
            },
            "name": "Example tco_policy from terraform 4",
            "priority": "high",
            "severities": [
                "error",
                "warning",
                "critical",
            ],
            "subsystems": {
                "names": [
                    "mobile",
                    "web",
                ],
                "rule_type": "is",
            },
        },
    ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := coralogix.NewTcoPoliciesLogs(ctx, "tcoPolicies", &coralogix.TcoPoliciesLogsArgs{
    			Policies: coralogix.TcoPoliciesLogsPolicyArray{
    				&coralogix.TcoPoliciesLogsPolicyArgs{
    					Applications: &coralogix.TcoPoliciesLogsPolicyApplicationsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("prod"),
    						},
    						RuleType: pulumi.String("starts_with"),
    					},
    					ArchiveRetentionId: pulumi.String("e1c980d0-c910-4c54-8326-67f3cf95645a"),
    					Name:               pulumi.String("Example tco_policy from terraform 1"),
    					Priority:           pulumi.String("low"),
    					Severities: pulumi.StringArray{
    						pulumi.String("debug"),
    						pulumi.String("verbose"),
    						pulumi.String("info"),
    					},
    					Subsystems: &coralogix.TcoPoliciesLogsPolicySubsystemsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("mobile"),
    							pulumi.String("web"),
    						},
    						RuleType: pulumi.String("is"),
    					},
    				},
    				&coralogix.TcoPoliciesLogsPolicyArgs{
    					Applications: &coralogix.TcoPoliciesLogsPolicyApplicationsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("prod"),
    						},
    						RuleType: pulumi.String("starts_with"),
    					},
    					Name:     pulumi.String("Example tco_policy from terraform 2"),
    					Priority: pulumi.String("medium"),
    					Severities: pulumi.StringArray{
    						pulumi.String("error"),
    						pulumi.String("warning"),
    						pulumi.String("critical"),
    					},
    					Subsystems: &coralogix.TcoPoliciesLogsPolicySubsystemsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("mobile"),
    							pulumi.String("web"),
    						},
    						RuleType: pulumi.String("is"),
    					},
    				},
    				&coralogix.TcoPoliciesLogsPolicyArgs{
    					Applications: &coralogix.TcoPoliciesLogsPolicyApplicationsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("prod"),
    						},
    						RuleType: pulumi.String("starts_with"),
    					},
    					Name:     pulumi.String("Example tco_policy from terraform 3"),
    					Priority: pulumi.String("high"),
    					Severities: pulumi.StringArray{
    						pulumi.String("error"),
    						pulumi.String("warning"),
    						pulumi.String("critical"),
    					},
    					Subsystems: &coralogix.TcoPoliciesLogsPolicySubsystemsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("mobile"),
    							pulumi.String("web"),
    						},
    						RuleType: pulumi.String("is"),
    					},
    				},
    				&coralogix.TcoPoliciesLogsPolicyArgs{
    					Applications: &coralogix.TcoPoliciesLogsPolicyApplicationsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("prod"),
    						},
    						RuleType: pulumi.String("starts_with"),
    					},
    					Name:     pulumi.String("Example tco_policy from terraform 4"),
    					Priority: pulumi.String("high"),
    					Severities: pulumi.StringArray{
    						pulumi.String("error"),
    						pulumi.String("warning"),
    						pulumi.String("critical"),
    					},
    					Subsystems: &coralogix.TcoPoliciesLogsPolicySubsystemsArgs{
    						Names: pulumi.StringArray{
    							pulumi.String("mobile"),
    							pulumi.String("web"),
    						},
    						RuleType: pulumi.String("is"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Coralogix = Pulumi.Coralogix;
    
    return await Deployment.RunAsync(() => 
    {
        var tcoPolicies = new Coralogix.TcoPoliciesLogs("tcoPolicies", new()
        {
            Policies = new[]
            {
                new Coralogix.Inputs.TcoPoliciesLogsPolicyArgs
                {
                    Applications = new Coralogix.Inputs.TcoPoliciesLogsPolicyApplicationsArgs
                    {
                        Names = new[]
                        {
                            "prod",
                        },
                        RuleType = "starts_with",
                    },
                    ArchiveRetentionId = "e1c980d0-c910-4c54-8326-67f3cf95645a",
                    Name = "Example tco_policy from terraform 1",
                    Priority = "low",
                    Severities = new[]
                    {
                        "debug",
                        "verbose",
                        "info",
                    },
                    Subsystems = new Coralogix.Inputs.TcoPoliciesLogsPolicySubsystemsArgs
                    {
                        Names = new[]
                        {
                            "mobile",
                            "web",
                        },
                        RuleType = "is",
                    },
                },
                new Coralogix.Inputs.TcoPoliciesLogsPolicyArgs
                {
                    Applications = new Coralogix.Inputs.TcoPoliciesLogsPolicyApplicationsArgs
                    {
                        Names = new[]
                        {
                            "prod",
                        },
                        RuleType = "starts_with",
                    },
                    Name = "Example tco_policy from terraform 2",
                    Priority = "medium",
                    Severities = new[]
                    {
                        "error",
                        "warning",
                        "critical",
                    },
                    Subsystems = new Coralogix.Inputs.TcoPoliciesLogsPolicySubsystemsArgs
                    {
                        Names = new[]
                        {
                            "mobile",
                            "web",
                        },
                        RuleType = "is",
                    },
                },
                new Coralogix.Inputs.TcoPoliciesLogsPolicyArgs
                {
                    Applications = new Coralogix.Inputs.TcoPoliciesLogsPolicyApplicationsArgs
                    {
                        Names = new[]
                        {
                            "prod",
                        },
                        RuleType = "starts_with",
                    },
                    Name = "Example tco_policy from terraform 3",
                    Priority = "high",
                    Severities = new[]
                    {
                        "error",
                        "warning",
                        "critical",
                    },
                    Subsystems = new Coralogix.Inputs.TcoPoliciesLogsPolicySubsystemsArgs
                    {
                        Names = new[]
                        {
                            "mobile",
                            "web",
                        },
                        RuleType = "is",
                    },
                },
                new Coralogix.Inputs.TcoPoliciesLogsPolicyArgs
                {
                    Applications = new Coralogix.Inputs.TcoPoliciesLogsPolicyApplicationsArgs
                    {
                        Names = new[]
                        {
                            "prod",
                        },
                        RuleType = "starts_with",
                    },
                    Name = "Example tco_policy from terraform 4",
                    Priority = "high",
                    Severities = new[]
                    {
                        "error",
                        "warning",
                        "critical",
                    },
                    Subsystems = new Coralogix.Inputs.TcoPoliciesLogsPolicySubsystemsArgs
                    {
                        Names = new[]
                        {
                            "mobile",
                            "web",
                        },
                        RuleType = "is",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coralogix.TcoPoliciesLogs;
    import com.pulumi.coralogix.TcoPoliciesLogsArgs;
    import com.pulumi.coralogix.inputs.TcoPoliciesLogsPolicyArgs;
    import com.pulumi.coralogix.inputs.TcoPoliciesLogsPolicyApplicationsArgs;
    import com.pulumi.coralogix.inputs.TcoPoliciesLogsPolicySubsystemsArgs;
    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 tcoPolicies = new TcoPoliciesLogs("tcoPolicies", TcoPoliciesLogsArgs.builder()
                .policies(            
                    TcoPoliciesLogsPolicyArgs.builder()
                        .applications(TcoPoliciesLogsPolicyApplicationsArgs.builder()
                            .names("prod")
                            .ruleType("starts_with")
                            .build())
                        .archiveRetentionId("e1c980d0-c910-4c54-8326-67f3cf95645a")
                        .name("Example tco_policy from terraform 1")
                        .priority("low")
                        .severities(                    
                            "debug",
                            "verbose",
                            "info")
                        .subsystems(TcoPoliciesLogsPolicySubsystemsArgs.builder()
                            .names(                        
                                "mobile",
                                "web")
                            .ruleType("is")
                            .build())
                        .build(),
                    TcoPoliciesLogsPolicyArgs.builder()
                        .applications(TcoPoliciesLogsPolicyApplicationsArgs.builder()
                            .names("prod")
                            .ruleType("starts_with")
                            .build())
                        .name("Example tco_policy from terraform 2")
                        .priority("medium")
                        .severities(                    
                            "error",
                            "warning",
                            "critical")
                        .subsystems(TcoPoliciesLogsPolicySubsystemsArgs.builder()
                            .names(                        
                                "mobile",
                                "web")
                            .ruleType("is")
                            .build())
                        .build(),
                    TcoPoliciesLogsPolicyArgs.builder()
                        .applications(TcoPoliciesLogsPolicyApplicationsArgs.builder()
                            .names("prod")
                            .ruleType("starts_with")
                            .build())
                        .name("Example tco_policy from terraform 3")
                        .priority("high")
                        .severities(                    
                            "error",
                            "warning",
                            "critical")
                        .subsystems(TcoPoliciesLogsPolicySubsystemsArgs.builder()
                            .names(                        
                                "mobile",
                                "web")
                            .ruleType("is")
                            .build())
                        .build(),
                    TcoPoliciesLogsPolicyArgs.builder()
                        .applications(TcoPoliciesLogsPolicyApplicationsArgs.builder()
                            .names("prod")
                            .ruleType("starts_with")
                            .build())
                        .name("Example tco_policy from terraform 4")
                        .priority("high")
                        .severities(                    
                            "error",
                            "warning",
                            "critical")
                        .subsystems(TcoPoliciesLogsPolicySubsystemsArgs.builder()
                            .names(                        
                                "mobile",
                                "web")
                            .ruleType("is")
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      tcoPolicies:
        type: coralogix:TcoPoliciesLogs
        properties:
          policies:
            - applications:
                names:
                  - prod
                ruleType: starts_with
              archiveRetentionId: e1c980d0-c910-4c54-8326-67f3cf95645a
              name: Example tco_policy from terraform 1
              priority: low
              severities:
                - debug
                - verbose
                - info
              subsystems:
                names:
                  - mobile
                  - web
                ruleType: is
            - applications:
                names:
                  - prod
                ruleType: starts_with
              name: Example tco_policy from terraform 2
              priority: medium
              severities:
                - error
                - warning
                - critical
              subsystems:
                names:
                  - mobile
                  - web
                ruleType: is
            - applications:
                names:
                  - prod
                ruleType: starts_with
              name: Example tco_policy from terraform 3
              priority: high
              severities:
                - error
                - warning
                - critical
              subsystems:
                names:
                  - mobile
                  - web
                ruleType: is
            - applications:
                names:
                  - prod
                ruleType: starts_with
              name: Example tco_policy from terraform 4
              priority: high
              severities:
                - error
                - warning
                - critical
              subsystems:
                names:
                  - mobile
                  - web
                ruleType: is
    

    Create TcoPoliciesLogs Resource

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

    Constructor syntax

    new TcoPoliciesLogs(name: string, args: TcoPoliciesLogsArgs, opts?: CustomResourceOptions);
    @overload
    def TcoPoliciesLogs(resource_name: str,
                        args: TcoPoliciesLogsArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def TcoPoliciesLogs(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        policies: Optional[Sequence[TcoPoliciesLogsPolicyArgs]] = None)
    func NewTcoPoliciesLogs(ctx *Context, name string, args TcoPoliciesLogsArgs, opts ...ResourceOption) (*TcoPoliciesLogs, error)
    public TcoPoliciesLogs(string name, TcoPoliciesLogsArgs args, CustomResourceOptions? opts = null)
    public TcoPoliciesLogs(String name, TcoPoliciesLogsArgs args)
    public TcoPoliciesLogs(String name, TcoPoliciesLogsArgs args, CustomResourceOptions options)
    
    type: coralogix:TcoPoliciesLogs
    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 TcoPoliciesLogsArgs
    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 TcoPoliciesLogsArgs
    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 TcoPoliciesLogsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TcoPoliciesLogsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TcoPoliciesLogsArgs
    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 tcoPoliciesLogsResource = new Coralogix.TcoPoliciesLogs("tcoPoliciesLogsResource", new()
    {
        Policies = new[]
        {
            new Coralogix.Inputs.TcoPoliciesLogsPolicyArgs
            {
                Name = "string",
                Priority = "string",
                Applications = new Coralogix.Inputs.TcoPoliciesLogsPolicyApplicationsArgs
                {
                    Names = new[]
                    {
                        "string",
                    },
                    RuleType = "string",
                },
                ArchiveRetentionId = "string",
                Description = "string",
                Enabled = false,
                Id = "string",
                Order = 0,
                Severities = new[]
                {
                    "string",
                },
                Subsystems = new Coralogix.Inputs.TcoPoliciesLogsPolicySubsystemsArgs
                {
                    Names = new[]
                    {
                        "string",
                    },
                    RuleType = "string",
                },
            },
        },
    });
    
    example, err := coralogix.NewTcoPoliciesLogs(ctx, "tcoPoliciesLogsResource", &coralogix.TcoPoliciesLogsArgs{
    	Policies: coralogix.TcoPoliciesLogsPolicyArray{
    		&coralogix.TcoPoliciesLogsPolicyArgs{
    			Name:     pulumi.String("string"),
    			Priority: pulumi.String("string"),
    			Applications: &coralogix.TcoPoliciesLogsPolicyApplicationsArgs{
    				Names: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				RuleType: pulumi.String("string"),
    			},
    			ArchiveRetentionId: pulumi.String("string"),
    			Description:        pulumi.String("string"),
    			Enabled:            pulumi.Bool(false),
    			Id:                 pulumi.String("string"),
    			Order:              pulumi.Float64(0),
    			Severities: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Subsystems: &coralogix.TcoPoliciesLogsPolicySubsystemsArgs{
    				Names: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				RuleType: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var tcoPoliciesLogsResource = new TcoPoliciesLogs("tcoPoliciesLogsResource", TcoPoliciesLogsArgs.builder()
        .policies(TcoPoliciesLogsPolicyArgs.builder()
            .name("string")
            .priority("string")
            .applications(TcoPoliciesLogsPolicyApplicationsArgs.builder()
                .names("string")
                .ruleType("string")
                .build())
            .archiveRetentionId("string")
            .description("string")
            .enabled(false)
            .id("string")
            .order(0)
            .severities("string")
            .subsystems(TcoPoliciesLogsPolicySubsystemsArgs.builder()
                .names("string")
                .ruleType("string")
                .build())
            .build())
        .build());
    
    tco_policies_logs_resource = coralogix.TcoPoliciesLogs("tcoPoliciesLogsResource", policies=[{
        "name": "string",
        "priority": "string",
        "applications": {
            "names": ["string"],
            "rule_type": "string",
        },
        "archive_retention_id": "string",
        "description": "string",
        "enabled": False,
        "id": "string",
        "order": 0,
        "severities": ["string"],
        "subsystems": {
            "names": ["string"],
            "rule_type": "string",
        },
    }])
    
    const tcoPoliciesLogsResource = new coralogix.TcoPoliciesLogs("tcoPoliciesLogsResource", {policies: [{
        name: "string",
        priority: "string",
        applications: {
            names: ["string"],
            ruleType: "string",
        },
        archiveRetentionId: "string",
        description: "string",
        enabled: false,
        id: "string",
        order: 0,
        severities: ["string"],
        subsystems: {
            names: ["string"],
            ruleType: "string",
        },
    }]});
    
    type: coralogix:TcoPoliciesLogs
    properties:
        policies:
            - applications:
                names:
                    - string
                ruleType: string
              archiveRetentionId: string
              description: string
              enabled: false
              id: string
              name: string
              order: 0
              priority: string
              severities:
                - string
              subsystems:
                names:
                    - string
                ruleType: string
    

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

    Outputs

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

    Get an existing TcoPoliciesLogs 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?: TcoPoliciesLogsState, opts?: CustomResourceOptions): TcoPoliciesLogs
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            policies: Optional[Sequence[TcoPoliciesLogsPolicyArgs]] = None) -> TcoPoliciesLogs
    func GetTcoPoliciesLogs(ctx *Context, name string, id IDInput, state *TcoPoliciesLogsState, opts ...ResourceOption) (*TcoPoliciesLogs, error)
    public static TcoPoliciesLogs Get(string name, Input<string> id, TcoPoliciesLogsState? state, CustomResourceOptions? opts = null)
    public static TcoPoliciesLogs get(String name, Output<String> id, TcoPoliciesLogsState state, CustomResourceOptions options)
    resources:  _:    type: coralogix:TcoPoliciesLogs    get:      id: ${id}
    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.

    Supporting Types

    TcoPoliciesLogsPolicy, TcoPoliciesLogsPolicyArgs

    Name string
    tco-policy name.
    Priority string
    The policy priority. Can be one of ["block" "high" "low" "medium"].
    Applications TcoPoliciesLogsPolicyApplications
    The applications to apply the policy on. Applies the policy on all the applications by default.
    ArchiveRetentionId string
    Allowing logs with a specific retention to be tagged.
    Description string
    The policy description
    Enabled bool
    Determines weather the policy will be enabled. True by default.
    Id string
    tco-policy ID.
    Order double
    The policy's order between the other policies.
    Severities List<string>
    The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
    Subsystems TcoPoliciesLogsPolicySubsystems
    The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
    Name string
    tco-policy name.
    Priority string
    The policy priority. Can be one of ["block" "high" "low" "medium"].
    Applications TcoPoliciesLogsPolicyApplications
    The applications to apply the policy on. Applies the policy on all the applications by default.
    ArchiveRetentionId string
    Allowing logs with a specific retention to be tagged.
    Description string
    The policy description
    Enabled bool
    Determines weather the policy will be enabled. True by default.
    Id string
    tco-policy ID.
    Order float64
    The policy's order between the other policies.
    Severities []string
    The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
    Subsystems TcoPoliciesLogsPolicySubsystems
    The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
    name String
    tco-policy name.
    priority String
    The policy priority. Can be one of ["block" "high" "low" "medium"].
    applications TcoPoliciesLogsPolicyApplications
    The applications to apply the policy on. Applies the policy on all the applications by default.
    archiveRetentionId String
    Allowing logs with a specific retention to be tagged.
    description String
    The policy description
    enabled Boolean
    Determines weather the policy will be enabled. True by default.
    id String
    tco-policy ID.
    order Double
    The policy's order between the other policies.
    severities List<String>
    The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
    subsystems TcoPoliciesLogsPolicySubsystems
    The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
    name string
    tco-policy name.
    priority string
    The policy priority. Can be one of ["block" "high" "low" "medium"].
    applications TcoPoliciesLogsPolicyApplications
    The applications to apply the policy on. Applies the policy on all the applications by default.
    archiveRetentionId string
    Allowing logs with a specific retention to be tagged.
    description string
    The policy description
    enabled boolean
    Determines weather the policy will be enabled. True by default.
    id string
    tco-policy ID.
    order number
    The policy's order between the other policies.
    severities string[]
    The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
    subsystems TcoPoliciesLogsPolicySubsystems
    The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
    name str
    tco-policy name.
    priority str
    The policy priority. Can be one of ["block" "high" "low" "medium"].
    applications TcoPoliciesLogsPolicyApplications
    The applications to apply the policy on. Applies the policy on all the applications by default.
    archive_retention_id str
    Allowing logs with a specific retention to be tagged.
    description str
    The policy description
    enabled bool
    Determines weather the policy will be enabled. True by default.
    id str
    tco-policy ID.
    order float
    The policy's order between the other policies.
    severities Sequence[str]
    The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
    subsystems TcoPoliciesLogsPolicySubsystems
    The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
    name String
    tco-policy name.
    priority String
    The policy priority. Can be one of ["block" "high" "low" "medium"].
    applications Property Map
    The applications to apply the policy on. Applies the policy on all the applications by default.
    archiveRetentionId String
    Allowing logs with a specific retention to be tagged.
    description String
    The policy description
    enabled Boolean
    Determines weather the policy will be enabled. True by default.
    id String
    tco-policy ID.
    order Number
    The policy's order between the other policies.
    severities List<String>
    The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
    subsystems Property Map
    The subsystems to apply the policy on. Applies the policy on all the subsystems by default.

    TcoPoliciesLogsPolicyApplications, TcoPoliciesLogsPolicyApplicationsArgs

    Names List<string>
    RuleType string
    The rule type. Can be one of ["includes" "is" "isnot" "startswith" "unspecified"].
    Names []string
    RuleType string
    The rule type. Can be one of ["includes" "is" "isnot" "startswith" "unspecified"].
    names List<String>
    ruleType String
    The rule type. Can be one of ["includes" "is" "isnot" "startswith" "unspecified"].
    names string[]
    ruleType string
    The rule type. Can be one of ["includes" "is" "isnot" "startswith" "unspecified"].
    names Sequence[str]
    rule_type str
    The rule type. Can be one of ["includes" "is" "isnot" "startswith" "unspecified"].
    names List<String>
    ruleType String
    The rule type. Can be one of ["includes" "is" "isnot" "startswith" "unspecified"].

    TcoPoliciesLogsPolicySubsystems, TcoPoliciesLogsPolicySubsystemsArgs

    Names List<string>
    RuleType string
    Names []string
    RuleType string
    names List<String>
    ruleType String
    names string[]
    ruleType string
    names Sequence[str]
    rule_type str
    names List<String>
    ruleType String

    Package Details

    Repository
    coralogix coralogix/terraform-provider-coralogix
    License
    Notes
    This Pulumi package is based on the coralogix Terraform Provider.
    coralogix logo
    coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix