tencentcloud.WedataRuleTemplate
Explore with Pulumi AI
Provides a resource to create a wedata rule_template
Create WedataRuleTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataRuleTemplate(name: string, args: WedataRuleTemplateArgs, opts?: CustomResourceOptions);
@overload
def WedataRuleTemplate(resource_name: str,
args: WedataRuleTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataRuleTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
description: Optional[str] = None,
multi_source_flag: Optional[bool] = None,
name: Optional[str] = None,
quality_dim: Optional[float] = None,
source_engine_types: Optional[Sequence[float]] = None,
source_object_type: Optional[float] = None,
sql_expression: Optional[str] = None,
type: Optional[float] = None,
wedata_rule_template_id: Optional[str] = None,
where_flag: Optional[bool] = None)
func NewWedataRuleTemplate(ctx *Context, name string, args WedataRuleTemplateArgs, opts ...ResourceOption) (*WedataRuleTemplate, error)
public WedataRuleTemplate(string name, WedataRuleTemplateArgs args, CustomResourceOptions? opts = null)
public WedataRuleTemplate(String name, WedataRuleTemplateArgs args)
public WedataRuleTemplate(String name, WedataRuleTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:WedataRuleTemplate
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 WedataRuleTemplateArgs
- 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 WedataRuleTemplateArgs
- 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 WedataRuleTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataRuleTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataRuleTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataRuleTemplate 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 WedataRuleTemplate resource accepts the following input properties:
- Project
Id string - Project ID.
- Description string
- Description of Template.
- Multi
Source boolFlag - Whether to associate other library tables.
- Name string
- Template name.
- Quality
Dim double - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - Source
Engine List<double>Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - Source
Object doubleType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - Sql
Expression string - SQL Expression.
- Type double
- Template type.
1
means System template,2
means Custom template. - Wedata
Rule stringTemplate Id - ID of the resource.
- Where
Flag bool - If add where.
- Project
Id string - Project ID.
- Description string
- Description of Template.
- Multi
Source boolFlag - Whether to associate other library tables.
- Name string
- Template name.
- Quality
Dim float64 - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - Source
Engine []float64Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - Source
Object float64Type - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - Sql
Expression string - SQL Expression.
- Type float64
- Template type.
1
means System template,2
means Custom template. - Wedata
Rule stringTemplate Id - ID of the resource.
- Where
Flag bool - If add where.
- project
Id String - Project ID.
- description String
- Description of Template.
- multi
Source BooleanFlag - Whether to associate other library tables.
- name String
- Template name.
- quality
Dim Double - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source
Engine List<Double>Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source
Object DoubleType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql
Expression String - SQL Expression.
- type Double
- Template type.
1
means System template,2
means Custom template. - wedata
Rule StringTemplate Id - ID of the resource.
- where
Flag Boolean - If add where.
- project
Id string - Project ID.
- description string
- Description of Template.
- multi
Source booleanFlag - Whether to associate other library tables.
- name string
- Template name.
- quality
Dim number - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source
Engine number[]Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source
Object numberType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql
Expression string - SQL Expression.
- type number
- Template type.
1
means System template,2
means Custom template. - wedata
Rule stringTemplate Id - ID of the resource.
- where
Flag boolean - If add where.
- project_
id str - Project ID.
- description str
- Description of Template.
- multi_
source_ boolflag - Whether to associate other library tables.
- name str
- Template name.
- quality_
dim float - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source_
engine_ Sequence[float]types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source_
object_ floattype - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql_
expression str - SQL Expression.
- type float
- Template type.
1
means System template,2
means Custom template. - wedata_
rule_ strtemplate_ id - ID of the resource.
- where_
flag bool - If add where.
- project
Id String - Project ID.
- description String
- Description of Template.
- multi
Source BooleanFlag - Whether to associate other library tables.
- name String
- Template name.
- quality
Dim Number - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source
Engine List<Number>Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source
Object NumberType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql
Expression String - SQL Expression.
- type Number
- Template type.
1
means System template,2
means Custom template. - wedata
Rule StringTemplate Id - ID of the resource.
- where
Flag Boolean - If add where.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataRuleTemplate 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 WedataRuleTemplate Resource
Get an existing WedataRuleTemplate 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?: WedataRuleTemplateState, opts?: CustomResourceOptions): WedataRuleTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
multi_source_flag: Optional[bool] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
quality_dim: Optional[float] = None,
source_engine_types: Optional[Sequence[float]] = None,
source_object_type: Optional[float] = None,
sql_expression: Optional[str] = None,
type: Optional[float] = None,
wedata_rule_template_id: Optional[str] = None,
where_flag: Optional[bool] = None) -> WedataRuleTemplate
func GetWedataRuleTemplate(ctx *Context, name string, id IDInput, state *WedataRuleTemplateState, opts ...ResourceOption) (*WedataRuleTemplate, error)
public static WedataRuleTemplate Get(string name, Input<string> id, WedataRuleTemplateState? state, CustomResourceOptions? opts = null)
public static WedataRuleTemplate get(String name, Output<String> id, WedataRuleTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:WedataRuleTemplate 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.
- Description string
- Description of Template.
- Multi
Source boolFlag - Whether to associate other library tables.
- Name string
- Template name.
- Project
Id string - Project ID.
- Quality
Dim double - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - Source
Engine List<double>Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - Source
Object doubleType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - Sql
Expression string - SQL Expression.
- Type double
- Template type.
1
means System template,2
means Custom template. - Wedata
Rule stringTemplate Id - ID of the resource.
- Where
Flag bool - If add where.
- Description string
- Description of Template.
- Multi
Source boolFlag - Whether to associate other library tables.
- Name string
- Template name.
- Project
Id string - Project ID.
- Quality
Dim float64 - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - Source
Engine []float64Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - Source
Object float64Type - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - Sql
Expression string - SQL Expression.
- Type float64
- Template type.
1
means System template,2
means Custom template. - Wedata
Rule stringTemplate Id - ID of the resource.
- Where
Flag bool - If add where.
- description String
- Description of Template.
- multi
Source BooleanFlag - Whether to associate other library tables.
- name String
- Template name.
- project
Id String - Project ID.
- quality
Dim Double - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source
Engine List<Double>Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source
Object DoubleType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql
Expression String - SQL Expression.
- type Double
- Template type.
1
means System template,2
means Custom template. - wedata
Rule StringTemplate Id - ID of the resource.
- where
Flag Boolean - If add where.
- description string
- Description of Template.
- multi
Source booleanFlag - Whether to associate other library tables.
- name string
- Template name.
- project
Id string - Project ID.
- quality
Dim number - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source
Engine number[]Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source
Object numberType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql
Expression string - SQL Expression.
- type number
- Template type.
1
means System template,2
means Custom template. - wedata
Rule stringTemplate Id - ID of the resource.
- where
Flag boolean - If add where.
- description str
- Description of Template.
- multi_
source_ boolflag - Whether to associate other library tables.
- name str
- Template name.
- project_
id str - Project ID.
- quality_
dim float - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source_
engine_ Sequence[float]types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source_
object_ floattype - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql_
expression str - SQL Expression.
- type float
- Template type.
1
means System template,2
means Custom template. - wedata_
rule_ strtemplate_ id - ID of the resource.
- where_
flag bool - If add where.
- description String
- Description of Template.
- multi
Source BooleanFlag - Whether to associate other library tables.
- name String
- Template name.
- project
Id String - Project ID.
- quality
Dim Number - Quality inspection dimensions.
1
: Accuracy,2
: Uniqueness,3
: Completeness,4
: Consistency,5
: Timeliness,6
: Effectiveness. - source
Engine List<Number>Types - The engine type corresponding to the source.
2
: hive,4
: spark,16
: dlc. - source
Object NumberType - Source data object type.
1
: Constant,2
: Offline table level,3
: Offline field level. - sql
Expression String - SQL Expression.
- type Number
- Template type.
1
means System template,2
means Custom template. - wedata
Rule StringTemplate Id - ID of the resource.
- where
Flag Boolean - If add where.
Import
wedata rule_template can be imported using the id, e.g.
$ pulumi import tencentcloud:index/wedataRuleTemplate:WedataRuleTemplate rule_template rule_template_id
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.