Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Create WedataCodePermissions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataCodePermissions(name: string, args: WedataCodePermissionsArgs, opts?: CustomResourceOptions);@overload
def WedataCodePermissions(resource_name: str,
args: WedataCodePermissionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataCodePermissions(resource_name: str,
opts: Optional[ResourceOptions] = None,
authorize_permission_objects: Optional[Sequence[WedataCodePermissionsAuthorizePermissionObjectArgs]] = None,
project_id: Optional[str] = None,
wedata_code_permissions_id: Optional[str] = None)func NewWedataCodePermissions(ctx *Context, name string, args WedataCodePermissionsArgs, opts ...ResourceOption) (*WedataCodePermissions, error)public WedataCodePermissions(string name, WedataCodePermissionsArgs args, CustomResourceOptions? opts = null)
public WedataCodePermissions(String name, WedataCodePermissionsArgs args)
public WedataCodePermissions(String name, WedataCodePermissionsArgs args, CustomResourceOptions options)
type: tencentcloud:WedataCodePermissions
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 WedataCodePermissionsArgs
- 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 WedataCodePermissionsArgs
- 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 WedataCodePermissionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataCodePermissionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataCodePermissionsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataCodePermissions 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 WedataCodePermissions resource accepts the following input properties:
-
List<Wedata
Code Permissions Authorize Permission Object> - Permission operation objects.
- Project
Id string - Project ID.
- Wedata
Code stringPermissions Id
-
[]Wedata
Code Permissions Authorize Permission Object Args - Permission operation objects.
- Project
Id string - Project ID.
- Wedata
Code stringPermissions Id
-
List<Wedata
Code Permissions Authorize Permission Object> - Permission operation objects.
- project
Id String - Project ID.
- wedata
Code StringPermissions Id
-
Wedata
Code Permissions Authorize Permission Object[] - Permission operation objects.
- project
Id string - Project ID.
- wedata
Code stringPermissions Id
-
Sequence[Wedata
Code Permissions Authorize Permission Object Args] - Permission operation objects.
- project_
id str - Project ID.
- wedata_
code_ strpermissions_ id
- List<Property Map>
- Permission operation objects.
- project
Id String - Project ID.
- wedata
Code StringPermissions Id
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataCodePermissions 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 WedataCodePermissions Resource
Get an existing WedataCodePermissions 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?: WedataCodePermissionsState, opts?: CustomResourceOptions): WedataCodePermissions@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authorize_permission_objects: Optional[Sequence[WedataCodePermissionsAuthorizePermissionObjectArgs]] = None,
project_id: Optional[str] = None,
wedata_code_permissions_id: Optional[str] = None) -> WedataCodePermissionsfunc GetWedataCodePermissions(ctx *Context, name string, id IDInput, state *WedataCodePermissionsState, opts ...ResourceOption) (*WedataCodePermissions, error)public static WedataCodePermissions Get(string name, Input<string> id, WedataCodePermissionsState? state, CustomResourceOptions? opts = null)public static WedataCodePermissions get(String name, Output<String> id, WedataCodePermissionsState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataCodePermissions 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.
-
List<Wedata
Code Permissions Authorize Permission Object> - Permission operation objects.
- Project
Id string - Project ID.
- Wedata
Code stringPermissions Id
-
[]Wedata
Code Permissions Authorize Permission Object Args - Permission operation objects.
- Project
Id string - Project ID.
- Wedata
Code stringPermissions Id
-
List<Wedata
Code Permissions Authorize Permission Object> - Permission operation objects.
- project
Id String - Project ID.
- wedata
Code StringPermissions Id
-
Wedata
Code Permissions Authorize Permission Object[] - Permission operation objects.
- project
Id string - Project ID.
- wedata
Code stringPermissions Id
-
Sequence[Wedata
Code Permissions Authorize Permission Object Args] - Permission operation objects.
- project_
id str - Project ID.
- wedata_
code_ strpermissions_ id
- List<Property Map>
- Permission operation objects.
- project
Id String - Project ID.
- wedata
Code StringPermissions Id
Supporting Types
WedataCodePermissionsAuthorizePermissionObject, WedataCodePermissionsAuthorizePermissionObjectArgs
-
List<Wedata
Code Permissions Authorize Permission Object Authorize Subject> - Authorization details.
- Resource
Wedata
Code Permissions Authorize Permission Object Resource - Authorization resource information, including resourceId and resourceType.
-
[]Wedata
Code Permissions Authorize Permission Object Authorize Subject - Authorization details.
- Resource
Wedata
Code Permissions Authorize Permission Object Resource - Authorization resource information, including resourceId and resourceType.
-
List<Wedata
Code Permissions Authorize Permission Object Authorize Subject> - Authorization details.
- resource
Wedata
Code Permissions Authorize Permission Object Resource - Authorization resource information, including resourceId and resourceType.
-
Wedata
Code Permissions Authorize Permission Object Authorize Subject[] - Authorization details.
- resource
Wedata
Code Permissions Authorize Permission Object Resource - Authorization resource information, including resourceId and resourceType.
-
Sequence[Wedata
Code Permissions Authorize Permission Object Authorize Subject] - Authorization details.
- resource
Wedata
Code Permissions Authorize Permission Object Resource - Authorization resource information, including resourceId and resourceType.
- List<Property Map>
- Authorization details.
- resource Property Map
- Authorization resource information, including resourceId and resourceType.
WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubject, WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubjectArgs
- Privileges List<string>
- Permission list.
- Subject
Type string - Subject type (user: user, role: role, group: group).
- Subject
Values List<string> - Subject value list.
- Privileges []string
- Permission list.
- Subject
Type string - Subject type (user: user, role: role, group: group).
- Subject
Values []string - Subject value list.
- privileges List<String>
- Permission list.
- subject
Type String - Subject type (user: user, role: role, group: group).
- subject
Values List<String> - Subject value list.
- privileges string[]
- Permission list.
- subject
Type string - Subject type (user: user, role: role, group: group).
- subject
Values string[] - Subject value list.
- privileges Sequence[str]
- Permission list.
- subject_
type str - Subject type (user: user, role: role, group: group).
- subject_
values Sequence[str] - Subject value list.
- privileges List<String>
- Permission list.
- subject
Type String - Subject type (user: user, role: role, group: group).
- subject
Values List<String> - Subject value list.
WedataCodePermissionsAuthorizePermissionObjectResource, WedataCodePermissionsAuthorizePermissionObjectResourceArgs
- Resource
Cfs stringPath - CFS path.
- Resource
Id string - Resource ID: directory ID or script ID.
- Resource
Id stringFor Path - Full ID path, used for recursive authentication.
- Resource
Type string - Resource type, can only be these two types: folder, script.
- Resource
Cfs stringPath - CFS path.
- Resource
Id string - Resource ID: directory ID or script ID.
- Resource
Id stringFor Path - Full ID path, used for recursive authentication.
- Resource
Type string - Resource type, can only be these two types: folder, script.
- resource
Cfs StringPath - CFS path.
- resource
Id String - Resource ID: directory ID or script ID.
- resource
Id StringFor Path - Full ID path, used for recursive authentication.
- resource
Type String - Resource type, can only be these two types: folder, script.
- resource
Cfs stringPath - CFS path.
- resource
Id string - Resource ID: directory ID or script ID.
- resource
Id stringFor Path - Full ID path, used for recursive authentication.
- resource
Type string - Resource type, can only be these two types: folder, script.
- resource_
cfs_ strpath - CFS path.
- resource_
id str - Resource ID: directory ID or script ID.
- resource_
id_ strfor_ path - Full ID path, used for recursive authentication.
- resource_
type str - Resource type, can only be these two types: folder, script.
- resource
Cfs StringPath - CFS path.
- resource
Id String - Resource ID: directory ID or script ID.
- resource
Id StringFor Path - Full ID path, used for recursive authentication.
- resource
Type String - Resource type, can only be these two types: folder, script.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
