tencentcloud.WedataResourceFolder
Provides a resource to create a wedata wedata_resource_folder
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const wedataResourceFolder = new tencentcloud.WedataResourceFolder("wedata_resource_folder", {
projectId: "2905622749543821312",
parentFolderPath: "/",
folderName: "folder",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
wedata_resource_folder = tencentcloud.WedataResourceFolder("wedata_resource_folder",
project_id="2905622749543821312",
parent_folder_path="/",
folder_name="folder")
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.NewWedataResourceFolder(ctx, "wedata_resource_folder", &tencentcloud.WedataResourceFolderArgs{
ProjectId: pulumi.String("2905622749543821312"),
ParentFolderPath: pulumi.String("/"),
FolderName: pulumi.String("folder"),
})
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 wedataResourceFolder = new Tencentcloud.WedataResourceFolder("wedata_resource_folder", new()
{
ProjectId = "2905622749543821312",
ParentFolderPath = "/",
FolderName = "folder",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WedataResourceFolder;
import com.pulumi.tencentcloud.WedataResourceFolderArgs;
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 wedataResourceFolder = new WedataResourceFolder("wedataResourceFolder", WedataResourceFolderArgs.builder()
.projectId("2905622749543821312")
.parentFolderPath("/")
.folderName("folder")
.build());
}
}
resources:
wedataResourceFolder:
type: tencentcloud:WedataResourceFolder
name: wedata_resource_folder
properties:
projectId: 2.9056227495438213e+18
parentFolderPath: /
folderName: folder
Create WedataResourceFolder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataResourceFolder(name: string, args: WedataResourceFolderArgs, opts?: CustomResourceOptions);@overload
def WedataResourceFolder(resource_name: str,
args: WedataResourceFolderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataResourceFolder(resource_name: str,
opts: Optional[ResourceOptions] = None,
folder_name: Optional[str] = None,
parent_folder_path: Optional[str] = None,
project_id: Optional[str] = None,
wedata_resource_folder_id: Optional[str] = None)func NewWedataResourceFolder(ctx *Context, name string, args WedataResourceFolderArgs, opts ...ResourceOption) (*WedataResourceFolder, error)public WedataResourceFolder(string name, WedataResourceFolderArgs args, CustomResourceOptions? opts = null)
public WedataResourceFolder(String name, WedataResourceFolderArgs args)
public WedataResourceFolder(String name, WedataResourceFolderArgs args, CustomResourceOptions options)
type: tencentcloud:WedataResourceFolder
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 WedataResourceFolderArgs
- 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 WedataResourceFolderArgs
- 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 WedataResourceFolderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataResourceFolderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataResourceFolderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataResourceFolder 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 WedataResourceFolder resource accepts the following input properties:
- Folder
Name string - Folder name.
- Parent
Folder stringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- Project
Id string - Project id.
- Wedata
Resource stringFolder Id - ID of the resource.
- Folder
Name string - Folder name.
- Parent
Folder stringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- Project
Id string - Project id.
- Wedata
Resource stringFolder Id - ID of the resource.
- folder
Name String - Folder name.
- parent
Folder StringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project
Id String - Project id.
- wedata
Resource StringFolder Id - ID of the resource.
- folder
Name string - Folder name.
- parent
Folder stringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project
Id string - Project id.
- wedata
Resource stringFolder Id - ID of the resource.
- folder_
name str - Folder name.
- parent_
folder_ strpath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project_
id str - Project id.
- wedata_
resource_ strfolder_ id - ID of the resource.
- folder
Name String - Folder name.
- parent
Folder StringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project
Id String - Project id.
- wedata
Resource StringFolder Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataResourceFolder 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 WedataResourceFolder Resource
Get an existing WedataResourceFolder 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?: WedataResourceFolderState, opts?: CustomResourceOptions): WedataResourceFolder@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
folder_name: Optional[str] = None,
parent_folder_path: Optional[str] = None,
project_id: Optional[str] = None,
wedata_resource_folder_id: Optional[str] = None) -> WedataResourceFolderfunc GetWedataResourceFolder(ctx *Context, name string, id IDInput, state *WedataResourceFolderState, opts ...ResourceOption) (*WedataResourceFolder, error)public static WedataResourceFolder Get(string name, Input<string> id, WedataResourceFolderState? state, CustomResourceOptions? opts = null)public static WedataResourceFolder get(String name, Output<String> id, WedataResourceFolderState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataResourceFolder 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.
- Folder
Name string - Folder name.
- Parent
Folder stringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- Project
Id string - Project id.
- Wedata
Resource stringFolder Id - ID of the resource.
- Folder
Name string - Folder name.
- Parent
Folder stringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- Project
Id string - Project id.
- Wedata
Resource stringFolder Id - ID of the resource.
- folder
Name String - Folder name.
- parent
Folder StringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project
Id String - Project id.
- wedata
Resource StringFolder Id - ID of the resource.
- folder
Name string - Folder name.
- parent
Folder stringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project
Id string - Project id.
- wedata
Resource stringFolder Id - ID of the resource.
- folder_
name str - Folder name.
- parent_
folder_ strpath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project_
id str - Project id.
- wedata_
resource_ strfolder_ id - ID of the resource.
- folder
Name String - Folder name.
- parent
Folder StringPath - Absolute path of parent folder, value example/wedata/test, root directory, please use/.
- project
Id String - Project id.
- wedata
Resource StringFolder Id - ID of the resource.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
