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

tencentcloud.getTsfContainerGroup

Explore with Pulumi AI

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  containerGroup:
    fn::invoke:
      function: tencentcloud:getTsfContainerGroup
      arguments:
        applicationId: application-a24x29xv
        clusterId: cluster-vwgj5e6y
        namespaceId: namespace-aemrg36v
        orderBy: createTime
        orderType: 0
        searchWord: keep
Copy

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>
Copy
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]
Copy
func LookupTsfContainerGroup(ctx *Context, args *LookupTsfContainerGroupArgs, opts ...InvokeOption) (*LookupTsfContainerGroupResult, error)
func LookupTsfContainerGroupOutput(ctx *Context, args *LookupTsfContainerGroupOutputArgs, opts ...InvokeOption) LookupTsfContainerGroupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetTsfContainerGroupResult> getTsfContainerGroup(GetTsfContainerGroupArgs args, InvokeOptions options)
public static Output<GetTsfContainerGroupResult> getTsfContainerGroup(GetTsfContainerGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getTsfContainerGroup:getTsfContainerGroup
  arguments:
    # arguments dictionary
Copy

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

GetTsfContainerGroupResultContent

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