tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTatCommand
Start a Neo task
Explain and create a tencentcloud.getTatCommand resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tat command
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const command = tencentcloud.getTatCommand({
commandType: "SHELL",
createdBy: "TAT",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
command = tencentcloud.get_tat_command(command_type="SHELL",
created_by="TAT")
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.LookupTatCommand(ctx, &tencentcloud.LookupTatCommandArgs{
CommandType: pulumi.StringRef("SHELL"),
CreatedBy: pulumi.StringRef("TAT"),
}, 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 command = Tencentcloud.GetTatCommand.Invoke(new()
{
CommandType = "SHELL",
CreatedBy = "TAT",
});
});
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.GetTatCommandArgs;
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 command = TencentcloudFunctions.getTatCommand(GetTatCommandArgs.builder()
.commandType("SHELL")
.createdBy("TAT")
.build());
}
}
variables:
command:
fn::invoke:
function: tencentcloud:getTatCommand
arguments:
commandType: SHELL
createdBy: TAT
Using getTatCommand
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 getTatCommand(args: GetTatCommandArgs, opts?: InvokeOptions): Promise<GetTatCommandResult>
function getTatCommandOutput(args: GetTatCommandOutputArgs, opts?: InvokeOptions): Output<GetTatCommandResult>def get_tat_command(command_id: Optional[str] = None,
command_name: Optional[str] = None,
command_type: Optional[str] = None,
created_by: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTatCommandResult
def get_tat_command_output(command_id: Optional[pulumi.Input[str]] = None,
command_name: Optional[pulumi.Input[str]] = None,
command_type: Optional[pulumi.Input[str]] = None,
created_by: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTatCommandResult]func LookupTatCommand(ctx *Context, args *LookupTatCommandArgs, opts ...InvokeOption) (*LookupTatCommandResult, error)
func LookupTatCommandOutput(ctx *Context, args *LookupTatCommandOutputArgs, opts ...InvokeOption) LookupTatCommandResultOutput> Note: This function is named LookupTatCommand in the Go SDK.
public static class GetTatCommand
{
public static Task<GetTatCommandResult> InvokeAsync(GetTatCommandArgs args, InvokeOptions? opts = null)
public static Output<GetTatCommandResult> Invoke(GetTatCommandInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTatCommandResult> getTatCommand(GetTatCommandArgs args, InvokeOptions options)
public static Output<GetTatCommandResult> getTatCommand(GetTatCommandArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTatCommand:getTatCommand
arguments:
# arguments dictionaryThe following arguments are supported:
- Command
Id string - Command ID.
- Command
Name string - Command name.
- Command
Type string - Command type, Value is
SHELLorPOWERSHELL. - Created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - Id string
- Result
Output stringFile - Used to save results.
- Command
Id string - Command ID.
- Command
Name string - Command name.
- Command
Type string - Command type, Value is
SHELLorPOWERSHELL. - Created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - Id string
- Result
Output stringFile - Used to save results.
- command
Id String - Command ID.
- command
Name String - Command name.
- command
Type String - Command type, Value is
SHELLorPOWERSHELL. - created
By String - Command creator.
TATindicates a public command andUSERindicates a personal command. - id String
- result
Output StringFile - Used to save results.
- command
Id string - Command ID.
- command
Name string - Command name.
- command
Type string - Command type, Value is
SHELLorPOWERSHELL. - created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - id string
- result
Output stringFile - Used to save results.
- command_
id str - Command ID.
- command_
name str - Command name.
- command_
type str - Command type, Value is
SHELLorPOWERSHELL. - created_
by str - Command creator.
TATindicates a public command andUSERindicates a personal command. - id str
- result_
output_ strfile - Used to save results.
- command
Id String - Command ID.
- command
Name String - Command name.
- command
Type String - Command type, Value is
SHELLorPOWERSHELL. - created
By String - Command creator.
TATindicates a public command andUSERindicates a personal command. - id String
- result
Output StringFile - Used to save results.
getTatCommand Result
The following output properties are available:
- Command
Sets List<GetTat Command Command Set> - List of command details.
- Id string
- Command
Id string - Command ID.
- Command
Name string - Command name.
- Command
Type string - Command type.
- Created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - Result
Output stringFile
- Command
Sets []GetTat Command Command Set - List of command details.
- Id string
- Command
Id string - Command ID.
- Command
Name string - Command name.
- Command
Type string - Command type.
- Created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - Result
Output stringFile
- command
Sets List<GetTat Command Command Set> - List of command details.
- id String
- command
Id String - Command ID.
- command
Name String - Command name.
- command
Type String - Command type.
- created
By String - Command creator.
TATindicates a public command andUSERindicates a personal command. - result
Output StringFile
- command
Sets GetTat Command Command Set[] - List of command details.
- id string
- command
Id string - Command ID.
- command
Name string - Command name.
- command
Type string - Command type.
- created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - result
Output stringFile
- command_
sets Sequence[GetTat Command Command Set] - List of command details.
- id str
- command_
id str - Command ID.
- command_
name str - Command name.
- command_
type str - Command type.
- created_
by str - Command creator.
TATindicates a public command andUSERindicates a personal command. - result_
output_ strfile
- command
Sets List<Property Map> - List of command details.
- id String
- command
Id String - Command ID.
- command
Name String - Command name.
- command
Type String - Command type.
- created
By String - Command creator.
TATindicates a public command andUSERindicates a personal command. - result
Output StringFile
Supporting Types
GetTatCommandCommandSet
- Command
Id string - Command ID.
- Command
Name string - Command name.
- Command
Type string - Command type, Value is
SHELLorPOWERSHELL. - Content string
- command.
- Created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - Created
Time string - Command creation time.
- Default
Parameters string - Default custom parameter value.
- Description string
- Command description.
- Enable
Parameter bool - Whether to enable the custom parameter feature.
- Formatted
Description string - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
- Output
Cos stringBucket Url - The COS bucket URL for uploading logs.
- Output
Cos stringKey Prefix - The COS bucket directory where the logs are saved.
-
List<Get
Tat Command Command Set Tag> - Tags bound to the command. At most 10 tags are allowed.
- Timeout double
- Command timeout period.
- Updated
Time string - Command update time.
- Username string
- The user who executes the command on the instance.
- Working
Directory string - Command execution path.
- Command
Id string - Command ID.
- Command
Name string - Command name.
- Command
Type string - Command type, Value is
SHELLorPOWERSHELL. - Content string
- command.
- Created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - Created
Time string - Command creation time.
- Default
Parameters string - Default custom parameter value.
- Description string
- Command description.
- Enable
Parameter bool - Whether to enable the custom parameter feature.
- Formatted
Description string - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
- Output
Cos stringBucket Url - The COS bucket URL for uploading logs.
- Output
Cos stringKey Prefix - The COS bucket directory where the logs are saved.
-
[]Get
Tat Command Command Set Tag - Tags bound to the command. At most 10 tags are allowed.
- Timeout float64
- Command timeout period.
- Updated
Time string - Command update time.
- Username string
- The user who executes the command on the instance.
- Working
Directory string - Command execution path.
- command
Id String - Command ID.
- command
Name String - Command name.
- command
Type String - Command type, Value is
SHELLorPOWERSHELL. - content String
- command.
- created
By String - Command creator.
TATindicates a public command andUSERindicates a personal command. - created
Time String - Command creation time.
- default
Parameters String - Default custom parameter value.
- description String
- Command description.
- enable
Parameter Boolean - Whether to enable the custom parameter feature.
- formatted
Description String - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
- output
Cos StringBucket Url - The COS bucket URL for uploading logs.
- output
Cos StringKey Prefix - The COS bucket directory where the logs are saved.
-
List<Get
Tat Command Command Set Tag> - Tags bound to the command. At most 10 tags are allowed.
- timeout Double
- Command timeout period.
- updated
Time String - Command update time.
- username String
- The user who executes the command on the instance.
- working
Directory String - Command execution path.
- command
Id string - Command ID.
- command
Name string - Command name.
- command
Type string - Command type, Value is
SHELLorPOWERSHELL. - content string
- command.
- created
By string - Command creator.
TATindicates a public command andUSERindicates a personal command. - created
Time string - Command creation time.
- default
Parameters string - Default custom parameter value.
- description string
- Command description.
- enable
Parameter boolean - Whether to enable the custom parameter feature.
- formatted
Description string - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
- output
Cos stringBucket Url - The COS bucket URL for uploading logs.
- output
Cos stringKey Prefix - The COS bucket directory where the logs are saved.
-
Get
Tat Command Command Set Tag[] - Tags bound to the command. At most 10 tags are allowed.
- timeout number
- Command timeout period.
- updated
Time string - Command update time.
- username string
- The user who executes the command on the instance.
- working
Directory string - Command execution path.
- command_
id str - Command ID.
- command_
name str - Command name.
- command_
type str - Command type, Value is
SHELLorPOWERSHELL. - content str
- command.
- created_
by str - Command creator.
TATindicates a public command andUSERindicates a personal command. - created_
time str - Command creation time.
- default_
parameters str - Default custom parameter value.
- description str
- Command description.
- enable_
parameter bool - Whether to enable the custom parameter feature.
- formatted_
description str - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
- output_
cos_ strbucket_ url - The COS bucket URL for uploading logs.
- output_
cos_ strkey_ prefix - The COS bucket directory where the logs are saved.
-
Sequence[Get
Tat Command Command Set Tag] - Tags bound to the command. At most 10 tags are allowed.
- timeout float
- Command timeout period.
- updated_
time str - Command update time.
- username str
- The user who executes the command on the instance.
- working_
directory str - Command execution path.
- command
Id String - Command ID.
- command
Name String - Command name.
- command
Type String - Command type, Value is
SHELLorPOWERSHELL. - content String
- command.
- created
By String - Command creator.
TATindicates a public command andUSERindicates a personal command. - created
Time String - Command creation time.
- default
Parameters String - Default custom parameter value.
- description String
- Command description.
- enable
Parameter Boolean - Whether to enable the custom parameter feature.
- formatted
Description String - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
- output
Cos StringBucket Url - The COS bucket URL for uploading logs.
- output
Cos StringKey Prefix - The COS bucket directory where the logs are saved.
- List<Property Map>
- Tags bound to the command. At most 10 tags are allowed.
- timeout Number
- Command timeout period.
- updated
Time String - Command update time.
- username String
- The user who executes the command on the instance.
- working
Directory String - Command execution path.
GetTatCommandCommandSetTag
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
