1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DlcUpdateRowFilterOperation
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack

tencentcloud.DlcUpdateRowFilterOperation

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack

    Provides a resource to create a DLC update row filter operation

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DlcUpdateRowFilterOperation("example", {
        policy: {
            catalog: "DataLakeCatalog",
            database: "tf_example_db",
            mode: "SENIOR",
            operation: "value!=\"0\"",
            policyType: "ROWFILTER",
            reAuth: false,
            source: "USER",
            table: "test_table",
        },
        policyId: 103704,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DlcUpdateRowFilterOperation("example",
        policy={
            "catalog": "DataLakeCatalog",
            "database": "tf_example_db",
            "mode": "SENIOR",
            "operation": "value!=\"0\"",
            "policy_type": "ROWFILTER",
            "re_auth": False,
            "source": "USER",
            "table": "test_table",
        },
        policy_id=103704)
    
    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.NewDlcUpdateRowFilterOperation(ctx, "example", &tencentcloud.DlcUpdateRowFilterOperationArgs{
    			Policy: &tencentcloud.DlcUpdateRowFilterOperationPolicyArgs{
    				Catalog:    pulumi.String("DataLakeCatalog"),
    				Database:   pulumi.String("tf_example_db"),
    				Mode:       pulumi.String("SENIOR"),
    				Operation:  pulumi.String("value!=\"0\""),
    				PolicyType: pulumi.String("ROWFILTER"),
    				ReAuth:     pulumi.Bool(false),
    				Source:     pulumi.String("USER"),
    				Table:      pulumi.String("test_table"),
    			},
    			PolicyId: pulumi.Float64(103704),
    		})
    		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.DlcUpdateRowFilterOperation("example", new()
        {
            Policy = new Tencentcloud.Inputs.DlcUpdateRowFilterOperationPolicyArgs
            {
                Catalog = "DataLakeCatalog",
                Database = "tf_example_db",
                Mode = "SENIOR",
                Operation = "value!=\"0\"",
                PolicyType = "ROWFILTER",
                ReAuth = false,
                Source = "USER",
                Table = "test_table",
            },
            PolicyId = 103704,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DlcUpdateRowFilterOperation;
    import com.pulumi.tencentcloud.DlcUpdateRowFilterOperationArgs;
    import com.pulumi.tencentcloud.inputs.DlcUpdateRowFilterOperationPolicyArgs;
    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 DlcUpdateRowFilterOperation("example", DlcUpdateRowFilterOperationArgs.builder()
                .policy(DlcUpdateRowFilterOperationPolicyArgs.builder()
                    .catalog("DataLakeCatalog")
                    .database("tf_example_db")
                    .mode("SENIOR")
                    .operation("value!=\"0\"")
                    .policyType("ROWFILTER")
                    .reAuth(false)
                    .source("USER")
                    .table("test_table")
                    .build())
                .policyId(103704)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DlcUpdateRowFilterOperation
        properties:
          policy:
            catalog: DataLakeCatalog
            database: tf_example_db
            mode: SENIOR
            operation: value!="0"
            policyType: ROWFILTER
            reAuth: false
            source: USER
            table: test_table
          policyId: 103704
    

    Create DlcUpdateRowFilterOperation Resource

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

    Constructor syntax

    new DlcUpdateRowFilterOperation(name: string, args: DlcUpdateRowFilterOperationArgs, opts?: CustomResourceOptions);
    @overload
    def DlcUpdateRowFilterOperation(resource_name: str,
                                    args: DlcUpdateRowFilterOperationArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DlcUpdateRowFilterOperation(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    policy: Optional[DlcUpdateRowFilterOperationPolicyArgs] = None,
                                    policy_id: Optional[float] = None,
                                    dlc_update_row_filter_operation_id: Optional[str] = None)
    func NewDlcUpdateRowFilterOperation(ctx *Context, name string, args DlcUpdateRowFilterOperationArgs, opts ...ResourceOption) (*DlcUpdateRowFilterOperation, error)
    public DlcUpdateRowFilterOperation(string name, DlcUpdateRowFilterOperationArgs args, CustomResourceOptions? opts = null)
    public DlcUpdateRowFilterOperation(String name, DlcUpdateRowFilterOperationArgs args)
    public DlcUpdateRowFilterOperation(String name, DlcUpdateRowFilterOperationArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DlcUpdateRowFilterOperation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

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

    Policy DlcUpdateRowFilterOperationPolicy
    The new filter policy.
    PolicyId double
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    DlcUpdateRowFilterOperationId string
    ID of the resource.
    Policy DlcUpdateRowFilterOperationPolicyArgs
    The new filter policy.
    PolicyId float64
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    DlcUpdateRowFilterOperationId string
    ID of the resource.
    policy DlcUpdateRowFilterOperationPolicy
    The new filter policy.
    policyId Double
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlcUpdateRowFilterOperationId String
    ID of the resource.
    policy DlcUpdateRowFilterOperationPolicy
    The new filter policy.
    policyId number
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlcUpdateRowFilterOperationId string
    ID of the resource.
    policy DlcUpdateRowFilterOperationPolicyArgs
    The new filter policy.
    policy_id float
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlc_update_row_filter_operation_id str
    ID of the resource.
    policy Property Map
    The new filter policy.
    policyId Number
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlcUpdateRowFilterOperationId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DlcUpdateRowFilterOperation Resource

    Get an existing DlcUpdateRowFilterOperation 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?: DlcUpdateRowFilterOperationState, opts?: CustomResourceOptions): DlcUpdateRowFilterOperation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dlc_update_row_filter_operation_id: Optional[str] = None,
            policy: Optional[DlcUpdateRowFilterOperationPolicyArgs] = None,
            policy_id: Optional[float] = None) -> DlcUpdateRowFilterOperation
    func GetDlcUpdateRowFilterOperation(ctx *Context, name string, id IDInput, state *DlcUpdateRowFilterOperationState, opts ...ResourceOption) (*DlcUpdateRowFilterOperation, error)
    public static DlcUpdateRowFilterOperation Get(string name, Input<string> id, DlcUpdateRowFilterOperationState? state, CustomResourceOptions? opts = null)
    public static DlcUpdateRowFilterOperation get(String name, Output<String> id, DlcUpdateRowFilterOperationState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DlcUpdateRowFilterOperation    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DlcUpdateRowFilterOperationId string
    ID of the resource.
    Policy DlcUpdateRowFilterOperationPolicy
    The new filter policy.
    PolicyId double
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    DlcUpdateRowFilterOperationId string
    ID of the resource.
    Policy DlcUpdateRowFilterOperationPolicyArgs
    The new filter policy.
    PolicyId float64
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlcUpdateRowFilterOperationId String
    ID of the resource.
    policy DlcUpdateRowFilterOperationPolicy
    The new filter policy.
    policyId Double
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlcUpdateRowFilterOperationId string
    ID of the resource.
    policy DlcUpdateRowFilterOperationPolicy
    The new filter policy.
    policyId number
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlc_update_row_filter_operation_id str
    ID of the resource.
    policy DlcUpdateRowFilterOperationPolicyArgs
    The new filter policy.
    policy_id float
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.
    dlcUpdateRowFilterOperationId String
    ID of the resource.
    policy Property Map
    The new filter policy.
    policyId Number
    The ID of the row filter policy, which can be obtained using the DescribeUserInfo or DescribeWorkGroupInfo API.

    Supporting Types

    DlcUpdateRowFilterOperationPolicy, DlcUpdateRowFilterOperationPolicyArgs

    Catalog string
    The name of the target data source. To grant admin permission, it must be * (all resources at this level); to grant data source and database permissions, it must be COSDataCatalog or *; to grant table permissions, it can be a custom data source; if it is left empty, DataLakeCatalog is used. Note: To grant permissions on a custom data source, the permissions that can be managed in the Data Lake Compute console are subsets of the account permissions granted when you connect the data source to the console.
    Database string
    The name of the target database. * represents all databases in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any database.
    Operation string
    The target permissions, which vary by permission level. Admin: ALL (default); data connection: CREATE; database: ALL, CREATE, ALTER, and DROP; table: ALL, SELECT, INSERT, ALTER, DELETE, DROP, and UPDATE. Note: For table permissions, if a data source other than COSDataCatalog is specified, only the SELECT permission can be granted here.
    Table string
    The name of the target table. * represents all tables in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any table.
    Column string
    The name of the target column. * represents all columns. To grant admin permissions, it must be *.
    CreateTime string
    The permission policy creation time, which is not required as an input parameter.
    DataEngine string
    The name of the target data engine. * represents all engines. To grant admin permissions, it must be *.
    Function string
    The name of the target function. * represents all functions in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any function.
    Id double
    The policy ID.
    Mode string
    The grant mode, which is not required as an input parameter. Valid values: COMMON and SENIOR.
    Operator string
    The operator, which is not required as an input parameter.
    PolicyType string
    The permission type. Valid values: ADMIN, DATASOURCE, DATABASE, TABLE, VIEW, FUNCTION, COLUMN, and ENGINE. Note: If it is left empty, ADMIN is used.
    ReAuth bool
    Whether the grantee is allowed to further grant the permissions. Valid values: false (default) and true (the grantee can grant permissions gained here to other sub-users).
    Source string
    The permission source, which is not required when input parameters are passed in. Valid values: USER (from the user) and WORKGROUP (from one or more associated work groups).
    SourceId double
    The ID of the work group, which applies only when the value of the Source field is WORKGROUP.
    SourceName string
    The name of the work group, which applies only when the value of the Source field is WORKGROUP.
    View string
    The name of the target view. * represents all views in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any view.
    Catalog string
    The name of the target data source. To grant admin permission, it must be * (all resources at this level); to grant data source and database permissions, it must be COSDataCatalog or *; to grant table permissions, it can be a custom data source; if it is left empty, DataLakeCatalog is used. Note: To grant permissions on a custom data source, the permissions that can be managed in the Data Lake Compute console are subsets of the account permissions granted when you connect the data source to the console.
    Database string
    The name of the target database. * represents all databases in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any database.
    Operation string
    The target permissions, which vary by permission level. Admin: ALL (default); data connection: CREATE; database: ALL, CREATE, ALTER, and DROP; table: ALL, SELECT, INSERT, ALTER, DELETE, DROP, and UPDATE. Note: For table permissions, if a data source other than COSDataCatalog is specified, only the SELECT permission can be granted here.
    Table string
    The name of the target table. * represents all tables in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any table.
    Column string
    The name of the target column. * represents all columns. To grant admin permissions, it must be *.
    CreateTime string
    The permission policy creation time, which is not required as an input parameter.
    DataEngine string
    The name of the target data engine. * represents all engines. To grant admin permissions, it must be *.
    Function string
    The name of the target function. * represents all functions in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any function.
    Id float64
    The policy ID.
    Mode string
    The grant mode, which is not required as an input parameter. Valid values: COMMON and SENIOR.
    Operator string
    The operator, which is not required as an input parameter.
    PolicyType string
    The permission type. Valid values: ADMIN, DATASOURCE, DATABASE, TABLE, VIEW, FUNCTION, COLUMN, and ENGINE. Note: If it is left empty, ADMIN is used.
    ReAuth bool
    Whether the grantee is allowed to further grant the permissions. Valid values: false (default) and true (the grantee can grant permissions gained here to other sub-users).
    Source string
    The permission source, which is not required when input parameters are passed in. Valid values: USER (from the user) and WORKGROUP (from one or more associated work groups).
    SourceId float64
    The ID of the work group, which applies only when the value of the Source field is WORKGROUP.
    SourceName string
    The name of the work group, which applies only when the value of the Source field is WORKGROUP.
    View string
    The name of the target view. * represents all views in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any view.
    catalog String
    The name of the target data source. To grant admin permission, it must be * (all resources at this level); to grant data source and database permissions, it must be COSDataCatalog or *; to grant table permissions, it can be a custom data source; if it is left empty, DataLakeCatalog is used. Note: To grant permissions on a custom data source, the permissions that can be managed in the Data Lake Compute console are subsets of the account permissions granted when you connect the data source to the console.
    database String
    The name of the target database. * represents all databases in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any database.
    operation String
    The target permissions, which vary by permission level. Admin: ALL (default); data connection: CREATE; database: ALL, CREATE, ALTER, and DROP; table: ALL, SELECT, INSERT, ALTER, DELETE, DROP, and UPDATE. Note: For table permissions, if a data source other than COSDataCatalog is specified, only the SELECT permission can be granted here.
    table String
    The name of the target table. * represents all tables in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any table.
    column String
    The name of the target column. * represents all columns. To grant admin permissions, it must be *.
    createTime String
    The permission policy creation time, which is not required as an input parameter.
    dataEngine String
    The name of the target data engine. * represents all engines. To grant admin permissions, it must be *.
    function String
    The name of the target function. * represents all functions in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any function.
    id Double
    The policy ID.
    mode String
    The grant mode, which is not required as an input parameter. Valid values: COMMON and SENIOR.
    operator String
    The operator, which is not required as an input parameter.
    policyType String
    The permission type. Valid values: ADMIN, DATASOURCE, DATABASE, TABLE, VIEW, FUNCTION, COLUMN, and ENGINE. Note: If it is left empty, ADMIN is used.
    reAuth Boolean
    Whether the grantee is allowed to further grant the permissions. Valid values: false (default) and true (the grantee can grant permissions gained here to other sub-users).
    source String
    The permission source, which is not required when input parameters are passed in. Valid values: USER (from the user) and WORKGROUP (from one or more associated work groups).
    sourceId Double
    The ID of the work group, which applies only when the value of the Source field is WORKGROUP.
    sourceName String
    The name of the work group, which applies only when the value of the Source field is WORKGROUP.
    view String
    The name of the target view. * represents all views in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any view.
    catalog string
    The name of the target data source. To grant admin permission, it must be * (all resources at this level); to grant data source and database permissions, it must be COSDataCatalog or *; to grant table permissions, it can be a custom data source; if it is left empty, DataLakeCatalog is used. Note: To grant permissions on a custom data source, the permissions that can be managed in the Data Lake Compute console are subsets of the account permissions granted when you connect the data source to the console.
    database string
    The name of the target database. * represents all databases in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any database.
    operation string
    The target permissions, which vary by permission level. Admin: ALL (default); data connection: CREATE; database: ALL, CREATE, ALTER, and DROP; table: ALL, SELECT, INSERT, ALTER, DELETE, DROP, and UPDATE. Note: For table permissions, if a data source other than COSDataCatalog is specified, only the SELECT permission can be granted here.
    table string
    The name of the target table. * represents all tables in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any table.
    column string
    The name of the target column. * represents all columns. To grant admin permissions, it must be *.
    createTime string
    The permission policy creation time, which is not required as an input parameter.
    dataEngine string
    The name of the target data engine. * represents all engines. To grant admin permissions, it must be *.
    function string
    The name of the target function. * represents all functions in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any function.
    id number
    The policy ID.
    mode string
    The grant mode, which is not required as an input parameter. Valid values: COMMON and SENIOR.
    operator string
    The operator, which is not required as an input parameter.
    policyType string
    The permission type. Valid values: ADMIN, DATASOURCE, DATABASE, TABLE, VIEW, FUNCTION, COLUMN, and ENGINE. Note: If it is left empty, ADMIN is used.
    reAuth boolean
    Whether the grantee is allowed to further grant the permissions. Valid values: false (default) and true (the grantee can grant permissions gained here to other sub-users).
    source string
    The permission source, which is not required when input parameters are passed in. Valid values: USER (from the user) and WORKGROUP (from one or more associated work groups).
    sourceId number
    The ID of the work group, which applies only when the value of the Source field is WORKGROUP.
    sourceName string
    The name of the work group, which applies only when the value of the Source field is WORKGROUP.
    view string
    The name of the target view. * represents all views in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any view.
    catalog str
    The name of the target data source. To grant admin permission, it must be * (all resources at this level); to grant data source and database permissions, it must be COSDataCatalog or *; to grant table permissions, it can be a custom data source; if it is left empty, DataLakeCatalog is used. Note: To grant permissions on a custom data source, the permissions that can be managed in the Data Lake Compute console are subsets of the account permissions granted when you connect the data source to the console.
    database str
    The name of the target database. * represents all databases in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any database.
    operation str
    The target permissions, which vary by permission level. Admin: ALL (default); data connection: CREATE; database: ALL, CREATE, ALTER, and DROP; table: ALL, SELECT, INSERT, ALTER, DELETE, DROP, and UPDATE. Note: For table permissions, if a data source other than COSDataCatalog is specified, only the SELECT permission can be granted here.
    table str
    The name of the target table. * represents all tables in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any table.
    column str
    The name of the target column. * represents all columns. To grant admin permissions, it must be *.
    create_time str
    The permission policy creation time, which is not required as an input parameter.
    data_engine str
    The name of the target data engine. * represents all engines. To grant admin permissions, it must be *.
    function str
    The name of the target function. * represents all functions in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any function.
    id float
    The policy ID.
    mode str
    The grant mode, which is not required as an input parameter. Valid values: COMMON and SENIOR.
    operator str
    The operator, which is not required as an input parameter.
    policy_type str
    The permission type. Valid values: ADMIN, DATASOURCE, DATABASE, TABLE, VIEW, FUNCTION, COLUMN, and ENGINE. Note: If it is left empty, ADMIN is used.
    re_auth bool
    Whether the grantee is allowed to further grant the permissions. Valid values: false (default) and true (the grantee can grant permissions gained here to other sub-users).
    source str
    The permission source, which is not required when input parameters are passed in. Valid values: USER (from the user) and WORKGROUP (from one or more associated work groups).
    source_id float
    The ID of the work group, which applies only when the value of the Source field is WORKGROUP.
    source_name str
    The name of the work group, which applies only when the value of the Source field is WORKGROUP.
    view str
    The name of the target view. * represents all views in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any view.
    catalog String
    The name of the target data source. To grant admin permission, it must be * (all resources at this level); to grant data source and database permissions, it must be COSDataCatalog or *; to grant table permissions, it can be a custom data source; if it is left empty, DataLakeCatalog is used. Note: To grant permissions on a custom data source, the permissions that can be managed in the Data Lake Compute console are subsets of the account permissions granted when you connect the data source to the console.
    database String
    The name of the target database. * represents all databases in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any database.
    operation String
    The target permissions, which vary by permission level. Admin: ALL (default); data connection: CREATE; database: ALL, CREATE, ALTER, and DROP; table: ALL, SELECT, INSERT, ALTER, DELETE, DROP, and UPDATE. Note: For table permissions, if a data source other than COSDataCatalog is specified, only the SELECT permission can be granted here.
    table String
    The name of the target table. * represents all tables in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any table.
    column String
    The name of the target column. * represents all columns. To grant admin permissions, it must be *.
    createTime String
    The permission policy creation time, which is not required as an input parameter.
    dataEngine String
    The name of the target data engine. * represents all engines. To grant admin permissions, it must be *.
    function String
    The name of the target function. * represents all functions in the current catalog. To grant admin permissions, it must be *; to grant data connection permissions, it must be null; to grant other permissions, it can be any function.
    id Number
    The policy ID.
    mode String
    The grant mode, which is not required as an input parameter. Valid values: COMMON and SENIOR.
    operator String
    The operator, which is not required as an input parameter.
    policyType String
    The permission type. Valid values: ADMIN, DATASOURCE, DATABASE, TABLE, VIEW, FUNCTION, COLUMN, and ENGINE. Note: If it is left empty, ADMIN is used.
    reAuth Boolean
    Whether the grantee is allowed to further grant the permissions. Valid values: false (default) and true (the grantee can grant permissions gained here to other sub-users).
    source String
    The permission source, which is not required when input parameters are passed in. Valid values: USER (from the user) and WORKGROUP (from one or more associated work groups).
    sourceId Number
    The ID of the work group, which applies only when the value of the Source field is WORKGROUP.
    sourceName String
    The name of the work group, which applies only when the value of the Source field is WORKGROUP.
    view String
    The name of the target view. * represents all views in the current database. To grant admin permissions, it must be *; to grant data connection and database permissions, it must be null; to grant other permissions, it can be any view.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack