1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. CvmRepairTaskControlOperation
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Example Usage

    Authorize a repair task immediately

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const demo = new tencentcloud.CvmRepairTaskControlOperation("demo", {
        product: "CVM",
        instanceIds: ["ins-xxxxxxxx"],
        taskId: "rep-xxxxxxxx",
        operate: "AuthorizeRepair",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    demo = tencentcloud.CvmRepairTaskControlOperation("demo",
        product="CVM",
        instance_ids=["ins-xxxxxxxx"],
        task_id="rep-xxxxxxxx",
        operate="AuthorizeRepair")
    
    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.NewCvmRepairTaskControlOperation(ctx, "demo", &tencentcloud.CvmRepairTaskControlOperationArgs{
    			Product: pulumi.String("CVM"),
    			InstanceIds: pulumi.StringArray{
    				pulumi.String("ins-xxxxxxxx"),
    			},
    			TaskId:  pulumi.String("rep-xxxxxxxx"),
    			Operate: pulumi.String("AuthorizeRepair"),
    		})
    		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 demo = new Tencentcloud.CvmRepairTaskControlOperation("demo", new()
        {
            Product = "CVM",
            InstanceIds = new[]
            {
                "ins-xxxxxxxx",
            },
            TaskId = "rep-xxxxxxxx",
            Operate = "AuthorizeRepair",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CvmRepairTaskControlOperation;
    import com.pulumi.tencentcloud.CvmRepairTaskControlOperationArgs;
    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 demo = new CvmRepairTaskControlOperation("demo", CvmRepairTaskControlOperationArgs.builder()
                .product("CVM")
                .instanceIds("ins-xxxxxxxx")
                .taskId("rep-xxxxxxxx")
                .operate("AuthorizeRepair")
                .build());
    
        }
    }
    
    resources:
      demo:
        type: tencentcloud:CvmRepairTaskControlOperation
        properties:
          product: CVM
          instanceIds:
            - ins-xxxxxxxx
          taskId: rep-xxxxxxxx
          operate: AuthorizeRepair
    
    Example coming soon!
    

    Schedule the authorization at a future time

    The scheduled time must be at least 5 minutes later than the current time and within 48 hours.

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const scheduled = new tencentcloud.CvmRepairTaskControlOperation("scheduled", {
        product: "CVM",
        instanceIds: ["ins-xxxxxxxx"],
        taskId: "rep-xxxxxxxx",
        operate: "AuthorizeRepair",
        orderAuthTime: "2030-01-01 12:00:00",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    scheduled = tencentcloud.CvmRepairTaskControlOperation("scheduled",
        product="CVM",
        instance_ids=["ins-xxxxxxxx"],
        task_id="rep-xxxxxxxx",
        operate="AuthorizeRepair",
        order_auth_time="2030-01-01 12:00:00")
    
    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.NewCvmRepairTaskControlOperation(ctx, "scheduled", &tencentcloud.CvmRepairTaskControlOperationArgs{
    			Product: pulumi.String("CVM"),
    			InstanceIds: pulumi.StringArray{
    				pulumi.String("ins-xxxxxxxx"),
    			},
    			TaskId:        pulumi.String("rep-xxxxxxxx"),
    			Operate:       pulumi.String("AuthorizeRepair"),
    			OrderAuthTime: pulumi.String("2030-01-01 12:00:00"),
    		})
    		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 scheduled = new Tencentcloud.CvmRepairTaskControlOperation("scheduled", new()
        {
            Product = "CVM",
            InstanceIds = new[]
            {
                "ins-xxxxxxxx",
            },
            TaskId = "rep-xxxxxxxx",
            Operate = "AuthorizeRepair",
            OrderAuthTime = "2030-01-01 12:00:00",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CvmRepairTaskControlOperation;
    import com.pulumi.tencentcloud.CvmRepairTaskControlOperationArgs;
    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 scheduled = new CvmRepairTaskControlOperation("scheduled", CvmRepairTaskControlOperationArgs.builder()
                .product("CVM")
                .instanceIds("ins-xxxxxxxx")
                .taskId("rep-xxxxxxxx")
                .operate("AuthorizeRepair")
                .orderAuthTime("2030-01-01 12:00:00")
                .build());
    
        }
    }
    
    resources:
      scheduled:
        type: tencentcloud:CvmRepairTaskControlOperation
        properties:
          product: CVM
          instanceIds:
            - ins-xxxxxxxx
          taskId: rep-xxxxxxxx
          operate: AuthorizeRepair
          orderAuthTime: 2030-01-01 12:00:00
    
    Example coming soon!
    

    Authorize with lossy local-disk migration

    WARNING: setting task_sub_method to LossyLocal on a local-disk instance will WIPE ALL LOCAL DISK DATA, equivalent to redeploying the local-disk instance. Make sure to back up critical data and review your /etc/fstab mounts (consider adding nofail) before proceeding.

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const lossyLocal = new tencentcloud.CvmRepairTaskControlOperation("lossy_local", {
        product: "CVM",
        instanceIds: ["ins-xxxxxxxx"],
        taskId: "rep-xxxxxxxx",
        operate: "AuthorizeRepair",
        taskSubMethod: "LossyLocal",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    lossy_local = tencentcloud.CvmRepairTaskControlOperation("lossy_local",
        product="CVM",
        instance_ids=["ins-xxxxxxxx"],
        task_id="rep-xxxxxxxx",
        operate="AuthorizeRepair",
        task_sub_method="LossyLocal")
    
    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.NewCvmRepairTaskControlOperation(ctx, "lossy_local", &tencentcloud.CvmRepairTaskControlOperationArgs{
    			Product: pulumi.String("CVM"),
    			InstanceIds: pulumi.StringArray{
    				pulumi.String("ins-xxxxxxxx"),
    			},
    			TaskId:        pulumi.String("rep-xxxxxxxx"),
    			Operate:       pulumi.String("AuthorizeRepair"),
    			TaskSubMethod: pulumi.String("LossyLocal"),
    		})
    		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 lossyLocal = new Tencentcloud.CvmRepairTaskControlOperation("lossy_local", new()
        {
            Product = "CVM",
            InstanceIds = new[]
            {
                "ins-xxxxxxxx",
            },
            TaskId = "rep-xxxxxxxx",
            Operate = "AuthorizeRepair",
            TaskSubMethod = "LossyLocal",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CvmRepairTaskControlOperation;
    import com.pulumi.tencentcloud.CvmRepairTaskControlOperationArgs;
    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 lossyLocal = new CvmRepairTaskControlOperation("lossyLocal", CvmRepairTaskControlOperationArgs.builder()
                .product("CVM")
                .instanceIds("ins-xxxxxxxx")
                .taskId("rep-xxxxxxxx")
                .operate("AuthorizeRepair")
                .taskSubMethod("LossyLocal")
                .build());
    
        }
    }
    
    resources:
      lossyLocal:
        type: tencentcloud:CvmRepairTaskControlOperation
        name: lossy_local
        properties:
          product: CVM
          instanceIds:
            - ins-xxxxxxxx
          taskId: rep-xxxxxxxx
          operate: AuthorizeRepair
          taskSubMethod: LossyLocal
    
    Example coming soon!
    

    Create CvmRepairTaskControlOperation Resource

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

    Constructor syntax

    new CvmRepairTaskControlOperation(name: string, args: CvmRepairTaskControlOperationArgs, opts?: CustomResourceOptions);
    @overload
    def CvmRepairTaskControlOperation(resource_name: str,
                                      args: CvmRepairTaskControlOperationArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def CvmRepairTaskControlOperation(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      instance_ids: Optional[Sequence[str]] = None,
                                      operate: Optional[str] = None,
                                      product: Optional[str] = None,
                                      task_id: Optional[str] = None,
                                      cvm_repair_task_control_operation_id: Optional[str] = None,
                                      order_auth_time: Optional[str] = None,
                                      task_sub_method: Optional[str] = None)
    func NewCvmRepairTaskControlOperation(ctx *Context, name string, args CvmRepairTaskControlOperationArgs, opts ...ResourceOption) (*CvmRepairTaskControlOperation, error)
    public CvmRepairTaskControlOperation(string name, CvmRepairTaskControlOperationArgs args, CustomResourceOptions? opts = null)
    public CvmRepairTaskControlOperation(String name, CvmRepairTaskControlOperationArgs args)
    public CvmRepairTaskControlOperation(String name, CvmRepairTaskControlOperationArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CvmRepairTaskControlOperation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_cvmrepairtaskcontroloperation" "name" {
        # resource properties
    }

    Parameters

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

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

    InstanceIds List<string>
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    Operate string
    Operation type. Currently only AuthorizeRepair is supported.
    Product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    TaskId string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    CvmRepairTaskControlOperationId string
    ID of the resource.
    OrderAuthTime string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    TaskSubMethod string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    InstanceIds []string
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    Operate string
    Operation type. Currently only AuthorizeRepair is supported.
    Product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    TaskId string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    CvmRepairTaskControlOperationId string
    ID of the resource.
    OrderAuthTime string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    TaskSubMethod string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    instance_ids list(string)
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate string
    Operation type. Currently only AuthorizeRepair is supported.
    product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    task_id string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    cvm_repair_task_control_operation_id string
    ID of the resource.
    order_auth_time string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    task_sub_method string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    instanceIds List<String>
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate String
    Operation type. Currently only AuthorizeRepair is supported.
    product String
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    taskId String
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    cvmRepairTaskControlOperationId String
    ID of the resource.
    orderAuthTime String
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    taskSubMethod String
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    instanceIds string[]
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate string
    Operation type. Currently only AuthorizeRepair is supported.
    product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    taskId string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    cvmRepairTaskControlOperationId string
    ID of the resource.
    orderAuthTime string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    taskSubMethod string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    instance_ids Sequence[str]
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate str
    Operation type. Currently only AuthorizeRepair is supported.
    product str
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    task_id str
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    cvm_repair_task_control_operation_id str
    ID of the resource.
    order_auth_time str
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    task_sub_method str
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    instanceIds List<String>
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate String
    Operation type. Currently only AuthorizeRepair is supported.
    product String
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    taskId String
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    cvmRepairTaskControlOperationId String
    ID of the resource.
    orderAuthTime String
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    taskSubMethod String
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.

    Outputs

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

    Get an existing CvmRepairTaskControlOperation 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?: CvmRepairTaskControlOperationState, opts?: CustomResourceOptions): CvmRepairTaskControlOperation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cvm_repair_task_control_operation_id: Optional[str] = None,
            instance_ids: Optional[Sequence[str]] = None,
            operate: Optional[str] = None,
            order_auth_time: Optional[str] = None,
            product: Optional[str] = None,
            task_id: Optional[str] = None,
            task_sub_method: Optional[str] = None) -> CvmRepairTaskControlOperation
    func GetCvmRepairTaskControlOperation(ctx *Context, name string, id IDInput, state *CvmRepairTaskControlOperationState, opts ...ResourceOption) (*CvmRepairTaskControlOperation, error)
    public static CvmRepairTaskControlOperation Get(string name, Input<string> id, CvmRepairTaskControlOperationState? state, CustomResourceOptions? opts = null)
    public static CvmRepairTaskControlOperation get(String name, Output<String> id, CvmRepairTaskControlOperationState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CvmRepairTaskControlOperation    get:      id: ${id}
    import {
      to = tencentcloud_cvmrepairtaskcontroloperation.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.
    The following state arguments are supported:
    CvmRepairTaskControlOperationId string
    ID of the resource.
    InstanceIds List<string>
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    Operate string
    Operation type. Currently only AuthorizeRepair is supported.
    OrderAuthTime string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    Product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    TaskId string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    TaskSubMethod string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    CvmRepairTaskControlOperationId string
    ID of the resource.
    InstanceIds []string
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    Operate string
    Operation type. Currently only AuthorizeRepair is supported.
    OrderAuthTime string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    Product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    TaskId string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    TaskSubMethod string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    cvm_repair_task_control_operation_id string
    ID of the resource.
    instance_ids list(string)
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate string
    Operation type. Currently only AuthorizeRepair is supported.
    order_auth_time string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    task_id string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    task_sub_method string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    cvmRepairTaskControlOperationId String
    ID of the resource.
    instanceIds List<String>
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate String
    Operation type. Currently only AuthorizeRepair is supported.
    orderAuthTime String
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    product String
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    taskId String
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    taskSubMethod String
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    cvmRepairTaskControlOperationId string
    ID of the resource.
    instanceIds string[]
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate string
    Operation type. Currently only AuthorizeRepair is supported.
    orderAuthTime string
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    product string
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    taskId string
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    taskSubMethod string
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    cvm_repair_task_control_operation_id str
    ID of the resource.
    instance_ids Sequence[str]
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate str
    Operation type. Currently only AuthorizeRepair is supported.
    order_auth_time str
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    product str
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    task_id str
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    task_sub_method str
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
    cvmRepairTaskControlOperationId String
    ID of the resource.
    instanceIds List<String>
    List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from InstanceId in the DescribeTaskInfo API response.
    operate String
    Operation type. Currently only AuthorizeRepair is supported.
    orderAuthTime String
    Scheduled authorization time, format YYYY-MM-DD HH:MM:SS. The scheduled time must be at least 5 minutes later than the current time and within 48 hours.
    product String
    Product type the pending-authorization task instance belongs to. Valid values: CVM (Cloud Virtual Machine), CDH (Cloud Dedicated Host), CPM2.0 (Cloud Physical Machine 2.0).
    taskId String
    ID of the repair task to operate on. Can be obtained from TaskId in the DescribeTaskInfo API response.
    taskSubMethod String
    Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to LossyLocal to allow lossy local-disk migration. WARNING: when LossyLocal is used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.

    Import

    This resource is an operation-style resource and does not support pulumi import. The cloud-side authorization is a one-shot side-effect with no Describe API to refresh state.

    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.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.