1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. WedataCodePermissions
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
tencentcloud logo
Viewing docs for tencentcloud 1.82.79
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:

    authorizePermissionObjects List<Property Map>
    Permission operation objects.
    projectId String
    Project ID.
    wedataCodePermissionsId String

    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) -> WedataCodePermissions
    func 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.
    The following state arguments are supported:
    authorizePermissionObjects List<Property Map>
    Permission operation objects.
    projectId String
    Project ID.
    wedataCodePermissionsId String

    Supporting Types

    WedataCodePermissionsAuthorizePermissionObject, WedataCodePermissionsAuthorizePermissionObjectArgs

    AuthorizeSubjects List<WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubject>
    Authorization details.
    Resource WedataCodePermissionsAuthorizePermissionObjectResource
    Authorization resource information, including resourceId and resourceType.
    AuthorizeSubjects []WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubject
    Authorization details.
    Resource WedataCodePermissionsAuthorizePermissionObjectResource
    Authorization resource information, including resourceId and resourceType.
    authorizeSubjects List<WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubject>
    Authorization details.
    resource WedataCodePermissionsAuthorizePermissionObjectResource
    Authorization resource information, including resourceId and resourceType.
    authorizeSubjects WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubject[]
    Authorization details.
    resource WedataCodePermissionsAuthorizePermissionObjectResource
    Authorization resource information, including resourceId and resourceType.
    authorizeSubjects List<Property Map>
    Authorization details.
    resource Property Map
    Authorization resource information, including resourceId and resourceType.

    WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubject, WedataCodePermissionsAuthorizePermissionObjectAuthorizeSubjectArgs

    Privileges List<string>
    Permission list.
    SubjectType string
    Subject type (user: user, role: role, group: group).
    SubjectValues List<string>
    Subject value list.
    Privileges []string
    Permission list.
    SubjectType string
    Subject type (user: user, role: role, group: group).
    SubjectValues []string
    Subject value list.
    privileges List<String>
    Permission list.
    subjectType String
    Subject type (user: user, role: role, group: group).
    subjectValues List<String>
    Subject value list.
    privileges string[]
    Permission list.
    subjectType string
    Subject type (user: user, role: role, group: group).
    subjectValues 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.
    subjectType String
    Subject type (user: user, role: role, group: group).
    subjectValues List<String>
    Subject value list.

    WedataCodePermissionsAuthorizePermissionObjectResource, WedataCodePermissionsAuthorizePermissionObjectResourceArgs

    ResourceCfsPath string
    CFS path.
    ResourceId string
    Resource ID: directory ID or script ID.
    ResourceIdForPath string
    Full ID path, used for recursive authentication.
    ResourceType string
    Resource type, can only be these two types: folder, script.
    ResourceCfsPath string
    CFS path.
    ResourceId string
    Resource ID: directory ID or script ID.
    ResourceIdForPath string
    Full ID path, used for recursive authentication.
    ResourceType string
    Resource type, can only be these two types: folder, script.
    resourceCfsPath String
    CFS path.
    resourceId String
    Resource ID: directory ID or script ID.
    resourceIdForPath String
    Full ID path, used for recursive authentication.
    resourceType String
    Resource type, can only be these two types: folder, script.
    resourceCfsPath string
    CFS path.
    resourceId string
    Resource ID: directory ID or script ID.
    resourceIdForPath string
    Full ID path, used for recursive authentication.
    resourceType string
    Resource type, can only be these two types: folder, script.
    resource_cfs_path str
    CFS path.
    resource_id str
    Resource ID: directory ID or script ID.
    resource_id_for_path str
    Full ID path, used for recursive authentication.
    resource_type str
    Resource type, can only be these two types: folder, script.
    resourceCfsPath String
    CFS path.
    resourceId String
    Resource ID: directory ID or script ID.
    resourceIdForPath String
    Full ID path, used for recursive authentication.
    resourceType 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 tencentcloud Terraform Provider.
    tencentcloud logo
    Viewing docs for tencentcloud 1.82.79
    published on Friday, Mar 27, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.