tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getProtocolTemplateGroups
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 protocol template groups.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const name = tencentcloud.getProtocolTemplateGroups({
name: "test",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
name = tencentcloud.get_protocol_template_groups(name="test")
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.GetProtocolTemplateGroups(ctx, &tencentcloud.GetProtocolTemplateGroupsArgs{
Name: pulumi.StringRef("test"),
}, 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 name = Tencentcloud.GetProtocolTemplateGroups.Invoke(new()
{
Name = "test",
});
});
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.GetProtocolTemplateGroupsArgs;
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 name = TencentcloudFunctions.getProtocolTemplateGroups(GetProtocolTemplateGroupsArgs.builder()
.name("test")
.build());
}
}
variables:
name:
fn::invoke:
function: tencentcloud:getProtocolTemplateGroups
arguments:
name: test
Using getProtocolTemplateGroups
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 getProtocolTemplateGroups(args: GetProtocolTemplateGroupsArgs, opts?: InvokeOptions): Promise<GetProtocolTemplateGroupsResult>
function getProtocolTemplateGroupsOutput(args: GetProtocolTemplateGroupsOutputArgs, opts?: InvokeOptions): Output<GetProtocolTemplateGroupsResult>
def get_protocol_template_groups(id: Optional[str] = None,
name: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProtocolTemplateGroupsResult
def get_protocol_template_groups_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProtocolTemplateGroupsResult]
func GetProtocolTemplateGroups(ctx *Context, args *GetProtocolTemplateGroupsArgs, opts ...InvokeOption) (*GetProtocolTemplateGroupsResult, error)
func GetProtocolTemplateGroupsOutput(ctx *Context, args *GetProtocolTemplateGroupsOutputArgs, opts ...InvokeOption) GetProtocolTemplateGroupsResultOutput
> Note: This function is named GetProtocolTemplateGroups
in the Go SDK.
public static class GetProtocolTemplateGroups
{
public static Task<GetProtocolTemplateGroupsResult> InvokeAsync(GetProtocolTemplateGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetProtocolTemplateGroupsResult> Invoke(GetProtocolTemplateGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProtocolTemplateGroupsResult> getProtocolTemplateGroups(GetProtocolTemplateGroupsArgs args, InvokeOptions options)
public static Output<GetProtocolTemplateGroupsResult> getProtocolTemplateGroups(GetProtocolTemplateGroupsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getProtocolTemplateGroups:getProtocolTemplateGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- ID of the protocol template group to query.
- Name string
- Name of the protocol template group to query.
- Result
Output stringFile - Used to save results.
- Id string
- ID of the protocol template group to query.
- Name string
- Name of the protocol template group to query.
- Result
Output stringFile - Used to save results.
- id String
- ID of the protocol template group to query.
- name String
- Name of the protocol template group to query.
- result
Output StringFile - Used to save results.
- id string
- ID of the protocol template group to query.
- name string
- Name of the protocol template group to query.
- result
Output stringFile - Used to save results.
- id str
- ID of the protocol template group to query.
- name str
- Name of the protocol template group to query.
- result_
output_ strfile - Used to save results.
- id String
- ID of the protocol template group to query.
- name String
- Name of the protocol template group to query.
- result
Output StringFile - Used to save results.
getProtocolTemplateGroups Result
The following output properties are available:
- Group
Lists List<GetProtocol Template Groups Group List> - Information list of the dedicated protocol template groups.
- Id string
- Id of the protocol template group.
- Name string
- Name of protocol template group.
- Result
Output stringFile
- Group
Lists []GetProtocol Template Groups Group List - Information list of the dedicated protocol template groups.
- Id string
- Id of the protocol template group.
- Name string
- Name of protocol template group.
- Result
Output stringFile
- group
Lists List<GetProtocol Template Groups Group List> - Information list of the dedicated protocol template groups.
- id String
- Id of the protocol template group.
- name String
- Name of protocol template group.
- result
Output StringFile
- group
Lists GetProtocol Template Groups Group List[] - Information list of the dedicated protocol template groups.
- id string
- Id of the protocol template group.
- name string
- Name of protocol template group.
- result
Output stringFile
- group_
lists Sequence[GetProtocol Template Groups Group List] - Information list of the dedicated protocol template groups.
- id str
- Id of the protocol template group.
- name str
- Name of protocol template group.
- result_
output_ strfile
- group
Lists List<Property Map> - Information list of the dedicated protocol template groups.
- id String
- Id of the protocol template group.
- name String
- Name of protocol template group.
- result
Output StringFile
Supporting Types
GetProtocolTemplateGroupsGroupList
- Id string
- ID of the protocol template group to query.
- Name string
- Name of the protocol template group to query.
- Template
Ids List<string> - ID set of the protocol template.
- Id string
- ID of the protocol template group to query.
- Name string
- Name of the protocol template group to query.
- Template
Ids []string - ID set of the protocol template.
- id String
- ID of the protocol template group to query.
- name String
- Name of the protocol template group to query.
- template
Ids List<String> - ID set of the protocol template.
- id string
- ID of the protocol template group to query.
- name string
- Name of the protocol template group to query.
- template
Ids string[] - ID set of the protocol template.
- id str
- ID of the protocol template group to query.
- name str
- Name of the protocol template group to query.
- template_
ids Sequence[str] - ID set of the protocol template.
- id String
- ID of the protocol template group to query.
- name String
- Name of the protocol template group to query.
- template
Ids List<String> - ID set of the protocol template.
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