published on Monday, May 11, 2026 by tencentcloudstack
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:
- 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
InstanceIdin theDescribeTaskInfoAPI response. - Operate string
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - Cvm
Repair stringTask Control Operation Id - ID of the resource.
- Order
Auth stringTime - 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 stringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- Instance
Ids []string - List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from
InstanceIdin theDescribeTaskInfoAPI response. - Operate string
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - Cvm
Repair stringTask Control Operation Id - ID of the resource.
- Order
Auth stringTime - 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 stringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis 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
InstanceIdin theDescribeTaskInfoAPI response. - operate string
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - cvm_
repair_ stringtask_ control_ operation_ id - ID of the resource.
- order_
auth_ stringtime - 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_ stringmethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis 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
InstanceIdin theDescribeTaskInfoAPI response. - operate String
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - cvm
Repair StringTask Control Operation Id - ID of the resource.
- order
Auth StringTime - 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 StringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- instance
Ids string[] - List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from
InstanceIdin theDescribeTaskInfoAPI response. - operate string
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - cvm
Repair stringTask Control Operation Id - ID of the resource.
- order
Auth stringTime - 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 stringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis 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
InstanceIdin theDescribeTaskInfoAPI response. - operate str
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - cvm_
repair_ strtask_ control_ operation_ id - ID of the resource.
- order_
auth_ strtime - 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_ strmethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis 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
InstanceIdin theDescribeTaskInfoAPI response. - operate String
- Operation type. Currently only
AuthorizeRepairis 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
TaskIdin theDescribeTaskInfoAPI response. - cvm
Repair StringTask Control Operation Id - ID of the resource.
- order
Auth StringTime - 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 StringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis 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) -> CvmRepairTaskControlOperationfunc 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.
- Cvm
Repair stringTask Control Operation Id - 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
InstanceIdin theDescribeTaskInfoAPI response. - Operate string
- Operation type. Currently only
AuthorizeRepairis supported. - Order
Auth stringTime - 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
TaskIdin theDescribeTaskInfoAPI response. - Task
Sub stringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- Cvm
Repair stringTask Control Operation Id - ID of the resource.
- Instance
Ids []string - List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from
InstanceIdin theDescribeTaskInfoAPI response. - Operate string
- Operation type. Currently only
AuthorizeRepairis supported. - Order
Auth stringTime - 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
TaskIdin theDescribeTaskInfoAPI response. - Task
Sub stringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- cvm_
repair_ stringtask_ control_ operation_ id - 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
InstanceIdin theDescribeTaskInfoAPI response. - operate string
- Operation type. Currently only
AuthorizeRepairis supported. - order_
auth_ stringtime - 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
TaskIdin theDescribeTaskInfoAPI response. - task_
sub_ stringmethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- cvm
Repair StringTask Control Operation Id - 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
InstanceIdin theDescribeTaskInfoAPI response. - operate String
- Operation type. Currently only
AuthorizeRepairis supported. - order
Auth StringTime - 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
TaskIdin theDescribeTaskInfoAPI response. - task
Sub StringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- cvm
Repair stringTask Control Operation Id - ID of the resource.
- instance
Ids string[] - List of instance IDs to operate on. Only repair tasks related to these instance IDs are authorized. Can be obtained from
InstanceIdin theDescribeTaskInfoAPI response. - operate string
- Operation type. Currently only
AuthorizeRepairis supported. - order
Auth stringTime - 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
TaskIdin theDescribeTaskInfoAPI response. - task
Sub stringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- cvm_
repair_ strtask_ control_ operation_ id - 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
InstanceIdin theDescribeTaskInfoAPI response. - operate str
- Operation type. Currently only
AuthorizeRepairis supported. - order_
auth_ strtime - 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
TaskIdin theDescribeTaskInfoAPI response. - task_
sub_ strmethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis used on a local-disk instance, all local disk data will be wiped, equivalent to redeploying the local-disk instance.
- cvm
Repair StringTask Control Operation Id - 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
InstanceIdin theDescribeTaskInfoAPI response. - operate String
- Operation type. Currently only
AuthorizeRepairis supported. - order
Auth StringTime - 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
TaskIdin theDescribeTaskInfoAPI response. - task
Sub StringMethod - Additional authorization handling strategy. When empty, the default authorization is used. For repair tasks supporting lossy migration, set to
LossyLocalto allow lossy local-disk migration. WARNING: whenLossyLocalis 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
tencentcloudTerraform Provider.
published on Monday, May 11, 2026 by tencentcloudstack
