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

tencentcloud.getTsfContainerGroup

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 container_group

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const containerGroup = tencentcloud.getTsfContainerGroup({
        applicationId: "application-a24x29xv",
        clusterId: "cluster-vwgj5e6y",
        namespaceId: "namespace-aemrg36v",
        orderBy: "createTime",
        orderType: 0,
        searchWord: "keep",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    container_group = tencentcloud.get_tsf_container_group(application_id="application-a24x29xv",
        cluster_id="cluster-vwgj5e6y",
        namespace_id="namespace-aemrg36v",
        order_by="createTime",
        order_type=0,
        search_word="keep")
    
    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.LookupTsfContainerGroup(ctx, &tencentcloud.LookupTsfContainerGroupArgs{
    			ApplicationId: pulumi.StringRef("application-a24x29xv"),
    			ClusterId:     pulumi.StringRef("cluster-vwgj5e6y"),
    			NamespaceId:   pulumi.StringRef("namespace-aemrg36v"),
    			OrderBy:       pulumi.StringRef("createTime"),
    			OrderType:     pulumi.Float64Ref(0),
    			SearchWord:    pulumi.StringRef("keep"),
    		}, 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 containerGroup = Tencentcloud.GetTsfContainerGroup.Invoke(new()
        {
            ApplicationId = "application-a24x29xv",
            ClusterId = "cluster-vwgj5e6y",
            NamespaceId = "namespace-aemrg36v",
            OrderBy = "createTime",
            OrderType = 0,
            SearchWord = "keep",
        });
    
    });
    
    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.GetTsfContainerGroupArgs;
    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 containerGroup = TencentcloudFunctions.getTsfContainerGroup(GetTsfContainerGroupArgs.builder()
                .applicationId("application-a24x29xv")
                .clusterId("cluster-vwgj5e6y")
                .namespaceId("namespace-aemrg36v")
                .orderBy("createTime")
                .orderType(0)
                .searchWord("keep")
                .build());
    
        }
    }
    
    variables:
      containerGroup:
        fn::invoke:
          function: tencentcloud:getTsfContainerGroup
          arguments:
            applicationId: application-a24x29xv
            clusterId: cluster-vwgj5e6y
            namespaceId: namespace-aemrg36v
            orderBy: createTime
            orderType: 0
            searchWord: keep
    

    Using getTsfContainerGroup

    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 getTsfContainerGroup(args: GetTsfContainerGroupArgs, opts?: InvokeOptions): Promise<GetTsfContainerGroupResult>
    function getTsfContainerGroupOutput(args: GetTsfContainerGroupOutputArgs, opts?: InvokeOptions): Output<GetTsfContainerGroupResult>
    def get_tsf_container_group(application_id: Optional[str] = None,
                                cluster_id: Optional[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,
                                opts: Optional[InvokeOptions] = None) -> GetTsfContainerGroupResult
    def get_tsf_container_group_output(application_id: Optional[pulumi.Input[str]] = None,
                                cluster_id: Optional[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,
                                opts: Optional[InvokeOptions] = None) -> Output[GetTsfContainerGroupResult]
    func LookupTsfContainerGroup(ctx *Context, args *LookupTsfContainerGroupArgs, opts ...InvokeOption) (*LookupTsfContainerGroupResult, error)
    func LookupTsfContainerGroupOutput(ctx *Context, args *LookupTsfContainerGroupOutputArgs, opts ...InvokeOption) LookupTsfContainerGroupResultOutput

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

    public static class GetTsfContainerGroup 
    {
        public static Task<GetTsfContainerGroupResult> InvokeAsync(GetTsfContainerGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetTsfContainerGroupResult> Invoke(GetTsfContainerGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTsfContainerGroupResult> getTsfContainerGroup(GetTsfContainerGroupArgs args, InvokeOptions options)
    public static Output<GetTsfContainerGroupResult> getTsfContainerGroup(GetTsfContainerGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTsfContainerGroup:getTsfContainerGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationId string
    ApplicationId, required.
    ClusterId string
    Cluster Id.
    Id string
    NamespaceId string
    Namespace Id.
    OrderBy string
    The sorting field. By default, it is the createTime field. Supports id, name, createTime.
    OrderType double
    The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
    ResultOutputFile string
    Used to save results.
    SearchWord string
    search word, support group name.
    ApplicationId string
    ApplicationId, required.
    ClusterId string
    Cluster Id.
    Id string
    NamespaceId string
    Namespace Id.
    OrderBy string
    The sorting field. By default, it is the createTime field. Supports id, name, createTime.
    OrderType float64
    The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
    ResultOutputFile string
    Used to save results.
    SearchWord string
    search word, support group name.
    applicationId String
    ApplicationId, required.
    clusterId String
    Cluster Id.
    id String
    namespaceId String
    Namespace Id.
    orderBy String
    The sorting field. By default, it is the createTime field. Supports id, name, createTime.
    orderType Double
    The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
    resultOutputFile String
    Used to save results.
    searchWord String
    search word, support group name.
    applicationId string
    ApplicationId, required.
    clusterId string
    Cluster Id.
    id string
    namespaceId string
    Namespace Id.
    orderBy string
    The sorting field. By default, it is the createTime field. Supports id, name, createTime.
    orderType number
    The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
    resultOutputFile string
    Used to save results.
    searchWord string
    search word, support group name.
    application_id str
    ApplicationId, required.
    cluster_id str
    Cluster Id.
    id str
    namespace_id str
    Namespace Id.
    order_by str
    The sorting field. By default, it is the createTime field. Supports id, name, createTime.
    order_type float
    The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
    result_output_file str
    Used to save results.
    search_word str
    search word, support group name.
    applicationId String
    ApplicationId, required.
    clusterId String
    Cluster Id.
    id String
    namespaceId String
    Namespace Id.
    orderBy String
    The sorting field. By default, it is the createTime field. Supports id, name, createTime.
    orderType Number
    The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
    resultOutputFile String
    Used to save results.
    searchWord String
    search word, support group name.

    getTsfContainerGroup Result

    The following output properties are available:

    Id string
    Results List<GetTsfContainerGroupResult>
    result list.
    ApplicationId string
    ClusterId string
    Cluster Id.Note: This field may return null, indicating that no valid value was found.
    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
    Id string
    Results []GetTsfContainerGroupResult
    result list.
    ApplicationId string
    ClusterId string
    Cluster Id.Note: This field may return null, indicating that no valid value was found.
    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
    id String
    results List<GetTsfContainerGroupResult>
    result list.
    applicationId String
    clusterId String
    Cluster Id.Note: This field may return null, indicating that no valid value was found.
    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
    id string
    results GetTsfContainerGroupResult[]
    result list.
    applicationId string
    clusterId string
    Cluster Id.Note: This field may return null, indicating that no valid value was found.
    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
    id str
    results Sequence[GetTsfContainerGroupResult]
    result list.
    application_id str
    cluster_id str
    Cluster Id.Note: This field may return null, indicating that no valid value was found.
    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
    id String
    results List<Property Map>
    result list.
    applicationId String
    clusterId String
    Cluster Id.Note: This field may return null, indicating that no valid value was found.
    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

    Supporting Types

    GetTsfContainerGroupResult

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

    GetTsfContainerGroupResultContent

    Alias string
    The Group description.Note: This field may return null, indicating that no valid value was found.
    ClusterId string
    Cluster Id.
    ClusterName string
    Cluster name.Note: This field may return null, indicating that no valid value was found.
    CpuLimit string
    The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    CpuRequest string
    The initial amount of CPU, corresponding to K8S request.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.
    GroupId string
    Group Id.Note: This field may return null, indicating that no valid value was found.
    GroupName string
    Group name.Note: This field may return null, indicating that no valid value was found.
    KubeInjectEnable bool
    The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
    MemLimit string
    The maximum amount of memory allocated in MiB, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    MemRequest string
    The initial amount of memory allocated in MiB, corresponding to K8S request.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.
    RepoName string
    Image name.Note: This field may return null, indicating that no valid value was found.
    Server string
    Image server.Note: This field may return null, indicating that no valid value was found.
    TagName string
    Image version Name.Note: This field may return null, indicating that no valid value was found.
    UpdatedTime string
    Update type.Note: This field may return null, indicating that no valid value was found.
    Alias string
    The Group description.Note: This field may return null, indicating that no valid value was found.
    ClusterId string
    Cluster Id.
    ClusterName string
    Cluster name.Note: This field may return null, indicating that no valid value was found.
    CpuLimit string
    The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    CpuRequest string
    The initial amount of CPU, corresponding to K8S request.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.
    GroupId string
    Group Id.Note: This field may return null, indicating that no valid value was found.
    GroupName string
    Group name.Note: This field may return null, indicating that no valid value was found.
    KubeInjectEnable bool
    The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
    MemLimit string
    The maximum amount of memory allocated in MiB, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    MemRequest string
    The initial amount of memory allocated in MiB, corresponding to K8S request.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.
    RepoName string
    Image name.Note: This field may return null, indicating that no valid value was found.
    Server string
    Image server.Note: This field may return null, indicating that no valid value was found.
    TagName string
    Image version Name.Note: This field may return null, indicating that no valid value was found.
    UpdatedTime string
    Update type.Note: This field may return null, indicating that no valid value was found.
    alias String
    The Group description.Note: This field may return null, indicating that no valid value was found.
    clusterId String
    Cluster Id.
    clusterName String
    Cluster name.Note: This field may return null, indicating that no valid value was found.
    cpuLimit String
    The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    cpuRequest String
    The initial amount of CPU, corresponding to K8S request.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.
    groupId String
    Group Id.Note: This field may return null, indicating that no valid value was found.
    groupName String
    Group name.Note: This field may return null, indicating that no valid value was found.
    kubeInjectEnable Boolean
    The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
    memLimit String
    The maximum amount of memory allocated in MiB, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    memRequest String
    The initial amount of memory allocated in MiB, corresponding to K8S request.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.
    repoName String
    Image name.Note: This field may return null, indicating that no valid value was found.
    server String
    Image server.Note: This field may return null, indicating that no valid value was found.
    tagName String
    Image version Name.Note: This field may return null, indicating that no valid value was found.
    updatedTime String
    Update type.Note: This field may return null, indicating that no valid value was found.
    alias string
    The Group description.Note: This field may return null, indicating that no valid value was found.
    clusterId string
    Cluster Id.
    clusterName string
    Cluster name.Note: This field may return null, indicating that no valid value was found.
    cpuLimit string
    The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    cpuRequest string
    The initial amount of CPU, corresponding to K8S request.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.
    groupId string
    Group Id.Note: This field may return null, indicating that no valid value was found.
    groupName string
    Group name.Note: This field may return null, indicating that no valid value was found.
    kubeInjectEnable boolean
    The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
    memLimit string
    The maximum amount of memory allocated in MiB, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    memRequest string
    The initial amount of memory allocated in MiB, corresponding to K8S request.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.
    repoName string
    Image name.Note: This field may return null, indicating that no valid value was found.
    server string
    Image server.Note: This field may return null, indicating that no valid value was found.
    tagName string
    Image version Name.Note: This field may return null, indicating that no valid value was found.
    updatedTime string
    Update type.Note: This field may return null, indicating that no valid value was found.
    alias str
    The Group description.Note: This field may return null, indicating that no valid value was found.
    cluster_id str
    Cluster Id.
    cluster_name str
    Cluster name.Note: This field may return null, indicating that no valid value was found.
    cpu_limit str
    The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    cpu_request str
    The initial amount of CPU, corresponding to K8S request.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.
    group_id str
    Group Id.Note: This field may return null, indicating that no valid value was found.
    group_name str
    Group name.Note: This field may return null, indicating that no valid value was found.
    kube_inject_enable bool
    The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
    mem_limit str
    The maximum amount of memory allocated in MiB, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    mem_request str
    The initial amount of memory allocated in MiB, corresponding to K8S request.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.
    repo_name str
    Image name.Note: This field may return null, indicating that no valid value was found.
    server str
    Image server.Note: This field may return null, indicating that no valid value was found.
    tag_name str
    Image version Name.Note: This field may return null, indicating that no valid value was found.
    updated_time str
    Update type.Note: This field may return null, indicating that no valid value was found.
    alias String
    The Group description.Note: This field may return null, indicating that no valid value was found.
    clusterId String
    Cluster Id.
    clusterName String
    Cluster name.Note: This field may return null, indicating that no valid value was found.
    cpuLimit String
    The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    cpuRequest String
    The initial amount of CPU, corresponding to K8S request.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.
    groupId String
    Group Id.Note: This field may return null, indicating that no valid value was found.
    groupName String
    Group name.Note: This field may return null, indicating that no valid value was found.
    kubeInjectEnable Boolean
    The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
    memLimit String
    The maximum amount of memory allocated in MiB, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
    memRequest String
    The initial amount of memory allocated in MiB, corresponding to K8S request.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.
    repoName String
    Image name.Note: This field may return null, indicating that no valid value was found.
    server String
    Image server.Note: This field may return null, indicating that no valid value was found.
    tagName String
    Image version Name.Note: This field may return null, indicating that no valid value was found.
    updatedTime String
    Update type.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