tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getTsfContainerGroup
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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
This property is required. List<GetTsf Container Group Result Content> - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- Total
Count This property is required. double - Total count.
- Contents
This property is required. []GetTsf Container Group Result Content - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- Total
Count This property is required. float64 - Total count.
- contents
This property is required. List<GetTsf Container Group Result Content> - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- total
Count This property is required. Double - Total count.
- contents
This property is required. GetTsf Container Group Result Content[] - List of deployment groups.Note: This field may return null, indicating that no valid value was found.
- total
Count This property is required. number - Total count.
- contents
This property is required. Sequence[GetTsf Container Group Result Content] - 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.
- total
Count 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.
- Cluster
Id This property is required. string - Cluster Id.
- Cluster
Name This property is required. string - Cluster name.Note: This field may return null, indicating that no valid value was found.
- Cpu
Limit 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.
- Cpu
Request 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.
- Create
Time This property is required. string - Create time.Note: This field may return null, indicating that no valid value was found.
- Group
Id This property is required. string - Group Id.Note: This field may return null, indicating that no valid value was found.
- Group
Name This property is required. string - 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. 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 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.
- Namespace
Id This property is required. string - Namespace Id.
- Namespace
Name This property is required. string - Namespace name.Note: This field may return null, indicating that no valid value was found.
- Repo
Name 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.
- Tag
Name This property is required. string - Image version Name.Note: This field may return null, indicating that no valid value was found.
- Updated
Time 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.
- Cluster
Id This property is required. string - Cluster Id.
- Cluster
Name This property is required. string - Cluster name.Note: This field may return null, indicating that no valid value was found.
- Cpu
Limit 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.
- Cpu
Request 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.
- Create
Time This property is required. string - Create time.Note: This field may return null, indicating that no valid value was found.
- Group
Id This property is required. string - Group Id.Note: This field may return null, indicating that no valid value was found.
- Group
Name This property is required. string - 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. 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 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.
- Namespace
Id This property is required. string - Namespace Id.
- Namespace
Name This property is required. string - Namespace name.Note: This field may return null, indicating that no valid value was found.
- Repo
Name 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.
- Tag
Name This property is required. string - Image version Name.Note: This field may return null, indicating that no valid value was found.
- Updated
Time 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.
- cluster
Id This property is required. String - Cluster Id.
- cluster
Name This property is required. String - Cluster name.Note: This field may return null, indicating that no valid value was found.
- cpu
Limit 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.
- cpu
Request 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.
- create
Time This property is required. String - Create time.Note: This field may return null, indicating that no valid value was found.
- group
Id This property is required. String - Group Id.Note: This field may return null, indicating that no valid value was found.
- group
Name This property is required. String - Group name.Note: This field may return null, indicating that no valid value was found.
- kube
Inject Enable This property is required. Boolean - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- mem
Limit 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.
- mem
Request 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.
- namespace
Id This property is required. String - Namespace Id.
- namespace
Name This property is required. String - Namespace name.Note: This field may return null, indicating that no valid value was found.
- repo
Name 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.
- tag
Name This property is required. String - Image version Name.Note: This field may return null, indicating that no valid value was found.
- updated
Time 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.
- cluster
Id This property is required. string - Cluster Id.
- cluster
Name This property is required. string - Cluster name.Note: This field may return null, indicating that no valid value was found.
- cpu
Limit 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.
- cpu
Request 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.
- create
Time This property is required. string - Create time.Note: This field may return null, indicating that no valid value was found.
- group
Id This property is required. string - Group Id.Note: This field may return null, indicating that no valid value was found.
- group
Name This property is required. string - Group name.Note: This field may return null, indicating that no valid value was found.
- kube
Inject Enable This property is required. boolean - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- mem
Limit 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.
- mem
Request 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.
- namespace
Id This property is required. string - Namespace Id.
- namespace
Name This property is required. string - Namespace name.Note: This field may return null, indicating that no valid value was found.
- repo
Name 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.
- tag
Name This property is required. string - Image version Name.Note: This field may return null, indicating that no valid value was found.
- updated
Time 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.
- cluster
Id This property is required. String - Cluster Id.
- cluster
Name This property is required. String - Cluster name.Note: This field may return null, indicating that no valid value was found.
- cpu
Limit 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.
- cpu
Request 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.
- create
Time This property is required. String - Create time.Note: This field may return null, indicating that no valid value was found.
- group
Id This property is required. String - Group Id.Note: This field may return null, indicating that no valid value was found.
- group
Name This property is required. String - Group name.Note: This field may return null, indicating that no valid value was found.
- kube
Inject Enable This property is required. Boolean - The value of KubeInjectEnable.Note: This field may return null, indicating that no valid value was found.
- mem
Limit 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.
- mem
Request 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.
- namespace
Id This property is required. String - Namespace Id.
- namespace
Name This property is required. String - Namespace name.Note: This field may return null, indicating that no valid value was found.
- repo
Name 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.
- tag
Name This property is required. String - Image version Name.Note: This field may return null, indicating that no valid value was found.
- updated
Time 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.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack