Skip to content

Commit 0841a80

Browse files
authored
fix(tat): [137302957] tencentcloud_tat_command update doc (#3277)
* add * add * add
1 parent 13bf5f6 commit 0841a80

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.changelog/3277.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_tat_command: update doc
3+
```

tencentcloud/services/tat/resource_tc_tat_command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func ResourceTencentCloudTatCommand() *schema.Resource {
3333
"content": {
3434
Type: schema.TypeString,
3535
Required: true,
36-
Description: "Base64-encoded command. The maximum length is 64 KB.",
36+
Description: "Command content. The maximum length is 64 KB.",
3737
},
3838

3939
"description": {
@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ EOF
4141
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 [_-.].
44-
* `content` - (Required, String) Base64-encoded command. The maximum length is 64 KB.
45-
* `command_type` - (Optional, String) Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.
44+
* `content` - (Required, String) Command content. The maximum length is 64 KB.
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)