1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TatInvocationCommandAttachment
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TatInvocationCommandAttachment

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a tat invocation_command_attachment

    Create TatInvocationCommandAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TatInvocationCommandAttachment(name: string, args: TatInvocationCommandAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def TatInvocationCommandAttachment(resource_name: str,
                                       args: TatInvocationCommandAttachmentArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def TatInvocationCommandAttachment(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       content: Optional[str] = None,
                                       instance_id: Optional[str] = None,
                                       default_parameters: Optional[str] = None,
                                       command_name: Optional[str] = None,
                                       description: Optional[str] = None,
                                       enable_parameter: Optional[bool] = None,
                                       command_type: Optional[str] = None,
                                       output_cos_bucket_url: Optional[str] = None,
                                       output_cos_key_prefix: Optional[str] = None,
                                       parameters: Optional[str] = None,
                                       save_command: Optional[bool] = None,
                                       tat_invocation_command_attachment_id: Optional[str] = None,
                                       timeout: Optional[float] = None,
                                       username: Optional[str] = None,
                                       working_directory: Optional[str] = None)
    func NewTatInvocationCommandAttachment(ctx *Context, name string, args TatInvocationCommandAttachmentArgs, opts ...ResourceOption) (*TatInvocationCommandAttachment, error)
    public TatInvocationCommandAttachment(string name, TatInvocationCommandAttachmentArgs args, CustomResourceOptions? opts = null)
    public TatInvocationCommandAttachment(String name, TatInvocationCommandAttachmentArgs args)
    public TatInvocationCommandAttachment(String name, TatInvocationCommandAttachmentArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TatInvocationCommandAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TatInvocationCommandAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TatInvocationCommandAttachmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TatInvocationCommandAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TatInvocationCommandAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TatInvocationCommandAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TatInvocationCommandAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TatInvocationCommandAttachment resource accepts the following input properties:

    Content string
    Base64-encoded command. The maximum length is 64 KB.
    InstanceId string
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    CommandName string
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    CommandType string
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    DefaultParameters string
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    Description string
    Command description. The maximum length is 120 characters.
    EnableParameter bool
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    OutputCosBucketUrl string
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    OutputCosKeyPrefix string
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    Parameters string
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    SaveCommand bool
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    TatInvocationCommandAttachmentId string
    ID of the resource.
    Timeout double
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    Username string
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    WorkingDirectory string
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    Content string
    Base64-encoded command. The maximum length is 64 KB.
    InstanceId string
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    CommandName string
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    CommandType string
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    DefaultParameters string
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    Description string
    Command description. The maximum length is 120 characters.
    EnableParameter bool
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    OutputCosBucketUrl string
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    OutputCosKeyPrefix string
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    Parameters string
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    SaveCommand bool
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    TatInvocationCommandAttachmentId string
    ID of the resource.
    Timeout float64
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    Username string
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    WorkingDirectory string
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    content String
    Base64-encoded command. The maximum length is 64 KB.
    instanceId String
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    commandName String
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    commandType String
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    defaultParameters String
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description String
    Command description. The maximum length is 120 characters.
    enableParameter Boolean
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    outputCosBucketUrl String
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    outputCosKeyPrefix String
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters String
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    saveCommand Boolean
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tatInvocationCommandAttachmentId String
    ID of the resource.
    timeout Double
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username String
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    workingDirectory String
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    content string
    Base64-encoded command. The maximum length is 64 KB.
    instanceId string
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    commandName string
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    commandType string
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    defaultParameters string
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description string
    Command description. The maximum length is 120 characters.
    enableParameter boolean
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    outputCosBucketUrl string
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    outputCosKeyPrefix string
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters string
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    saveCommand boolean
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tatInvocationCommandAttachmentId string
    ID of the resource.
    timeout number
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username string
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    workingDirectory string
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    content str
    Base64-encoded command. The maximum length is 64 KB.
    instance_id str
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    command_name str
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    command_type str
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    default_parameters str
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description str
    Command description. The maximum length is 120 characters.
    enable_parameter bool
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    output_cos_bucket_url str
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    output_cos_key_prefix str
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters str
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    save_command bool
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tat_invocation_command_attachment_id str
    ID of the resource.
    timeout float
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username str
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    working_directory str
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    content String
    Base64-encoded command. The maximum length is 64 KB.
    instanceId String
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    commandName String
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    commandType String
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    defaultParameters String
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description String
    Command description. The maximum length is 120 characters.
    enableParameter Boolean
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    outputCosBucketUrl String
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    outputCosKeyPrefix String
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters String
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    saveCommand Boolean
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tatInvocationCommandAttachmentId String
    ID of the resource.
    timeout Number
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username String
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    workingDirectory String
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TatInvocationCommandAttachment resource produces the following output properties:

    CommandId string
    Command ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    CommandId string
    Command ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    commandId String
    Command ID.
    id String
    The provider-assigned unique ID for this managed resource.
    commandId string
    Command ID.
    id string
    The provider-assigned unique ID for this managed resource.
    command_id str
    Command ID.
    id str
    The provider-assigned unique ID for this managed resource.
    commandId String
    Command ID.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TatInvocationCommandAttachment Resource

    Get an existing TatInvocationCommandAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TatInvocationCommandAttachmentState, opts?: CustomResourceOptions): TatInvocationCommandAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            command_id: Optional[str] = None,
            command_name: Optional[str] = None,
            command_type: Optional[str] = None,
            content: Optional[str] = None,
            default_parameters: Optional[str] = None,
            description: Optional[str] = None,
            enable_parameter: Optional[bool] = None,
            instance_id: Optional[str] = None,
            output_cos_bucket_url: Optional[str] = None,
            output_cos_key_prefix: Optional[str] = None,
            parameters: Optional[str] = None,
            save_command: Optional[bool] = None,
            tat_invocation_command_attachment_id: Optional[str] = None,
            timeout: Optional[float] = None,
            username: Optional[str] = None,
            working_directory: Optional[str] = None) -> TatInvocationCommandAttachment
    func GetTatInvocationCommandAttachment(ctx *Context, name string, id IDInput, state *TatInvocationCommandAttachmentState, opts ...ResourceOption) (*TatInvocationCommandAttachment, error)
    public static TatInvocationCommandAttachment Get(string name, Input<string> id, TatInvocationCommandAttachmentState? state, CustomResourceOptions? opts = null)
    public static TatInvocationCommandAttachment get(String name, Output<String> id, TatInvocationCommandAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TatInvocationCommandAttachment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CommandId string
    Command ID.
    CommandName string
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    CommandType string
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    Content string
    Base64-encoded command. The maximum length is 64 KB.
    DefaultParameters string
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    Description string
    Command description. The maximum length is 120 characters.
    EnableParameter bool
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    InstanceId string
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    OutputCosBucketUrl string
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    OutputCosKeyPrefix string
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    Parameters string
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    SaveCommand bool
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    TatInvocationCommandAttachmentId string
    ID of the resource.
    Timeout double
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    Username string
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    WorkingDirectory string
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    CommandId string
    Command ID.
    CommandName string
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    CommandType string
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    Content string
    Base64-encoded command. The maximum length is 64 KB.
    DefaultParameters string
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    Description string
    Command description. The maximum length is 120 characters.
    EnableParameter bool
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    InstanceId string
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    OutputCosBucketUrl string
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    OutputCosKeyPrefix string
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    Parameters string
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    SaveCommand bool
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    TatInvocationCommandAttachmentId string
    ID of the resource.
    Timeout float64
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    Username string
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    WorkingDirectory string
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    commandId String
    Command ID.
    commandName String
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    commandType String
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    content String
    Base64-encoded command. The maximum length is 64 KB.
    defaultParameters String
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description String
    Command description. The maximum length is 120 characters.
    enableParameter Boolean
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    instanceId String
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    outputCosBucketUrl String
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    outputCosKeyPrefix String
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters String
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    saveCommand Boolean
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tatInvocationCommandAttachmentId String
    ID of the resource.
    timeout Double
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username String
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    workingDirectory String
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    commandId string
    Command ID.
    commandName string
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    commandType string
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    content string
    Base64-encoded command. The maximum length is 64 KB.
    defaultParameters string
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description string
    Command description. The maximum length is 120 characters.
    enableParameter boolean
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    instanceId string
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    outputCosBucketUrl string
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    outputCosKeyPrefix string
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters string
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    saveCommand boolean
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tatInvocationCommandAttachmentId string
    ID of the resource.
    timeout number
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username string
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    workingDirectory string
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    command_id str
    Command ID.
    command_name str
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    command_type str
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    content str
    Base64-encoded command. The maximum length is 64 KB.
    default_parameters str
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description str
    Command description. The maximum length is 120 characters.
    enable_parameter bool
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    instance_id str
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    output_cos_bucket_url str
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    output_cos_key_prefix str
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters str
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    save_command bool
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tat_invocation_command_attachment_id str
    ID of the resource.
    timeout float
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username str
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    working_directory str
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
    commandId String
    Command ID.
    commandName String
    Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
    commandType String
    Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
    content String
    Base64-encoded command. The maximum length is 64 KB.
    defaultParameters String
    The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    description String
    Command description. The maximum length is 120 characters.
    enableParameter Boolean
    Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
    instanceId String
    ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
    outputCosBucketUrl String
    The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
    outputCosKeyPrefix String
    The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
    parameters String
    Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
    saveCommand Boolean
    Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
    tatInvocationCommandAttachmentId String
    ID of the resource.
    timeout Number
    Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
    username String
    The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
    workingDirectory String
    Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack