tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getMysqlCloneList
Start a Neo task
Explain and create a tencentcloud.getMysqlCloneList resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of mysql clone_list
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const cloneList = tencentcloud.getMysqlCloneList({
instanceId: "cdb-fitq5t9h",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
clone_list = tencentcloud.get_mysql_clone_list(instance_id="cdb-fitq5t9h")
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.GetMysqlCloneList(ctx, &tencentcloud.GetMysqlCloneListArgs{
InstanceId: "cdb-fitq5t9h",
}, nil)
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 cloneList = Tencentcloud.GetMysqlCloneList.Invoke(new()
{
InstanceId = "cdb-fitq5t9h",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetMysqlCloneListArgs;
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) {
final var cloneList = TencentcloudFunctions.getMysqlCloneList(GetMysqlCloneListArgs.builder()
.instanceId("cdb-fitq5t9h")
.build());
}
}
variables:
cloneList:
fn::invoke:
function: tencentcloud:getMysqlCloneList
arguments:
instanceId: cdb-fitq5t9h
Using getMysqlCloneList
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMysqlCloneList(args: GetMysqlCloneListArgs, opts?: InvokeOptions): Promise<GetMysqlCloneListResult>
function getMysqlCloneListOutput(args: GetMysqlCloneListOutputArgs, opts?: InvokeOptions): Output<GetMysqlCloneListResult>def get_mysql_clone_list(id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlCloneListResult
def get_mysql_clone_list_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMysqlCloneListResult]func GetMysqlCloneList(ctx *Context, args *GetMysqlCloneListArgs, opts ...InvokeOption) (*GetMysqlCloneListResult, error)
func GetMysqlCloneListOutput(ctx *Context, args *GetMysqlCloneListOutputArgs, opts ...InvokeOption) GetMysqlCloneListResultOutput> Note: This function is named GetMysqlCloneList in the Go SDK.
public static class GetMysqlCloneList
{
public static Task<GetMysqlCloneListResult> InvokeAsync(GetMysqlCloneListArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlCloneListResult> Invoke(GetMysqlCloneListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMysqlCloneListResult> getMysqlCloneList(GetMysqlCloneListArgs args, InvokeOptions options)
public static Output<GetMysqlCloneListResult> getMysqlCloneList(GetMysqlCloneListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlCloneList:getMysqlCloneList
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Query the list of cloning tasks for the specified source instance.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Query the list of cloning tasks for the specified source instance.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Query the list of cloning tasks for the specified source instance.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Query the list of cloning tasks for the specified source instance.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Query the list of cloning tasks for the specified source instance.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Query the list of cloning tasks for the specified source instance.
- id String
- result
Output StringFile - Used to save results.
getMysqlCloneList Result
The following output properties are available:
- Id string
- Instance
Id string - Items
List<Get
Mysql Clone List Item> - Clone task list.
- Result
Output stringFile
- Id string
- Instance
Id string - Items
[]Get
Mysql Clone List Item - Clone task list.
- Result
Output stringFile
- id String
- instance
Id String - items
List<Get
Mysql Clone List Item> - Clone task list.
- result
Output StringFile
- id string
- instance
Id string - items
Get
Mysql Clone List Item[] - Clone task list.
- result
Output stringFile
- id str
- instance_
id str - items
Sequence[Get
Mysql Clone List Item] - Clone task list.
- result_
output_ strfile
- id String
- instance
Id String - items List<Property Map>
- Clone task list.
- result
Output StringFile
Supporting Types
GetMysqlCloneListItem
- Clone
Job doubleId - Id of the task list corresponding to the clone task.
- Dst
Instance stringId - The newly spawned instance Id of the clone task.
- End
Time string - Task end time.
- New
Region doubleId - Id of the region where the cloned instance is located.
- Rollback
Strategy string - The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
- Rollback
Target stringTime - The time point when the clone instance is rolled back.
- Src
Instance stringId - The source instance Id of the clone task.
- Src
Region doubleId - Id of the region where the source instance is located.
- Start
Time string - Task start time.
- Task
Status string - Task status, including the following status: initial, running, wait_complete, success, failed.
- Clone
Job float64Id - Id of the task list corresponding to the clone task.
- Dst
Instance stringId - The newly spawned instance Id of the clone task.
- End
Time string - Task end time.
- New
Region float64Id - Id of the region where the cloned instance is located.
- Rollback
Strategy string - The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
- Rollback
Target stringTime - The time point when the clone instance is rolled back.
- Src
Instance stringId - The source instance Id of the clone task.
- Src
Region float64Id - Id of the region where the source instance is located.
- Start
Time string - Task start time.
- Task
Status string - Task status, including the following status: initial, running, wait_complete, success, failed.
- clone
Job DoubleId - Id of the task list corresponding to the clone task.
- dst
Instance StringId - The newly spawned instance Id of the clone task.
- end
Time String - Task end time.
- new
Region DoubleId - Id of the region where the cloned instance is located.
- rollback
Strategy String - The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
- rollback
Target StringTime - The time point when the clone instance is rolled back.
- src
Instance StringId - The source instance Id of the clone task.
- src
Region DoubleId - Id of the region where the source instance is located.
- start
Time String - Task start time.
- task
Status String - Task status, including the following status: initial, running, wait_complete, success, failed.
- clone
Job numberId - Id of the task list corresponding to the clone task.
- dst
Instance stringId - The newly spawned instance Id of the clone task.
- end
Time string - Task end time.
- new
Region numberId - Id of the region where the cloned instance is located.
- rollback
Strategy string - The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
- rollback
Target stringTime - The time point when the clone instance is rolled back.
- src
Instance stringId - The source instance Id of the clone task.
- src
Region numberId - Id of the region where the source instance is located.
- start
Time string - Task start time.
- task
Status string - Task status, including the following status: initial, running, wait_complete, success, failed.
- clone_
job_ floatid - Id of the task list corresponding to the clone task.
- dst_
instance_ strid - The newly spawned instance Id of the clone task.
- end_
time str - Task end time.
- new_
region_ floatid - Id of the region where the cloned instance is located.
- rollback_
strategy str - The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
- rollback_
target_ strtime - The time point when the clone instance is rolled back.
- src_
instance_ strid - The source instance Id of the clone task.
- src_
region_ floatid - Id of the region where the source instance is located.
- start_
time str - Task start time.
- task_
status str - Task status, including the following status: initial, running, wait_complete, success, failed.
- clone
Job NumberId - Id of the task list corresponding to the clone task.
- dst
Instance StringId - The newly spawned instance Id of the clone task.
- end
Time String - Task end time.
- new
Region NumberId - Id of the region where the cloned instance is located.
- rollback
Strategy String - The strategy used by the clone instance includes the following types: timepoint: specify the point-in-time rollback, backupset: specify the backup file rollback.
- rollback
Target StringTime - The time point when the clone instance is rolled back.
- src
Instance StringId - The source instance Id of the clone task.
- src
Region NumberId - Id of the region where the source instance is located.
- start
Time String - Task start time.
- task
Status String - Task status, including the following status: initial, running, wait_complete, success, failed.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
