1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. DlcMetaDatabase
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack

    Provides a resource to create a DLC meta database

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DlcMetaDatabase("example", {
        datasourceConnectionName: "DataLakeCatalog",
        metaDatabaseInfo: {
            databaseName: "tf_example_db",
            comment: "tf example meta database",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DlcMetaDatabase("example",
        datasource_connection_name="DataLakeCatalog",
        meta_database_info={
            "database_name": "tf_example_db",
            "comment": "tf example meta database",
        })
    
    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.NewDlcMetaDatabase(ctx, "example", &tencentcloud.DlcMetaDatabaseArgs{
    			DatasourceConnectionName: pulumi.String("DataLakeCatalog"),
    			MetaDatabaseInfo: &tencentcloud.DlcMetaDatabaseMetaDatabaseInfoArgs{
    				DatabaseName: pulumi.String("tf_example_db"),
    				Comment:      pulumi.String("tf example meta database"),
    			},
    		})
    		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.DlcMetaDatabase("example", new()
        {
            DatasourceConnectionName = "DataLakeCatalog",
            MetaDatabaseInfo = new Tencentcloud.Inputs.DlcMetaDatabaseMetaDatabaseInfoArgs
            {
                DatabaseName = "tf_example_db",
                Comment = "tf example meta database",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DlcMetaDatabase;
    import com.pulumi.tencentcloud.DlcMetaDatabaseArgs;
    import com.pulumi.tencentcloud.inputs.DlcMetaDatabaseMetaDatabaseInfoArgs;
    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 DlcMetaDatabase("example", DlcMetaDatabaseArgs.builder()
                .datasourceConnectionName("DataLakeCatalog")
                .metaDatabaseInfo(DlcMetaDatabaseMetaDatabaseInfoArgs.builder()
                    .databaseName("tf_example_db")
                    .comment("tf example meta database")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DlcMetaDatabase
        properties:
          datasourceConnectionName: DataLakeCatalog
          metaDatabaseInfo:
            databaseName: tf_example_db
            comment: tf example meta database
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create DlcMetaDatabase Resource

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

    Constructor syntax

    new DlcMetaDatabase(name: string, args: DlcMetaDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def DlcMetaDatabase(resource_name: str,
                        args: DlcMetaDatabaseArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DlcMetaDatabase(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        datasource_connection_name: Optional[str] = None,
                        meta_database_info: Optional[DlcMetaDatabaseMetaDatabaseInfoArgs] = None,
                        dlc_meta_database_id: Optional[str] = None,
                        govern_policy: Optional[DlcMetaDatabaseGovernPolicyArgs] = None,
                        smart_policy: Optional[DlcMetaDatabaseSmartPolicyArgs] = None,
                        timeouts: Optional[DlcMetaDatabaseTimeoutsArgs] = None)
    func NewDlcMetaDatabase(ctx *Context, name string, args DlcMetaDatabaseArgs, opts ...ResourceOption) (*DlcMetaDatabase, error)
    public DlcMetaDatabase(string name, DlcMetaDatabaseArgs args, CustomResourceOptions? opts = null)
    public DlcMetaDatabase(String name, DlcMetaDatabaseArgs args)
    public DlcMetaDatabase(String name, DlcMetaDatabaseArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DlcMetaDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_dlc_meta_database" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DlcMetaDatabaseArgs
    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 DlcMetaDatabaseArgs
    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 DlcMetaDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DlcMetaDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DlcMetaDatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    DatasourceConnectionName string
    Datasource connection name, default DataLakeCatalog.
    MetaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfo
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    DlcMetaDatabaseId string
    ID of the resource.
    GovernPolicy DlcMetaDatabaseGovernPolicy
    Data governance config.
    SmartPolicy DlcMetaDatabaseSmartPolicy
    Smart data governance config.
    Timeouts DlcMetaDatabaseTimeouts
    DatasourceConnectionName string
    Datasource connection name, default DataLakeCatalog.
    MetaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfoArgs
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    DlcMetaDatabaseId string
    ID of the resource.
    GovernPolicy DlcMetaDatabaseGovernPolicyArgs
    Data governance config.
    SmartPolicy DlcMetaDatabaseSmartPolicyArgs
    Smart data governance config.
    Timeouts DlcMetaDatabaseTimeoutsArgs
    datasource_connection_name string
    Datasource connection name, default DataLakeCatalog.
    meta_database_info object
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    dlc_meta_database_id string
    ID of the resource.
    govern_policy object
    Data governance config.
    smart_policy object
    Smart data governance config.
    timeouts object
    datasourceConnectionName String
    Datasource connection name, default DataLakeCatalog.
    metaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfo
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    dlcMetaDatabaseId String
    ID of the resource.
    governPolicy DlcMetaDatabaseGovernPolicy
    Data governance config.
    smartPolicy DlcMetaDatabaseSmartPolicy
    Smart data governance config.
    timeouts DlcMetaDatabaseTimeouts
    datasourceConnectionName string
    Datasource connection name, default DataLakeCatalog.
    metaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfo
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    dlcMetaDatabaseId string
    ID of the resource.
    governPolicy DlcMetaDatabaseGovernPolicy
    Data governance config.
    smartPolicy DlcMetaDatabaseSmartPolicy
    Smart data governance config.
    timeouts DlcMetaDatabaseTimeouts
    datasource_connection_name str
    Datasource connection name, default DataLakeCatalog.
    meta_database_info DlcMetaDatabaseMetaDatabaseInfoArgs
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    dlc_meta_database_id str
    ID of the resource.
    govern_policy DlcMetaDatabaseGovernPolicyArgs
    Data governance config.
    smart_policy DlcMetaDatabaseSmartPolicyArgs
    Smart data governance config.
    timeouts DlcMetaDatabaseTimeoutsArgs
    datasourceConnectionName String
    Datasource connection name, default DataLakeCatalog.
    metaDatabaseInfo Property Map
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    dlcMetaDatabaseId String
    ID of the resource.
    governPolicy Property Map
    Data governance config.
    smartPolicy Property Map
    Smart data governance config.
    timeouts Property Map

    Outputs

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

    CatalogName string
    Catalog name.
    CatalogType string
    Catalog type.
    CreateTime string
    Database create time, in seconds.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsInformationSchema bool
    Whether it is InformationSchema.
    Location string
    COS storage path.
    ModifiedTime string
    Database modified time, in seconds.
    Properties List<DlcMetaDatabaseProperty>
    Properties of the database.
    UserAlias string
    User alias who created the database.
    UserSubUin string
    User sub UIN who created the database.
    CatalogName string
    Catalog name.
    CatalogType string
    Catalog type.
    CreateTime string
    Database create time, in seconds.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsInformationSchema bool
    Whether it is InformationSchema.
    Location string
    COS storage path.
    ModifiedTime string
    Database modified time, in seconds.
    Properties []DlcMetaDatabaseProperty
    Properties of the database.
    UserAlias string
    User alias who created the database.
    UserSubUin string
    User sub UIN who created the database.
    catalog_name string
    Catalog name.
    catalog_type string
    Catalog type.
    create_time string
    Database create time, in seconds.
    id string
    The provider-assigned unique ID for this managed resource.
    is_information_schema bool
    Whether it is InformationSchema.
    location string
    COS storage path.
    modified_time string
    Database modified time, in seconds.
    properties list(object)
    Properties of the database.
    user_alias string
    User alias who created the database.
    user_sub_uin string
    User sub UIN who created the database.
    catalogName String
    Catalog name.
    catalogType String
    Catalog type.
    createTime String
    Database create time, in seconds.
    id String
    The provider-assigned unique ID for this managed resource.
    isInformationSchema Boolean
    Whether it is InformationSchema.
    location String
    COS storage path.
    modifiedTime String
    Database modified time, in seconds.
    properties List<DlcMetaDatabaseProperty>
    Properties of the database.
    userAlias String
    User alias who created the database.
    userSubUin String
    User sub UIN who created the database.
    catalogName string
    Catalog name.
    catalogType string
    Catalog type.
    createTime string
    Database create time, in seconds.
    id string
    The provider-assigned unique ID for this managed resource.
    isInformationSchema boolean
    Whether it is InformationSchema.
    location string
    COS storage path.
    modifiedTime string
    Database modified time, in seconds.
    properties DlcMetaDatabaseProperty[]
    Properties of the database.
    userAlias string
    User alias who created the database.
    userSubUin string
    User sub UIN who created the database.
    catalog_name str
    Catalog name.
    catalog_type str
    Catalog type.
    create_time str
    Database create time, in seconds.
    id str
    The provider-assigned unique ID for this managed resource.
    is_information_schema bool
    Whether it is InformationSchema.
    location str
    COS storage path.
    modified_time str
    Database modified time, in seconds.
    properties Sequence[DlcMetaDatabaseProperty]
    Properties of the database.
    user_alias str
    User alias who created the database.
    user_sub_uin str
    User sub UIN who created the database.
    catalogName String
    Catalog name.
    catalogType String
    Catalog type.
    createTime String
    Database create time, in seconds.
    id String
    The provider-assigned unique ID for this managed resource.
    isInformationSchema Boolean
    Whether it is InformationSchema.
    location String
    COS storage path.
    modifiedTime String
    Database modified time, in seconds.
    properties List<Property Map>
    Properties of the database.
    userAlias String
    User alias who created the database.
    userSubUin String
    User sub UIN who created the database.

    Look up Existing DlcMetaDatabase Resource

    Get an existing DlcMetaDatabase 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?: DlcMetaDatabaseState, opts?: CustomResourceOptions): DlcMetaDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catalog_name: Optional[str] = None,
            catalog_type: Optional[str] = None,
            create_time: Optional[str] = None,
            datasource_connection_name: Optional[str] = None,
            dlc_meta_database_id: Optional[str] = None,
            govern_policy: Optional[DlcMetaDatabaseGovernPolicyArgs] = None,
            is_information_schema: Optional[bool] = None,
            location: Optional[str] = None,
            meta_database_info: Optional[DlcMetaDatabaseMetaDatabaseInfoArgs] = None,
            modified_time: Optional[str] = None,
            properties: Optional[Sequence[DlcMetaDatabasePropertyArgs]] = None,
            smart_policy: Optional[DlcMetaDatabaseSmartPolicyArgs] = None,
            timeouts: Optional[DlcMetaDatabaseTimeoutsArgs] = None,
            user_alias: Optional[str] = None,
            user_sub_uin: Optional[str] = None) -> DlcMetaDatabase
    func GetDlcMetaDatabase(ctx *Context, name string, id IDInput, state *DlcMetaDatabaseState, opts ...ResourceOption) (*DlcMetaDatabase, error)
    public static DlcMetaDatabase Get(string name, Input<string> id, DlcMetaDatabaseState? state, CustomResourceOptions? opts = null)
    public static DlcMetaDatabase get(String name, Output<String> id, DlcMetaDatabaseState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DlcMetaDatabase    get:      id: ${id}
    import {
      to = tencentcloud_dlc_meta_database.example
      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:
    CatalogName string
    Catalog name.
    CatalogType string
    Catalog type.
    CreateTime string
    Database create time, in seconds.
    DatasourceConnectionName string
    Datasource connection name, default DataLakeCatalog.
    DlcMetaDatabaseId string
    ID of the resource.
    GovernPolicy DlcMetaDatabaseGovernPolicy
    Data governance config.
    IsInformationSchema bool
    Whether it is InformationSchema.
    Location string
    COS storage path.
    MetaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfo
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    ModifiedTime string
    Database modified time, in seconds.
    Properties List<DlcMetaDatabaseProperty>
    Properties of the database.
    SmartPolicy DlcMetaDatabaseSmartPolicy
    Smart data governance config.
    Timeouts DlcMetaDatabaseTimeouts
    UserAlias string
    User alias who created the database.
    UserSubUin string
    User sub UIN who created the database.
    CatalogName string
    Catalog name.
    CatalogType string
    Catalog type.
    CreateTime string
    Database create time, in seconds.
    DatasourceConnectionName string
    Datasource connection name, default DataLakeCatalog.
    DlcMetaDatabaseId string
    ID of the resource.
    GovernPolicy DlcMetaDatabaseGovernPolicyArgs
    Data governance config.
    IsInformationSchema bool
    Whether it is InformationSchema.
    Location string
    COS storage path.
    MetaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfoArgs
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    ModifiedTime string
    Database modified time, in seconds.
    Properties []DlcMetaDatabasePropertyArgs
    Properties of the database.
    SmartPolicy DlcMetaDatabaseSmartPolicyArgs
    Smart data governance config.
    Timeouts DlcMetaDatabaseTimeoutsArgs
    UserAlias string
    User alias who created the database.
    UserSubUin string
    User sub UIN who created the database.
    catalog_name string
    Catalog name.
    catalog_type string
    Catalog type.
    create_time string
    Database create time, in seconds.
    datasource_connection_name string
    Datasource connection name, default DataLakeCatalog.
    dlc_meta_database_id string
    ID of the resource.
    govern_policy object
    Data governance config.
    is_information_schema bool
    Whether it is InformationSchema.
    location string
    COS storage path.
    meta_database_info object
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    modified_time string
    Database modified time, in seconds.
    properties list(object)
    Properties of the database.
    smart_policy object
    Smart data governance config.
    timeouts object
    user_alias string
    User alias who created the database.
    user_sub_uin string
    User sub UIN who created the database.
    catalogName String
    Catalog name.
    catalogType String
    Catalog type.
    createTime String
    Database create time, in seconds.
    datasourceConnectionName String
    Datasource connection name, default DataLakeCatalog.
    dlcMetaDatabaseId String
    ID of the resource.
    governPolicy DlcMetaDatabaseGovernPolicy
    Data governance config.
    isInformationSchema Boolean
    Whether it is InformationSchema.
    location String
    COS storage path.
    metaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfo
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    modifiedTime String
    Database modified time, in seconds.
    properties List<DlcMetaDatabaseProperty>
    Properties of the database.
    smartPolicy DlcMetaDatabaseSmartPolicy
    Smart data governance config.
    timeouts DlcMetaDatabaseTimeouts
    userAlias String
    User alias who created the database.
    userSubUin String
    User sub UIN who created the database.
    catalogName string
    Catalog name.
    catalogType string
    Catalog type.
    createTime string
    Database create time, in seconds.
    datasourceConnectionName string
    Datasource connection name, default DataLakeCatalog.
    dlcMetaDatabaseId string
    ID of the resource.
    governPolicy DlcMetaDatabaseGovernPolicy
    Data governance config.
    isInformationSchema boolean
    Whether it is InformationSchema.
    location string
    COS storage path.
    metaDatabaseInfo DlcMetaDatabaseMetaDatabaseInfo
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    modifiedTime string
    Database modified time, in seconds.
    properties DlcMetaDatabaseProperty[]
    Properties of the database.
    smartPolicy DlcMetaDatabaseSmartPolicy
    Smart data governance config.
    timeouts DlcMetaDatabaseTimeouts
    userAlias string
    User alias who created the database.
    userSubUin string
    User sub UIN who created the database.
    catalog_name str
    Catalog name.
    catalog_type str
    Catalog type.
    create_time str
    Database create time, in seconds.
    datasource_connection_name str
    Datasource connection name, default DataLakeCatalog.
    dlc_meta_database_id str
    ID of the resource.
    govern_policy DlcMetaDatabaseGovernPolicyArgs
    Data governance config.
    is_information_schema bool
    Whether it is InformationSchema.
    location str
    COS storage path.
    meta_database_info DlcMetaDatabaseMetaDatabaseInfoArgs
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    modified_time str
    Database modified time, in seconds.
    properties Sequence[DlcMetaDatabasePropertyArgs]
    Properties of the database.
    smart_policy DlcMetaDatabaseSmartPolicyArgs
    Smart data governance config.
    timeouts DlcMetaDatabaseTimeoutsArgs
    user_alias str
    User alias who created the database.
    user_sub_uin str
    User sub UIN who created the database.
    catalogName String
    Catalog name.
    catalogType String
    Catalog type.
    createTime String
    Database create time, in seconds.
    datasourceConnectionName String
    Datasource connection name, default DataLakeCatalog.
    dlcMetaDatabaseId String
    ID of the resource.
    governPolicy Property Map
    Data governance config.
    isInformationSchema Boolean
    Whether it is InformationSchema.
    location String
    COS storage path.
    metaDatabaseInfo Property Map
    Meta database basic information, which corresponds to the MetaDatabaseInfo structure of the CreateMetaDatabase API.
    modifiedTime String
    Database modified time, in seconds.
    properties List<Property Map>
    Properties of the database.
    smartPolicy Property Map
    Smart data governance config.
    timeouts Property Map
    userAlias String
    User alias who created the database.
    userSubUin String
    User sub UIN who created the database.

    Supporting Types

    DlcMetaDatabaseGovernPolicy, DlcMetaDatabaseGovernPolicyArgs

    GovernEngine string
    Govern engine.
    RuleType string
    Govern rule type, Customize or Intelligence.
    GovernEngine string
    Govern engine.
    RuleType string
    Govern rule type, Customize or Intelligence.
    govern_engine string
    Govern engine.
    rule_type string
    Govern rule type, Customize or Intelligence.
    governEngine String
    Govern engine.
    ruleType String
    Govern rule type, Customize or Intelligence.
    governEngine string
    Govern engine.
    ruleType string
    Govern rule type, Customize or Intelligence.
    govern_engine str
    Govern engine.
    rule_type str
    Govern rule type, Customize or Intelligence.
    governEngine String
    Govern engine.
    ruleType String
    Govern rule type, Customize or Intelligence.

    DlcMetaDatabaseMetaDatabaseInfo, DlcMetaDatabaseMetaDatabaseInfoArgs

    DatabaseName string
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    Comment string
    Description of the DLC meta database, length 0~2048.
    DatabaseName string
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    Comment string
    Description of the DLC meta database, length 0~2048.
    database_name string
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    comment string
    Description of the DLC meta database, length 0~2048.
    databaseName String
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    comment String
    Description of the DLC meta database, length 0~2048.
    databaseName string
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    comment string
    Description of the DLC meta database, length 0~2048.
    database_name str
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    comment str
    Description of the DLC meta database, length 0~2048.
    databaseName String
    Name of the DLC meta database, length 0~128, digits, letters and underscores are supported, cannot start with a digit, and is converted to lowercase.
    comment String
    Description of the DLC meta database, length 0~2048.

    DlcMetaDatabaseProperty, DlcMetaDatabasePropertyArgs

    Key string
    Property key.
    Value string
    Property value.
    Key string
    Property key.
    Value string
    Property value.
    key string
    Property key.
    value string
    Property value.
    key String
    Property key.
    value String
    Property value.
    key string
    Property key.
    value string
    Property value.
    key str
    Property key.
    value str
    Property value.
    key String
    Property key.
    value String
    Property value.

    DlcMetaDatabaseSmartPolicy, DlcMetaDatabaseSmartPolicyArgs

    BaseInfo DlcMetaDatabaseSmartPolicyBaseInfo
    Base info of smart policy.
    Policy DlcMetaDatabaseSmartPolicyPolicy
    Policy description of smart policy.
    BaseInfo DlcMetaDatabaseSmartPolicyBaseInfo
    Base info of smart policy.
    Policy DlcMetaDatabaseSmartPolicyPolicy
    Policy description of smart policy.
    base_info object
    Base info of smart policy.
    policy object
    Policy description of smart policy.
    baseInfo DlcMetaDatabaseSmartPolicyBaseInfo
    Base info of smart policy.
    policy DlcMetaDatabaseSmartPolicyPolicy
    Policy description of smart policy.
    baseInfo DlcMetaDatabaseSmartPolicyBaseInfo
    Base info of smart policy.
    policy DlcMetaDatabaseSmartPolicyPolicy
    Policy description of smart policy.
    base_info DlcMetaDatabaseSmartPolicyBaseInfo
    Base info of smart policy.
    policy DlcMetaDatabaseSmartPolicyPolicy
    Policy description of smart policy.
    baseInfo Property Map
    Base info of smart policy.
    policy Property Map
    Policy description of smart policy.

    DlcMetaDatabaseSmartPolicyBaseInfo, DlcMetaDatabaseSmartPolicyBaseInfoArgs

    Uin string
    User UIN.
    AppId string
    User AppID.
    Catalog string
    Catalog name.
    Database string
    Database name.
    PolicyType string
    Policy type.
    Table string
    Table name.
    Uin string
    User UIN.
    AppId string
    User AppID.
    Catalog string
    Catalog name.
    Database string
    Database name.
    PolicyType string
    Policy type.
    Table string
    Table name.
    uin string
    User UIN.
    app_id string
    User AppID.
    catalog string
    Catalog name.
    database string
    Database name.
    policy_type string
    Policy type.
    table string
    Table name.
    uin String
    User UIN.
    appId String
    User AppID.
    catalog String
    Catalog name.
    database String
    Database name.
    policyType String
    Policy type.
    table String
    Table name.
    uin string
    User UIN.
    appId string
    User AppID.
    catalog string
    Catalog name.
    database string
    Database name.
    policyType string
    Policy type.
    table string
    Table name.
    uin str
    User UIN.
    app_id str
    User AppID.
    catalog str
    Catalog name.
    database str
    Database name.
    policy_type str
    Policy type.
    table str
    Table name.
    uin String
    User UIN.
    appId String
    User AppID.
    catalog String
    Catalog name.
    database String
    Database name.
    policyType String
    Policy type.
    table String
    Table name.

    DlcMetaDatabaseSmartPolicyPolicy, DlcMetaDatabaseSmartPolicyPolicyArgs

    change_table object
    Change table policy.
    index object
    Index policy.
    inherit string
    Whether to inherit.
    lifecycle object
    Data lifecycle policy.
    resources list(object)
    Data governance resources.
    table_expiration object
    Table expiration policy.
    written object
    Data rewrite policy.
    changeTable Property Map
    Change table policy.
    index Property Map
    Index policy.
    inherit String
    Whether to inherit.
    lifecycle Property Map
    Data lifecycle policy.
    resources List<Property Map>
    Data governance resources.
    tableExpiration Property Map
    Table expiration policy.
    written Property Map
    Data rewrite policy.

    DlcMetaDatabaseSmartPolicyPolicyChangeTable, DlcMetaDatabaseSmartPolicyPolicyChangeTableArgs

    DataRetentionTime double
    Data retention time of change table, in days.
    DataRetentionTime float64
    Data retention time of change table, in days.
    data_retention_time number
    Data retention time of change table, in days.
    dataRetentionTime Double
    Data retention time of change table, in days.
    dataRetentionTime number
    Data retention time of change table, in days.
    data_retention_time float
    Data retention time of change table, in days.
    dataRetentionTime Number
    Data retention time of change table, in days.

    DlcMetaDatabaseSmartPolicyPolicyIndex, DlcMetaDatabaseSmartPolicyPolicyIndexArgs

    IndexEnable string
    Whether to enable index.
    IndexEnable string
    Whether to enable index.
    index_enable string
    Whether to enable index.
    indexEnable String
    Whether to enable index.
    indexEnable string
    Whether to enable index.
    index_enable str
    Whether to enable index.
    indexEnable String
    Whether to enable index.

    DlcMetaDatabaseSmartPolicyPolicyLifecycle, DlcMetaDatabaseSmartPolicyPolicyLifecycleArgs

    DropTable bool
    Whether to drop table (deprecated, use table_expiration instead).
    Expiration double
    Expiration time.
    ExpiredField string
    Expired field.
    ExpiredFieldFormat string
    Expired field format.
    LifecycleEnable string
    Whether to enable lifecycle.
    DropTable bool
    Whether to drop table (deprecated, use table_expiration instead).
    Expiration float64
    Expiration time.
    ExpiredField string
    Expired field.
    ExpiredFieldFormat string
    Expired field format.
    LifecycleEnable string
    Whether to enable lifecycle.
    drop_table bool
    Whether to drop table (deprecated, use table_expiration instead).
    expiration number
    Expiration time.
    expired_field string
    Expired field.
    expired_field_format string
    Expired field format.
    lifecycle_enable string
    Whether to enable lifecycle.
    dropTable Boolean
    Whether to drop table (deprecated, use table_expiration instead).
    expiration Double
    Expiration time.
    expiredField String
    Expired field.
    expiredFieldFormat String
    Expired field format.
    lifecycleEnable String
    Whether to enable lifecycle.
    dropTable boolean
    Whether to drop table (deprecated, use table_expiration instead).
    expiration number
    Expiration time.
    expiredField string
    Expired field.
    expiredFieldFormat string
    Expired field format.
    lifecycleEnable string
    Whether to enable lifecycle.
    drop_table bool
    Whether to drop table (deprecated, use table_expiration instead).
    expiration float
    Expiration time.
    expired_field str
    Expired field.
    expired_field_format str
    Expired field format.
    lifecycle_enable str
    Whether to enable lifecycle.
    dropTable Boolean
    Whether to drop table (deprecated, use table_expiration instead).
    expiration Number
    Expiration time.
    expiredField String
    Expired field.
    expiredFieldFormat String
    Expired field format.
    lifecycleEnable String
    Whether to enable lifecycle.

    DlcMetaDatabaseSmartPolicyPolicyResource, DlcMetaDatabaseSmartPolicyPolicyResourceArgs

    AttributionType string
    Attribution type.
    Favors List<DlcMetaDatabaseSmartPolicyPolicyResourceFavor>
    Affinity info.
    Instance string
    Instance name.
    Name string
    Engine name.
    ResourceConf DlcMetaDatabaseSmartPolicyPolicyResourceResourceConf
    Resource config info.
    ResourceGroupName string
    Standard engine resource group name.
    ResourceType string
    Resource type.
    Status double
    Status.
    AttributionType string
    Attribution type.
    Favors []DlcMetaDatabaseSmartPolicyPolicyResourceFavor
    Affinity info.
    Instance string
    Instance name.
    Name string
    Engine name.
    ResourceConf DlcMetaDatabaseSmartPolicyPolicyResourceResourceConf
    Resource config info.
    ResourceGroupName string
    Standard engine resource group name.
    ResourceType string
    Resource type.
    Status float64
    Status.
    attribution_type string
    Attribution type.
    favors list(object)
    Affinity info.
    instance string
    Instance name.
    name string
    Engine name.
    resource_conf object
    Resource config info.
    resource_group_name string
    Standard engine resource group name.
    resource_type string
    Resource type.
    status number
    Status.
    attributionType String
    Attribution type.
    favors List<DlcMetaDatabaseSmartPolicyPolicyResourceFavor>
    Affinity info.
    instance String
    Instance name.
    name String
    Engine name.
    resourceConf DlcMetaDatabaseSmartPolicyPolicyResourceResourceConf
    Resource config info.
    resourceGroupName String
    Standard engine resource group name.
    resourceType String
    Resource type.
    status Double
    Status.
    attributionType string
    Attribution type.
    favors DlcMetaDatabaseSmartPolicyPolicyResourceFavor[]
    Affinity info.
    instance string
    Instance name.
    name string
    Engine name.
    resourceConf DlcMetaDatabaseSmartPolicyPolicyResourceResourceConf
    Resource config info.
    resourceGroupName string
    Standard engine resource group name.
    resourceType string
    Resource type.
    status number
    Status.
    attribution_type str
    Attribution type.
    favors Sequence[DlcMetaDatabaseSmartPolicyPolicyResourceFavor]
    Affinity info.
    instance str
    Instance name.
    name str
    Engine name.
    resource_conf DlcMetaDatabaseSmartPolicyPolicyResourceResourceConf
    Resource config info.
    resource_group_name str
    Standard engine resource group name.
    resource_type str
    Resource type.
    status float
    Status.
    attributionType String
    Attribution type.
    favors List<Property Map>
    Affinity info.
    instance String
    Instance name.
    name String
    Engine name.
    resourceConf Property Map
    Resource config info.
    resourceGroupName String
    Standard engine resource group name.
    resourceType String
    Resource type.
    status Number
    Status.

    DlcMetaDatabaseSmartPolicyPolicyResourceFavor, DlcMetaDatabaseSmartPolicyPolicyResourceFavorArgs

    Catalog string
    Catalog name.
    DataBase string
    Database name.
    Priority double
    Priority.
    Table string
    Table name.
    Catalog string
    Catalog name.
    DataBase string
    Database name.
    Priority float64
    Priority.
    Table string
    Table name.
    catalog string
    Catalog name.
    data_base string
    Database name.
    priority number
    Priority.
    table string
    Table name.
    catalog String
    Catalog name.
    dataBase String
    Database name.
    priority Double
    Priority.
    table String
    Table name.
    catalog string
    Catalog name.
    dataBase string
    Database name.
    priority number
    Priority.
    table string
    Table name.
    catalog str
    Catalog name.
    data_base str
    Database name.
    priority float
    Priority.
    table str
    Table name.
    catalog String
    Catalog name.
    dataBase String
    Database name.
    priority Number
    Priority.
    table String
    Table name.

    DlcMetaDatabaseSmartPolicyPolicyResourceResourceConf, DlcMetaDatabaseSmartPolicyPolicyResourceResourceConfArgs

    Parallelism double
    Parallelism of the optimize task.
    Parallelism float64
    Parallelism of the optimize task.
    parallelism number
    Parallelism of the optimize task.
    parallelism Double
    Parallelism of the optimize task.
    parallelism number
    Parallelism of the optimize task.
    parallelism float
    Parallelism of the optimize task.
    parallelism Number
    Parallelism of the optimize task.

    DlcMetaDatabaseSmartPolicyPolicyTableExpiration, DlcMetaDatabaseSmartPolicyPolicyTableExpirationArgs

    Enabled bool
    Whether to enable the policy.
    Expiration double
    Table expiration time, in days.
    Enabled bool
    Whether to enable the policy.
    Expiration float64
    Table expiration time, in days.
    enabled bool
    Whether to enable the policy.
    expiration number
    Table expiration time, in days.
    enabled Boolean
    Whether to enable the policy.
    expiration Double
    Table expiration time, in days.
    enabled boolean
    Whether to enable the policy.
    expiration number
    Table expiration time, in days.
    enabled bool
    Whether to enable the policy.
    expiration float
    Table expiration time, in days.
    enabled Boolean
    Whether to enable the policy.
    expiration Number
    Table expiration time, in days.

    DlcMetaDatabaseSmartPolicyPolicyWritten, DlcMetaDatabaseSmartPolicyPolicyWrittenArgs

    AdvancePolicy DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy
    User custom advance params.
    WrittenEnable string
    Whether to enable, none/enable/disable/default.
    AdvancePolicy DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy
    User custom advance params.
    WrittenEnable string
    Whether to enable, none/enable/disable/default.
    advance_policy object
    User custom advance params.
    written_enable string
    Whether to enable, none/enable/disable/default.
    advancePolicy DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy
    User custom advance params.
    writtenEnable String
    Whether to enable, none/enable/disable/default.
    advancePolicy DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy
    User custom advance params.
    writtenEnable string
    Whether to enable, none/enable/disable/default.
    advance_policy DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy
    User custom advance params.
    written_enable str
    Whether to enable, none/enable/disable/default.
    advancePolicy Property Map
    User custom advance params.
    writtenEnable String
    Whether to enable, none/enable/disable/default.

    DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy, DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicyArgs

    BeforeDays double
    Snapshot expire before days.
    CompactEnable string
    Whether to enable compact.
    CompactStrategy string
    File compact strategy.
    CowCompactEnable string
    Whether to enable COW table compact.
    DeleteEnable string
    Whether to enable history data cleanup.
    ExpiredSnapshotsIntervalMin double
    Snapshot expire interval in minutes.
    MinInputFiles double
    Min input files to compact.
    RemoveOrphanIntervalMin double
    Remove orphan files interval in minutes.
    RetainLast double
    Retain last snapshot count.
    SortOrders List<DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder>
    Sort compact strategy rules.
    TargetFileSizeBytes double
    Target file size after compact.
    BeforeDays float64
    Snapshot expire before days.
    CompactEnable string
    Whether to enable compact.
    CompactStrategy string
    File compact strategy.
    CowCompactEnable string
    Whether to enable COW table compact.
    DeleteEnable string
    Whether to enable history data cleanup.
    ExpiredSnapshotsIntervalMin float64
    Snapshot expire interval in minutes.
    MinInputFiles float64
    Min input files to compact.
    RemoveOrphanIntervalMin float64
    Remove orphan files interval in minutes.
    RetainLast float64
    Retain last snapshot count.
    SortOrders []DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder
    Sort compact strategy rules.
    TargetFileSizeBytes float64
    Target file size after compact.
    before_days number
    Snapshot expire before days.
    compact_enable string
    Whether to enable compact.
    compact_strategy string
    File compact strategy.
    cow_compact_enable string
    Whether to enable COW table compact.
    delete_enable string
    Whether to enable history data cleanup.
    expired_snapshots_interval_min number
    Snapshot expire interval in minutes.
    min_input_files number
    Min input files to compact.
    remove_orphan_interval_min number
    Remove orphan files interval in minutes.
    retain_last number
    Retain last snapshot count.
    sort_orders list(object)
    Sort compact strategy rules.
    target_file_size_bytes number
    Target file size after compact.
    beforeDays Double
    Snapshot expire before days.
    compactEnable String
    Whether to enable compact.
    compactStrategy String
    File compact strategy.
    cowCompactEnable String
    Whether to enable COW table compact.
    deleteEnable String
    Whether to enable history data cleanup.
    expiredSnapshotsIntervalMin Double
    Snapshot expire interval in minutes.
    minInputFiles Double
    Min input files to compact.
    removeOrphanIntervalMin Double
    Remove orphan files interval in minutes.
    retainLast Double
    Retain last snapshot count.
    sortOrders List<DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder>
    Sort compact strategy rules.
    targetFileSizeBytes Double
    Target file size after compact.
    beforeDays number
    Snapshot expire before days.
    compactEnable string
    Whether to enable compact.
    compactStrategy string
    File compact strategy.
    cowCompactEnable string
    Whether to enable COW table compact.
    deleteEnable string
    Whether to enable history data cleanup.
    expiredSnapshotsIntervalMin number
    Snapshot expire interval in minutes.
    minInputFiles number
    Min input files to compact.
    removeOrphanIntervalMin number
    Remove orphan files interval in minutes.
    retainLast number
    Retain last snapshot count.
    sortOrders DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder[]
    Sort compact strategy rules.
    targetFileSizeBytes number
    Target file size after compact.
    before_days float
    Snapshot expire before days.
    compact_enable str
    Whether to enable compact.
    compact_strategy str
    File compact strategy.
    cow_compact_enable str
    Whether to enable COW table compact.
    delete_enable str
    Whether to enable history data cleanup.
    expired_snapshots_interval_min float
    Snapshot expire interval in minutes.
    min_input_files float
    Min input files to compact.
    remove_orphan_interval_min float
    Remove orphan files interval in minutes.
    retain_last float
    Retain last snapshot count.
    sort_orders Sequence[DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder]
    Sort compact strategy rules.
    target_file_size_bytes float
    Target file size after compact.
    beforeDays Number
    Snapshot expire before days.
    compactEnable String
    Whether to enable compact.
    compactStrategy String
    File compact strategy.
    cowCompactEnable String
    Whether to enable COW table compact.
    deleteEnable String
    Whether to enable history data cleanup.
    expiredSnapshotsIntervalMin Number
    Snapshot expire interval in minutes.
    minInputFiles Number
    Min input files to compact.
    removeOrphanIntervalMin Number
    Remove orphan files interval in minutes.
    retainLast Number
    Retain last snapshot count.
    sortOrders List<Property Map>
    Sort compact strategy rules.
    targetFileSizeBytes Number
    Target file size after compact.

    DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder, DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrderArgs

    Column string
    Sort column name.
    NullOrder string
    Null order, first or last.
    SortDirection string
    Sort direction, asc or desc.
    Column string
    Sort column name.
    NullOrder string
    Null order, first or last.
    SortDirection string
    Sort direction, asc or desc.
    column string
    Sort column name.
    null_order string
    Null order, first or last.
    sort_direction string
    Sort direction, asc or desc.
    column String
    Sort column name.
    nullOrder String
    Null order, first or last.
    sortDirection String
    Sort direction, asc or desc.
    column string
    Sort column name.
    nullOrder string
    Null order, first or last.
    sortDirection string
    Sort direction, asc or desc.
    column str
    Sort column name.
    null_order str
    Null order, first or last.
    sort_direction str
    Sort direction, asc or desc.
    column String
    Sort column name.
    nullOrder String
    Null order, first or last.
    sortDirection String
    Sort direction, asc or desc.

    DlcMetaDatabaseTimeouts, DlcMetaDatabaseTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create string
    delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    DLC meta database can be imported using the datasourceConnectionName#databaseName, e.g.

    $ pulumi import tencentcloud:index/dlcMetaDatabase:DlcMetaDatabase example DataLakeCatalog#tf_example_db
    

    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
    Viewing docs for tencentcloud 1.83.41
    published on Friday, Nov 6, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial