1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. WedataSqlFolder
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

tencentcloud.WedataSqlFolder

Start a Neo task
Explain and create a tencentcloud.WedataSqlFolder resource
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Provides a resource to create a WeData sql folder

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.WedataSqlFolder("example", {
        folderName: "tf_example",
        projectId: "2983848457986924544",
        parentFolderPath: "/",
        accessScope: "SHARED",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.WedataSqlFolder("example",
        folder_name="tf_example",
        project_id="2983848457986924544",
        parent_folder_path="/",
        access_scope="SHARED")
    
    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.NewWedataSqlFolder(ctx, "example", &tencentcloud.WedataSqlFolderArgs{
    			FolderName:       pulumi.String("tf_example"),
    			ProjectId:        pulumi.String("2983848457986924544"),
    			ParentFolderPath: pulumi.String("/"),
    			AccessScope:      pulumi.String("SHARED"),
    		})
    		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.WedataSqlFolder("example", new()
        {
            FolderName = "tf_example",
            ProjectId = "2983848457986924544",
            ParentFolderPath = "/",
            AccessScope = "SHARED",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.WedataSqlFolder;
    import com.pulumi.tencentcloud.WedataSqlFolderArgs;
    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 WedataSqlFolder("example", WedataSqlFolderArgs.builder()
                .folderName("tf_example")
                .projectId("2983848457986924544")
                .parentFolderPath("/")
                .accessScope("SHARED")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:WedataSqlFolder
        properties:
          folderName: tf_example
          projectId: '2983848457986924544'
          parentFolderPath: /
          accessScope: SHARED
    

    Create WedataSqlFolder Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WedataSqlFolder(name: string, args: WedataSqlFolderArgs, opts?: CustomResourceOptions);
    @overload
    def WedataSqlFolder(resource_name: str,
                        args: WedataSqlFolderArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def WedataSqlFolder(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        folder_name: Optional[str] = None,
                        parent_folder_path: Optional[str] = None,
                        project_id: Optional[str] = None,
                        access_scope: Optional[str] = None,
                        wedata_sql_folder_id: Optional[str] = None)
    func NewWedataSqlFolder(ctx *Context, name string, args WedataSqlFolderArgs, opts ...ResourceOption) (*WedataSqlFolder, error)
    public WedataSqlFolder(string name, WedataSqlFolderArgs args, CustomResourceOptions? opts = null)
    public WedataSqlFolder(String name, WedataSqlFolderArgs args)
    public WedataSqlFolder(String name, WedataSqlFolderArgs args, CustomResourceOptions options)
    
    type: tencentcloud:WedataSqlFolder
    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 WedataSqlFolderArgs
    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 WedataSqlFolderArgs
    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 WedataSqlFolderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WedataSqlFolderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WedataSqlFolderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WedataSqlFolder 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 WedataSqlFolder resource accepts the following input properties:

    FolderName string
    Folder name.
    ParentFolderPath string
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    ProjectId string
    Project ID.
    AccessScope string
    Permission range: SHARED, PRIVATE.
    WedataSqlFolderId string
    ID of the resource.
    FolderName string
    Folder name.
    ParentFolderPath string
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    ProjectId string
    Project ID.
    AccessScope string
    Permission range: SHARED, PRIVATE.
    WedataSqlFolderId string
    ID of the resource.
    folderName String
    Folder name.
    parentFolderPath String
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    projectId String
    Project ID.
    accessScope String
    Permission range: SHARED, PRIVATE.
    wedataSqlFolderId String
    ID of the resource.
    folderName string
    Folder name.
    parentFolderPath string
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    projectId string
    Project ID.
    accessScope string
    Permission range: SHARED, PRIVATE.
    wedataSqlFolderId string
    ID of the resource.
    folder_name str
    Folder name.
    parent_folder_path str
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    project_id str
    Project ID.
    access_scope str
    Permission range: SHARED, PRIVATE.
    wedata_sql_folder_id str
    ID of the resource.
    folderName String
    Folder name.
    parentFolderPath String
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    projectId String
    Project ID.
    accessScope String
    Permission range: SHARED, PRIVATE.
    wedataSqlFolderId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WedataSqlFolder resource produces the following output properties:

    FolderId string
    Folder ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    Node path.
    FolderId string
    Folder ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    Node path.
    folderId String
    Folder ID.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    Node path.
    folderId string
    Folder ID.
    id string
    The provider-assigned unique ID for this managed resource.
    path string
    Node path.
    folder_id str
    Folder ID.
    id str
    The provider-assigned unique ID for this managed resource.
    path str
    Node path.
    folderId String
    Folder ID.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    Node path.

    Look up Existing WedataSqlFolder Resource

    Get an existing WedataSqlFolder 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?: WedataSqlFolderState, opts?: CustomResourceOptions): WedataSqlFolder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_scope: Optional[str] = None,
            folder_id: Optional[str] = None,
            folder_name: Optional[str] = None,
            parent_folder_path: Optional[str] = None,
            path: Optional[str] = None,
            project_id: Optional[str] = None,
            wedata_sql_folder_id: Optional[str] = None) -> WedataSqlFolder
    func GetWedataSqlFolder(ctx *Context, name string, id IDInput, state *WedataSqlFolderState, opts ...ResourceOption) (*WedataSqlFolder, error)
    public static WedataSqlFolder Get(string name, Input<string> id, WedataSqlFolderState? state, CustomResourceOptions? opts = null)
    public static WedataSqlFolder get(String name, Output<String> id, WedataSqlFolderState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:WedataSqlFolder    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:
    AccessScope string
    Permission range: SHARED, PRIVATE.
    FolderId string
    Folder ID.
    FolderName string
    Folder name.
    ParentFolderPath string
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    Path string
    Node path.
    ProjectId string
    Project ID.
    WedataSqlFolderId string
    ID of the resource.
    AccessScope string
    Permission range: SHARED, PRIVATE.
    FolderId string
    Folder ID.
    FolderName string
    Folder name.
    ParentFolderPath string
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    Path string
    Node path.
    ProjectId string
    Project ID.
    WedataSqlFolderId string
    ID of the resource.
    accessScope String
    Permission range: SHARED, PRIVATE.
    folderId String
    Folder ID.
    folderName String
    Folder name.
    parentFolderPath String
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    path String
    Node path.
    projectId String
    Project ID.
    wedataSqlFolderId String
    ID of the resource.
    accessScope string
    Permission range: SHARED, PRIVATE.
    folderId string
    Folder ID.
    folderName string
    Folder name.
    parentFolderPath string
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    path string
    Node path.
    projectId string
    Project ID.
    wedataSqlFolderId string
    ID of the resource.
    access_scope str
    Permission range: SHARED, PRIVATE.
    folder_id str
    Folder ID.
    folder_name str
    Folder name.
    parent_folder_path str
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    path str
    Node path.
    project_id str
    Project ID.
    wedata_sql_folder_id str
    ID of the resource.
    accessScope String
    Permission range: SHARED, PRIVATE.
    folderId String
    Folder ID.
    folderName String
    Folder name.
    parentFolderPath String
    The parent folder path is /aaa/bbb/ccc. The path header must have a slash. To query the root directory, pass /.
    path String
    Node path.
    projectId String
    Project ID.
    wedataSqlFolderId String
    ID of the resource.

    Import

    WeData sql folder can be imported using the projectId#folderId, e.g.

    $ pulumi import tencentcloud:index/wedataSqlFolder:WedataSqlFolder example 2917455276892352512#1c9db971-58c6-43b4-93a0-be526123a1d8
    

    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 tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate