published on Friday, Nov 6, 2026 by tencentcloudstack
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:
- Read: DescribeDatabase
- Delete:
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:
- Datasource
Connection stringName - Datasource connection name, default
DataLakeCatalog. - Meta
Database DlcInfo Meta Database Meta Database Info - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - Dlc
Meta stringDatabase Id - ID of the resource.
- Govern
Policy DlcMeta Database Govern Policy - Data governance config.
- Smart
Policy DlcMeta Database Smart Policy - Smart data governance config.
- Timeouts
Dlc
Meta Database Timeouts
- Datasource
Connection stringName - Datasource connection name, default
DataLakeCatalog. - Meta
Database DlcInfo Meta Database Meta Database Info Args - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - Dlc
Meta stringDatabase Id - ID of the resource.
- Govern
Policy DlcMeta Database Govern Policy Args - Data governance config.
- Smart
Policy DlcMeta Database Smart Policy Args - Smart data governance config.
- Timeouts
Dlc
Meta Database Timeouts Args
- datasource_
connection_ stringname - Datasource connection name, default
DataLakeCatalog. - meta_
database_ objectinfo - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - dlc_
meta_ stringdatabase_ id - ID of the resource.
- govern_
policy object - Data governance config.
- smart_
policy object - Smart data governance config.
- timeouts object
- datasource
Connection StringName - Datasource connection name, default
DataLakeCatalog. - meta
Database DlcInfo Meta Database Meta Database Info - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - dlc
Meta StringDatabase Id - ID of the resource.
- govern
Policy DlcMeta Database Govern Policy - Data governance config.
- smart
Policy DlcMeta Database Smart Policy - Smart data governance config.
- timeouts
Dlc
Meta Database Timeouts
- datasource
Connection stringName - Datasource connection name, default
DataLakeCatalog. - meta
Database DlcInfo Meta Database Meta Database Info - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - dlc
Meta stringDatabase Id - ID of the resource.
- govern
Policy DlcMeta Database Govern Policy - Data governance config.
- smart
Policy DlcMeta Database Smart Policy - Smart data governance config.
- timeouts
Dlc
Meta Database Timeouts
- datasource_
connection_ strname - Datasource connection name, default
DataLakeCatalog. - meta_
database_ Dlcinfo Meta Database Meta Database Info Args - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - dlc_
meta_ strdatabase_ id - ID of the resource.
- govern_
policy DlcMeta Database Govern Policy Args - Data governance config.
- smart_
policy DlcMeta Database Smart Policy Args - Smart data governance config.
- timeouts
Dlc
Meta Database Timeouts Args
- datasource
Connection StringName - Datasource connection name, default
DataLakeCatalog. - meta
Database Property MapInfo - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - dlc
Meta StringDatabase Id - ID of the resource.
- govern
Policy Property Map - Data governance config.
- smart
Policy 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:
- 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 boolSchema - Whether it is InformationSchema.
- Location string
- COS storage path.
- Modified
Time string - Database modified time, in seconds.
- Properties
List<Dlc
Meta Database Property> - Properties of the database.
- User
Alias string - User alias who created the database.
- User
Sub stringUin - 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 boolSchema - Whether it is InformationSchema.
- Location string
- COS storage path.
- Modified
Time string - Database modified time, in seconds.
- Properties
[]Dlc
Meta Database Property - Properties of the database.
- User
Alias string - User alias who created the database.
- User
Sub stringUin - 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_ boolschema - 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_ stringuin - 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 BooleanSchema - Whether it is InformationSchema.
- location String
- COS storage path.
- modified
Time String - Database modified time, in seconds.
- properties
List<Dlc
Meta Database Property> - Properties of the database.
- user
Alias String - User alias who created the database.
- user
Sub StringUin - 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 booleanSchema - Whether it is InformationSchema.
- location string
- COS storage path.
- modified
Time string - Database modified time, in seconds.
- properties
Dlc
Meta Database Property[] - Properties of the database.
- user
Alias string - User alias who created the database.
- user
Sub stringUin - 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_ boolschema - Whether it is InformationSchema.
- location str
- COS storage path.
- modified_
time str - Database modified time, in seconds.
- properties
Sequence[Dlc
Meta Database Property] - Properties of the database.
- user_
alias str - User alias who created the database.
- user_
sub_ struin - 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 BooleanSchema - Whether it is InformationSchema.
- location String
- COS storage path.
- modified
Time String - Database modified time, in seconds.
- properties List<Property Map>
- Properties of the database.
- user
Alias String - User alias who created the database.
- user
Sub StringUin - 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) -> DlcMetaDatabasefunc 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.
- Catalog
Name string - Catalog name.
- Catalog
Type string - Catalog type.
- Create
Time string - Database create time, in seconds.
- Datasource
Connection stringName - Datasource connection name, default
DataLakeCatalog. - Dlc
Meta stringDatabase Id - ID of the resource.
- Govern
Policy DlcMeta Database Govern Policy - Data governance config.
- Is
Information boolSchema - Whether it is InformationSchema.
- Location string
- COS storage path.
- Meta
Database DlcInfo Meta Database Meta Database Info - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - Modified
Time string - Database modified time, in seconds.
- Properties
List<Dlc
Meta Database Property> - Properties of the database.
- Smart
Policy DlcMeta Database Smart Policy - Smart data governance config.
- Timeouts
Dlc
Meta Database Timeouts - User
Alias string - User alias who created the database.
- User
Sub stringUin - 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 stringName - Datasource connection name, default
DataLakeCatalog. - Dlc
Meta stringDatabase Id - ID of the resource.
- Govern
Policy DlcMeta Database Govern Policy Args - Data governance config.
- Is
Information boolSchema - Whether it is InformationSchema.
- Location string
- COS storage path.
- Meta
Database DlcInfo Meta Database Meta Database Info Args - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - Modified
Time string - Database modified time, in seconds.
- Properties
[]Dlc
Meta Database Property Args - Properties of the database.
- Smart
Policy DlcMeta Database Smart Policy Args - Smart data governance config.
- Timeouts
Dlc
Meta Database Timeouts Args - User
Alias string - User alias who created the database.
- User
Sub stringUin - 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_ stringname - Datasource connection name, default
DataLakeCatalog. - dlc_
meta_ stringdatabase_ id - ID of the resource.
- govern_
policy object - Data governance config.
- is_
information_ boolschema - Whether it is InformationSchema.
- location string
- COS storage path.
- meta_
database_ objectinfo - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - 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_ stringuin - 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 StringName - Datasource connection name, default
DataLakeCatalog. - dlc
Meta StringDatabase Id - ID of the resource.
- govern
Policy DlcMeta Database Govern Policy - Data governance config.
- is
Information BooleanSchema - Whether it is InformationSchema.
- location String
- COS storage path.
- meta
Database DlcInfo Meta Database Meta Database Info - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - modified
Time String - Database modified time, in seconds.
- properties
List<Dlc
Meta Database Property> - Properties of the database.
- smart
Policy DlcMeta Database Smart Policy - Smart data governance config.
- timeouts
Dlc
Meta Database Timeouts - user
Alias String - User alias who created the database.
- user
Sub StringUin - 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 stringName - Datasource connection name, default
DataLakeCatalog. - dlc
Meta stringDatabase Id - ID of the resource.
- govern
Policy DlcMeta Database Govern Policy - Data governance config.
- is
Information booleanSchema - Whether it is InformationSchema.
- location string
- COS storage path.
- meta
Database DlcInfo Meta Database Meta Database Info - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - modified
Time string - Database modified time, in seconds.
- properties
Dlc
Meta Database Property[] - Properties of the database.
- smart
Policy DlcMeta Database Smart Policy - Smart data governance config.
- timeouts
Dlc
Meta Database Timeouts - user
Alias string - User alias who created the database.
- user
Sub stringUin - 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_ strname - Datasource connection name, default
DataLakeCatalog. - dlc_
meta_ strdatabase_ id - ID of the resource.
- govern_
policy DlcMeta Database Govern Policy Args - Data governance config.
- is_
information_ boolschema - Whether it is InformationSchema.
- location str
- COS storage path.
- meta_
database_ Dlcinfo Meta Database Meta Database Info Args - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - modified_
time str - Database modified time, in seconds.
- properties
Sequence[Dlc
Meta Database Property Args] - Properties of the database.
- smart_
policy DlcMeta Database Smart Policy Args - Smart data governance config.
- timeouts
Dlc
Meta Database Timeouts Args - user_
alias str - User alias who created the database.
- user_
sub_ struin - 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 StringName - Datasource connection name, default
DataLakeCatalog. - dlc
Meta StringDatabase Id - ID of the resource.
- govern
Policy Property Map - Data governance config.
- is
Information BooleanSchema - Whether it is InformationSchema.
- location String
- COS storage path.
- meta
Database Property MapInfo - Meta database basic information, which corresponds to the
MetaDatabaseInfostructure of theCreateMetaDatabaseAPI. - modified
Time String - Database modified time, in seconds.
- properties List<Property Map>
- Properties of the database.
- smart
Policy Property Map - Smart data governance config.
- timeouts Property Map
- user
Alias String - User alias who created the database.
- user
Sub StringUin - User sub UIN who created the database.
Supporting Types
DlcMetaDatabaseGovernPolicy, DlcMetaDatabaseGovernPolicyArgs
- Govern
Engine string - Govern engine.
- Rule
Type string - Govern rule type,
CustomizeorIntelligence.
- Govern
Engine string - Govern engine.
- Rule
Type string - Govern rule type,
CustomizeorIntelligence.
- govern_
engine string - Govern engine.
- rule_
type string - Govern rule type,
CustomizeorIntelligence.
- govern
Engine String - Govern engine.
- rule
Type String - Govern rule type,
CustomizeorIntelligence.
- govern
Engine string - Govern engine.
- rule
Type string - Govern rule type,
CustomizeorIntelligence.
- govern_
engine str - Govern engine.
- rule_
type str - Govern rule type,
CustomizeorIntelligence.
- govern
Engine String - Govern engine.
- rule
Type String - Govern rule type,
CustomizeorIntelligence.
DlcMetaDatabaseMetaDatabaseInfo, DlcMetaDatabaseMetaDatabaseInfoArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
DlcMetaDatabaseProperty, DlcMetaDatabasePropertyArgs
DlcMetaDatabaseSmartPolicy, DlcMetaDatabaseSmartPolicyArgs
- Base
Info DlcMeta Database Smart Policy Base Info - Base info of smart policy.
- Policy
Dlc
Meta Database Smart Policy Policy - Policy description of smart policy.
- Base
Info DlcMeta Database Smart Policy Base Info - Base info of smart policy.
- Policy
Dlc
Meta Database Smart Policy Policy - Policy description of smart policy.
- base
Info DlcMeta Database Smart Policy Base Info - Base info of smart policy.
- policy
Dlc
Meta Database Smart Policy Policy - Policy description of smart policy.
- base
Info DlcMeta Database Smart Policy Base Info - Base info of smart policy.
- policy
Dlc
Meta Database Smart Policy Policy - Policy description of smart policy.
- base_
info DlcMeta Database Smart Policy Base Info - Base info of smart policy.
- policy
Dlc
Meta Database Smart Policy Policy - Policy description of smart policy.
- base
Info Property Map - Base info of smart policy.
- policy Property Map
- Policy description of smart policy.
DlcMetaDatabaseSmartPolicyBaseInfo, DlcMetaDatabaseSmartPolicyBaseInfoArgs
DlcMetaDatabaseSmartPolicyPolicy, DlcMetaDatabaseSmartPolicyPolicyArgs
- Change
Table DlcMeta Database Smart Policy Policy Change Table - Change table policy.
- Index
Dlc
Meta Database Smart Policy Policy Index - Index policy.
- Inherit string
- Whether to inherit.
- Lifecycle
Dlc
Meta Database Smart Policy Policy Lifecycle - Data lifecycle policy.
- Resources
List<Dlc
Meta Database Smart Policy Policy Resource> - Data governance resources.
- Table
Expiration DlcMeta Database Smart Policy Policy Table Expiration - Table expiration policy.
- Written
Dlc
Meta Database Smart Policy Policy Written - Data rewrite policy.
- Change
Table DlcMeta Database Smart Policy Policy Change Table - Change table policy.
- Index
Dlc
Meta Database Smart Policy Policy Index - Index policy.
- Inherit string
- Whether to inherit.
- Lifecycle
Dlc
Meta Database Smart Policy Policy Lifecycle - Data lifecycle policy.
- Resources
[]Dlc
Meta Database Smart Policy Policy Resource - Data governance resources.
- Table
Expiration DlcMeta Database Smart Policy Policy Table Expiration - Table expiration policy.
- Written
Dlc
Meta Database Smart Policy Policy Written - Data rewrite policy.
- 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.
- change
Table DlcMeta Database Smart Policy Policy Change Table - Change table policy.
- index
Dlc
Meta Database Smart Policy Policy Index - Index policy.
- inherit String
- Whether to inherit.
- lifecycle
Dlc
Meta Database Smart Policy Policy Lifecycle - Data lifecycle policy.
- resources
List<Dlc
Meta Database Smart Policy Policy Resource> - Data governance resources.
- table
Expiration DlcMeta Database Smart Policy Policy Table Expiration - Table expiration policy.
- written
Dlc
Meta Database Smart Policy Policy Written - Data rewrite policy.
- change
Table DlcMeta Database Smart Policy Policy Change Table - Change table policy.
- index
Dlc
Meta Database Smart Policy Policy Index - Index policy.
- inherit string
- Whether to inherit.
- lifecycle
Dlc
Meta Database Smart Policy Policy Lifecycle - Data lifecycle policy.
- resources
Dlc
Meta Database Smart Policy Policy Resource[] - Data governance resources.
- table
Expiration DlcMeta Database Smart Policy Policy Table Expiration - Table expiration policy.
- written
Dlc
Meta Database Smart Policy Policy Written - Data rewrite policy.
- change_
table DlcMeta Database Smart Policy Policy Change Table - Change table policy.
- index
Dlc
Meta Database Smart Policy Policy Index - Index policy.
- inherit str
- Whether to inherit.
- lifecycle
Dlc
Meta Database Smart Policy Policy Lifecycle - Data lifecycle policy.
- resources
Sequence[Dlc
Meta Database Smart Policy Policy Resource] - Data governance resources.
- table_
expiration DlcMeta Database Smart Policy Policy Table Expiration - Table expiration policy.
- written
Dlc
Meta Database Smart Policy Policy Written - Data rewrite policy.
- change
Table 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.
- table
Expiration Property Map - Table expiration policy.
- written Property Map
- Data rewrite policy.
DlcMetaDatabaseSmartPolicyPolicyChangeTable, DlcMetaDatabaseSmartPolicyPolicyChangeTableArgs
- Data
Retention doubleTime - Data retention time of change table, in days.
- Data
Retention float64Time - Data retention time of change table, in days.
- data_
retention_ numbertime - Data retention time of change table, in days.
- data
Retention DoubleTime - Data retention time of change table, in days.
- data
Retention numberTime - Data retention time of change table, in days.
- data_
retention_ floattime - Data retention time of change table, in days.
- data
Retention NumberTime - Data retention time of change table, in days.
DlcMetaDatabaseSmartPolicyPolicyIndex, DlcMetaDatabaseSmartPolicyPolicyIndexArgs
- Index
Enable string - Whether to enable index.
- Index
Enable string - Whether to enable index.
- index_
enable string - Whether to enable index.
- index
Enable String - Whether to enable index.
- index
Enable string - Whether to enable index.
- index_
enable str - Whether to enable index.
- index
Enable String - Whether to enable index.
DlcMetaDatabaseSmartPolicyPolicyLifecycle, DlcMetaDatabaseSmartPolicyPolicyLifecycleArgs
- Drop
Table bool - Whether to drop table (deprecated, use table_expiration instead).
- Expiration double
- Expiration time.
- Expired
Field string - Expired field.
- Expired
Field stringFormat - Expired field format.
- Lifecycle
Enable string - Whether to enable lifecycle.
- Drop
Table bool - Whether to drop table (deprecated, use table_expiration instead).
- Expiration float64
- Expiration time.
- Expired
Field string - Expired field.
- Expired
Field stringFormat - Expired field format.
- Lifecycle
Enable 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_ stringformat - Expired field format.
- lifecycle_
enable string - Whether to enable lifecycle.
- drop
Table Boolean - Whether to drop table (deprecated, use table_expiration instead).
- expiration Double
- Expiration time.
- expired
Field String - Expired field.
- expired
Field StringFormat - Expired field format.
- lifecycle
Enable String - Whether to enable lifecycle.
- drop
Table boolean - Whether to drop table (deprecated, use table_expiration instead).
- expiration number
- Expiration time.
- expired
Field string - Expired field.
- expired
Field stringFormat - Expired field format.
- lifecycle
Enable 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_ strformat - Expired field format.
- lifecycle_
enable str - Whether to enable lifecycle.
- drop
Table Boolean - Whether to drop table (deprecated, use table_expiration instead).
- expiration Number
- Expiration time.
- expired
Field String - Expired field.
- expired
Field StringFormat - Expired field format.
- lifecycle
Enable String - Whether to enable lifecycle.
DlcMetaDatabaseSmartPolicyPolicyResource, DlcMetaDatabaseSmartPolicyPolicyResourceArgs
- Attribution
Type string - Attribution type.
- Favors
List<Dlc
Meta Database Smart Policy Policy Resource Favor> - Affinity info.
- Instance string
- Instance name.
- Name string
- Engine name.
- Resource
Conf DlcMeta Database Smart Policy Policy Resource Resource Conf - Resource config info.
- Resource
Group stringName - Standard engine resource group name.
- Resource
Type string - Resource type.
- Status double
- Status.
- Attribution
Type string - Attribution type.
- Favors
[]Dlc
Meta Database Smart Policy Policy Resource Favor - Affinity info.
- Instance string
- Instance name.
- Name string
- Engine name.
- Resource
Conf DlcMeta Database Smart Policy Policy Resource Resource Conf - Resource config info.
- Resource
Group stringName - Standard engine resource group name.
- Resource
Type 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_ stringname - Standard engine resource group name.
- resource_
type string - Resource type.
- status number
- Status.
- attribution
Type String - Attribution type.
- favors
List<Dlc
Meta Database Smart Policy Policy Resource Favor> - Affinity info.
- instance String
- Instance name.
- name String
- Engine name.
- resource
Conf DlcMeta Database Smart Policy Policy Resource Resource Conf - Resource config info.
- resource
Group StringName - Standard engine resource group name.
- resource
Type String - Resource type.
- status Double
- Status.
- attribution
Type string - Attribution type.
- favors
Dlc
Meta Database Smart Policy Policy Resource Favor[] - Affinity info.
- instance string
- Instance name.
- name string
- Engine name.
- resource
Conf DlcMeta Database Smart Policy Policy Resource Resource Conf - Resource config info.
- resource
Group stringName - Standard engine resource group name.
- resource
Type string - Resource type.
- status number
- Status.
- attribution_
type str - Attribution type.
- favors
Sequence[Dlc
Meta Database Smart Policy Policy Resource Favor] - Affinity info.
- instance str
- Instance name.
- name str
- Engine name.
- resource_
conf DlcMeta Database Smart Policy Policy Resource Resource Conf - Resource config info.
- resource_
group_ strname - Standard engine resource group name.
- resource_
type str - Resource type.
- status float
- Status.
- attribution
Type String - Attribution type.
- favors List<Property Map>
- Affinity info.
- instance String
- Instance name.
- name String
- Engine name.
- resource
Conf Property Map - Resource config info.
- resource
Group StringName - Standard engine resource group name.
- resource
Type String - Resource type.
- status Number
- Status.
DlcMetaDatabaseSmartPolicyPolicyResourceFavor, DlcMetaDatabaseSmartPolicyPolicyResourceFavorArgs
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
- Advance
Policy DlcMeta Database Smart Policy Policy Written Advance Policy - User custom advance params.
- Written
Enable string - Whether to enable,
none/enable/disable/default.
- Advance
Policy DlcMeta Database Smart Policy Policy Written Advance Policy - User custom advance params.
- Written
Enable 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.
- advance
Policy DlcMeta Database Smart Policy Policy Written Advance Policy - User custom advance params.
- written
Enable String - Whether to enable,
none/enable/disable/default.
- advance
Policy DlcMeta Database Smart Policy Policy Written Advance Policy - User custom advance params.
- written
Enable string - Whether to enable,
none/enable/disable/default.
- advance_
policy DlcMeta Database Smart Policy Policy Written Advance Policy - User custom advance params.
- written_
enable str - Whether to enable,
none/enable/disable/default.
- advance
Policy Property Map - User custom advance params.
- written
Enable String - Whether to enable,
none/enable/disable/default.
DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicy, DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicyArgs
- Before
Days double - Snapshot expire before days.
- Compact
Enable string - Whether to enable compact.
- Compact
Strategy string - File compact strategy.
- Cow
Compact stringEnable - Whether to enable COW table compact.
- Delete
Enable string - Whether to enable history data cleanup.
- Expired
Snapshots doubleInterval Min - Snapshot expire interval in minutes.
- Min
Input doubleFiles - Min input files to compact.
- Remove
Orphan doubleInterval Min - Remove orphan files interval in minutes.
- Retain
Last double - Retain last snapshot count.
- Sort
Orders List<DlcMeta Database Smart Policy Policy Written Advance Policy Sort Order> - Sort compact strategy rules.
- Target
File doubleSize Bytes - Target file size after compact.
- Before
Days float64 - Snapshot expire before days.
- Compact
Enable string - Whether to enable compact.
- Compact
Strategy string - File compact strategy.
- Cow
Compact stringEnable - Whether to enable COW table compact.
- Delete
Enable string - Whether to enable history data cleanup.
- Expired
Snapshots float64Interval Min - Snapshot expire interval in minutes.
- Min
Input float64Files - Min input files to compact.
- Remove
Orphan float64Interval Min - Remove orphan files interval in minutes.
- Retain
Last float64 - Retain last snapshot count.
- Sort
Orders []DlcMeta Database Smart Policy Policy Written Advance Policy Sort Order - Sort compact strategy rules.
- Target
File float64Size Bytes - 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_ stringenable - Whether to enable COW table compact.
- delete_
enable string - Whether to enable history data cleanup.
- expired_
snapshots_ numberinterval_ min - Snapshot expire interval in minutes.
- min_
input_ numberfiles - Min input files to compact.
- remove_
orphan_ numberinterval_ min - Remove orphan files interval in minutes.
- retain_
last number - Retain last snapshot count.
- sort_
orders list(object) - Sort compact strategy rules.
- target_
file_ numbersize_ bytes - Target file size after compact.
- before
Days Double - Snapshot expire before days.
- compact
Enable String - Whether to enable compact.
- compact
Strategy String - File compact strategy.
- cow
Compact StringEnable - Whether to enable COW table compact.
- delete
Enable String - Whether to enable history data cleanup.
- expired
Snapshots DoubleInterval Min - Snapshot expire interval in minutes.
- min
Input DoubleFiles - Min input files to compact.
- remove
Orphan DoubleInterval Min - Remove orphan files interval in minutes.
- retain
Last Double - Retain last snapshot count.
- sort
Orders List<DlcMeta Database Smart Policy Policy Written Advance Policy Sort Order> - Sort compact strategy rules.
- target
File DoubleSize Bytes - 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 stringEnable - Whether to enable COW table compact.
- delete
Enable string - Whether to enable history data cleanup.
- expired
Snapshots numberInterval Min - Snapshot expire interval in minutes.
- min
Input numberFiles - Min input files to compact.
- remove
Orphan numberInterval Min - Remove orphan files interval in minutes.
- retain
Last number - Retain last snapshot count.
- sort
Orders DlcMeta Database Smart Policy Policy Written Advance Policy Sort Order[] - Sort compact strategy rules.
- target
File numberSize Bytes - 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_ strenable - Whether to enable COW table compact.
- delete_
enable str - Whether to enable history data cleanup.
- expired_
snapshots_ floatinterval_ min - Snapshot expire interval in minutes.
- min_
input_ floatfiles - Min input files to compact.
- remove_
orphan_ floatinterval_ min - Remove orphan files interval in minutes.
- retain_
last float - Retain last snapshot count.
- sort_
orders Sequence[DlcMeta Database Smart Policy Policy Written Advance Policy Sort Order] - Sort compact strategy rules.
- target_
file_ floatsize_ bytes - 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 StringEnable - Whether to enable COW table compact.
- delete
Enable String - Whether to enable history data cleanup.
- expired
Snapshots NumberInterval Min - Snapshot expire interval in minutes.
- min
Input NumberFiles - Min input files to compact.
- remove
Orphan NumberInterval Min - Remove orphan files interval in minutes.
- retain
Last Number - Retain last snapshot count.
- sort
Orders List<Property Map> - Sort compact strategy rules.
- target
File NumberSize Bytes - Target file size after compact.
DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrder, DlcMetaDatabaseSmartPolicyPolicyWrittenAdvancePolicySortOrderArgs
- Column string
- Sort column name.
- Null
Order string - Null order,
firstorlast. - Sort
Direction string - Sort direction,
ascordesc.
- Column string
- Sort column name.
- Null
Order string - Null order,
firstorlast. - Sort
Direction string - Sort direction,
ascordesc.
- column string
- Sort column name.
- null_
order string - Null order,
firstorlast. - sort_
direction string - Sort direction,
ascordesc.
- column String
- Sort column name.
- null
Order String - Null order,
firstorlast. - sort
Direction String - Sort direction,
ascordesc.
- column string
- Sort column name.
- null
Order string - Null order,
firstorlast. - sort
Direction string - Sort direction,
ascordesc.
- column str
- Sort column name.
- null_
order str - Null order,
firstorlast. - sort_
direction str - Sort direction,
ascordesc.
- column String
- Sort column name.
- null
Order String - Null order,
firstorlast. - sort
Direction String - Sort direction,
ascordesc.
DlcMetaDatabaseTimeouts, DlcMetaDatabaseTimeoutsArgs
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
tencentcloudTerraform Provider.
published on Friday, Nov 6, 2026 by tencentcloudstack