tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTsfGroups
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 groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const groups = tencentcloud.getTsfGroups({
applicationId: "application-a24x29xv",
clusterId: "cluster-vwgj5e6y",
groupIdLists: ["group-yrjkln9v"],
groupResourceTypeLists: ["DEF"],
namespaceId: "namespace-aemrg36v",
orderBy: "createTime",
orderType: 0,
searchWord: "keep",
status: "Running",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
groups = tencentcloud.get_tsf_groups(application_id="application-a24x29xv",
cluster_id="cluster-vwgj5e6y",
group_id_lists=["group-yrjkln9v"],
group_resource_type_lists=["DEF"],
namespace_id="namespace-aemrg36v",
order_by="createTime",
order_type=0,
search_word="keep",
status="Running")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.LookupTsfGroups(ctx, &tencentcloud.LookupTsfGroupsArgs{
ApplicationId: pulumi.StringRef("application-a24x29xv"),
ClusterId: pulumi.StringRef("cluster-vwgj5e6y"),
GroupIdLists: []string{
"group-yrjkln9v",
},
GroupResourceTypeLists: []string{
"DEF",
},
NamespaceId: pulumi.StringRef("namespace-aemrg36v"),
OrderBy: pulumi.StringRef("createTime"),
OrderType: pulumi.Float64Ref(0),
SearchWord: pulumi.StringRef("keep"),
Status: pulumi.StringRef("Running"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var groups = Tencentcloud.GetTsfGroups.Invoke(new()
{
ApplicationId = "application-a24x29xv",
ClusterId = "cluster-vwgj5e6y",
GroupIdLists = new[]
{
"group-yrjkln9v",
},
GroupResourceTypeLists = new[]
{
"DEF",
},
NamespaceId = "namespace-aemrg36v",
OrderBy = "createTime",
OrderType = 0,
SearchWord = "keep",
Status = "Running",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetTsfGroupsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var groups = TencentcloudFunctions.getTsfGroups(GetTsfGroupsArgs.builder()
.applicationId("application-a24x29xv")
.clusterId("cluster-vwgj5e6y")
.groupIdLists("group-yrjkln9v")
.groupResourceTypeLists("DEF")
.namespaceId("namespace-aemrg36v")
.orderBy("createTime")
.orderType(0)
.searchWord("keep")
.status("Running")
.build());
}
}
variables:
groups:
fn::invoke:
function: tencentcloud:getTsfGroups
arguments:
applicationId: application-a24x29xv
clusterId: cluster-vwgj5e6y
groupIdLists:
- group-yrjkln9v
groupResourceTypeLists:
- DEF
namespaceId: namespace-aemrg36v
orderBy: createTime
orderType: 0
searchWord: keep
status: Running
Using getTsfGroups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTsfGroups(args: GetTsfGroupsArgs, opts?: InvokeOptions): Promise<GetTsfGroupsResult>
function getTsfGroupsOutput(args: GetTsfGroupsOutputArgs, opts?: InvokeOptions): Output<GetTsfGroupsResult>
def get_tsf_groups(application_id: Optional[str] = None,
cluster_id: Optional[str] = None,
group_id_lists: Optional[Sequence[str]] = None,
group_resource_type_lists: Optional[Sequence[str]] = None,
id: Optional[str] = None,
namespace_id: Optional[str] = None,
order_by: Optional[str] = None,
order_type: Optional[float] = None,
result_output_file: Optional[str] = None,
search_word: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTsfGroupsResult
def get_tsf_groups_output(application_id: Optional[pulumi.Input[str]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
group_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
group_resource_type_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
namespace_id: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
order_type: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
search_word: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTsfGroupsResult]
func LookupTsfGroups(ctx *Context, args *LookupTsfGroupsArgs, opts ...InvokeOption) (*LookupTsfGroupsResult, error)
func LookupTsfGroupsOutput(ctx *Context, args *LookupTsfGroupsOutputArgs, opts ...InvokeOption) LookupTsfGroupsResultOutput
> Note: This function is named LookupTsfGroups
in the Go SDK.
public static class GetTsfGroups
{
public static Task<GetTsfGroupsResult> InvokeAsync(GetTsfGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetTsfGroupsResult> Invoke(GetTsfGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTsfGroupsResult> getTsfGroups(GetTsfGroupsArgs args, InvokeOptions options)
public static Output<GetTsfGroupsResult> getTsfGroups(GetTsfGroupsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTsfGroups:getTsfGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Application
Id string - applicationId.
- Cluster
Id string - clusterId.
- Group
Id List<string>Lists - group Id list.
- Group
Resource List<string>Type Lists - Group resourceType list.
- Id string
- Namespace
Id string - namespace Id.
- Order
By string - sort term.
- Order
Type double - order type, 0 desc, 1 asc.
- Result
Output stringFile - Used to save results.
- Search
Word string - searchWord, support groupName.
- Status string
- group status filter,
Running
: running,Unknown
: unknown.
- Application
Id string - applicationId.
- Cluster
Id string - clusterId.
- Group
Id []stringLists - group Id list.
- Group
Resource []stringType Lists - Group resourceType list.
- Id string
- Namespace
Id string - namespace Id.
- Order
By string - sort term.
- Order
Type float64 - order type, 0 desc, 1 asc.
- Result
Output stringFile - Used to save results.
- Search
Word string - searchWord, support groupName.
- Status string
- group status filter,
Running
: running,Unknown
: unknown.
- application
Id String - applicationId.
- cluster
Id String - clusterId.
- group
Id List<String>Lists - group Id list.
- group
Resource List<String>Type Lists - Group resourceType list.
- id String
- namespace
Id String - namespace Id.
- order
By String - sort term.
- order
Type Double - order type, 0 desc, 1 asc.
- result
Output StringFile - Used to save results.
- search
Word String - searchWord, support groupName.
- status String
- group status filter,
Running
: running,Unknown
: unknown.
- application
Id string - applicationId.
- cluster
Id string - clusterId.
- group
Id string[]Lists - group Id list.
- group
Resource string[]Type Lists - Group resourceType list.
- id string
- namespace
Id string - namespace Id.
- order
By string - sort term.
- order
Type number - order type, 0 desc, 1 asc.
- result
Output stringFile - Used to save results.
- search
Word string - searchWord, support groupName.
- status string
- group status filter,
Running
: running,Unknown
: unknown.
- application_
id str - applicationId.
- cluster_
id str - clusterId.
- group_
id_ Sequence[str]lists - group Id list.
- group_
resource_ Sequence[str]type_ lists - Group resourceType list.
- id str
- namespace_
id str - namespace Id.
- order_
by str - sort term.
- order_
type float - order type, 0 desc, 1 asc.
- result_
output_ strfile - Used to save results.
- search_
word str - searchWord, support groupName.
- status str
- group status filter,
Running
: running,Unknown
: unknown.
- application
Id String - applicationId.
- cluster
Id String - clusterId.
- group
Id List<String>Lists - group Id list.
- group
Resource List<String>Type Lists - Group resourceType list.
- id String
- namespace
Id String - namespace Id.
- order
By String - sort term.
- order
Type Number - order type, 0 desc, 1 asc.
- result
Output StringFile - Used to save results.
- search
Word String - searchWord, support groupName.
- status String
- group status filter,
Running
: running,Unknown
: unknown.
getTsfGroups Result
The following output properties are available:
- Id string
- Results
List<Get
Tsf Groups Result> - Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
- Application
Id string - Application ID. Note: This field may return null, indicating that no valid value was found.
- Cluster
Id string - Cluster ID. Note: This field may return null, indicating that no valid value was found.
- Group
Id List<string>Lists - Group
Resource List<string>Type Lists - 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 - Status string
- Id string
- Results
[]Get
Tsf Groups Result - Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
- Application
Id string - Application ID. Note: This field may return null, indicating that no valid value was found.
- Cluster
Id string - Cluster ID. Note: This field may return null, indicating that no valid value was found.
- Group
Id []stringLists - Group
Resource []stringType Lists - 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 - Status string
- id String
- results
List<Get
Tsf Groups Result> - Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
- application
Id String - Application ID. Note: This field may return null, indicating that no valid value was found.
- cluster
Id String - Cluster ID. Note: This field may return null, indicating that no valid value was found.
- group
Id List<String>Lists - group
Resource List<String>Type Lists - 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 - status String
- id string
- results
Get
Tsf Groups Result[] - Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
- application
Id string - Application ID. Note: This field may return null, indicating that no valid value was found.
- cluster
Id string - Cluster ID. Note: This field may return null, indicating that no valid value was found.
- group
Id string[]Lists - group
Resource string[]Type Lists - 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 - status string
- id str
- results
Sequence[Get
Tsf Groups Result] - Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
- application_
id str - Application ID. Note: This field may return null, indicating that no valid value was found.
- cluster_
id str - Cluster ID. Note: This field may return null, indicating that no valid value was found.
- group_
id_ Sequence[str]lists - group_
resource_ Sequence[str]type_ lists - 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 - status str
- id String
- results List<Property Map>
- Pagination information of the virtual machine deployment group.Note: This field may return null, indicating that no valid value was found.
- application
Id String - Application ID. Note: This field may return null, indicating that no valid value was found.
- cluster
Id String - Cluster ID. Note: This field may return null, indicating that no valid value was found.
- group
Id List<String>Lists - group
Resource List<String>Type Lists - 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 - status String
Supporting Types
GetTsfGroupsResult
- Contents
List<Get
Tsf Groups Result Content> - Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
- Total
Count double - Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
- Contents
[]Get
Tsf Groups Result Content - Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
- Total
Count float64 - Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
- contents
List<Get
Tsf Groups Result Content> - Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
- total
Count Double - Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
- contents
Get
Tsf Groups Result Content[] - Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
- total
Count number - Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
- contents
Sequence[Get
Tsf Groups Result Content] - Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
- total_
count float - Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
- contents List<Property Map>
- Virtual machine deployment group list. Note: This field may return null, indicating that no valid value was found.
- total
Count Number - Total count virtual machine deployment group. Note: This field may return null, indicating that no valid value was found.
GetTsfGroupsResultContent
- Alias string
- Group alias. Note: This field may return null, indicating that no valid value was found.
- Application
Id string - applicationId.
- Application
Name string - Application name. Note: This field may return null, indicating that no valid value was found.
- Application
Type string - Application type. Note: This field may return null, indicating that no valid value was found.
- Cluster
Id string - clusterId.
- Cluster
Name string - Cluster name. 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.
- Deploy
Desc string - Group description. Note: This field may return null, indicating that no valid value was found.
- Group
Desc string - Group description. 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 ID. Note: This field may return null, indicating that no valid value was found.
- Group
Resource stringType - Group resource type. Note: This field may return null, indicating that no valid value was found.
- Microservice
Type string - Microservice type. 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.
- Startup
Parameters string - Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
- Update
Time string - Group update time. Note: This field may return null, indicating that no valid value was found.
- Updated
Time double - Update time. Note: This field may return null, indicating that no valid value was found.
- Alias string
- Group alias. Note: This field may return null, indicating that no valid value was found.
- Application
Id string - applicationId.
- Application
Name string - Application name. Note: This field may return null, indicating that no valid value was found.
- Application
Type string - Application type. Note: This field may return null, indicating that no valid value was found.
- Cluster
Id string - clusterId.
- Cluster
Name string - Cluster name. 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.
- Deploy
Desc string - Group description. Note: This field may return null, indicating that no valid value was found.
- Group
Desc string - Group description. 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 ID. Note: This field may return null, indicating that no valid value was found.
- Group
Resource stringType - Group resource type. Note: This field may return null, indicating that no valid value was found.
- Microservice
Type string - Microservice type. 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.
- Startup
Parameters string - Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
- Update
Time string - Group update time. Note: This field may return null, indicating that no valid value was found.
- Updated
Time float64 - Update time. Note: This field may return null, indicating that no valid value was found.
- alias String
- Group alias. Note: This field may return null, indicating that no valid value was found.
- application
Id String - applicationId.
- application
Name String - Application name. Note: This field may return null, indicating that no valid value was found.
- application
Type String - Application type. Note: This field may return null, indicating that no valid value was found.
- cluster
Id String - clusterId.
- cluster
Name String - Cluster name. 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.
- deploy
Desc String - Group description. Note: This field may return null, indicating that no valid value was found.
- group
Desc String - Group description. 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 ID. Note: This field may return null, indicating that no valid value was found.
- group
Resource StringType - Group resource type. Note: This field may return null, indicating that no valid value was found.
- microservice
Type String - Microservice type. 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.
- startup
Parameters String - Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
- update
Time String - Group update time. Note: This field may return null, indicating that no valid value was found.
- updated
Time Double - Update time. Note: This field may return null, indicating that no valid value was found.
- alias string
- Group alias. Note: This field may return null, indicating that no valid value was found.
- application
Id string - applicationId.
- application
Name string - Application name. Note: This field may return null, indicating that no valid value was found.
- application
Type string - Application type. Note: This field may return null, indicating that no valid value was found.
- cluster
Id string - clusterId.
- cluster
Name string - Cluster name. 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.
- deploy
Desc string - Group description. Note: This field may return null, indicating that no valid value was found.
- group
Desc string - Group description. 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 ID. Note: This field may return null, indicating that no valid value was found.
- group
Resource stringType - Group resource type. Note: This field may return null, indicating that no valid value was found.
- microservice
Type string - Microservice type. 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.
- startup
Parameters string - Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
- update
Time string - Group update time. Note: This field may return null, indicating that no valid value was found.
- updated
Time number - Update time. Note: This field may return null, indicating that no valid value was found.
- alias str
- Group alias. Note: This field may return null, indicating that no valid value was found.
- application_
id str - applicationId.
- application_
name str - Application name. Note: This field may return null, indicating that no valid value was found.
- application_
type str - Application type. Note: This field may return null, indicating that no valid value was found.
- cluster_
id str - clusterId.
- cluster_
name str - Cluster name. Note: This field may return null, indicating that no valid value was found.
- create_
time str - Create Time. Note: This field may return null, indicating that no valid value was found.
- deploy_
desc str - Group description. Note: This field may return null, indicating that no valid value was found.
- group_
desc str - Group description. Note: This field may return null, indicating that no valid value was found.
- group_
id str - Group ID. Note: This field may return null, indicating that no valid value was found.
- group_
name str - Group ID. Note: This field may return null, indicating that no valid value was found.
- group_
resource_ strtype - Group resource type. Note: This field may return null, indicating that no valid value was found.
- microservice_
type str - Microservice type. Note: This field may return null, indicating that no valid value was found.
- namespace_
id str - namespace Id.
- namespace_
name str - Namespace name. Note: This field may return null, indicating that no valid value was found.
- startup_
parameters str - Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
- update_
time str - Group update time. Note: This field may return null, indicating that no valid value was found.
- updated_
time float - Update time. Note: This field may return null, indicating that no valid value was found.
- alias String
- Group alias. Note: This field may return null, indicating that no valid value was found.
- application
Id String - applicationId.
- application
Name String - Application name. Note: This field may return null, indicating that no valid value was found.
- application
Type String - Application type. Note: This field may return null, indicating that no valid value was found.
- cluster
Id String - clusterId.
- cluster
Name String - Cluster name. 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.
- deploy
Desc String - Group description. Note: This field may return null, indicating that no valid value was found.
- group
Desc String - Group description. 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 ID. Note: This field may return null, indicating that no valid value was found.
- group
Resource StringType - Group resource type. Note: This field may return null, indicating that no valid value was found.
- microservice
Type String - Microservice type. 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.
- startup
Parameters String - Group start up Parameters. Note: This field may return null, indicating that no valid value was found.
- update
Time String - Group update time. Note: This field may return null, indicating that no valid value was found.
- updated
Time Number - Update time. Note: This field may return null, indicating that no valid value was found.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack