1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. WedataRuleTemplate
tencentcloud 1.81.184 published on Tuesday, Apr 22, 2025 by tencentcloudstack

tencentcloud.WedataRuleTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.184 published on Tuesday, Apr 22, 2025 by tencentcloudstack

    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:

    ProjectId string
    Project ID.
    Description string
    Description of Template.
    MultiSourceFlag bool
    Whether to associate other library tables.
    Name string
    Template name.
    QualityDim double
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    SourceEngineTypes List<double>
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    SourceObjectType double
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    SqlExpression string
    SQL Expression.
    Type double
    Template type. 1 means System template, 2 means Custom template.
    WedataRuleTemplateId string
    ID of the resource.
    WhereFlag bool
    If add where.
    ProjectId string
    Project ID.
    Description string
    Description of Template.
    MultiSourceFlag bool
    Whether to associate other library tables.
    Name string
    Template name.
    QualityDim float64
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    SourceEngineTypes []float64
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    SourceObjectType float64
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    SqlExpression string
    SQL Expression.
    Type float64
    Template type. 1 means System template, 2 means Custom template.
    WedataRuleTemplateId string
    ID of the resource.
    WhereFlag bool
    If add where.
    projectId String
    Project ID.
    description String
    Description of Template.
    multiSourceFlag Boolean
    Whether to associate other library tables.
    name String
    Template name.
    qualityDim Double
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    sourceEngineTypes List<Double>
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    sourceObjectType Double
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    sqlExpression String
    SQL Expression.
    type Double
    Template type. 1 means System template, 2 means Custom template.
    wedataRuleTemplateId String
    ID of the resource.
    whereFlag Boolean
    If add where.
    projectId string
    Project ID.
    description string
    Description of Template.
    multiSourceFlag boolean
    Whether to associate other library tables.
    name string
    Template name.
    qualityDim number
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    sourceEngineTypes number[]
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    sourceObjectType number
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    sqlExpression string
    SQL Expression.
    type number
    Template type. 1 means System template, 2 means Custom template.
    wedataRuleTemplateId string
    ID of the resource.
    whereFlag boolean
    If add where.
    project_id str
    Project ID.
    description str
    Description of Template.
    multi_source_flag bool
    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_types Sequence[float]
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    source_object_type float
    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_template_id str
    ID of the resource.
    where_flag bool
    If add where.
    projectId String
    Project ID.
    description String
    Description of Template.
    multiSourceFlag Boolean
    Whether to associate other library tables.
    name String
    Template name.
    qualityDim Number
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    sourceEngineTypes List<Number>
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    sourceObjectType Number
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    sqlExpression String
    SQL Expression.
    type Number
    Template type. 1 means System template, 2 means Custom template.
    wedataRuleTemplateId String
    ID of the resource.
    whereFlag 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.
    The following state arguments are supported:
    Description string
    Description of Template.
    MultiSourceFlag bool
    Whether to associate other library tables.
    Name string
    Template name.
    ProjectId string
    Project ID.
    QualityDim double
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    SourceEngineTypes List<double>
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    SourceObjectType double
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    SqlExpression string
    SQL Expression.
    Type double
    Template type. 1 means System template, 2 means Custom template.
    WedataRuleTemplateId string
    ID of the resource.
    WhereFlag bool
    If add where.
    Description string
    Description of Template.
    MultiSourceFlag bool
    Whether to associate other library tables.
    Name string
    Template name.
    ProjectId string
    Project ID.
    QualityDim float64
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    SourceEngineTypes []float64
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    SourceObjectType float64
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    SqlExpression string
    SQL Expression.
    Type float64
    Template type. 1 means System template, 2 means Custom template.
    WedataRuleTemplateId string
    ID of the resource.
    WhereFlag bool
    If add where.
    description String
    Description of Template.
    multiSourceFlag Boolean
    Whether to associate other library tables.
    name String
    Template name.
    projectId String
    Project ID.
    qualityDim Double
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    sourceEngineTypes List<Double>
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    sourceObjectType Double
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    sqlExpression String
    SQL Expression.
    type Double
    Template type. 1 means System template, 2 means Custom template.
    wedataRuleTemplateId String
    ID of the resource.
    whereFlag Boolean
    If add where.
    description string
    Description of Template.
    multiSourceFlag boolean
    Whether to associate other library tables.
    name string
    Template name.
    projectId string
    Project ID.
    qualityDim number
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    sourceEngineTypes number[]
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    sourceObjectType number
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    sqlExpression string
    SQL Expression.
    type number
    Template type. 1 means System template, 2 means Custom template.
    wedataRuleTemplateId string
    ID of the resource.
    whereFlag boolean
    If add where.
    description str
    Description of Template.
    multi_source_flag bool
    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_types Sequence[float]
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    source_object_type float
    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_template_id str
    ID of the resource.
    where_flag bool
    If add where.
    description String
    Description of Template.
    multiSourceFlag Boolean
    Whether to associate other library tables.
    name String
    Template name.
    projectId String
    Project ID.
    qualityDim Number
    Quality inspection dimensions. 1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Effectiveness.
    sourceEngineTypes List<Number>
    The engine type corresponding to the source. 2: hive,4: spark, 16: dlc.
    sourceObjectType Number
    Source data object type. 1: Constant, 2: Offline table level, 3: Offline field level.
    sqlExpression String
    SQL Expression.
    type Number
    Template type. 1 means System template, 2 means Custom template.
    wedataRuleTemplateId String
    ID of the resource.
    whereFlag 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.
    tencentcloud logo
    tencentcloud 1.81.184 published on Tuesday, Apr 22, 2025 by tencentcloudstack