1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. sls
  5. getLogtailConfigs
Alibaba Cloud v3.86.1 published on Saturday, Sep 27, 2025 by Pulumi

alicloud.sls.getLogtailConfigs

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.86.1 published on Saturday, Sep 27, 2025 by Pulumi

    This data source provides Sls Logtail Config available to the user.What is Logtail Config

    NOTE: Available since v1.259.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const defaultInteger = new random.index.Integer("default", {
        max: 99999,
        min: 10000,
    });
    const config = new pulumi.Config();
    const name = config.get("name") || "tfaccsls62147";
    const projectName = config.get("projectName") || "project-for-logtail-terraform";
    const defaultuA28zS = new alicloud.log.Project("defaultuA28zS", {projectName: projectName});
    const defaultLogtailConfig = new alicloud.sls.LogtailConfig("default", {
        projectName: defaultuA28zS.projectName,
        outputDetail: {
            endpoint: "cn-hangzhou-intranet.log.aliyuncs.com",
            region: "cn-hangzhou",
            logstoreName: "example",
        },
        outputType: "LogService",
        inputDetail: JSON.stringify({
            adjustTimezone: false,
            delayAlarmBytes: 0,
            delaySkipBytes: 0,
            discardNonUtf8: false,
            discardUnmatch: true,
            dockerFile: false,
            enableRawLog: false,
            enableTag: false,
            fileEncoding: "utf8",
            filePattern: "access*.log",
            filterKey: ["key1"],
            filterRegex: ["regex1"],
            key: [
                "key1",
                "key2",
            ],
            localStorage: true,
            logBeginRegex: ".*",
            logPath: "/var/log/httpd",
            logTimezone: "",
            logType: "common_reg_log",
            maxDepth: 1000,
            maxSendRate: -1,
            mergeType: "topic",
            preserve: true,
            preserveDepth: 0,
            priority: 0,
            regex: "(w+)(s+)",
            sendRateExpire: 0,
            sensitive_keys: [],
            tailExisted: false,
            timeFormat: "%Y/%m/%d %H:%M:%S",
            timeKey: "time",
            topicFormat: "none",
        }),
        logtailConfigName: "tfaccsls62147",
        inputType: "file",
    });
    const _default = defaultLogtailConfig.logtailConfigName.apply(logtailConfigName => alicloud.sls.getLogtailConfigsOutput({
        logtailConfigName: logtailConfigName,
        logstoreName: "example",
        projectName: projectName,
        offset: 0,
        size: 100,
    }));
    export const alicloudSlsLogtailConfigExampleId = _default.apply(_default => _default.configs?.[0]?.id);
    
    import pulumi
    import json
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    default_integer = random.index.Integer("default",
        max=99999,
        min=10000)
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tfaccsls62147"
    project_name = config.get("projectName")
    if project_name is None:
        project_name = "project-for-logtail-terraform"
    defaultu_a28z_s = alicloud.log.Project("defaultuA28zS", project_name=project_name)
    default_logtail_config = alicloud.sls.LogtailConfig("default",
        project_name=defaultu_a28z_s.project_name,
        output_detail={
            "endpoint": "cn-hangzhou-intranet.log.aliyuncs.com",
            "region": "cn-hangzhou",
            "logstore_name": "example",
        },
        output_type="LogService",
        input_detail=json.dumps({
            "adjustTimezone": False,
            "delayAlarmBytes": 0,
            "delaySkipBytes": 0,
            "discardNonUtf8": False,
            "discardUnmatch": True,
            "dockerFile": False,
            "enableRawLog": False,
            "enableTag": False,
            "fileEncoding": "utf8",
            "filePattern": "access*.log",
            "filterKey": ["key1"],
            "filterRegex": ["regex1"],
            "key": [
                "key1",
                "key2",
            ],
            "localStorage": True,
            "logBeginRegex": ".*",
            "logPath": "/var/log/httpd",
            "logTimezone": "",
            "logType": "common_reg_log",
            "maxDepth": 1000,
            "maxSendRate": -1,
            "mergeType": "topic",
            "preserve": True,
            "preserveDepth": 0,
            "priority": 0,
            "regex": "(w+)(s+)",
            "sendRateExpire": 0,
            "sensitive_keys": [],
            "tailExisted": False,
            "timeFormat": "%Y/%m/%d %H:%M:%S",
            "timeKey": "time",
            "topicFormat": "none",
        }),
        logtail_config_name="tfaccsls62147",
        input_type="file")
    default = default_logtail_config.logtail_config_name.apply(lambda logtail_config_name: alicloud.sls.get_logtail_configs_output(logtail_config_name=logtail_config_name,
        logstore_name="example",
        project_name=project_name,
        offset=0,
        size=100))
    pulumi.export("alicloudSlsLogtailConfigExampleId", default.configs[0].id)
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sls"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
    Max: 99999,
    Min: 10000,
    })
    if err != nil {
    return err
    }
    cfg := config.New(ctx, "")
    name := "tfaccsls62147";
    if param := cfg.Get("name"); param != ""{
    name = param
    }
    projectName := "project-for-logtail-terraform";
    if param := cfg.Get("projectName"); param != ""{
    projectName = param
    }
    defaultuA28zS, err := log.NewProject(ctx, "defaultuA28zS", &log.ProjectArgs{
    ProjectName: pulumi.String(projectName),
    })
    if err != nil {
    return err
    }
    tmpJSON0, err := json.Marshal(map[string]interface{}{
    "adjustTimezone": false,
    "delayAlarmBytes": 0,
    "delaySkipBytes": 0,
    "discardNonUtf8": false,
    "discardUnmatch": true,
    "dockerFile": false,
    "enableRawLog": false,
    "enableTag": false,
    "fileEncoding": "utf8",
    "filePattern": "access*.log",
    "filterKey": []string{
    "key1",
    },
    "filterRegex": []string{
    "regex1",
    },
    "key": []string{
    "key1",
    "key2",
    },
    "localStorage": true,
    "logBeginRegex": ".*",
    "logPath": "/var/log/httpd",
    "logTimezone": "",
    "logType": "common_reg_log",
    "maxDepth": 1000,
    "maxSendRate": -1,
    "mergeType": "topic",
    "preserve": true,
    "preserveDepth": 0,
    "priority": 0,
    "regex": "(w+)(s+)",
    "sendRateExpire": 0,
    "sensitive_keys": []interface{}{
    },
    "tailExisted": false,
    "timeFormat": "%Y/%m/%d %H:%M:%S",
    "timeKey": "time",
    "topicFormat": "none",
    })
    if err != nil {
    return err
    }
    json0 := string(tmpJSON0)
    defaultLogtailConfig, err := sls.NewLogtailConfig(ctx, "default", &sls.LogtailConfigArgs{
    ProjectName: defaultuA28zS.ProjectName,
    OutputDetail: &sls.LogtailConfigOutputDetailArgs{
    Endpoint: pulumi.String("cn-hangzhou-intranet.log.aliyuncs.com"),
    Region: pulumi.String("cn-hangzhou"),
    LogstoreName: pulumi.String("example"),
    },
    OutputType: pulumi.String("LogService"),
    InputDetail: pulumi.String(json0),
    LogtailConfigName: pulumi.String("tfaccsls62147"),
    InputType: pulumi.String("file"),
    })
    if err != nil {
    return err
    }
    _default := defaultLogtailConfig.LogtailConfigName.ApplyT(func(logtailConfigName string) (sls.GetLogtailConfigsResult, error) {
    return sls.GetLogtailConfigsResult(interface{}(sls.GetLogtailConfigsOutput(ctx, sls.GetLogtailConfigsOutputArgs{
    LogtailConfigName: logtailConfigName,
    LogstoreName: "example",
    ProjectName: projectName,
    Offset: 0,
    Size: 100,
    }, nil))), nil
    }).(sls.GetLogtailConfigsResultOutput)
    ctx.Export("alicloudSlsLogtailConfigExampleId", _default.ApplyT(func(_default sls.GetLogtailConfigsResult) (*string, error) {
    return &default.Configs[0].Id, nil
    }).(pulumi.StringPtrOutput))
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var defaultInteger = new Random.Index.Integer("default", new()
        {
            Max = 99999,
            Min = 10000,
        });
    
        var config = new Config();
        var name = config.Get("name") ?? "tfaccsls62147";
        var projectName = config.Get("projectName") ?? "project-for-logtail-terraform";
        var defaultuA28zS = new AliCloud.Log.Project("defaultuA28zS", new()
        {
            ProjectName = projectName,
        });
    
        var defaultLogtailConfig = new AliCloud.Sls.LogtailConfig("default", new()
        {
            ProjectName = defaultuA28zS.ProjectName,
            OutputDetail = new AliCloud.Sls.Inputs.LogtailConfigOutputDetailArgs
            {
                Endpoint = "cn-hangzhou-intranet.log.aliyuncs.com",
                Region = "cn-hangzhou",
                LogstoreName = "example",
            },
            OutputType = "LogService",
            InputDetail = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["adjustTimezone"] = false,
                ["delayAlarmBytes"] = 0,
                ["delaySkipBytes"] = 0,
                ["discardNonUtf8"] = false,
                ["discardUnmatch"] = true,
                ["dockerFile"] = false,
                ["enableRawLog"] = false,
                ["enableTag"] = false,
                ["fileEncoding"] = "utf8",
                ["filePattern"] = "access*.log",
                ["filterKey"] = new[]
                {
                    "key1",
                },
                ["filterRegex"] = new[]
                {
                    "regex1",
                },
                ["key"] = new[]
                {
                    "key1",
                    "key2",
                },
                ["localStorage"] = true,
                ["logBeginRegex"] = ".*",
                ["logPath"] = "/var/log/httpd",
                ["logTimezone"] = "",
                ["logType"] = "common_reg_log",
                ["maxDepth"] = 1000,
                ["maxSendRate"] = -1,
                ["mergeType"] = "topic",
                ["preserve"] = true,
                ["preserveDepth"] = 0,
                ["priority"] = 0,
                ["regex"] = "(w+)(s+)",
                ["sendRateExpire"] = 0,
                ["sensitive_keys"] = new[]
                {
                },
                ["tailExisted"] = false,
                ["timeFormat"] = "%Y/%m/%d %H:%M:%S",
                ["timeKey"] = "time",
                ["topicFormat"] = "none",
            }),
            LogtailConfigName = "tfaccsls62147",
            InputType = "file",
        });
    
        var @default = AliCloud.Sls.GetLogtailConfigs.Invoke(new()
        {
            LogtailConfigName = defaultLogtailConfig.LogtailConfigName,
            LogstoreName = "example",
            ProjectName = projectName,
            Offset = 0,
            Size = 100,
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudSlsLogtailConfigExampleId"] = @default.Apply(@default => @default.Apply(getLogtailConfigsResult => getLogtailConfigsResult.Configs[0]?.Id)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.Integer;
    import com.pulumi.random.IntegerArgs;
    import com.pulumi.alicloud.log.Project;
    import com.pulumi.alicloud.log.ProjectArgs;
    import com.pulumi.alicloud.sls.LogtailConfig;
    import com.pulumi.alicloud.sls.LogtailConfigArgs;
    import com.pulumi.alicloud.sls.inputs.LogtailConfigOutputDetailArgs;
    import com.pulumi.alicloud.sls.SlsFunctions;
    import com.pulumi.alicloud.sls.inputs.GetLogtailConfigsArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            final var config = ctx.config();
            var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
                .max(99999)
                .min(10000)
                .build());
    
            final var name = config.get("name").orElse("tfaccsls62147");
            final var projectName = config.get("projectName").orElse("project-for-logtail-terraform");
            var defaultuA28zS = new Project("defaultuA28zS", ProjectArgs.builder()
                .projectName(projectName)
                .build());
    
            var defaultLogtailConfig = new LogtailConfig("defaultLogtailConfig", LogtailConfigArgs.builder()
                .projectName(defaultuA28zS.projectName())
                .outputDetail(LogtailConfigOutputDetailArgs.builder()
                    .endpoint("cn-hangzhou-intranet.log.aliyuncs.com")
                    .region("cn-hangzhou")
                    .logstoreName("example")
                    .build())
                .outputType("LogService")
                .inputDetail(serializeJson(
                    jsonObject(
                        jsonProperty("adjustTimezone", false),
                        jsonProperty("delayAlarmBytes", 0),
                        jsonProperty("delaySkipBytes", 0),
                        jsonProperty("discardNonUtf8", false),
                        jsonProperty("discardUnmatch", true),
                        jsonProperty("dockerFile", false),
                        jsonProperty("enableRawLog", false),
                        jsonProperty("enableTag", false),
                        jsonProperty("fileEncoding", "utf8"),
                        jsonProperty("filePattern", "access*.log"),
                        jsonProperty("filterKey", jsonArray("key1")),
                        jsonProperty("filterRegex", jsonArray("regex1")),
                        jsonProperty("key", jsonArray(
                            "key1", 
                            "key2"
                        )),
                        jsonProperty("localStorage", true),
                        jsonProperty("logBeginRegex", ".*"),
                        jsonProperty("logPath", "/var/log/httpd"),
                        jsonProperty("logTimezone", ""),
                        jsonProperty("logType", "common_reg_log"),
                        jsonProperty("maxDepth", 1000),
                        jsonProperty("maxSendRate", -1),
                        jsonProperty("mergeType", "topic"),
                        jsonProperty("preserve", true),
                        jsonProperty("preserveDepth", 0),
                        jsonProperty("priority", 0),
                        jsonProperty("regex", "(w+)(s+)"),
                        jsonProperty("sendRateExpire", 0),
                        jsonProperty("sensitive_keys", jsonArray(
                        )),
                        jsonProperty("tailExisted", false),
                        jsonProperty("timeFormat", "%Y/%m/%d %H:%M:%S"),
                        jsonProperty("timeKey", "time"),
                        jsonProperty("topicFormat", "none")
                    )))
                .logtailConfigName("tfaccsls62147")
                .inputType("file")
                .build());
    
            final var default = defaultLogtailConfig.logtailConfigName().applyValue(_logtailConfigName -> SlsFunctions.getLogtailConfigs(GetLogtailConfigsArgs.builder()
                .logtailConfigName(_logtailConfigName)
                .logstoreName("example")
                .projectName(projectName)
                .offset(0)
                .size(100)
                .build()));
    
            ctx.export("alicloudSlsLogtailConfigExampleId", default_.applyValue(_default_ -> _default_.configs()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: tfaccsls62147
      projectName:
        type: string
        default: project-for-logtail-terraform
    resources:
      defaultInteger:
        type: random:Integer
        name: default
        properties:
          max: 99999
          min: 10000
      defaultuA28zS:
        type: alicloud:log:Project
        properties:
          projectName: ${projectName}
      defaultLogtailConfig:
        type: alicloud:sls:LogtailConfig
        name: default
        properties:
          projectName: ${defaultuA28zS.projectName}
          outputDetail:
            endpoint: cn-hangzhou-intranet.log.aliyuncs.com
            region: cn-hangzhou
            logstoreName: example
          outputType: LogService
          inputDetail:
            fn::toJSON:
              adjustTimezone: false
              delayAlarmBytes: 0
              delaySkipBytes: 0
              discardNonUtf8: false
              discardUnmatch: true
              dockerFile: false
              enableRawLog: false
              enableTag: false
              fileEncoding: utf8
              filePattern: access*.log
              filterKey:
                - key1
              filterRegex:
                - regex1
              key:
                - key1
                - key2
              localStorage: true
              logBeginRegex: .*
              logPath: /var/log/httpd
              logTimezone: ""
              logType: common_reg_log
              maxDepth: 1000
              maxSendRate: -1
              mergeType: topic
              preserve: true
              preserveDepth: 0
              priority: 0
              regex: (w+)(s+)
              sendRateExpire: 0
              sensitive_keys: []
              tailExisted: false
              timeFormat: '%Y/%m/%d %H:%M:%S'
              timeKey: time
              topicFormat: none
          logtailConfigName: tfaccsls62147
          inputType: file
    variables:
      default:
        fn::invoke:
          function: alicloud:sls:getLogtailConfigs
          arguments:
            logtailConfigName: ${defaultLogtailConfig.logtailConfigName}
            logstoreName: example
            projectName: ${projectName}
            offset: 0
            size: 100
    outputs:
      alicloudSlsLogtailConfigExampleId: ${default.configs[0].id}
    

    Using getLogtailConfigs

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLogtailConfigs(args: GetLogtailConfigsArgs, opts?: InvokeOptions): Promise<GetLogtailConfigsResult>
    function getLogtailConfigsOutput(args: GetLogtailConfigsOutputArgs, opts?: InvokeOptions): Output<GetLogtailConfigsResult>
    def get_logtail_configs(ids: Optional[Sequence[str]] = None,
                            logstore_name: Optional[str] = None,
                            logtail_config_name: Optional[str] = None,
                            name_regex: Optional[str] = None,
                            offset: Optional[int] = None,
                            output_file: Optional[str] = None,
                            project_name: Optional[str] = None,
                            size: Optional[int] = None,
                            opts: Optional[InvokeOptions] = None) -> GetLogtailConfigsResult
    def get_logtail_configs_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            logstore_name: Optional[pulumi.Input[str]] = None,
                            logtail_config_name: Optional[pulumi.Input[str]] = None,
                            name_regex: Optional[pulumi.Input[str]] = None,
                            offset: Optional[pulumi.Input[int]] = None,
                            output_file: Optional[pulumi.Input[str]] = None,
                            project_name: Optional[pulumi.Input[str]] = None,
                            size: Optional[pulumi.Input[int]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetLogtailConfigsResult]
    func GetLogtailConfigs(ctx *Context, args *GetLogtailConfigsArgs, opts ...InvokeOption) (*GetLogtailConfigsResult, error)
    func GetLogtailConfigsOutput(ctx *Context, args *GetLogtailConfigsOutputArgs, opts ...InvokeOption) GetLogtailConfigsResultOutput

    > Note: This function is named GetLogtailConfigs in the Go SDK.

    public static class GetLogtailConfigs 
    {
        public static Task<GetLogtailConfigsResult> InvokeAsync(GetLogtailConfigsArgs args, InvokeOptions? opts = null)
        public static Output<GetLogtailConfigsResult> Invoke(GetLogtailConfigsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogtailConfigsResult> getLogtailConfigs(GetLogtailConfigsArgs args, InvokeOptions options)
    public static Output<GetLogtailConfigsResult> getLogtailConfigs(GetLogtailConfigsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: alicloud:sls/getLogtailConfigs:getLogtailConfigs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LogstoreName string
    Logstore name.
    Offset int
    Query start row. The default value is 0.
    ProjectName string
    Project name
    Size int
    The number of rows per page set for a pagination query. The maximum value is 500.
    Ids List<string>
    A list of Logtail Config IDs. The value is formulated as <project_name>:<logtail_config_name>.
    LogtailConfigName string
    The name of the resource
    NameRegex string
    A regex string to filter results by Group Metric Rule name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    LogstoreName string
    Logstore name.
    Offset int
    Query start row. The default value is 0.
    ProjectName string
    Project name
    Size int
    The number of rows per page set for a pagination query. The maximum value is 500.
    Ids []string
    A list of Logtail Config IDs. The value is formulated as <project_name>:<logtail_config_name>.
    LogtailConfigName string
    The name of the resource
    NameRegex string
    A regex string to filter results by Group Metric Rule name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    logstoreName String
    Logstore name.
    offset Integer
    Query start row. The default value is 0.
    projectName String
    Project name
    size Integer
    The number of rows per page set for a pagination query. The maximum value is 500.
    ids List<String>
    A list of Logtail Config IDs. The value is formulated as <project_name>:<logtail_config_name>.
    logtailConfigName String
    The name of the resource
    nameRegex String
    A regex string to filter results by Group Metric Rule name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    logstoreName string
    Logstore name.
    offset number
    Query start row. The default value is 0.
    projectName string
    Project name
    size number
    The number of rows per page set for a pagination query. The maximum value is 500.
    ids string[]
    A list of Logtail Config IDs. The value is formulated as <project_name>:<logtail_config_name>.
    logtailConfigName string
    The name of the resource
    nameRegex string
    A regex string to filter results by Group Metric Rule name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    logstore_name str
    Logstore name.
    offset int
    Query start row. The default value is 0.
    project_name str
    Project name
    size int
    The number of rows per page set for a pagination query. The maximum value is 500.
    ids Sequence[str]
    A list of Logtail Config IDs. The value is formulated as <project_name>:<logtail_config_name>.
    logtail_config_name str
    The name of the resource
    name_regex str
    A regex string to filter results by Group Metric Rule name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    logstoreName String
    Logstore name.
    offset Number
    Query start row. The default value is 0.
    projectName String
    Project name
    size Number
    The number of rows per page set for a pagination query. The maximum value is 500.
    ids List<String>
    A list of Logtail Config IDs. The value is formulated as <project_name>:<logtail_config_name>.
    logtailConfigName String
    The name of the resource
    nameRegex String
    A regex string to filter results by Group Metric Rule name.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getLogtailConfigs Result

    The following output properties are available:

    Configs List<Pulumi.AliCloud.Sls.Outputs.GetLogtailConfigsConfig>
    A list of Logtail Config Entries. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Logtail Config IDs.
    LogstoreName string
    Names List<string>
    A list of name of Logtail Configs.
    Offset int
    ProjectName string
    Size int
    LogtailConfigName string
    The name of the resource
    NameRegex string
    OutputFile string
    Configs []GetLogtailConfigsConfig
    A list of Logtail Config Entries. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Logtail Config IDs.
    LogstoreName string
    Names []string
    A list of name of Logtail Configs.
    Offset int
    ProjectName string
    Size int
    LogtailConfigName string
    The name of the resource
    NameRegex string
    OutputFile string
    configs List<GetLogtailConfigsConfig>
    A list of Logtail Config Entries. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Logtail Config IDs.
    logstoreName String
    names List<String>
    A list of name of Logtail Configs.
    offset Integer
    projectName String
    size Integer
    logtailConfigName String
    The name of the resource
    nameRegex String
    outputFile String
    configs GetLogtailConfigsConfig[]
    A list of Logtail Config Entries. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Logtail Config IDs.
    logstoreName string
    names string[]
    A list of name of Logtail Configs.
    offset number
    projectName string
    size number
    logtailConfigName string
    The name of the resource
    nameRegex string
    outputFile string
    configs Sequence[GetLogtailConfigsConfig]
    A list of Logtail Config Entries. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Logtail Config IDs.
    logstore_name str
    names Sequence[str]
    A list of name of Logtail Configs.
    offset int
    project_name str
    size int
    logtail_config_name str
    The name of the resource
    name_regex str
    output_file str
    configs List<Property Map>
    A list of Logtail Config Entries. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Logtail Config IDs.
    logstoreName String
    names List<String>
    A list of name of Logtail Configs.
    offset Number
    projectName String
    size Number
    logtailConfigName String
    The name of the resource
    nameRegex String
    outputFile String

    Supporting Types

    GetLogtailConfigsConfig

    Id string
    The ID of the resource supplied above.
    LogtailConfigName string
    The name of the resource
    Id string
    The ID of the resource supplied above.
    LogtailConfigName string
    The name of the resource
    id String
    The ID of the resource supplied above.
    logtailConfigName String
    The name of the resource
    id string
    The ID of the resource supplied above.
    logtailConfigName string
    The name of the resource
    id str
    The ID of the resource supplied above.
    logtail_config_name str
    The name of the resource
    id String
    The ID of the resource supplied above.
    logtailConfigName String
    The name of the resource

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.86.1 published on Saturday, Sep 27, 2025 by Pulumi