1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DlcRenewDataEngineOperation
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.DlcRenewDataEngineOperation

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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 renewDataEngine = new tencentcloud.DlcRenewDataEngineOperation("renewDataEngine", {
        dataEngineName: "testEngine",
        payMode: 1,
        renewFlag: 1,
        timeSpan: 3600,
        timeUnit: "m",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    renew_data_engine = tencentcloud.DlcRenewDataEngineOperation("renewDataEngine",
        data_engine_name="testEngine",
        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, "renewDataEngine", &tencentcloud.DlcRenewDataEngineOperationArgs{
    			DataEngineName: pulumi.String("testEngine"),
    			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 renewDataEngine = new Tencentcloud.DlcRenewDataEngineOperation("renewDataEngine", new()
        {
            DataEngineName = "testEngine",
            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 renewDataEngine = new DlcRenewDataEngineOperation("renewDataEngine", DlcRenewDataEngineOperationArgs.builder()
                .dataEngineName("testEngine")
                .payMode(1)
                .renewFlag(1)
                .timeSpan(3600)
                .timeUnit("m")
                .build());
    
        }
    }
    
    resources:
      renewDataEngine:
        type: tencentcloud:DlcRenewDataEngineOperation
        properties:
          dataEngineName: testEngine
          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
    Data engine name.
    TimeSpan double
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode double
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    RenewFlag double
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    TimeUnit string
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    DataEngineName string
    Data engine name.
    TimeSpan float64
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode float64
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    RenewFlag float64
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    TimeUnit string
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    dataEngineName String
    Data engine name.
    timeSpan Double
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Double
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renewFlag Double
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    timeUnit String
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    dataEngineName string
    Data engine name.
    timeSpan number
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    dlcRenewDataEngineOperationId string
    ID of the resource.
    payMode number
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renewFlag number
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    timeUnit string
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    data_engine_name str
    Data engine name.
    time_span float
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    dlc_renew_data_engine_operation_id str
    ID of the resource.
    pay_mode float
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renew_flag float
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    time_unit str
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    dataEngineName String
    Data engine name.
    timeSpan Number
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Number
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renewFlag Number
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    timeUnit String
    Engine TimeUnit, prePay: use m(default), postPay: use h.

    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
    Data engine name.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode double
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    RenewFlag double
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    TimeSpan double
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    TimeUnit string
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    DataEngineName string
    Data engine name.
    DlcRenewDataEngineOperationId string
    ID of the resource.
    PayMode float64
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    RenewFlag float64
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    TimeSpan float64
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    TimeUnit string
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    dataEngineName String
    Data engine name.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Double
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renewFlag Double
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    timeSpan Double
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    timeUnit String
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    dataEngineName string
    Data engine name.
    dlcRenewDataEngineOperationId string
    ID of the resource.
    payMode number
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renewFlag number
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    timeSpan number
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    timeUnit string
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    data_engine_name str
    Data engine name.
    dlc_renew_data_engine_operation_id str
    ID of the resource.
    pay_mode float
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renew_flag float
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    time_span float
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    time_unit str
    Engine TimeUnit, prePay: use m(default), postPay: use h.
    dataEngineName String
    Data engine name.
    dlcRenewDataEngineOperationId String
    ID of the resource.
    payMode Number
    Engine pay mode type, only support 0: postPay, 1: prePay(default).
    renewFlag Number
    Automatic renewal flag, 0, initial state, automatic renewal is not performed by default. if the user has prepaid non-stop service privileges, automatic renewal will occur. 1: Automatic renewal. 2: make it clear that there will be no automatic renewal. if this parameter is not passed, the default value is 0.
    timeSpan Number
    Engine TimeSpan, prePay: minimum of 1, representing one month of purchasing resources, with a maximum of 120, default 3600, postPay: fixed fee of 3600.
    timeUnit String
    Engine TimeUnit, prePay: use m(default), postPay: use h.

    Import

    dlc renew_data_engine can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/dlcRenewDataEngineOperation:DlcRenewDataEngineOperation renew_data_engine renew_data_engine_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack