1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. getLtsHostGroupV3
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 host group you can get at documentation portal

    Use this data source to query LTS host groups within T-Cloud Public (formerly OpenTelekomCloud).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const groupId = config.requireObject<any>("groupId");
    const test = opentelekomcloud.getLtsHostGroupV3({
        id: groupId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    group_id = config.require_object("groupId")
    test = opentelekomcloud.get_lts_host_group_v3(id=group_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, "")
    		groupId := cfg.RequireObject("groupId")
    		_, err := opentelekomcloud.LookupLtsHostGroupV3(ctx, &opentelekomcloud.LookupLtsHostGroupV3Args{
    			Id: pulumi.StringRef(groupId),
    		}, 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 groupId = config.RequireObject<dynamic>("groupId");
        var test = Opentelekomcloud.GetLtsHostGroupV3.Invoke(new()
        {
            Id = groupId,
        });
    
    });
    
    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.GetLtsHostGroupV3Args;
    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 groupId = config.get("groupId");
            final var test = OpentelekomcloudFunctions.getLtsHostGroupV3(GetLtsHostGroupV3Args.builder()
                .id(groupId)
                .build());
    
        }
    }
    
    configuration:
      groupId:
        type: dynamic
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getLtsHostGroupV3
          arguments:
            id: ${groupId}
    
    Example coming soon!
    
    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const groupName = config.requireObject<any>("groupName");
    const test = opentelekomcloud.getLtsHostGroupV3({
        name: groupName,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    group_name = config.require_object("groupName")
    test = opentelekomcloud.get_lts_host_group_v3(name=group_name)
    
    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, "")
    		groupName := cfg.RequireObject("groupName")
    		_, err := opentelekomcloud.LookupLtsHostGroupV3(ctx, &opentelekomcloud.LookupLtsHostGroupV3Args{
    			Name: pulumi.StringRef(groupName),
    		}, 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 groupName = config.RequireObject<dynamic>("groupName");
        var test = Opentelekomcloud.GetLtsHostGroupV3.Invoke(new()
        {
            Name = groupName,
        });
    
    });
    
    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.GetLtsHostGroupV3Args;
    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 groupName = config.get("groupName");
            final var test = OpentelekomcloudFunctions.getLtsHostGroupV3(GetLtsHostGroupV3Args.builder()
                .name(groupName)
                .build());
    
        }
    }
    
    configuration:
      groupName:
        type: dynamic
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getLtsHostGroupV3
          arguments:
            name: ${groupName}
    
    Example coming soon!
    

    Using getLtsHostGroupV3

    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 getLtsHostGroupV3(args: GetLtsHostGroupV3Args, opts?: InvokeOptions): Promise<GetLtsHostGroupV3Result>
    function getLtsHostGroupV3Output(args: GetLtsHostGroupV3OutputArgs, opts?: InvokeOutputOptions): Output<GetLtsHostGroupV3Result>
    def get_lts_host_group_v3(id: Optional[str] = None,
                              name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLtsHostGroupV3Result
    def get_lts_host_group_v3_output(id: pulumi.Input[Optional[str]] = None,
                              name: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetLtsHostGroupV3Result]
    func LookupLtsHostGroupV3(ctx *Context, args *LookupLtsHostGroupV3Args, opts ...InvokeOption) (*LookupLtsHostGroupV3Result, error)
    func LookupLtsHostGroupV3Output(ctx *Context, args *LookupLtsHostGroupV3OutputArgs, opts ...InvokeOption) LookupLtsHostGroupV3ResultOutput

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

    public static class GetLtsHostGroupV3 
    {
        public static Task<GetLtsHostGroupV3Result> InvokeAsync(GetLtsHostGroupV3Args args, InvokeOptions? opts = null)
        public static Output<GetLtsHostGroupV3Result> Invoke(GetLtsHostGroupV3InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetLtsHostGroupV3Result> Invoke(GetLtsHostGroupV3InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLtsHostGroupV3Result> getLtsHostGroupV3(GetLtsHostGroupV3Args args, InvokeOptions options)
    public static Output<GetLtsHostGroupV3Result> getLtsHostGroupV3(GetLtsHostGroupV3Args args, InvokeOptions options)
    public static Output<GetLtsHostGroupV3Result> getLtsHostGroupV3(GetLtsHostGroupV3Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getLtsHostGroupV3:getLtsHostGroupV3
      arguments:
        # arguments dictionary
    data "opentelekomcloud_get_lts_host_group_v3" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Specifies the ID of the host group.
    Name string
    Specifies the name of the host group.
    Id string
    Specifies the ID of the host group.
    Name string
    Specifies the name of the host group.
    id string
    Specifies the ID of the host group.
    name string
    Specifies the name of the host group.
    id String
    Specifies the ID of the host group.
    name String
    Specifies the name of the host group.
    id string
    Specifies the ID of the host group.
    name string
    Specifies the name of the host group.
    id str
    Specifies the ID of the host group.
    name str
    Specifies the name of the host group.
    id String
    Specifies the ID of the host group.
    name String
    Specifies the name of the host group.

    getLtsHostGroupV3 Result

    The following output properties are available:

    HostGroups List<GetLtsHostGroupV3HostGroup>
    List of host groups that match the filter parameters.
    Id string
    The host group ID.
    Name string
    The host group name.
    HostGroups []GetLtsHostGroupV3HostGroup
    List of host groups that match the filter parameters.
    Id string
    The host group ID.
    Name string
    The host group name.
    host_groups list(object)
    List of host groups that match the filter parameters.
    id string
    The host group ID.
    name string
    The host group name.
    hostGroups List<GetLtsHostGroupV3HostGroup>
    List of host groups that match the filter parameters.
    id String
    The host group ID.
    name String
    The host group name.
    hostGroups GetLtsHostGroupV3HostGroup[]
    List of host groups that match the filter parameters.
    id string
    The host group ID.
    name string
    The host group name.
    host_groups Sequence[GetLtsHostGroupV3HostGroup]
    List of host groups that match the filter parameters.
    id str
    The host group ID.
    name str
    The host group name.
    hostGroups List<Property Map>
    List of host groups that match the filter parameters.
    id String
    The host group ID.
    name String
    The host group name.

    Supporting Types

    GetLtsHostGroupV3HostGroup

    AgentAccessType string
    The type of host group access. Valid values are IP and LABEL.
    CreatedAt string
    The creation time of the host group, in RFC3339 format.
    HostIds List<string>
    List of host IDs in the group.
    Id string
    Specifies the ID of the host group.
    Labels List<string>
    Custom label list of the host group.
    Name string
    Specifies the name of the host group.
    Tags Dictionary<string, string>
    Key/value pairs attached to the host group.
    Type string
    The type of the host. Valid values are linux and windows.
    UpdatedAt string
    The latest update time of the host group, in RFC3339 format.
    AgentAccessType string
    The type of host group access. Valid values are IP and LABEL.
    CreatedAt string
    The creation time of the host group, in RFC3339 format.
    HostIds []string
    List of host IDs in the group.
    Id string
    Specifies the ID of the host group.
    Labels []string
    Custom label list of the host group.
    Name string
    Specifies the name of the host group.
    Tags map[string]string
    Key/value pairs attached to the host group.
    Type string
    The type of the host. Valid values are linux and windows.
    UpdatedAt string
    The latest update time of the host group, in RFC3339 format.
    agent_access_type string
    The type of host group access. Valid values are IP and LABEL.
    created_at string
    The creation time of the host group, in RFC3339 format.
    host_ids list(string)
    List of host IDs in the group.
    id string
    Specifies the ID of the host group.
    labels list(string)
    Custom label list of the host group.
    name string
    Specifies the name of the host group.
    tags map(string)
    Key/value pairs attached to the host group.
    type string
    The type of the host. Valid values are linux and windows.
    updated_at string
    The latest update time of the host group, in RFC3339 format.
    agentAccessType String
    The type of host group access. Valid values are IP and LABEL.
    createdAt String
    The creation time of the host group, in RFC3339 format.
    hostIds List<String>
    List of host IDs in the group.
    id String
    Specifies the ID of the host group.
    labels List<String>
    Custom label list of the host group.
    name String
    Specifies the name of the host group.
    tags Map<String,String>
    Key/value pairs attached to the host group.
    type String
    The type of the host. Valid values are linux and windows.
    updatedAt String
    The latest update time of the host group, in RFC3339 format.
    agentAccessType string
    The type of host group access. Valid values are IP and LABEL.
    createdAt string
    The creation time of the host group, in RFC3339 format.
    hostIds string[]
    List of host IDs in the group.
    id string
    Specifies the ID of the host group.
    labels string[]
    Custom label list of the host group.
    name string
    Specifies the name of the host group.
    tags {[key: string]: string}
    Key/value pairs attached to the host group.
    type string
    The type of the host. Valid values are linux and windows.
    updatedAt string
    The latest update time of the host group, in RFC3339 format.
    agent_access_type str
    The type of host group access. Valid values are IP and LABEL.
    created_at str
    The creation time of the host group, in RFC3339 format.
    host_ids Sequence[str]
    List of host IDs in the group.
    id str
    Specifies the ID of the host group.
    labels Sequence[str]
    Custom label list of the host group.
    name str
    Specifies the name of the host group.
    tags Mapping[str, str]
    Key/value pairs attached to the host group.
    type str
    The type of the host. Valid values are linux and windows.
    updated_at str
    The latest update time of the host group, in RFC3339 format.
    agentAccessType String
    The type of host group access. Valid values are IP and LABEL.
    createdAt String
    The creation time of the host group, in RFC3339 format.
    hostIds List<String>
    List of host IDs in the group.
    id String
    Specifies the ID of the host group.
    labels List<String>
    Custom label list of the host group.
    name String
    Specifies the name of the host group.
    tags Map<String>
    Key/value pairs attached to the host group.
    type String
    The type of the host. Valid values are linux and windows.
    updatedAt String
    The latest update time of the host group, in RFC3339 format.

    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