tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTsfContainerGroup
Explore with Pulumi AI
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:
- Application
Id string - ApplicationId, required.
- Cluster
Id string - Cluster Id.
- Id string
- Namespace
Id string - Namespace Id.
- Order
By string - The sorting field. By default, it is the createTime field. Supports id, name, createTime.
- Order
Type double - The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
- Result
Output stringFile - Used to save results.
- Search
Word string - search word, support group name.
- Application
Id string - ApplicationId, required.
- Cluster
Id string - Cluster Id.
- Id string
- Namespace
Id string - Namespace Id.
- Order
By string - The sorting field. By default, it is the createTime field. Supports id, name, createTime.
- Order
Type float64 - The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
- Result
Output stringFile - Used to save results.
- Search
Word string - search word, support group name.
- application
Id String - ApplicationId, required.
- cluster
Id String - Cluster Id.
- id String
- namespace
Id String - Namespace Id.
- order
By String - The sorting field. By default, it is the createTime field. Supports id, name, createTime.
- order
Type Double - The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
- result
Output StringFile - Used to save results.
- search
Word String - search word, support group name.
- application
Id string - ApplicationId, required.
- cluster
Id string - Cluster Id.
- id string
- namespace
Id string - Namespace Id.
- order
By string - The sorting field. By default, it is the createTime field. Supports id, name, createTime.
- order
Type number - The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
- result
Output stringFile - Used to save results.
- search
Word 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_ strfile - Used to save results.
- search_
word str - search word, support group name.
- application
Id String - ApplicationId, required.
- cluster
Id String - Cluster Id.
- id String
- namespace
Id String - Namespace Id.
- order
By String - The sorting field. By default, it is the createTime field. Supports id, name, createTime.
- order
Type Number - The sorting order. By default, it is 1, indicating descending order. 0 indicates ascending order, and 1 indicates descending order.
- result
Output StringFile - Used to save results.
- search
Word String - search word, support group name.
getTsfContainerGroup Result
The following output properties are available:
- Id string
- Results
List<Get
Tsf Container Group Result> - result list.
- Application
Id string - Cluster
Id string - Cluster Id.Note: This field may return null, indicating that no valid value was found.
- Namespace
Id string - Namespace Id.Note: This field may return null, indicating that no valid value was found.
- Order
By string - Order
Type double - Result
Output stringFile - Search
Word string
- Id string
- Results
[]Get
Tsf Container Group Result - result list.
- Application
Id string - Cluster
Id string - Cluster Id.Note: This field may return null, indicating that no valid value was found.
- Namespace
Id string - Namespace Id.Note: This field may return null, indicating that no valid value was found.
- Order
By string - Order
Type float64 - Result
Output stringFile - Search
Word string
- id String
- results
List<Get
Tsf Container Group Result> - result list.
- application
Id String - cluster
Id String - Cluster Id.Note: This field may return null, indicating that no valid value was found.
- namespace
Id String - Namespace Id.Note: This field may return null, indicating that no valid value was found.
- order
By String - order
Type Double - result
Output StringFile - search
Word String
- id string
- results
Get
Tsf Container Group Result[] - result list.
- application
Id string - cluster
Id string - Cluster Id.Note: This field may return null, indicating that no valid value was found.
- namespace
Id string - Namespace Id.Note: This field may return null, indicating that no valid value was found.
- order
By string - order
Type number - result
Output stringFile - search
Word string
- id str
- results
Sequence[Get
Tsf Container Group Result] - 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_ strfile - search_
word str
- id String
- results List<Property Map>
- result list.
- application
Id String - cluster
Id String - Cluster Id.Note: This field may return null, indicating that no valid value was found.
- namespace
Id String - Namespace Id.Note: This field may return null, indicating that no valid value was found.
- order
By String - order
Type Number - result
Output StringFile - search
Word String
Supporting Types
GetTsfContainerGroupResult
- Contents
List<Get
Tsf Container Group Result Content> - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- Total
Count double - Total count.
- Contents
[]Get
Tsf Container Group Result Content - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- Total
Count float64 - Total count.
- contents
List<Get
Tsf Container Group Result Content> - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- total
Count Double - Total count.
- contents
Get
Tsf Container Group Result Content[] - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- total
Count number - Total count.
- contents
Sequence[Get
Tsf Container Group Result Content] - 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.
- total
Count Number - Total count.
GetTsfContainerGroupResultContent
- Alias string
- The Group description.Note: This field may return null, indicating that no valid value was found.
- Cluster
Id string - Cluster Id.
- Cluster
Name string - Cluster name.Note: This field may return null, indicating that no valid value was found.
- Cpu
Limit string - The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
- Cpu
Request string - The initial amount of CPU, corresponding to K8S request.Note: This field may return null, indicating that no valid value was found.
- Create
Time string - Create time.Note: This field may return null, indicating that no valid value was found.
- Group
Id string - Group Id.Note: This field may return null, indicating that no valid value was found.
- Group
Name string - Group name.Note: This field may return null, indicating that no valid value was found.
- Kube
Inject boolEnable - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- Mem
Limit 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.
- Mem
Request 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.
- Namespace
Id string - Namespace Id.
- Namespace
Name string - Namespace name.Note: This field may return null, indicating that no valid value was found.
- Repo
Name 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.
- Tag
Name string - Image version Name.Note: This field may return null, indicating that no valid value was found.
- Updated
Time 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.
- Cluster
Id string - Cluster Id.
- Cluster
Name string - Cluster name.Note: This field may return null, indicating that no valid value was found.
- Cpu
Limit string - The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
- Cpu
Request string - The initial amount of CPU, corresponding to K8S request.Note: This field may return null, indicating that no valid value was found.
- Create
Time string - Create time.Note: This field may return null, indicating that no valid value was found.
- Group
Id string - Group Id.Note: This field may return null, indicating that no valid value was found.
- Group
Name string - Group name.Note: This field may return null, indicating that no valid value was found.
- Kube
Inject boolEnable - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- Mem
Limit 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.
- Mem
Request 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.
- Namespace
Id string - Namespace Id.
- Namespace
Name string - Namespace name.Note: This field may return null, indicating that no valid value was found.
- Repo
Name 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.
- Tag
Name string - Image version Name.Note: This field may return null, indicating that no valid value was found.
- Updated
Time 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.
- cluster
Id String - Cluster Id.
- cluster
Name String - Cluster name.Note: This field may return null, indicating that no valid value was found.
- cpu
Limit String - The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
- cpu
Request String - The initial amount of CPU, corresponding to K8S request.Note: This field may return null, indicating that no valid value was found.
- create
Time String - Create time.Note: This field may return null, indicating that no valid value was found.
- group
Id String - Group Id.Note: This field may return null, indicating that no valid value was found.
- group
Name String - Group name.Note: This field may return null, indicating that no valid value was found.
- kube
Inject BooleanEnable - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- mem
Limit 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.
- mem
Request 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.
- namespace
Id String - Namespace Id.
- namespace
Name String - Namespace name.Note: This field may return null, indicating that no valid value was found.
- repo
Name 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.
- tag
Name String - Image version Name.Note: This field may return null, indicating that no valid value was found.
- updated
Time 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.
- cluster
Id string - Cluster Id.
- cluster
Name string - Cluster name.Note: This field may return null, indicating that no valid value was found.
- cpu
Limit string - The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
- cpu
Request string - The initial amount of CPU, corresponding to K8S request.Note: This field may return null, indicating that no valid value was found.
- create
Time string - Create time.Note: This field may return null, indicating that no valid value was found.
- group
Id string - Group Id.Note: This field may return null, indicating that no valid value was found.
- group
Name string - Group name.Note: This field may return null, indicating that no valid value was found.
- kube
Inject booleanEnable - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- mem
Limit 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.
- mem
Request 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.
- namespace
Id string - Namespace Id.
- namespace
Name string - Namespace name.Note: This field may return null, indicating that no valid value was found.
- repo
Name 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.
- tag
Name string - Image version Name.Note: This field may return null, indicating that no valid value was found.
- updated
Time 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_ boolenable - 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.
- cluster
Id String - Cluster Id.
- cluster
Name String - Cluster name.Note: This field may return null, indicating that no valid value was found.
- cpu
Limit String - The maximum amount of CPU, corresponding to K8S limit.Note: This field may return null, indicating that no valid value was found.
- cpu
Request String - The initial amount of CPU, corresponding to K8S request.Note: This field may return null, indicating that no valid value was found.
- create
Time String - Create time.Note: This field may return null, indicating that no valid value was found.
- group
Id String - Group Id.Note: This field may return null, indicating that no valid value was found.
- group
Name String - Group name.Note: This field may return null, indicating that no valid value was found.
- kube
Inject BooleanEnable - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- mem
Limit 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.
- mem
Request 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.
- namespace
Id String - Namespace Id.
- namespace
Name String - Namespace name.Note: This field may return null, indicating that no valid value was found.
- repo
Name 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.
- tag
Name String - Image version Name.Note: This field may return null, indicating that no valid value was found.
- updated
Time 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack