published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Provides a resource to create a WeData workflow permissions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WedataWorkflowPermissions("example", {
projectId: "3108707295180644352",
entityId: "53e78f97-f145-11f0-ba36-b8cef6a5af5c",
entityType: "folder",
permissionLists: [
{
permissionTargetType: "user",
permissionTargetId: "100028448903",
permissionTypeLists: ["CAN_MANAGE"],
},
{
permissionTargetType: "role",
permissionTargetId: "308335260676890624",
permissionTypeLists: ["CAN_MANAGE"],
},
],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WedataWorkflowPermissions("example",
project_id="3108707295180644352",
entity_id="53e78f97-f145-11f0-ba36-b8cef6a5af5c",
entity_type="folder",
permission_lists=[
{
"permission_target_type": "user",
"permission_target_id": "100028448903",
"permission_type_lists": ["CAN_MANAGE"],
},
{
"permission_target_type": "role",
"permission_target_id": "308335260676890624",
"permission_type_lists": ["CAN_MANAGE"],
},
])
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 {
_, err := tencentcloud.NewWedataWorkflowPermissions(ctx, "example", &tencentcloud.WedataWorkflowPermissionsArgs{
ProjectId: pulumi.String("3108707295180644352"),
EntityId: pulumi.String("53e78f97-f145-11f0-ba36-b8cef6a5af5c"),
EntityType: pulumi.String("folder"),
PermissionLists: tencentcloud.WedataWorkflowPermissionsPermissionListArray{
&tencentcloud.WedataWorkflowPermissionsPermissionListArgs{
PermissionTargetType: pulumi.String("user"),
PermissionTargetId: pulumi.String("100028448903"),
PermissionTypeLists: pulumi.StringArray{
pulumi.String("CAN_MANAGE"),
},
},
&tencentcloud.WedataWorkflowPermissionsPermissionListArgs{
PermissionTargetType: pulumi.String("role"),
PermissionTargetId: pulumi.String("308335260676890624"),
PermissionTypeLists: pulumi.StringArray{
pulumi.String("CAN_MANAGE"),
},
},
},
})
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 example = new Tencentcloud.WedataWorkflowPermissions("example", new()
{
ProjectId = "3108707295180644352",
EntityId = "53e78f97-f145-11f0-ba36-b8cef6a5af5c",
EntityType = "folder",
PermissionLists = new[]
{
new Tencentcloud.Inputs.WedataWorkflowPermissionsPermissionListArgs
{
PermissionTargetType = "user",
PermissionTargetId = "100028448903",
PermissionTypeLists = new[]
{
"CAN_MANAGE",
},
},
new Tencentcloud.Inputs.WedataWorkflowPermissionsPermissionListArgs
{
PermissionTargetType = "role",
PermissionTargetId = "308335260676890624",
PermissionTypeLists = new[]
{
"CAN_MANAGE",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WedataWorkflowPermissions;
import com.pulumi.tencentcloud.WedataWorkflowPermissionsArgs;
import com.pulumi.tencentcloud.inputs.WedataWorkflowPermissionsPermissionListArgs;
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) {
var example = new WedataWorkflowPermissions("example", WedataWorkflowPermissionsArgs.builder()
.projectId("3108707295180644352")
.entityId("53e78f97-f145-11f0-ba36-b8cef6a5af5c")
.entityType("folder")
.permissionLists(
WedataWorkflowPermissionsPermissionListArgs.builder()
.permissionTargetType("user")
.permissionTargetId("100028448903")
.permissionTypeLists("CAN_MANAGE")
.build(),
WedataWorkflowPermissionsPermissionListArgs.builder()
.permissionTargetType("role")
.permissionTargetId("308335260676890624")
.permissionTypeLists("CAN_MANAGE")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:WedataWorkflowPermissions
properties:
projectId: '3108707295180644352'
entityId: 53e78f97-f145-11f0-ba36-b8cef6a5af5c
entityType: folder
permissionLists:
- permissionTargetType: user
permissionTargetId: '100028448903'
permissionTypeLists:
- CAN_MANAGE
- permissionTargetType: role
permissionTargetId: '308335260676890624'
permissionTypeLists:
- CAN_MANAGE
Create WedataWorkflowPermissions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataWorkflowPermissions(name: string, args: WedataWorkflowPermissionsArgs, opts?: CustomResourceOptions);@overload
def WedataWorkflowPermissions(resource_name: str,
args: WedataWorkflowPermissionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataWorkflowPermissions(resource_name: str,
opts: Optional[ResourceOptions] = None,
entity_id: Optional[str] = None,
entity_type: Optional[str] = None,
permission_lists: Optional[Sequence[WedataWorkflowPermissionsPermissionListArgs]] = None,
project_id: Optional[str] = None,
wedata_workflow_permissions_id: Optional[str] = None)func NewWedataWorkflowPermissions(ctx *Context, name string, args WedataWorkflowPermissionsArgs, opts ...ResourceOption) (*WedataWorkflowPermissions, error)public WedataWorkflowPermissions(string name, WedataWorkflowPermissionsArgs args, CustomResourceOptions? opts = null)
public WedataWorkflowPermissions(String name, WedataWorkflowPermissionsArgs args)
public WedataWorkflowPermissions(String name, WedataWorkflowPermissionsArgs args, CustomResourceOptions options)
type: tencentcloud:WedataWorkflowPermissions
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 WedataWorkflowPermissionsArgs
- 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 WedataWorkflowPermissionsArgs
- 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 WedataWorkflowPermissionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataWorkflowPermissionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataWorkflowPermissionsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataWorkflowPermissions 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 WedataWorkflowPermissions resource accepts the following input properties:
- Entity
Id string - Authorization entity ID.
- Entity
Type string - Authorization entity type, folder/workflow.
- Permission
Lists List<WedataWorkflow Permissions Permission List> - Authorization information array.
- Project
Id string - Project ID.
- Wedata
Workflow stringPermissions Id - ID of the resource.
- Entity
Id string - Authorization entity ID.
- Entity
Type string - Authorization entity type, folder/workflow.
- Permission
Lists []WedataWorkflow Permissions Permission List Args - Authorization information array.
- Project
Id string - Project ID.
- Wedata
Workflow stringPermissions Id - ID of the resource.
- entity
Id String - Authorization entity ID.
- entity
Type String - Authorization entity type, folder/workflow.
- permission
Lists List<WedataWorkflow Permissions Permission List> - Authorization information array.
- project
Id String - Project ID.
- wedata
Workflow StringPermissions Id - ID of the resource.
- entity
Id string - Authorization entity ID.
- entity
Type string - Authorization entity type, folder/workflow.
- permission
Lists WedataWorkflow Permissions Permission List[] - Authorization information array.
- project
Id string - Project ID.
- wedata
Workflow stringPermissions Id - ID of the resource.
- entity_
id str - Authorization entity ID.
- entity_
type str - Authorization entity type, folder/workflow.
- permission_
lists Sequence[WedataWorkflow Permissions Permission List Args] - Authorization information array.
- project_
id str - Project ID.
- wedata_
workflow_ strpermissions_ id - ID of the resource.
- entity
Id String - Authorization entity ID.
- entity
Type String - Authorization entity type, folder/workflow.
- permission
Lists List<Property Map> - Authorization information array.
- project
Id String - Project ID.
- wedata
Workflow StringPermissions Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataWorkflowPermissions 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 WedataWorkflowPermissions Resource
Get an existing WedataWorkflowPermissions 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?: WedataWorkflowPermissionsState, opts?: CustomResourceOptions): WedataWorkflowPermissions@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
entity_id: Optional[str] = None,
entity_type: Optional[str] = None,
permission_lists: Optional[Sequence[WedataWorkflowPermissionsPermissionListArgs]] = None,
project_id: Optional[str] = None,
wedata_workflow_permissions_id: Optional[str] = None) -> WedataWorkflowPermissionsfunc GetWedataWorkflowPermissions(ctx *Context, name string, id IDInput, state *WedataWorkflowPermissionsState, opts ...ResourceOption) (*WedataWorkflowPermissions, error)public static WedataWorkflowPermissions Get(string name, Input<string> id, WedataWorkflowPermissionsState? state, CustomResourceOptions? opts = null)public static WedataWorkflowPermissions get(String name, Output<String> id, WedataWorkflowPermissionsState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataWorkflowPermissions 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.
- Entity
Id string - Authorization entity ID.
- Entity
Type string - Authorization entity type, folder/workflow.
- Permission
Lists List<WedataWorkflow Permissions Permission List> - Authorization information array.
- Project
Id string - Project ID.
- Wedata
Workflow stringPermissions Id - ID of the resource.
- Entity
Id string - Authorization entity ID.
- Entity
Type string - Authorization entity type, folder/workflow.
- Permission
Lists []WedataWorkflow Permissions Permission List Args - Authorization information array.
- Project
Id string - Project ID.
- Wedata
Workflow stringPermissions Id - ID of the resource.
- entity
Id String - Authorization entity ID.
- entity
Type String - Authorization entity type, folder/workflow.
- permission
Lists List<WedataWorkflow Permissions Permission List> - Authorization information array.
- project
Id String - Project ID.
- wedata
Workflow StringPermissions Id - ID of the resource.
- entity
Id string - Authorization entity ID.
- entity
Type string - Authorization entity type, folder/workflow.
- permission
Lists WedataWorkflow Permissions Permission List[] - Authorization information array.
- project
Id string - Project ID.
- wedata
Workflow stringPermissions Id - ID of the resource.
- entity_
id str - Authorization entity ID.
- entity_
type str - Authorization entity type, folder/workflow.
- permission_
lists Sequence[WedataWorkflow Permissions Permission List Args] - Authorization information array.
- project_
id str - Project ID.
- wedata_
workflow_ strpermissions_ id - ID of the resource.
- entity
Id String - Authorization entity ID.
- entity
Type String - Authorization entity type, folder/workflow.
- permission
Lists List<Property Map> - Authorization information array.
- project
Id String - Project ID.
- wedata
Workflow StringPermissions Id - ID of the resource.
Supporting Types
WedataWorkflowPermissionsPermissionList, WedataWorkflowPermissionsPermissionListArgs
- Permission
Target stringId - Authorization target ID array (userId/roleId).
- Permission
Target stringType - Authorization target type (user: user, role: role).
- Permission
Type List<string>Lists - Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only supports CAN_MANAGE).
- Permission
Target stringId - Authorization target ID array (userId/roleId).
- Permission
Target stringType - Authorization target type (user: user, role: role).
- Permission
Type []stringLists - Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only supports CAN_MANAGE).
- permission
Target StringId - Authorization target ID array (userId/roleId).
- permission
Target StringType - Authorization target type (user: user, role: role).
- permission
Type List<String>Lists - Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only supports CAN_MANAGE).
- permission
Target stringId - Authorization target ID array (userId/roleId).
- permission
Target stringType - Authorization target type (user: user, role: role).
- permission
Type string[]Lists - Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only supports CAN_MANAGE).
- permission_
target_ strid - Authorization target ID array (userId/roleId).
- permission_
target_ strtype - Authorization target type (user: user, role: role).
- permission_
type_ Sequence[str]lists - Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only supports CAN_MANAGE).
- permission
Target StringId - Authorization target ID array (userId/roleId).
- permission
Target StringType - Authorization target type (user: user, role: role).
- permission
Type List<String>Lists - Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only supports CAN_MANAGE).
Import
WeData workflow permissions can be imported using the projectId#entityId#entityType, e.g.
$ pulumi import tencentcloud:index/wedataWorkflowPermissions:WedataWorkflowPermissions example 3108707295180644352#53e78f97-f145-11f0-ba36-b8cef6a5af5c#folder
To learn more about importing existing cloud resources, see Importing resources.
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
