opentelekomcloud 1.36.40 published on Friday, Jun 6, 2025 by opentelekomcloud
opentelekomcloud.getLtsStreamsV2
Explore with Pulumi AI
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.
- Log
Group stringName - Specifies the name of the log group.
- Name string
- Specifies the name of the log stream.
- Id string
- The ID of the log stream.
- Log
Group stringName - Specifies the name of the log group.
- Name string
- Specifies the name of the log stream.
- id String
- The ID of the log stream.
- log
Group StringName - Specifies the name of the log group.
- name String
- Specifies the name of the log stream.
- id string
- The ID of the log stream.
- log
Group stringName - 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_ strname - Specifies the name of the log group.
- name str
- Specifies the name of the log stream.
- id String
- The ID of the log stream.
- log
Group StringName - 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<Get
Lts Streams V2Stream> - All log streams that match the filter parameters.
- Log
Group stringName - 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
[]Get
Lts Streams V2Stream - All log streams that match the filter parameters.
- Log
Group stringName - 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<Get
Lts Streams V2Stream> - All log streams that match the filter parameters.
- log
Group StringName - 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
Get
Lts Streams V2Stream[] - All log streams that match the filter parameters.
- log
Group stringName - 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[Get
Lts Streams V2Stream] - All log streams that match the filter parameters.
- log_
group_ strname - 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.
- log
Group StringName - name String
- The name of the log stream.
Supporting Types
GetLtsStreamsV2Stream
- Created
At string - The creation time of the log stream, in RFC3339 format.
- Enterprise
Project stringId - Id string
- The ID of the log stream.
- Name string
- Specifies the name of the log stream.
- Dictionary<string, string>
- The key/value pairs to associate with the log stream.
- Ttl
In doubleDays - The log expiration time (days).
- Created
At string - The creation time of the log stream, in RFC3339 format.
- Enterprise
Project stringId - Id string
- The ID of the log stream.
- Name string
- Specifies the name of the log stream.
- map[string]string
- The key/value pairs to associate with the log stream.
- Ttl
In float64Days - The log expiration time (days).
- created
At String - The creation time of the log stream, in RFC3339 format.
- enterprise
Project StringId - id String
- The ID of the log stream.
- name String
- Specifies the name of the log stream.
- Map<String,String>
- The key/value pairs to associate with the log stream.
- ttl
In DoubleDays - The log expiration time (days).
- created
At string - The creation time of the log stream, in RFC3339 format.
- enterprise
Project stringId - id string
- The ID of the log stream.
- name string
- Specifies the name of the log stream.
- {[key: string]: string}
- The key/value pairs to associate with the log stream.
- ttl
In numberDays - The log expiration time (days).
- created_
at str - The creation time of the log stream, in RFC3339 format.
- enterprise_
project_ strid - id str
- The ID of the log stream.
- name str
- Specifies the name of the log stream.
- Mapping[str, str]
- The key/value pairs to associate with the log stream.
- ttl_
in_ floatdays - The log expiration time (days).
- created
At String - The creation time of the log stream, in RFC3339 format.
- enterprise
Project StringId - id String
- The ID of the log stream.
- name String
- Specifies the name of the log stream.
- Map<String>
- The key/value pairs to associate with the log stream.
- ttl
In NumberDays - 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 1.36.40 published on Friday, Jun 6, 2025 by opentelekomcloud