published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Provides a resource to rerun wedata trigger workflow run asynchronously
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const triggerWorkflowRuns = tencentcloud.getWedataTriggerWorkflowRuns({
projectId: "3108707295180644352",
filters: [{
name: "WorkflowId",
values: ["333368d7-bc8e-4b95-9a66-7a5151063eb2"],
}],
orderFields: [{
name: "CreateTime",
direction: "DESC",
}],
});
const rerunBasic = new tencentcloud.WedataRerunTriggerWorkflowRunAsync("rerun_basic", {
projectId: "3108707295180644352",
workflowId: "333368d7-bc8e-4b95-9a66-7a5151063eb2",
workflowExecutionId: triggerWorkflowRuns.then(triggerWorkflowRuns => triggerWorkflowRuns.datas?.[0]?.items?.[0]?.executionId),
executeType: "1",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
trigger_workflow_runs = tencentcloud.get_wedata_trigger_workflow_runs(project_id="3108707295180644352",
filters=[{
"name": "WorkflowId",
"values": ["333368d7-bc8e-4b95-9a66-7a5151063eb2"],
}],
order_fields=[{
"name": "CreateTime",
"direction": "DESC",
}])
rerun_basic = tencentcloud.WedataRerunTriggerWorkflowRunAsync("rerun_basic",
project_id="3108707295180644352",
workflow_id="333368d7-bc8e-4b95-9a66-7a5151063eb2",
workflow_execution_id=trigger_workflow_runs.datas[0].items[0].execution_id,
execute_type="1")
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 {
triggerWorkflowRuns, err := tencentcloud.GetWedataTriggerWorkflowRuns(ctx, &tencentcloud.GetWedataTriggerWorkflowRunsArgs{
ProjectId: "3108707295180644352",
Filters: []tencentcloud.GetWedataTriggerWorkflowRunsFilter{
{
Name: pulumi.StringRef("WorkflowId"),
Values: []string{
"333368d7-bc8e-4b95-9a66-7a5151063eb2",
},
},
},
OrderFields: []tencentcloud.GetWedataTriggerWorkflowRunsOrderField{
{
Name: "CreateTime",
Direction: "DESC",
},
},
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.NewWedataRerunTriggerWorkflowRunAsync(ctx, "rerun_basic", &tencentcloud.WedataRerunTriggerWorkflowRunAsyncArgs{
ProjectId: pulumi.String("3108707295180644352"),
WorkflowId: pulumi.String("333368d7-bc8e-4b95-9a66-7a5151063eb2"),
WorkflowExecutionId: pulumi.String(triggerWorkflowRuns.Datas[0].Items[0].ExecutionId),
ExecuteType: pulumi.String("1"),
})
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 triggerWorkflowRuns = Tencentcloud.GetWedataTriggerWorkflowRuns.Invoke(new()
{
ProjectId = "3108707295180644352",
Filters = new[]
{
new Tencentcloud.Inputs.GetWedataTriggerWorkflowRunsFilterInputArgs
{
Name = "WorkflowId",
Values = new[]
{
"333368d7-bc8e-4b95-9a66-7a5151063eb2",
},
},
},
OrderFields = new[]
{
new Tencentcloud.Inputs.GetWedataTriggerWorkflowRunsOrderFieldInputArgs
{
Name = "CreateTime",
Direction = "DESC",
},
},
});
var rerunBasic = new Tencentcloud.WedataRerunTriggerWorkflowRunAsync("rerun_basic", new()
{
ProjectId = "3108707295180644352",
WorkflowId = "333368d7-bc8e-4b95-9a66-7a5151063eb2",
WorkflowExecutionId = triggerWorkflowRuns.Apply(getWedataTriggerWorkflowRunsResult => getWedataTriggerWorkflowRunsResult.Datas[0]?.Items[0]?.ExecutionId),
ExecuteType = "1",
});
});
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.GetWedataTriggerWorkflowRunsArgs;
import com.pulumi.tencentcloud.WedataRerunTriggerWorkflowRunAsync;
import com.pulumi.tencentcloud.WedataRerunTriggerWorkflowRunAsyncArgs;
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 triggerWorkflowRuns = TencentcloudFunctions.getWedataTriggerWorkflowRuns(GetWedataTriggerWorkflowRunsArgs.builder()
.projectId("3108707295180644352")
.filters(GetWedataTriggerWorkflowRunsFilterArgs.builder()
.name("WorkflowId")
.values("333368d7-bc8e-4b95-9a66-7a5151063eb2")
.build())
.orderFields(GetWedataTriggerWorkflowRunsOrderFieldArgs.builder()
.name("CreateTime")
.direction("DESC")
.build())
.build());
var rerunBasic = new WedataRerunTriggerWorkflowRunAsync("rerunBasic", WedataRerunTriggerWorkflowRunAsyncArgs.builder()
.projectId("3108707295180644352")
.workflowId("333368d7-bc8e-4b95-9a66-7a5151063eb2")
.workflowExecutionId(triggerWorkflowRuns.datas()[0].items()[0].executionId())
.executeType("1")
.build());
}
}
resources:
rerunBasic:
type: tencentcloud:WedataRerunTriggerWorkflowRunAsync
name: rerun_basic
properties:
projectId: '3108707295180644352'
workflowId: 333368d7-bc8e-4b95-9a66-7a5151063eb2
workflowExecutionId: ${triggerWorkflowRuns.datas[0].items[0].executionId}
executeType: '1'
variables:
triggerWorkflowRuns:
fn::invoke:
function: tencentcloud:getWedataTriggerWorkflowRuns
arguments:
projectId: '3108707295180644352'
filters:
- name: WorkflowId
values:
- 333368d7-bc8e-4b95-9a66-7a5151063eb2
orderFields:
- name: CreateTime
direction: DESC
Create WedataRerunTriggerWorkflowRunAsync Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataRerunTriggerWorkflowRunAsync(name: string, args: WedataRerunTriggerWorkflowRunAsyncArgs, opts?: CustomResourceOptions);@overload
def WedataRerunTriggerWorkflowRunAsync(resource_name: str,
args: WedataRerunTriggerWorkflowRunAsyncArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataRerunTriggerWorkflowRunAsync(resource_name: str,
opts: Optional[ResourceOptions] = None,
execute_type: Optional[str] = None,
project_id: Optional[str] = None,
workflow_execution_id: Optional[str] = None,
workflow_id: Optional[str] = None,
advanced_params: Optional[Sequence[WedataRerunTriggerWorkflowRunAsyncAdvancedParamArgs]] = None,
integration_resource_group: Optional[str] = None,
scheduling_resource_group: Optional[str] = None,
task_ids: Optional[Sequence[str]] = None,
wedata_rerun_trigger_workflow_run_async_id: Optional[str] = None)func NewWedataRerunTriggerWorkflowRunAsync(ctx *Context, name string, args WedataRerunTriggerWorkflowRunAsyncArgs, opts ...ResourceOption) (*WedataRerunTriggerWorkflowRunAsync, error)public WedataRerunTriggerWorkflowRunAsync(string name, WedataRerunTriggerWorkflowRunAsyncArgs args, CustomResourceOptions? opts = null)
public WedataRerunTriggerWorkflowRunAsync(String name, WedataRerunTriggerWorkflowRunAsyncArgs args)
public WedataRerunTriggerWorkflowRunAsync(String name, WedataRerunTriggerWorkflowRunAsyncArgs args, CustomResourceOptions options)
type: tencentcloud:WedataRerunTriggerWorkflowRunAsync
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 WedataRerunTriggerWorkflowRunAsyncArgs
- 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 WedataRerunTriggerWorkflowRunAsyncArgs
- 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 WedataRerunTriggerWorkflowRunAsyncArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataRerunTriggerWorkflowRunAsyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataRerunTriggerWorkflowRunAsyncArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataRerunTriggerWorkflowRunAsync 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 WedataRerunTriggerWorkflowRunAsync resource accepts the following input properties:
- Execute
Type string - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- Project
Id string - Project ID.
- Workflow
Execution stringId - Workflow execution ID.
- Workflow
Id string - Workflow ID.
- Advanced
Params List<WedataRerun Trigger Workflow Run Async Advanced Param> - Custom execution parameters for advanced execution type.
- Integration
Resource stringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- Scheduling
Resource stringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- Task
Ids List<string> - Set of specific task IDs to run in advanced execution mode.
- Wedata
Rerun stringTrigger Workflow Run Async Id - ID of the resource.
- Execute
Type string - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- Project
Id string - Project ID.
- Workflow
Execution stringId - Workflow execution ID.
- Workflow
Id string - Workflow ID.
- Advanced
Params []WedataRerun Trigger Workflow Run Async Advanced Param Args - Custom execution parameters for advanced execution type.
- Integration
Resource stringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- Scheduling
Resource stringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- Task
Ids []string - Set of specific task IDs to run in advanced execution mode.
- Wedata
Rerun stringTrigger Workflow Run Async Id - ID of the resource.
- execute
Type String - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- project
Id String - Project ID.
- workflow
Execution StringId - Workflow execution ID.
- workflow
Id String - Workflow ID.
- advanced
Params List<WedataRerun Trigger Workflow Run Async Advanced Param> - Custom execution parameters for advanced execution type.
- integration
Resource StringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- scheduling
Resource StringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task
Ids List<String> - Set of specific task IDs to run in advanced execution mode.
- wedata
Rerun StringTrigger Workflow Run Async Id - ID of the resource.
- execute
Type string - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- project
Id string - Project ID.
- workflow
Execution stringId - Workflow execution ID.
- workflow
Id string - Workflow ID.
- advanced
Params WedataRerun Trigger Workflow Run Async Advanced Param[] - Custom execution parameters for advanced execution type.
- integration
Resource stringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- scheduling
Resource stringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task
Ids string[] - Set of specific task IDs to run in advanced execution mode.
- wedata
Rerun stringTrigger Workflow Run Async Id - ID of the resource.
- execute_
type str - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- project_
id str - Project ID.
- workflow_
execution_ strid - Workflow execution ID.
- workflow_
id str - Workflow ID.
- advanced_
params Sequence[WedataRerun Trigger Workflow Run Async Advanced Param Args] - Custom execution parameters for advanced execution type.
- integration_
resource_ strgroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- scheduling_
resource_ strgroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task_
ids Sequence[str] - Set of specific task IDs to run in advanced execution mode.
- wedata_
rerun_ strtrigger_ workflow_ run_ async_ id - ID of the resource.
- execute
Type String - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- project
Id String - Project ID.
- workflow
Execution StringId - Workflow execution ID.
- workflow
Id String - Workflow ID.
- advanced
Params List<Property Map> - Custom execution parameters for advanced execution type.
- integration
Resource StringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- scheduling
Resource StringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task
Ids List<String> - Set of specific task IDs to run in advanced execution mode.
- wedata
Rerun StringTrigger Workflow Run Async Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataRerunTriggerWorkflowRunAsync resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing WedataRerunTriggerWorkflowRunAsync Resource
Get an existing WedataRerunTriggerWorkflowRunAsync 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?: WedataRerunTriggerWorkflowRunAsyncState, opts?: CustomResourceOptions): WedataRerunTriggerWorkflowRunAsync@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
advanced_params: Optional[Sequence[WedataRerunTriggerWorkflowRunAsyncAdvancedParamArgs]] = None,
execute_type: Optional[str] = None,
integration_resource_group: Optional[str] = None,
project_id: Optional[str] = None,
scheduling_resource_group: Optional[str] = None,
task_ids: Optional[Sequence[str]] = None,
wedata_rerun_trigger_workflow_run_async_id: Optional[str] = None,
workflow_execution_id: Optional[str] = None,
workflow_id: Optional[str] = None) -> WedataRerunTriggerWorkflowRunAsyncfunc GetWedataRerunTriggerWorkflowRunAsync(ctx *Context, name string, id IDInput, state *WedataRerunTriggerWorkflowRunAsyncState, opts ...ResourceOption) (*WedataRerunTriggerWorkflowRunAsync, error)public static WedataRerunTriggerWorkflowRunAsync Get(string name, Input<string> id, WedataRerunTriggerWorkflowRunAsyncState? state, CustomResourceOptions? opts = null)public static WedataRerunTriggerWorkflowRunAsync get(String name, Output<String> id, WedataRerunTriggerWorkflowRunAsyncState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataRerunTriggerWorkflowRunAsync 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.
- Advanced
Params List<WedataRerun Trigger Workflow Run Async Advanced Param> - Custom execution parameters for advanced execution type.
- Execute
Type string - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- Integration
Resource stringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- Project
Id string - Project ID.
- Scheduling
Resource stringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- Task
Ids List<string> - Set of specific task IDs to run in advanced execution mode.
- Wedata
Rerun stringTrigger Workflow Run Async Id - ID of the resource.
- Workflow
Execution stringId - Workflow execution ID.
- Workflow
Id string - Workflow ID.
- Advanced
Params []WedataRerun Trigger Workflow Run Async Advanced Param Args - Custom execution parameters for advanced execution type.
- Execute
Type string - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- Integration
Resource stringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- Project
Id string - Project ID.
- Scheduling
Resource stringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- Task
Ids []string - Set of specific task IDs to run in advanced execution mode.
- Wedata
Rerun stringTrigger Workflow Run Async Id - ID of the resource.
- Workflow
Execution stringId - Workflow execution ID.
- Workflow
Id string - Workflow ID.
- advanced
Params List<WedataRerun Trigger Workflow Run Async Advanced Param> - Custom execution parameters for advanced execution type.
- execute
Type String - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- integration
Resource StringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- project
Id String - Project ID.
- scheduling
Resource StringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task
Ids List<String> - Set of specific task IDs to run in advanced execution mode.
- wedata
Rerun StringTrigger Workflow Run Async Id - ID of the resource.
- workflow
Execution StringId - Workflow execution ID.
- workflow
Id String - Workflow ID.
- advanced
Params WedataRerun Trigger Workflow Run Async Advanced Param[] - Custom execution parameters for advanced execution type.
- execute
Type string - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- integration
Resource stringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- project
Id string - Project ID.
- scheduling
Resource stringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task
Ids string[] - Set of specific task IDs to run in advanced execution mode.
- wedata
Rerun stringTrigger Workflow Run Async Id - ID of the resource.
- workflow
Execution stringId - Workflow execution ID.
- workflow
Id string - Workflow ID.
- advanced_
params Sequence[WedataRerun Trigger Workflow Run Async Advanced Param Args] - Custom execution parameters for advanced execution type.
- execute_
type str - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- integration_
resource_ strgroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- project_
id str - Project ID.
- scheduling_
resource_ strgroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task_
ids Sequence[str] - Set of specific task IDs to run in advanced execution mode.
- wedata_
rerun_ strtrigger_ workflow_ run_ async_ id - ID of the resource.
- workflow_
execution_ strid - Workflow execution ID.
- workflow_
id str - Workflow ID.
- advanced
Params List<Property Map> - Custom execution parameters for advanced execution type.
- execute
Type String - Execution type: Normal execution with default parameters: 1, Advanced execution with optional task scope and parameters: 2.
- integration
Resource StringGroup - Specified integration resource group, defaults to the original configured integration resource group if empty.
- project
Id String - Project ID.
- scheduling
Resource StringGroup - Specified scheduling resource group, defaults to the original configured scheduling resource group if empty.
- task
Ids List<String> - Set of specific task IDs to run in advanced execution mode.
- wedata
Rerun StringTrigger Workflow Run Async Id - ID of the resource.
- workflow
Execution StringId - Workflow execution ID.
- workflow
Id String - Workflow ID.
Supporting Types
WedataRerunTriggerWorkflowRunAsyncAdvancedParam, WedataRerunTriggerWorkflowRunAsyncAdvancedParamArgs
- Ext
Properties string - Extended properties in JSON format, example: "{}".
- Param
Key string - Parameter name.
- Param
Value string - Parameter value.
- Ext
Properties string - Extended properties in JSON format, example: "{}".
- Param
Key string - Parameter name.
- Param
Value string - Parameter value.
- ext
Properties String - Extended properties in JSON format, example: "{}".
- param
Key String - Parameter name.
- param
Value String - Parameter value.
- ext
Properties string - Extended properties in JSON format, example: "{}".
- param
Key string - Parameter name.
- param
Value string - Parameter value.
- ext_
properties str - Extended properties in JSON format, example: "{}".
- param_
key str - Parameter name.
- param_
value str - Parameter value.
- ext
Properties String - Extended properties in JSON format, example: "{}".
- param
Key String - Parameter name.
- param
Value String - Parameter value.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Friday, Mar 27, 2026 by tencentcloudstack
