opentelekomcloud 1.36.40 published on Friday, Jun 6, 2025 by opentelekomcloud
opentelekomcloud.getLtsGroupsV2
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 Groups you can get at documentation portal
Use this data source to get the list of LTS log groups.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const test = opentelekomcloud.getLtsGroupsV2({});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
test = opentelekomcloud.get_lts_groups_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.GetLtsGroupsV2(ctx, &opentelekomcloud.GetLtsGroupsV2Args{}, 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.GetLtsGroupsV2.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.GetLtsGroupsV2Args;
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.getLtsGroupsV2();
}
}
variables:
test:
fn::invoke:
function: opentelekomcloud:getLtsGroupsV2
arguments: {}
Using getLtsGroupsV2
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 getLtsGroupsV2(args: GetLtsGroupsV2Args, opts?: InvokeOptions): Promise<GetLtsGroupsV2Result>
function getLtsGroupsV2Output(args: GetLtsGroupsV2OutputArgs, opts?: InvokeOptions): Output<GetLtsGroupsV2Result>
def get_lts_groups_v2(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLtsGroupsV2Result
def get_lts_groups_v2_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLtsGroupsV2Result]
func GetLtsGroupsV2(ctx *Context, args *GetLtsGroupsV2Args, opts ...InvokeOption) (*GetLtsGroupsV2Result, error)
func GetLtsGroupsV2Output(ctx *Context, args *GetLtsGroupsV2OutputArgs, opts ...InvokeOption) GetLtsGroupsV2ResultOutput
> Note: This function is named GetLtsGroupsV2
in the Go SDK.
public static class GetLtsGroupsV2
{
public static Task<GetLtsGroupsV2Result> InvokeAsync(GetLtsGroupsV2Args args, InvokeOptions? opts = null)
public static Output<GetLtsGroupsV2Result> Invoke(GetLtsGroupsV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLtsGroupsV2Result> getLtsGroupsV2(GetLtsGroupsV2Args args, InvokeOptions options)
public static Output<GetLtsGroupsV2Result> getLtsGroupsV2(GetLtsGroupsV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getLtsGroupsV2:getLtsGroupsV2
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The log group ID.
- Id string
- The log group ID.
- id String
- The log group ID.
- id string
- The log group ID.
- id str
- The log group ID.
- id String
- The log group ID.
getLtsGroupsV2 Result
The following output properties are available:
- Groups
List<Get
Lts Groups V2Group> - All log groups that match the filter parameters.
- Id string
- The log group ID.
- Region string
- Region in which to query the resources are placed.
- Groups
[]Get
Lts Groups V2Group - All log groups that match the filter parameters.
- Id string
- The log group ID.
- Region string
- Region in which to query the resources are placed.
- groups
List<Get
Lts Groups V2Group> - All log groups that match the filter parameters.
- id String
- The log group ID.
- region String
- Region in which to query the resources are placed.
- groups
Get
Lts Groups V2Group[] - All log groups that match the filter parameters.
- id string
- The log group ID.
- region string
- Region in which to query the resources are placed.
- groups
Sequence[Get
Lts Groups V2Group] - All log groups that match the filter parameters.
- id str
- The log group ID.
- region str
- Region in which to query the resources are placed.
- groups List<Property Map>
- All log groups that match the filter parameters.
- id String
- The log group ID.
- region String
- Region in which to query the resources are placed.
Supporting Types
GetLtsGroupsV2Group
- Created
At string - The creation time of the log group, in RFC3339 format.
- Enterprise
Project stringId - The enterprise project ID to which the log group belongs.
- Id string
- The log group ID.
- Name string
- The log group name.
- Dictionary<string, string>
- The key/value pairs to associate with the log group.
- Ttl
In doubleDays - The log expiration time(days).
- Created
At string - The creation time of the log group, in RFC3339 format.
- Enterprise
Project stringId - The enterprise project ID to which the log group belongs.
- Id string
- The log group ID.
- Name string
- The log group name.
- map[string]string
- The key/value pairs to associate with the log group.
- Ttl
In float64Days - The log expiration time(days).
- created
At String - The creation time of the log group, in RFC3339 format.
- enterprise
Project StringId - The enterprise project ID to which the log group belongs.
- id String
- The log group ID.
- name String
- The log group name.
- Map<String,String>
- The key/value pairs to associate with the log group.
- ttl
In DoubleDays - The log expiration time(days).
- created
At string - The creation time of the log group, in RFC3339 format.
- enterprise
Project stringId - The enterprise project ID to which the log group belongs.
- id string
- The log group ID.
- name string
- The log group name.
- {[key: string]: string}
- The key/value pairs to associate with the log group.
- ttl
In numberDays - The log expiration time(days).
- created_
at str - The creation time of the log group, in RFC3339 format.
- enterprise_
project_ strid - The enterprise project ID to which the log group belongs.
- id str
- The log group ID.
- name str
- The log group name.
- Mapping[str, str]
- The key/value pairs to associate with the log group.
- ttl_
in_ floatdays - The log expiration time(days).
- created
At String - The creation time of the log group, in RFC3339 format.
- enterprise
Project StringId - The enterprise project ID to which the log group belongs.
- id String
- The log group ID.
- name String
- The log group name.
- Map<String>
- The key/value pairs to associate with the log group.
- 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