1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getTsfGroups
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getTsfGroups

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of tsf groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const groups = tencentcloud.getTsfGroups({
        applicationId: "application-a24x29xv",
        clusterId: "cluster-vwgj5e6y",
        groupIdLists: ["group-yrjkln9v"],
        groupResourceTypeLists: ["DEF"],
        namespaceId: "namespace-aemrg36v",
        orderBy: "createTime",
        orderType: 0,
        searchWord: "keep",
        status: "Running",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    groups = tencentcloud.get_tsf_groups(application_id="application-a24x29xv",
        cluster_id="cluster-vwgj5e6y",
        group_id_lists=["group-yrjkln9v"],
        group_resource_type_lists=["DEF"],
        namespace_id="namespace-aemrg36v",
        order_by="createTime",
        order_type=0,
        search_word="keep",
        status="Running")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.LookupTsfGroups(ctx, &tencentcloud.LookupTsfGroupsArgs{
    			ApplicationId: pulumi.StringRef("application-a24x29xv"),
    			ClusterId:     pulumi.StringRef("cluster-vwgj5e6y"),
    			GroupIdLists: []string{
    				"group-yrjkln9v",
    			},
    			GroupResourceTypeLists: []string{
    				"DEF",
    			},
    			NamespaceId: pulumi.StringRef("namespace-aemrg36v"),
    			OrderBy:     pulumi.StringRef("createTime"),
    			OrderType:   pulumi.Float64Ref(0),
    			SearchWord:  pulumi.StringRef("keep"),
    			Status:      pulumi.StringRef("Running"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var groups = Tencentcloud.GetTsfGroups.Invoke(new()
        {
            ApplicationId = "application-a24x29xv",
            ClusterId = "cluster-vwgj5e6y",
            GroupIdLists = new[]
            {
                "group-yrjkln9v",
            },
            GroupResourceTypeLists = new[]
            {
                "DEF",
            },
            NamespaceId = "namespace-aemrg36v",
            OrderBy = "createTime",
            OrderType = 0,
            SearchWord = "keep",
            Status = "Running",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTsfGroupsArgs;
    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 groups = TencentcloudFunctions.getTsfGroups(GetTsfGroupsArgs.builder()
                .applicationId("application-a24x29xv")
                .clusterId("cluster-vwgj5e6y")
                .groupIdLists("group-yrjkln9v")
                .groupResourceTypeLists("DEF")
                .namespaceId("namespace-aemrg36v")
                .orderBy("createTime")
                .orderType(0)
                .searchWord("keep")
                .status("Running")
                .build());
    
        }
    }
    
    variables:
      groups:
        fn::invoke:
          function: tencentcloud:getTsfGroups
          arguments:
            applicationId: application-a24x29xv
            clusterId: cluster-vwgj5e6y
            groupIdLists:
              - group-yrjkln9v
            groupResourceTypeLists:
              - DEF
            namespaceId: namespace-aemrg36v
            orderBy: createTime
            orderType: 0
            searchWord: keep
            status: Running
    

    Using getTsfGroups

    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 getTsfGroups(args: GetTsfGroupsArgs, opts?: InvokeOptions): Promise<GetTsfGroupsResult>
    function getTsfGroupsOutput(args: GetTsfGroupsOutputArgs, opts?: InvokeOptions): Output<GetTsfGroupsResult>
    def get_tsf_groups(application_id: Optional[str] = None,
                       cluster_id: Optional[str] = None,
                       group_id_lists: Optional[Sequence[str]] = None,
                       group_resource_type_lists: Optional[Sequence[str]] = None,
                       id: Optional[str] = None,
                       namespace_id: Optional[str] = None,
                       order_by: Optional[str] = None,
                       order_type: Optional[float] = None,
                       result_output_file: Optional[str] = None,
                       search_word: Optional[str] = None,
                       status: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetTsfGroupsResult
    def get_tsf_groups_output(application_id: Optional[pulumi.Input[str]] = None,
                       cluster_id: Optional[pulumi.Input[str]] = None,
                       group_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       group_resource_type_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       namespace_id: Optional[pulumi.Input[str]] = None,
                       order_by: Optional[pulumi.Input[str]] = None,
                       order_type: Optional[pulumi.Input[float]] = None,
                       result_output_file: Optional[pulumi.Input[str]] = None,
                       search_word: Optional[pulumi.Input[str]] = None,
                       status: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetTsfGroupsResult]
    func LookupTsfGroups(ctx *Context, args *LookupTsfGroupsArgs, opts ...InvokeOption) (*LookupTsfGroupsResult, error)
    func LookupTsfGroupsOutput(ctx *Context, args *LookupTsfGroupsOutputArgs, opts ...InvokeOption) LookupTsfGroupsResultOutput

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

    public static class GetTsfGroups 
    {
        public static Task<GetTsfGroupsResult> InvokeAsync(GetTsfGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetTsfGroupsResult> Invoke(GetTsfGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTsfGroupsResult> getTsfGroups(GetTsfGroupsArgs args, InvokeOptions options)
    public static Output<GetTsfGroupsResult> getTsfGroups(GetTsfGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTsfGroups:getTsfGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationId string
    applicationId.
    ClusterId string
    clusterId.
    GroupIdLists List<string>
    group Id list.
    GroupResourceTypeLists List<string>
    Group resourceType list.
    Id string
    NamespaceId string
    namespace Id.
    OrderBy string
    sort term.
    OrderType double
    order type, 0 desc, 1 asc.
    ResultOutputFile string
    Used to save results.
    SearchWord string
    searchWord, support groupName.
    Status string
    group status filter, Running: running, Unknown: unknown.
    ApplicationId string
    applicationId.
    ClusterId string
    clusterId.
    GroupIdLists []string
    group Id list.
    GroupResourceTypeLists []string
    Group resourceType list.
    Id string
    NamespaceId string
    namespace Id.
    OrderBy string
    sort term.
    OrderType float64
    order type, 0 desc, 1 asc.
    ResultOutputFile string
    Used to save results.
    SearchWord string
    searchWord, support groupName.
    Status string
    group status filter, Running: running, Unknown: unknown.
    applicationId String
    applicationId.
    clusterId String
    clusterId.
    groupIdLists List<String>
    group Id list.
    groupResourceTypeLists List<String>
    Group resourceType list.
    id String
    namespaceId String
    namespace Id.
    orderBy String
    sort term.
    orderType Double
    order type, 0 desc, 1 asc.
    resultOutputFile String
    Used to save results.
    searchWord String
    searchWord, support groupName.
    status String
    group status filter, Running: running, Unknown: unknown.
    applicationId string
    applicationId.
    clusterId string
    clusterId.
    groupIdLists string[]
    group Id list.
    groupResourceTypeLists string[]
    Group resourceType list.
    id string
    namespaceId string
    namespace Id.
    orderBy string
    sort term.
    orderType number
    order type, 0 desc, 1 asc.
    resultOutputFile string
    Used to save results.
    searchWord string
    searchWord, support groupName.
    status string
    group status filter, Running: running, Unknown: unknown.
    application_id str
    applicationId.
    cluster_id str
    clusterId.
    group_id_lists Sequence[str]
    group Id list.
    group_resource_type_lists Sequence[str]
    Group resourceType list.
    id str
    namespace_id str
    namespace Id.
    order_by str
    sort term.
    order_type float
    order type, 0 desc, 1 asc.
    result_output_file str
    Used to save results.
    search_word str
    searchWord, support groupName.
    status str
    group status filter, Running: running, Unknown: unknown.
    applicationId String
    applicationId.
    clusterId String
    clusterId.
    groupIdLists List<String>
    group Id list.
    groupResourceTypeLists List<String>
    Group resourceType list.
    id String
    namespaceId String
    namespace Id.
    orderBy String
    sort term.
    orderType Number
    order type, 0 desc, 1 asc.
    resultOutputFile String
    Used to save results.
    searchWord String
    searchWord, support groupName.
    status String
    group status filter, Running: running, Unknown: unknown.

    getTsfGroups Result

    The following output properties are available:

    Id string
    Results List<GetTsfGroupsResult>
    Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
    ApplicationId string
    Application ID. Note: This field may return null, indicating that no valid value was found.
    ClusterId string
    Cluster ID. Note: This field may return null, indicating that no valid value was found.
    GroupIdLists List<string>
    GroupResourceTypeLists List<string>
    NamespaceId string
    Namespace ID. Note: This field may return null, indicating that no valid value was found.
    OrderBy string
    OrderType double
    ResultOutputFile string
    SearchWord string
    Status string
    Id string
    Results []GetTsfGroupsResult
    Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
    ApplicationId string
    Application ID. Note: This field may return null, indicating that no valid value was found.
    ClusterId string
    Cluster ID. Note: This field may return null, indicating that no valid value was found.
    GroupIdLists []string
    GroupResourceTypeLists []string
    NamespaceId string
    Namespace ID. Note: This field may return null, indicating that no valid value was found.
    OrderBy string
    OrderType float64
    ResultOutputFile string
    SearchWord string
    Status string
    id String
    results List<GetTsfGroupsResult>
    Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
    applicationId String
    Application ID. Note: This field may return null, indicating that no valid value was found.
    clusterId String
    Cluster ID. Note: This field may return null, indicating that no valid value was found.
    groupIdLists List<String>
    groupResourceTypeLists List<String>
    namespaceId String
    Namespace ID. Note: This field may return null, indicating that no valid value was found.
    orderBy String
    orderType Double
    resultOutputFile String
    searchWord String
    status String
    id string
    results GetTsfGroupsResult[]
    Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
    applicationId string
    Application ID. Note: This field may return null, indicating that no valid value was found.
    clusterId string
    Cluster ID. Note: This field may return null, indicating that no valid value was found.
    groupIdLists string[]
    groupResourceTypeLists string[]
    namespaceId string
    Namespace ID. Note: This field may return null, indicating that no valid value was found.
    orderBy string
    orderType number
    resultOutputFile string
    searchWord string
    status string
    id str
    results Sequence[GetTsfGroupsResult]
    Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
    application_id str
    Application ID. Note: This field may return null, indicating that no valid value was found.
    cluster_id str
    Cluster ID. Note: This field may return null, indicating that no valid value was found.
    group_id_lists Sequence[str]
    group_resource_type_lists Sequence[str]
    namespace_id str
    Namespace ID. Note: This field may return null, indicating that no valid value was found.
    order_by str
    order_type float
    result_output_file str
    search_word str
    status str
    id String
    results List<Property Map>
    Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
    applicationId String
    Application ID. Note: This field may return null, indicating that no valid value was found.
    clusterId String
    Cluster ID. Note: This field may return null, indicating that no valid value was found.
    groupIdLists List<String>
    groupResourceTypeLists List<String>
    namespaceId String
    Namespace ID. Note: This field may return null, indicating that no valid value was found.
    orderBy String
    orderType Number
    resultOutputFile String
    searchWord String
    status String

    Supporting Types

    GetTsfGroupsResult

    Contents List<GetTsfGroupsResultContent>
    Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
    TotalCount double
    Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
    Contents []GetTsfGroupsResultContent
    Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
    TotalCount float64
    Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
    contents List<GetTsfGroupsResultContent>
    Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
    totalCount Double
    Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
    contents GetTsfGroupsResultContent[]
    Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
    totalCount number
    Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
    contents Sequence[GetTsfGroupsResultContent]
    Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
    total_count float
    Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
    contents List<Property Map>
    Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
    totalCount Number
    Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.

    GetTsfGroupsResultContent

    Alias string
    Group alias. Note: This field may return null, indicating that no valid value was found.
    ApplicationId string
    applicationId.
    ApplicationName string
    Application name. Note: This field may return null, indicating that no valid value was found.
    ApplicationType string
    Application type. Note: This field may return null, indicating that no valid value was found.
    ClusterId string
    clusterId.
    ClusterName string
    Cluster name. Note: This field may return null, indicating that no valid value was found.
    CreateTime string
    Create Time. Note: This field may return null, indicating that no valid value was found.
    DeployDesc string
    Group description. Note: This field may return null, indicating that no valid value was found.
    GroupDesc string
    Group description. Note: This field may return null, indicating that no valid value was found.
    GroupId string
    Group ID. Note: This field may return null, indicating that no valid value was found.
    GroupName string
    Group ID. Note: This field may return null, indicating that no valid value was found.
    GroupResourceType string
    Group resource type. Note: This field may return null, indicating that no valid value was found.
    MicroserviceType string
    Microservice type. Note: This field may return null, indicating that no valid value was found.
    NamespaceId string
    namespace Id.
    NamespaceName string
    Namespace name. Note: This field may return null, indicating that no valid value was found.
    StartupParameters string
    Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
    UpdateTime string
    Group update time. Note: This field may return null, indicating that no valid value was found.
    UpdatedTime double
    Update time. Note: This field may return null, indicating that no valid value was found.
    Alias string
    Group alias. Note: This field may return null, indicating that no valid value was found.
    ApplicationId string
    applicationId.
    ApplicationName string
    Application name. Note: This field may return null, indicating that no valid value was found.
    ApplicationType string
    Application type. Note: This field may return null, indicating that no valid value was found.
    ClusterId string
    clusterId.
    ClusterName string
    Cluster name. Note: This field may return null, indicating that no valid value was found.
    CreateTime string
    Create Time. Note: This field may return null, indicating that no valid value was found.
    DeployDesc string
    Group description. Note: This field may return null, indicating that no valid value was found.
    GroupDesc string
    Group description. Note: This field may return null, indicating that no valid value was found.
    GroupId string
    Group ID. Note: This field may return null, indicating that no valid value was found.
    GroupName string
    Group ID. Note: This field may return null, indicating that no valid value was found.
    GroupResourceType string
    Group resource type. Note: This field may return null, indicating that no valid value was found.
    MicroserviceType string
    Microservice type. Note: This field may return null, indicating that no valid value was found.
    NamespaceId string
    namespace Id.
    NamespaceName string
    Namespace name. Note: This field may return null, indicating that no valid value was found.
    StartupParameters string
    Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
    UpdateTime string
    Group update time. Note: This field may return null, indicating that no valid value was found.
    UpdatedTime float64
    Update time. Note: This field may return null, indicating that no valid value was found.
    alias String
    Group alias. Note: This field may return null, indicating that no valid value was found.
    applicationId String
    applicationId.
    applicationName String
    Application name. Note: This field may return null, indicating that no valid value was found.
    applicationType String
    Application type. Note: This field may return null, indicating that no valid value was found.
    clusterId String
    clusterId.
    clusterName String
    Cluster name. Note: This field may return null, indicating that no valid value was found.
    createTime String
    Create Time. Note: This field may return null, indicating that no valid value was found.
    deployDesc String
    Group description. Note: This field may return null, indicating that no valid value was found.
    groupDesc String
    Group description. Note: This field may return null, indicating that no valid value was found.
    groupId String
    Group ID. Note: This field may return null, indicating that no valid value was found.
    groupName String
    Group ID. Note: This field may return null, indicating that no valid value was found.
    groupResourceType String
    Group resource type. Note: This field may return null, indicating that no valid value was found.
    microserviceType String
    Microservice type. Note: This field may return null, indicating that no valid value was found.
    namespaceId String
    namespace Id.
    namespaceName String
    Namespace name. Note: This field may return null, indicating that no valid value was found.
    startupParameters String
    Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
    updateTime String
    Group update time. Note: This field may return null, indicating that no valid value was found.
    updatedTime Double
    Update time. Note: This field may return null, indicating that no valid value was found.
    alias string
    Group alias. Note: This field may return null, indicating that no valid value was found.
    applicationId string
    applicationId.
    applicationName string
    Application name. Note: This field may return null, indicating that no valid value was found.
    applicationType string
    Application type. Note: This field may return null, indicating that no valid value was found.
    clusterId string
    clusterId.
    clusterName string
    Cluster name. Note: This field may return null, indicating that no valid value was found.
    createTime string
    Create Time. Note: This field may return null, indicating that no valid value was found.
    deployDesc string
    Group description. Note: This field may return null, indicating that no valid value was found.
    groupDesc string
    Group description. Note: This field may return null, indicating that no valid value was found.
    groupId string
    Group ID. Note: This field may return null, indicating that no valid value was found.
    groupName string
    Group ID. Note: This field may return null, indicating that no valid value was found.
    groupResourceType string
    Group resource type. Note: This field may return null, indicating that no valid value was found.
    microserviceType string
    Microservice type. Note: This field may return null, indicating that no valid value was found.
    namespaceId string
    namespace Id.
    namespaceName string
    Namespace name. Note: This field may return null, indicating that no valid value was found.
    startupParameters string
    Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
    updateTime string
    Group update time. Note: This field may return null, indicating that no valid value was found.
    updatedTime number
    Update time. Note: This field may return null, indicating that no valid value was found.
    alias str
    Group alias. Note: This field may return null, indicating that no valid value was found.
    application_id str
    applicationId.
    application_name str
    Application name. Note: This field may return null, indicating that no valid value was found.
    application_type str
    Application type. Note: This field may return null, indicating that no valid value was found.
    cluster_id str
    clusterId.
    cluster_name str
    Cluster name. Note: This field may return null, indicating that no valid value was found.
    create_time str
    Create Time. Note: This field may return null, indicating that no valid value was found.
    deploy_desc str
    Group description. Note: This field may return null, indicating that no valid value was found.
    group_desc str
    Group description. Note: This field may return null, indicating that no valid value was found.
    group_id str
    Group ID. Note: This field may return null, indicating that no valid value was found.
    group_name str
    Group ID. Note: This field may return null, indicating that no valid value was found.
    group_resource_type str
    Group resource type. Note: This field may return null, indicating that no valid value was found.
    microservice_type str
    Microservice type. Note: This field may return null, indicating that no valid value was found.
    namespace_id str
    namespace Id.
    namespace_name str
    Namespace name. Note: This field may return null, indicating that no valid value was found.
    startup_parameters str
    Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
    update_time str
    Group update time. Note: This field may return null, indicating that no valid value was found.
    updated_time float
    Update time. Note: This field may return null, indicating that no valid value was found.
    alias String
    Group alias. Note: This field may return null, indicating that no valid value was found.
    applicationId String
    applicationId.
    applicationName String
    Application name. Note: This field may return null, indicating that no valid value was found.
    applicationType String
    Application type. Note: This field may return null, indicating that no valid value was found.
    clusterId String
    clusterId.
    clusterName String
    Cluster name. Note: This field may return null, indicating that no valid value was found.
    createTime String
    Create Time. Note: This field may return null, indicating that no valid value was found.
    deployDesc String
    Group description. Note: This field may return null, indicating that no valid value was found.
    groupDesc String
    Group description. Note: This field may return null, indicating that no valid value was found.
    groupId String
    Group ID. Note: This field may return null, indicating that no valid value was found.
    groupName String
    Group ID. Note: This field may return null, indicating that no valid value was found.
    groupResourceType String
    Group resource type. Note: This field may return null, indicating that no valid value was found.
    microserviceType String
    Microservice type. Note: This field may return null, indicating that no valid value was found.
    namespaceId String
    namespace Id.
    namespaceName String
    Namespace name. Note: This field may return null, indicating that no valid value was found.
    startupParameters String
    Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
    updateTime String
    Group update time. Note: This field may return null, indicating that no valid value was found.
    updatedTime Number
    Update time. Note: This field may return null, indicating that no valid value was found.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack