1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. getLtsStructuringCustomTemplatesV3
Viewing docs for opentelekomcloud 1.37.8
published on Thursday, Sep 10, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.8
published on Thursday, Sep 10, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for LTS custom structuring templates is available in the documentation portal.

    Use this data source to query custom LTS structuring templates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const all = opentelekomcloud.getLtsStructuringCustomTemplatesV3({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    all = opentelekomcloud.get_lts_structuring_custom_templates_v3()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetLtsStructuringCustomTemplatesV3(ctx, &opentelekomcloud.GetLtsStructuringCustomTemplatesV3Args{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Opentelekomcloud.GetLtsStructuringCustomTemplatesV3.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetLtsStructuringCustomTemplatesV3Args;
    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 all = OpentelekomcloudFunctions.getLtsStructuringCustomTemplatesV3(GetLtsStructuringCustomTemplatesV3Args.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: opentelekomcloud:getLtsStructuringCustomTemplatesV3
          arguments: {}
    
    Example coming soon!
    

    To query a specific template:

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const templateId = config.requireObject<any>("templateId");
    const selected = opentelekomcloud.getLtsStructuringCustomTemplatesV3({
        id: templateId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    template_id = config.require_object("templateId")
    selected = opentelekomcloud.get_lts_structuring_custom_templates_v3(id=template_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"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 {
    		cfg := config.New(ctx, "")
    		templateId := cfg.RequireObject("templateId")
    		_, err := opentelekomcloud.GetLtsStructuringCustomTemplatesV3(ctx, &opentelekomcloud.GetLtsStructuringCustomTemplatesV3Args{
    			Id: pulumi.StringRef(templateId),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var templateId = config.RequireObject<dynamic>("templateId");
        var selected = Opentelekomcloud.GetLtsStructuringCustomTemplatesV3.Invoke(new()
        {
            Id = templateId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetLtsStructuringCustomTemplatesV3Args;
    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();
            final var templateId = config.get("templateId");
            final var selected = OpentelekomcloudFunctions.getLtsStructuringCustomTemplatesV3(GetLtsStructuringCustomTemplatesV3Args.builder()
                .id(templateId)
                .build());
    
        }
    }
    
    configuration:
      templateId:
        type: dynamic
    variables:
      selected:
        fn::invoke:
          function: opentelekomcloud:getLtsStructuringCustomTemplatesV3
          arguments:
            id: ${templateId}
    
    Example coming soon!
    

    Using getLtsStructuringCustomTemplatesV3

    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 getLtsStructuringCustomTemplatesV3(args: GetLtsStructuringCustomTemplatesV3Args, opts?: InvokeOptions): Promise<GetLtsStructuringCustomTemplatesV3Result>
    function getLtsStructuringCustomTemplatesV3Output(args: GetLtsStructuringCustomTemplatesV3OutputArgs, opts?: InvokeOutputOptions): Output<GetLtsStructuringCustomTemplatesV3Result>
    def get_lts_structuring_custom_templates_v3(id: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetLtsStructuringCustomTemplatesV3Result
    def get_lts_structuring_custom_templates_v3_output(id: pulumi.Input[Optional[str]] = None,
                                                opts: Optional[InvokeOutputOptions] = None) -> Output[GetLtsStructuringCustomTemplatesV3Result]
    func GetLtsStructuringCustomTemplatesV3(ctx *Context, args *GetLtsStructuringCustomTemplatesV3Args, opts ...InvokeOption) (*GetLtsStructuringCustomTemplatesV3Result, error)
    func GetLtsStructuringCustomTemplatesV3Output(ctx *Context, args *GetLtsStructuringCustomTemplatesV3OutputArgs, opts ...InvokeOption) GetLtsStructuringCustomTemplatesV3ResultOutput

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

    public static class GetLtsStructuringCustomTemplatesV3 
    {
        public static Task<GetLtsStructuringCustomTemplatesV3Result> InvokeAsync(GetLtsStructuringCustomTemplatesV3Args args, InvokeOptions? opts = null)
        public static Output<GetLtsStructuringCustomTemplatesV3Result> Invoke(GetLtsStructuringCustomTemplatesV3InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetLtsStructuringCustomTemplatesV3Result> Invoke(GetLtsStructuringCustomTemplatesV3InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLtsStructuringCustomTemplatesV3Result> getLtsStructuringCustomTemplatesV3(GetLtsStructuringCustomTemplatesV3Args args, InvokeOptions options)
    public static Output<GetLtsStructuringCustomTemplatesV3Result> getLtsStructuringCustomTemplatesV3(GetLtsStructuringCustomTemplatesV3Args args, InvokeOptions options)
    public static Output<GetLtsStructuringCustomTemplatesV3Result> getLtsStructuringCustomTemplatesV3(GetLtsStructuringCustomTemplatesV3Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getLtsStructuringCustomTemplatesV3:getLtsStructuringCustomTemplatesV3
      arguments:
        # arguments dictionary
    data "opentelekomcloud_get_lts_structuring_custom_templates_v3" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    Id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    id String
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    id str
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    id String
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.

    getLtsStructuringCustomTemplatesV3 Result

    The following output properties are available:

    Region string
    Region in which the templates were queried.
    Templates List<GetLtsStructuringCustomTemplatesV3Template>
    List of custom structuring templates matching the filter.
    Id string
    Template ID.
    Region string
    Region in which the templates were queried.
    Templates []GetLtsStructuringCustomTemplatesV3Template
    List of custom structuring templates matching the filter.
    Id string
    Template ID.
    region string
    Region in which the templates were queried.
    templates list(object)
    List of custom structuring templates matching the filter.
    id string
    Template ID.
    region String
    Region in which the templates were queried.
    templates List<GetLtsStructuringCustomTemplatesV3Template>
    List of custom structuring templates matching the filter.
    id String
    Template ID.
    region string
    Region in which the templates were queried.
    templates GetLtsStructuringCustomTemplatesV3Template[]
    List of custom structuring templates matching the filter.
    id string
    Template ID.
    region str
    Region in which the templates were queried.
    templates Sequence[GetLtsStructuringCustomTemplatesV3Template]
    List of custom structuring templates matching the filter.
    id str
    Template ID.
    region String
    Region in which the templates were queried.
    templates List<Property Map>
    List of custom structuring templates matching the filter.
    id String
    Template ID.

    Supporting Types

    GetLtsStructuringCustomTemplatesV3Template

    CreatedAt string
    Template creation time in RFC3339 format.
    DemoFields List<GetLtsStructuringCustomTemplatesV3TemplateDemoField>
    Structured sample fields.
    DemoLabel string
    Sample log label.
    DemoLog string
    Sample log event.
    Id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    ProjectId string
    Project ID.
    Rules List<GetLtsStructuringCustomTemplatesV3TemplateRule>
    Structuring rule.
    TagFields List<GetLtsStructuringCustomTemplatesV3TemplateTagField>
    Structured tag fields.
    TemplateName string
    Template name.
    TemplateType string
    Structuring type.
    CreatedAt string
    Template creation time in RFC3339 format.
    DemoFields []GetLtsStructuringCustomTemplatesV3TemplateDemoField
    Structured sample fields.
    DemoLabel string
    Sample log label.
    DemoLog string
    Sample log event.
    Id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    ProjectId string
    Project ID.
    Rules []GetLtsStructuringCustomTemplatesV3TemplateRule
    Structuring rule.
    TagFields []GetLtsStructuringCustomTemplatesV3TemplateTagField
    Structured tag fields.
    TemplateName string
    Template name.
    TemplateType string
    Structuring type.
    created_at string
    Template creation time in RFC3339 format.
    demo_fields list(object)
    Structured sample fields.
    demo_label string
    Sample log label.
    demo_log string
    Sample log event.
    id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    project_id string
    Project ID.
    rules list(object)
    Structuring rule.
    tag_fields list(object)
    Structured tag fields.
    template_name string
    Template name.
    template_type string
    Structuring type.
    createdAt String
    Template creation time in RFC3339 format.
    demoFields List<GetLtsStructuringCustomTemplatesV3TemplateDemoField>
    Structured sample fields.
    demoLabel String
    Sample log label.
    demoLog String
    Sample log event.
    id String
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    projectId String
    Project ID.
    rules List<GetLtsStructuringCustomTemplatesV3TemplateRule>
    Structuring rule.
    tagFields List<GetLtsStructuringCustomTemplatesV3TemplateTagField>
    Structured tag fields.
    templateName String
    Template name.
    templateType String
    Structuring type.
    createdAt string
    Template creation time in RFC3339 format.
    demoFields GetLtsStructuringCustomTemplatesV3TemplateDemoField[]
    Structured sample fields.
    demoLabel string
    Sample log label.
    demoLog string
    Sample log event.
    id string
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    projectId string
    Project ID.
    rules GetLtsStructuringCustomTemplatesV3TemplateRule[]
    Structuring rule.
    tagFields GetLtsStructuringCustomTemplatesV3TemplateTagField[]
    Structured tag fields.
    templateName string
    Template name.
    templateType string
    Structuring type.
    created_at str
    Template creation time in RFC3339 format.
    demo_fields Sequence[GetLtsStructuringCustomTemplatesV3TemplateDemoField]
    Structured sample fields.
    demo_label str
    Sample log label.
    demo_log str
    Sample log event.
    id str
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    project_id str
    Project ID.
    rules Sequence[GetLtsStructuringCustomTemplatesV3TemplateRule]
    Structuring rule.
    tag_fields Sequence[GetLtsStructuringCustomTemplatesV3TemplateTagField]
    Structured tag fields.
    template_name str
    Template name.
    template_type str
    Structuring type.
    createdAt String
    Template creation time in RFC3339 format.
    demoFields List<Property Map>
    Structured sample fields.
    demoLabel String
    Sample log label.
    demoLog String
    Sample log event.
    id String
    Specifies the template ID. When omitted, all custom structuring templates in the project are returned.
    projectId String
    Project ID.
    rules List<Property Map>
    Structuring rule.
    tagFields List<Property Map>
    Structured tag fields.
    templateName String
    Template name.
    templateType String
    Structuring type.

    GetLtsStructuringCustomTemplatesV3TemplateDemoField

    Content string
    Example field value.
    FieldName string
    Field name.
    Index double
    Field sequence number.
    IsAnalysis bool
    Whether quick analysis is enabled.
    Relation string
    Hierarchical relationship between fields.
    Type string
    Structuring type.
    UserDefinedName string
    Custom field alias.
    Content string
    Example field value.
    FieldName string
    Field name.
    Index float64
    Field sequence number.
    IsAnalysis bool
    Whether quick analysis is enabled.
    Relation string
    Hierarchical relationship between fields.
    Type string
    Structuring type.
    UserDefinedName string
    Custom field alias.
    content string
    Example field value.
    field_name string
    Field name.
    index number
    Field sequence number.
    is_analysis bool
    Whether quick analysis is enabled.
    relation string
    Hierarchical relationship between fields.
    type string
    Structuring type.
    user_defined_name string
    Custom field alias.
    content String
    Example field value.
    fieldName String
    Field name.
    index Double
    Field sequence number.
    isAnalysis Boolean
    Whether quick analysis is enabled.
    relation String
    Hierarchical relationship between fields.
    type String
    Structuring type.
    userDefinedName String
    Custom field alias.
    content string
    Example field value.
    fieldName string
    Field name.
    index number
    Field sequence number.
    isAnalysis boolean
    Whether quick analysis is enabled.
    relation string
    Hierarchical relationship between fields.
    type string
    Structuring type.
    userDefinedName string
    Custom field alias.
    content str
    Example field value.
    field_name str
    Field name.
    index float
    Field sequence number.
    is_analysis bool
    Whether quick analysis is enabled.
    relation str
    Hierarchical relationship between fields.
    type str
    Structuring type.
    user_defined_name str
    Custom field alias.
    content String
    Example field value.
    fieldName String
    Field name.
    index Number
    Field sequence number.
    isAnalysis Boolean
    Whether quick analysis is enabled.
    relation String
    Hierarchical relationship between fields.
    type String
    Structuring type.
    userDefinedName String
    Custom field alias.

    GetLtsStructuringCustomTemplatesV3TemplateRule

    Param string
    Type-specific structuring rule serialized as JSON.
    Type string
    Structuring type.
    Param string
    Type-specific structuring rule serialized as JSON.
    Type string
    Structuring type.
    param string
    Type-specific structuring rule serialized as JSON.
    type string
    Structuring type.
    param String
    Type-specific structuring rule serialized as JSON.
    type String
    Structuring type.
    param string
    Type-specific structuring rule serialized as JSON.
    type string
    Structuring type.
    param str
    Type-specific structuring rule serialized as JSON.
    type str
    Structuring type.
    param String
    Type-specific structuring rule serialized as JSON.
    type String
    Structuring type.

    GetLtsStructuringCustomTemplatesV3TemplateTagField

    Content string
    Example field value.
    FieldName string
    Field name.
    Index double
    Field sequence number.
    IsAnalysis bool
    Whether quick analysis is enabled.
    Type string
    Structuring type.
    Content string
    Example field value.
    FieldName string
    Field name.
    Index float64
    Field sequence number.
    IsAnalysis bool
    Whether quick analysis is enabled.
    Type string
    Structuring type.
    content string
    Example field value.
    field_name string
    Field name.
    index number
    Field sequence number.
    is_analysis bool
    Whether quick analysis is enabled.
    type string
    Structuring type.
    content String
    Example field value.
    fieldName String
    Field name.
    index Double
    Field sequence number.
    isAnalysis Boolean
    Whether quick analysis is enabled.
    type String
    Structuring type.
    content string
    Example field value.
    fieldName string
    Field name.
    index number
    Field sequence number.
    isAnalysis boolean
    Whether quick analysis is enabled.
    type string
    Structuring type.
    content str
    Example field value.
    field_name str
    Field name.
    index float
    Field sequence number.
    is_analysis bool
    Whether quick analysis is enabled.
    type str
    Structuring type.
    content String
    Example field value.
    fieldName String
    Field name.
    index Number
    Field sequence number.
    isAnalysis Boolean
    Whether quick analysis is enabled.
    type String
    Structuring type.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.8
    published on Thursday, Sep 10, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial