Skip to content

Commit 84f41d4

Browse files
committed
fix CSharp error
1 parent f52cd3d commit 84f41d4

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

provider/cmd/pulumi-resource-tencentcloud/schema.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140504,7 +140504,12 @@
140504140504
},
140505140505
"taskState": {
140506140506
"type": "string",
140507-
"description": "Whether to enable the task, ENABLED/DISABLED.\n"
140507+
"description": "Whether to enable the task, ENABLED/DISABLED.\n",
140508+
"language": {
140509+
"csharp": {
140510+
"name": "TsfTaskState"
140511+
}
140512+
}
140508140513
},
140509140514
"taskType": {
140510140515
"type": "string",
@@ -140703,7 +140708,12 @@
140703140708
},
140704140709
"taskState": {
140705140710
"type": "string",
140706-
"description": "Whether to enable the task, ENABLED/DISABLED.\n"
140711+
"description": "Whether to enable the task, ENABLED/DISABLED.\n",
140712+
"language": {
140713+
"csharp": {
140714+
"name": "TsfTaskState"
140715+
}
140716+
}
140707140717
},
140708140718
"taskType": {
140709140719
"type": "string",

provider/info/transform/transform.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import (
99

1010
var hardCodedAlters = map[string][]string{
1111
"tencentcloud_kms_keys": {"key_state", "KmsKeyState"},
12-
"tencentcloud_kms_key": {"key_state", "KmsKeyState"},
12+
"tencentcloud_kms_key": {"key_state", "KmsKeyState"},
13+
"tencentcloud_tsf_task": {"task_state", "TsfTaskState"},
1314
}
1415

1516
func GetConflictFieldOfCsharpModule(key string, fields map[string]*schema.Schema) map[string]string {

sdk/dotnet/Tencentcloud/Tsf/Task.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public partial class Task : Pulumi.CustomResource
168168
/// Whether to enable the task, ENABLED/DISABLED.
169169
/// </summary>
170170
[Output("taskState")]
171-
public Output<string> TaskState { get; private set; } = null!;
171+
public Output<string> TsfTaskState { get; private set; } = null!;
172172

173173
/// <summary>
174174
/// task type, java.
@@ -474,7 +474,7 @@ public InputList<Inputs.TaskShardArgumentGetArgs> ShardArguments
474474
/// Whether to enable the task, ENABLED/DISABLED.
475475
/// </summary>
476476
[Input("taskState")]
477-
public Input<string>? TaskState { get; set; }
477+
public Input<string>? TsfTaskState { get; set; }
478478

479479
/// <summary>
480480
/// task type, java.

0 commit comments

Comments
 (0)