1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getLtsStreamsV2
opentelekomcloud 1.36.40 published on Friday, Jun 6, 2025 by opentelekomcloud

opentelekomcloud.getLtsStreamsV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.40 published on Friday, Jun 6, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for LTS log streams service you can get at documentation portal

    Use this data source to get the list of LTS log streams.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getLtsStreamsV2({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_lts_streams_v2()
    
    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.GetLtsStreamsV2(ctx, &opentelekomcloud.GetLtsStreamsV2Args{}, 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 test = Opentelekomcloud.GetLtsStreamsV2.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.GetLtsStreamsV2Args;
    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 test = OpentelekomcloudFunctions.getLtsStreamsV2();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getLtsStreamsV2
          arguments: {}
    

    Using getLtsStreamsV2

    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 getLtsStreamsV2(args: GetLtsStreamsV2Args, opts?: InvokeOptions): Promise<GetLtsStreamsV2Result>
    function getLtsStreamsV2Output(args: GetLtsStreamsV2OutputArgs, opts?: InvokeOptions): Output<GetLtsStreamsV2Result>
    def get_lts_streams_v2(id: Optional[str] = None,
                           log_group_name: Optional[str] = None,
                           name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetLtsStreamsV2Result
    def get_lts_streams_v2_output(id: Optional[pulumi.Input[str]] = None,
                           log_group_name: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetLtsStreamsV2Result]
    func GetLtsStreamsV2(ctx *Context, args *GetLtsStreamsV2Args, opts ...InvokeOption) (*GetLtsStreamsV2Result, error)
    func GetLtsStreamsV2Output(ctx *Context, args *GetLtsStreamsV2OutputArgs, opts ...InvokeOption) GetLtsStreamsV2ResultOutput

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

    public static class GetLtsStreamsV2 
    {
        public static Task<GetLtsStreamsV2Result> InvokeAsync(GetLtsStreamsV2Args args, InvokeOptions? opts = null)
        public static Output<GetLtsStreamsV2Result> Invoke(GetLtsStreamsV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLtsStreamsV2Result> getLtsStreamsV2(GetLtsStreamsV2Args args, InvokeOptions options)
    public static Output<GetLtsStreamsV2Result> getLtsStreamsV2(GetLtsStreamsV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getLtsStreamsV2:getLtsStreamsV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the log stream.
    LogGroupName string
    Specifies the name of the log group.
    Name string
    Specifies the name of the log stream.
    Id string
    The ID of the log stream.
    LogGroupName string
    Specifies the name of the log group.
    Name string
    Specifies the name of the log stream.
    id String
    The ID of the log stream.
    logGroupName String
    Specifies the name of the log group.
    name String
    Specifies the name of the log stream.
    id string
    The ID of the log stream.
    logGroupName string
    Specifies the name of the log group.
    name string
    Specifies the name of the log stream.
    id str
    The ID of the log stream.
    log_group_name str
    Specifies the name of the log group.
    name str
    Specifies the name of the log stream.
    id String
    The ID of the log stream.
    logGroupName String
    Specifies the name of the log group.
    name String
    Specifies the name of the log stream.

    getLtsStreamsV2 Result

    The following output properties are available:

    Id string
    The ID of the log stream.
    Region string
    Shows the region in the log stream resources created.
    Streams List<GetLtsStreamsV2Stream>
    All log streams that match the filter parameters.
    LogGroupName string
    Name string
    The name of the log stream.
    Id string
    The ID of the log stream.
    Region string
    Shows the region in the log stream resources created.
    Streams []GetLtsStreamsV2Stream
    All log streams that match the filter parameters.
    LogGroupName string
    Name string
    The name of the log stream.
    id String
    The ID of the log stream.
    region String
    Shows the region in the log stream resources created.
    streams List<GetLtsStreamsV2Stream>
    All log streams that match the filter parameters.
    logGroupName String
    name String
    The name of the log stream.
    id string
    The ID of the log stream.
    region string
    Shows the region in the log stream resources created.
    streams GetLtsStreamsV2Stream[]
    All log streams that match the filter parameters.
    logGroupName string
    name string
    The name of the log stream.
    id str
    The ID of the log stream.
    region str
    Shows the region in the log stream resources created.
    streams Sequence[GetLtsStreamsV2Stream]
    All log streams that match the filter parameters.
    log_group_name str
    name str
    The name of the log stream.
    id String
    The ID of the log stream.
    region String
    Shows the region in the log stream resources created.
    streams List<Property Map>
    All log streams that match the filter parameters.
    logGroupName String
    name String
    The name of the log stream.

    Supporting Types

    GetLtsStreamsV2Stream

    CreatedAt string
    The creation time of the log stream, in RFC3339 format.
    EnterpriseProjectId string
    Id string
    The ID of the log stream.
    Name string
    Specifies the name of the log stream.
    Tags Dictionary<string, string>
    The key/value pairs to associate with the log stream.
    TtlInDays double
    The log expiration time (days).
    CreatedAt string
    The creation time of the log stream, in RFC3339 format.
    EnterpriseProjectId string
    Id string
    The ID of the log stream.
    Name string
    Specifies the name of the log stream.
    Tags map[string]string
    The key/value pairs to associate with the log stream.
    TtlInDays float64
    The log expiration time (days).
    createdAt String
    The creation time of the log stream, in RFC3339 format.
    enterpriseProjectId String
    id String
    The ID of the log stream.
    name String
    Specifies the name of the log stream.
    tags Map<String,String>
    The key/value pairs to associate with the log stream.
    ttlInDays Double
    The log expiration time (days).
    createdAt string
    The creation time of the log stream, in RFC3339 format.
    enterpriseProjectId string
    id string
    The ID of the log stream.
    name string
    Specifies the name of the log stream.
    tags {[key: string]: string}
    The key/value pairs to associate with the log stream.
    ttlInDays number
    The log expiration time (days).
    created_at str
    The creation time of the log stream, in RFC3339 format.
    enterprise_project_id str
    id str
    The ID of the log stream.
    name str
    Specifies the name of the log stream.
    tags Mapping[str, str]
    The key/value pairs to associate with the log stream.
    ttl_in_days float
    The log expiration time (days).
    createdAt String
    The creation time of the log stream, in RFC3339 format.
    enterpriseProjectId String
    id String
    The ID of the log stream.
    name String
    Specifies the name of the log stream.
    tags Map<String>
    The key/value pairs to associate with the log stream.
    ttlInDays Number
    The log expiration time (days).

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.40 published on Friday, Jun 6, 2025 by opentelekomcloud