Skip to content

Commit 53c27ae

Browse files
committed
add
1 parent bfd1295 commit 53c27ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tencentcloud/services/tat/resource_tc_tat_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func ResourceTencentCloudTatCommand() *schema.Resource {
4545
"command_type": {
4646
Type: schema.TypeString,
4747
Optional: true,
48-
Description: "Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.",
48+
Description: "Command type. `SHELL`, `POWERSHELL` and `BAT` are supported. The default value is `SHELL`.",
4949
},
5050

5151
"working_directory": {

website/docs/r/tat_command.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following arguments are supported:
4242

4343
* `command_name` - (Required, String) Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
4444
* `content` - (Required, String) Command content. The maximum length is 64 KB.
45-
* `command_type` - (Optional, String) Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.
45+
* `command_type` - (Optional, String) Command type. `SHELL`, `POWERSHELL` and `BAT` are supported. The default value is `SHELL`.
4646
* `default_parameters` - (Optional, 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 no parameter value is provided in the `InvokeCommand` API, the default value 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 [-_].
4747
* `description` - (Optional, String) Command description. The maximum length is 120 characters.
4848
* `enable_parameter` - (Optional, Bool) Whether to enable the custom parameter feature.This cannot be modified once created.Default value: `false`.

0 commit comments

Comments
 (0)