1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DlcRenewDataEngineOperation
tencentcloud 1.82.27 published on Sunday, Sep 28, 2025 by tencentcloudstack

tencentcloud.DlcRenewDataEngineOperation

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.82.27 published on Sunday, Sep 28, 2025 by tencentcloudstack

    Provides a resource to create a DLC renew data engine

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DlcRenewDataEngineOperation("example", {
        dataEngineName: "tf-example",
        payMode: 1,
        renewFlag: 1,
        timeSpan: 3600,
        timeUnit: "m",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DlcRenewDataEngineOperation("example",
        data_engine_name="tf-example",
        pay_mode=1,
        renew_flag=1,
        time_span=3600,
        time_unit="m")
    
    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.NewDlcRenewDataEngineOperation(ctx, "example", &tencentcloud.DlcRenewDataEngineOperationArgs{
    			DataEngineName: pulumi.String("tf-example"),
    			PayMode:        pulumi.Float64(1),
    			RenewFlag:      pulumi.Float64(1),
    			TimeSpan:       pulumi.Float64(3600),
    			TimeUnit:       pulumi.String("m"),
    		})
    		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.DlcRenewDataEngineOperation("example", new()
        {
            DataEngineName = "tf-example",
            PayMode = 1,
            RenewFlag = 1,
            TimeSpan = 3600,
            TimeUnit = "m",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DlcRenewDataEngineOperation;
    import com.pulumi.tencentcloud.DlcRenewDataEngineOperationArgs;
    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 DlcRenewDataEngineOperation("example", DlcRenewDataEngineOperationArgs.builder()
                .dataEngineName("tf-example")
                .payMode(1)
                .renewFlag(1)
                .timeSpan(3600)
                .timeUnit("m")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DlcRenewDataEngineOperation
        properties:
          dataEngineName: tf-example
          payMode: 1
          renewFlag: 1
          timeSpan: 3600
          timeUnit: m
    

    Create DlcRenewDataEngineOperation Resource

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

    Constructor syntax

    new DlcRenewDataEngineOperation(name: string, args: DlcRenewDataEngineOperationArgs, opts?: CustomResourceOptions);
    @overload
    def DlcRenewDataEngineOperation(resource_name: str,
                                    args: DlcRenewDataEngineOperationArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DlcRenewDataEngineOperation(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    data_engine_name: Optional[str] = None,
                                    time_span: Optional[float] = None,
                                    dlc_renew_data_engine_operation_id: Optional[str] = None,
                                    pay_mode: Optional[float] = None,
                                    renew_flag: Optional[float] = None,
                                    time_unit: Optional[str] = None)
    func NewDlcRenewDataEngineOperation(ctx *Context, name string, args DlcRenewDataEngineOperationArgs, opts ...ResourceOption) (*DlcRenewDataEngineOperation, error)
    public DlcRenewDataEngineOperation(string name, DlcRenewDataEngineOperationArgs args, CustomResourceOptions? opts = null)
    public DlcRenewDataEngineOperation(String name, DlcRenewDataEngineOperationArgs args)
    public DlcRenewDataEngineOperation(String name, DlcRenewDataEngineOperationArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DlcRenewDataEngineOperation
    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 DlcRenewDataEngineOperationArgs
    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 DlcRenewDataEngineOperationArgs
    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 DlcRenewDataEngineOperationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DlcRenewDataEngineOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DlcRenewDataEngineOperationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    DataEngineName string
    CU queue name.
    TimeSpan double
    Renewal period in months, which is at least one month.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode double
    Payment type. It is 1 by default and is prepaid.
    RenewFlag double
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    TimeUnit string
    Unit. It is m by default, and only m can be filled in.
    DataEngineName string
    CU queue name.
    TimeSpan float64
    Renewal period in months, which is at least one month.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode float64
    Payment type. It is 1 by default and is prepaid.
    RenewFlag float64
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    TimeUnit string
    Unit. It is m by default, and only m can be filled in.
    dataEngineName String
    CU queue name.
    timeSpan Double
    Renewal period in months, which is at least one month.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Double
    Payment type. It is 1 by default and is prepaid.
    renewFlag Double
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    timeUnit String
    Unit. It is m by default, and only m can be filled in.
    dataEngineName string
    CU queue name.
    timeSpan number
    Renewal period in months, which is at least one month.
    dlcRenewDataEngineOperationId string
    ID of the resource.
    payMode number
    Payment type. It is 1 by default and is prepaid.
    renewFlag number
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    timeUnit string
    Unit. It is m by default, and only m can be filled in.
    data_engine_name str
    CU queue name.
    time_span float
    Renewal period in months, which is at least one month.
    dlc_renew_data_engine_operation_id str
    ID of the resource.
    pay_mode float
    Payment type. It is 1 by default and is prepaid.
    renew_flag float
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    time_unit str
    Unit. It is m by default, and only m can be filled in.
    dataEngineName String
    CU queue name.
    timeSpan Number
    Renewal period in months, which is at least one month.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Number
    Payment type. It is 1 by default and is prepaid.
    renewFlag Number
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    timeUnit String
    Unit. It is m by default, and only m can be filled in.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DlcRenewDataEngineOperation 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 DlcRenewDataEngineOperation Resource

    Get an existing DlcRenewDataEngineOperation 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?: DlcRenewDataEngineOperationState, opts?: CustomResourceOptions): DlcRenewDataEngineOperation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            data_engine_name: Optional[str] = None,
            dlc_renew_data_engine_operation_id: Optional[str] = None,
            pay_mode: Optional[float] = None,
            renew_flag: Optional[float] = None,
            time_span: Optional[float] = None,
            time_unit: Optional[str] = None) -> DlcRenewDataEngineOperation
    func GetDlcRenewDataEngineOperation(ctx *Context, name string, id IDInput, state *DlcRenewDataEngineOperationState, opts ...ResourceOption) (*DlcRenewDataEngineOperation, error)
    public static DlcRenewDataEngineOperation Get(string name, Input<string> id, DlcRenewDataEngineOperationState? state, CustomResourceOptions? opts = null)
    public static DlcRenewDataEngineOperation get(String name, Output<String> id, DlcRenewDataEngineOperationState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DlcRenewDataEngineOperation    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:
    DataEngineName string
    CU queue name.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode double
    Payment type. It is 1 by default and is prepaid.
    RenewFlag double
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    TimeSpan double
    Renewal period in months, which is at least one month.
    TimeUnit string
    Unit. It is m by default, and only m can be filled in.
    DataEngineName string
    CU queue name.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode float64
    Payment type. It is 1 by default and is prepaid.
    RenewFlag float64
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    TimeSpan float64
    Renewal period in months, which is at least one month.
    TimeUnit string
    Unit. It is m by default, and only m can be filled in.
    dataEngineName String
    CU queue name.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Double
    Payment type. It is 1 by default and is prepaid.
    renewFlag Double
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    timeSpan Double
    Renewal period in months, which is at least one month.
    timeUnit String
    Unit. It is m by default, and only m can be filled in.
    dataEngineName string
    CU queue name.
    dlcRenewDataEngineOperationId string
    ID of the resource.
    payMode number
    Payment type. It is 1 by default and is prepaid.
    renewFlag number
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    timeSpan number
    Renewal period in months, which is at least one month.
    timeUnit string
    Unit. It is m by default, and only m can be filled in.
    data_engine_name str
    CU queue name.
    dlc_renew_data_engine_operation_id str
    ID of the resource.
    pay_mode float
    Payment type. It is 1 by default and is prepaid.
    renew_flag float
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    time_span float
    Renewal period in months, which is at least one month.
    time_unit str
    Unit. It is m by default, and only m can be filled in.
    dataEngineName String
    CU queue name.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Number
    Payment type. It is 1 by default and is prepaid.
    renewFlag Number
    Auto-renewal flag: 0 means the initial status, and there is no automatic renewal by default. If the user has the privilege to retain services with prepayment, there will be an automatic renewal. 1 means that there is an automatic renewal. 2 means that there is surely no automatic renewal. If it is not specified, the parameter is 0 by default.
    timeSpan Number
    Renewal period in months, which is at least one month.
    timeUnit String
    Unit. It is m by default, and only m can be filled in.

    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.27 published on Sunday, Sep 28, 2025 by tencentcloudstack