tencentcloud.DlcRenewDataEngineOperation
Explore with Pulumi AI
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:
- Data
Engine stringName - CU queue name.
- Time
Span double - Renewal period in months, which is at least one month.
- Dlc
Renew stringData Engine Operation Id - ID of the resource.
- Pay
Mode double - Payment type. It is 1 by default and is prepaid.
- Renew
Flag 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.
- Time
Unit string - Unit. It is m by default, and only m can be filled in.
- Data
Engine stringName - CU queue name.
- Time
Span float64 - Renewal period in months, which is at least one month.
- Dlc
Renew stringData Engine Operation Id - ID of the resource.
- Pay
Mode float64 - Payment type. It is 1 by default and is prepaid.
- Renew
Flag 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.
- Time
Unit string - Unit. It is m by default, and only m can be filled in.
- data
Engine StringName - CU queue name.
- time
Span Double - Renewal period in months, which is at least one month.
- dlc
Renew StringData Engine Operation Id - ID of the resource.
- pay
Mode Double - Payment type. It is 1 by default and is prepaid.
- renew
Flag 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.
- time
Unit String - Unit. It is m by default, and only m can be filled in.
- data
Engine stringName - CU queue name.
- time
Span number - Renewal period in months, which is at least one month.
- dlc
Renew stringData Engine Operation Id - ID of the resource.
- pay
Mode number - Payment type. It is 1 by default and is prepaid.
- renew
Flag 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.
- time
Unit string - Unit. It is m by default, and only m can be filled in.
- data_
engine_ strname - CU queue name.
- time_
span float - Renewal period in months, which is at least one month.
- dlc_
renew_ strdata_ engine_ operation_ id - 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.
- data
Engine StringName - CU queue name.
- time
Span Number - Renewal period in months, which is at least one month.
- dlc
Renew StringData Engine Operation Id - ID of the resource.
- pay
Mode Number - Payment type. It is 1 by default and is prepaid.
- renew
Flag 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.
- time
Unit 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.
- Data
Engine stringName - CU queue name.
- Dlc
Renew stringData Engine Operation Id - ID of the resource.
- Pay
Mode double - Payment type. It is 1 by default and is prepaid.
- Renew
Flag 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.
- Time
Span double - Renewal period in months, which is at least one month.
- Time
Unit string - Unit. It is m by default, and only m can be filled in.
- Data
Engine stringName - CU queue name.
- Dlc
Renew stringData Engine Operation Id - ID of the resource.
- Pay
Mode float64 - Payment type. It is 1 by default and is prepaid.
- Renew
Flag 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.
- Time
Span float64 - Renewal period in months, which is at least one month.
- Time
Unit string - Unit. It is m by default, and only m can be filled in.
- data
Engine StringName - CU queue name.
- dlc
Renew StringData Engine Operation Id - ID of the resource.
- pay
Mode Double - Payment type. It is 1 by default and is prepaid.
- renew
Flag 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.
- time
Span Double - Renewal period in months, which is at least one month.
- time
Unit String - Unit. It is m by default, and only m can be filled in.
- data
Engine stringName - CU queue name.
- dlc
Renew stringData Engine Operation Id - ID of the resource.
- pay
Mode number - Payment type. It is 1 by default and is prepaid.
- renew
Flag 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.
- time
Span number - Renewal period in months, which is at least one month.
- time
Unit string - Unit. It is m by default, and only m can be filled in.
- data_
engine_ strname - CU queue name.
- dlc_
renew_ strdata_ engine_ operation_ id - 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.
- data
Engine StringName - CU queue name.
- dlc
Renew StringData Engine Operation Id - ID of the resource.
- pay
Mode Number - Payment type. It is 1 by default and is prepaid.
- renew
Flag 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.
- time
Span Number - Renewal period in months, which is at least one month.
- time
Unit 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.