tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getSqlserverBackupByFlowId
Start a Neo task
Explain and create a tencentcloud.getSqlserverBackupByFlowId resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of sqlserver datasource_backup_by_flow_id
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const zones = tencentcloud.getAvailabilityZonesByProduct({
product: "sqlserver",
});
const vpc = new tencentcloud.Vpc("vpc", {
name: "vpc-example",
cidrBlock: "10.0.0.0/16",
});
const subnet = new tencentcloud.Subnet("subnet", {
availabilityZone: zones.then(zones => zones.zones?.[4]?.name),
name: "subnet-example",
vpcId: vpc.vpcId,
cidrBlock: "10.0.0.0/16",
isMulticast: false,
});
const securityGroup = new tencentcloud.SecurityGroup("security_group", {
name: "sg-example",
description: "desc.",
});
const exampleSqlserverBasicInstance = new tencentcloud.SqlserverBasicInstance("example", {
name: "tf-example",
availabilityZone: zones.then(zones => zones.zones?.[4]?.name),
chargeType: "POSTPAID_BY_HOUR",
vpcId: vpc.vpcId,
subnetId: subnet.subnetId,
projectId: 0,
memory: 4,
storage: 100,
cpu: 2,
machineType: "CLOUD_PREMIUM",
maintenanceWeekSets: [
1,
2,
3,
],
maintenanceStartTime: "09:00",
maintenanceTimeSpan: 3,
securityGroups: [securityGroup.securityGroupId],
tags: {
test: "test",
},
});
const exampleSqlserverDb = new tencentcloud.SqlserverDb("example", {
instanceId: exampleSqlserverBasicInstance.sqlserverBasicInstanceId,
name: "tf_example_db",
charset: "Chinese_PRC_BIN",
remark: "test-remark",
});
const exampleSqlserverGeneralBackup = new tencentcloud.SqlserverGeneralBackup("example", {
instanceId: exampleSqlserverDb.sqlserverDbId,
backupName: "tf_example_backup",
strategy: 0,
});
const example = tencentcloud.getSqlserverBackupByFlowIdOutput({
instanceId: exampleSqlserverGeneralBackup.instanceId,
flowId: exampleSqlserverGeneralBackup.flowId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
zones = tencentcloud.get_availability_zones_by_product(product="sqlserver")
vpc = tencentcloud.Vpc("vpc",
name="vpc-example",
cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
availability_zone=zones.zones[4].name,
name="subnet-example",
vpc_id=vpc.vpc_id,
cidr_block="10.0.0.0/16",
is_multicast=False)
security_group = tencentcloud.SecurityGroup("security_group",
name="sg-example",
description="desc.")
example_sqlserver_basic_instance = tencentcloud.SqlserverBasicInstance("example",
name="tf-example",
availability_zone=zones.zones[4].name,
charge_type="POSTPAID_BY_HOUR",
vpc_id=vpc.vpc_id,
subnet_id=subnet.subnet_id,
project_id=0,
memory=4,
storage=100,
cpu=2,
machine_type="CLOUD_PREMIUM",
maintenance_week_sets=[
1,
2,
3,
],
maintenance_start_time="09:00",
maintenance_time_span=3,
security_groups=[security_group.security_group_id],
tags={
"test": "test",
})
example_sqlserver_db = tencentcloud.SqlserverDb("example",
instance_id=example_sqlserver_basic_instance.sqlserver_basic_instance_id,
name="tf_example_db",
charset="Chinese_PRC_BIN",
remark="test-remark")
example_sqlserver_general_backup = tencentcloud.SqlserverGeneralBackup("example",
instance_id=example_sqlserver_db.sqlserver_db_id,
backup_name="tf_example_backup",
strategy=0)
example = tencentcloud.get_sqlserver_backup_by_flow_id_output(instance_id=example_sqlserver_general_backup.instance_id,
flow_id=example_sqlserver_general_backup.flow_id)
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 {
zones, err := tencentcloud.GetAvailabilityZonesByProduct(ctx, &tencentcloud.GetAvailabilityZonesByProductArgs{
Product: "sqlserver",
}, nil)
if err != nil {
return err
}
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
Name: pulumi.String("vpc-example"),
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
AvailabilityZone: pulumi.String(zones.Zones[4].Name),
Name: pulumi.String("subnet-example"),
VpcId: vpc.VpcId,
CidrBlock: pulumi.String("10.0.0.0/16"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
securityGroup, err := tencentcloud.NewSecurityGroup(ctx, "security_group", &tencentcloud.SecurityGroupArgs{
Name: pulumi.String("sg-example"),
Description: pulumi.String("desc."),
})
if err != nil {
return err
}
exampleSqlserverBasicInstance, err := tencentcloud.NewSqlserverBasicInstance(ctx, "example", &tencentcloud.SqlserverBasicInstanceArgs{
Name: pulumi.String("tf-example"),
AvailabilityZone: pulumi.String(zones.Zones[4].Name),
ChargeType: pulumi.String("POSTPAID_BY_HOUR"),
VpcId: vpc.VpcId,
SubnetId: subnet.SubnetId,
ProjectId: pulumi.Float64(0),
Memory: pulumi.Float64(4),
Storage: pulumi.Float64(100),
Cpu: pulumi.Float64(2),
MachineType: pulumi.String("CLOUD_PREMIUM"),
MaintenanceWeekSets: pulumi.Float64Array{
pulumi.Float64(1),
pulumi.Float64(2),
pulumi.Float64(3),
},
MaintenanceStartTime: pulumi.String("09:00"),
MaintenanceTimeSpan: pulumi.Float64(3),
SecurityGroups: pulumi.StringArray{
securityGroup.SecurityGroupId,
},
Tags: pulumi.StringMap{
"test": pulumi.String("test"),
},
})
if err != nil {
return err
}
exampleSqlserverDb, err := tencentcloud.NewSqlserverDb(ctx, "example", &tencentcloud.SqlserverDbArgs{
InstanceId: exampleSqlserverBasicInstance.SqlserverBasicInstanceId,
Name: pulumi.String("tf_example_db"),
Charset: pulumi.String("Chinese_PRC_BIN"),
Remark: pulumi.String("test-remark"),
})
if err != nil {
return err
}
exampleSqlserverGeneralBackup, err := tencentcloud.NewSqlserverGeneralBackup(ctx, "example", &tencentcloud.SqlserverGeneralBackupArgs{
InstanceId: exampleSqlserverDb.SqlserverDbId,
BackupName: pulumi.String("tf_example_backup"),
Strategy: pulumi.Float64(0),
})
if err != nil {
return err
}
_ = tencentcloud.GetSqlserverBackupByFlowIdOutput(ctx, tencentcloud.GetSqlserverBackupByFlowIdOutputArgs{
InstanceId: exampleSqlserverGeneralBackup.InstanceId,
FlowId: exampleSqlserverGeneralBackup.FlowId,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var zones = Tencentcloud.GetAvailabilityZonesByProduct.Invoke(new()
{
Product = "sqlserver",
});
var vpc = new Tencentcloud.Vpc("vpc", new()
{
Name = "vpc-example",
CidrBlock = "10.0.0.0/16",
});
var subnet = new Tencentcloud.Subnet("subnet", new()
{
AvailabilityZone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[4]?.Name),
Name = "subnet-example",
VpcId = vpc.VpcId,
CidrBlock = "10.0.0.0/16",
IsMulticast = false,
});
var securityGroup = new Tencentcloud.SecurityGroup("security_group", new()
{
Name = "sg-example",
Description = "desc.",
});
var exampleSqlserverBasicInstance = new Tencentcloud.SqlserverBasicInstance("example", new()
{
Name = "tf-example",
AvailabilityZone = zones.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[4]?.Name),
ChargeType = "POSTPAID_BY_HOUR",
VpcId = vpc.VpcId,
SubnetId = subnet.SubnetId,
ProjectId = 0,
Memory = 4,
Storage = 100,
Cpu = 2,
MachineType = "CLOUD_PREMIUM",
MaintenanceWeekSets = new[]
{
1,
2,
3,
},
MaintenanceStartTime = "09:00",
MaintenanceTimeSpan = 3,
SecurityGroups = new[]
{
securityGroup.SecurityGroupId,
},
Tags =
{
{ "test", "test" },
},
});
var exampleSqlserverDb = new Tencentcloud.SqlserverDb("example", new()
{
InstanceId = exampleSqlserverBasicInstance.SqlserverBasicInstanceId,
Name = "tf_example_db",
Charset = "Chinese_PRC_BIN",
Remark = "test-remark",
});
var exampleSqlserverGeneralBackup = new Tencentcloud.SqlserverGeneralBackup("example", new()
{
InstanceId = exampleSqlserverDb.SqlserverDbId,
BackupName = "tf_example_backup",
Strategy = 0,
});
var example = Tencentcloud.GetSqlserverBackupByFlowId.Invoke(new()
{
InstanceId = exampleSqlserverGeneralBackup.InstanceId,
FlowId = exampleSqlserverGeneralBackup.FlowId,
});
});
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.GetAvailabilityZonesByProductArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.SecurityGroup;
import com.pulumi.tencentcloud.SecurityGroupArgs;
import com.pulumi.tencentcloud.SqlserverBasicInstance;
import com.pulumi.tencentcloud.SqlserverBasicInstanceArgs;
import com.pulumi.tencentcloud.SqlserverDb;
import com.pulumi.tencentcloud.SqlserverDbArgs;
import com.pulumi.tencentcloud.SqlserverGeneralBackup;
import com.pulumi.tencentcloud.SqlserverGeneralBackupArgs;
import com.pulumi.tencentcloud.inputs.GetSqlserverBackupByFlowIdArgs;
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 zones = TencentcloudFunctions.getAvailabilityZonesByProduct(GetAvailabilityZonesByProductArgs.builder()
.product("sqlserver")
.build());
var vpc = new Vpc("vpc", VpcArgs.builder()
.name("vpc-example")
.cidrBlock("10.0.0.0/16")
.build());
var subnet = new Subnet("subnet", SubnetArgs.builder()
.availabilityZone(zones.zones()[4].name())
.name("subnet-example")
.vpcId(vpc.vpcId())
.cidrBlock("10.0.0.0/16")
.isMulticast(false)
.build());
var securityGroup = new SecurityGroup("securityGroup", SecurityGroupArgs.builder()
.name("sg-example")
.description("desc.")
.build());
var exampleSqlserverBasicInstance = new SqlserverBasicInstance("exampleSqlserverBasicInstance", SqlserverBasicInstanceArgs.builder()
.name("tf-example")
.availabilityZone(zones.zones()[4].name())
.chargeType("POSTPAID_BY_HOUR")
.vpcId(vpc.vpcId())
.subnetId(subnet.subnetId())
.projectId(0.0)
.memory(4.0)
.storage(100.0)
.cpu(2.0)
.machineType("CLOUD_PREMIUM")
.maintenanceWeekSets(
1.0,
2.0,
3.0)
.maintenanceStartTime("09:00")
.maintenanceTimeSpan(3.0)
.securityGroups(securityGroup.securityGroupId())
.tags(Map.of("test", "test"))
.build());
var exampleSqlserverDb = new SqlserverDb("exampleSqlserverDb", SqlserverDbArgs.builder()
.instanceId(exampleSqlserverBasicInstance.sqlserverBasicInstanceId())
.name("tf_example_db")
.charset("Chinese_PRC_BIN")
.remark("test-remark")
.build());
var exampleSqlserverGeneralBackup = new SqlserverGeneralBackup("exampleSqlserverGeneralBackup", SqlserverGeneralBackupArgs.builder()
.instanceId(exampleSqlserverDb.sqlserverDbId())
.backupName("tf_example_backup")
.strategy(0.0)
.build());
final var example = TencentcloudFunctions.getSqlserverBackupByFlowId(GetSqlserverBackupByFlowIdArgs.builder()
.instanceId(exampleSqlserverGeneralBackup.instanceId())
.flowId(exampleSqlserverGeneralBackup.flowId())
.build());
}
}
resources:
vpc:
type: tencentcloud:Vpc
properties:
name: vpc-example
cidrBlock: 10.0.0.0/16
subnet:
type: tencentcloud:Subnet
properties:
availabilityZone: ${zones.zones[4].name}
name: subnet-example
vpcId: ${vpc.vpcId}
cidrBlock: 10.0.0.0/16
isMulticast: false
securityGroup:
type: tencentcloud:SecurityGroup
name: security_group
properties:
name: sg-example
description: desc.
exampleSqlserverBasicInstance:
type: tencentcloud:SqlserverBasicInstance
name: example
properties:
name: tf-example
availabilityZone: ${zones.zones[4].name}
chargeType: POSTPAID_BY_HOUR
vpcId: ${vpc.vpcId}
subnetId: ${subnet.subnetId}
projectId: 0
memory: 4
storage: 100
cpu: 2
machineType: CLOUD_PREMIUM
maintenanceWeekSets:
- 1
- 2
- 3
maintenanceStartTime: 09:00
maintenanceTimeSpan: 3
securityGroups:
- ${securityGroup.securityGroupId}
tags:
test: test
exampleSqlserverDb:
type: tencentcloud:SqlserverDb
name: example
properties:
instanceId: ${exampleSqlserverBasicInstance.sqlserverBasicInstanceId}
name: tf_example_db
charset: Chinese_PRC_BIN
remark: test-remark
exampleSqlserverGeneralBackup:
type: tencentcloud:SqlserverGeneralBackup
name: example
properties:
instanceId: ${exampleSqlserverDb.sqlserverDbId}
backupName: tf_example_backup
strategy: 0
variables:
zones:
fn::invoke:
function: tencentcloud:getAvailabilityZonesByProduct
arguments:
product: sqlserver
example:
fn::invoke:
function: tencentcloud:getSqlserverBackupByFlowId
arguments:
instanceId: ${exampleSqlserverGeneralBackup.instanceId}
flowId: ${exampleSqlserverGeneralBackup.flowId}
Using getSqlserverBackupByFlowId
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 getSqlserverBackupByFlowId(args: GetSqlserverBackupByFlowIdArgs, opts?: InvokeOptions): Promise<GetSqlserverBackupByFlowIdResult>
function getSqlserverBackupByFlowIdOutput(args: GetSqlserverBackupByFlowIdOutputArgs, opts?: InvokeOptions): Output<GetSqlserverBackupByFlowIdResult>def get_sqlserver_backup_by_flow_id(flow_id: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverBackupByFlowIdResult
def get_sqlserver_backup_by_flow_id_output(flow_id: Optional[pulumi.Input[str]] = None,
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[GetSqlserverBackupByFlowIdResult]func GetSqlserverBackupByFlowId(ctx *Context, args *GetSqlserverBackupByFlowIdArgs, opts ...InvokeOption) (*GetSqlserverBackupByFlowIdResult, error)
func GetSqlserverBackupByFlowIdOutput(ctx *Context, args *GetSqlserverBackupByFlowIdOutputArgs, opts ...InvokeOption) GetSqlserverBackupByFlowIdResultOutput> Note: This function is named GetSqlserverBackupByFlowId in the Go SDK.
public static class GetSqlserverBackupByFlowId
{
public static Task<GetSqlserverBackupByFlowIdResult> InvokeAsync(GetSqlserverBackupByFlowIdArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverBackupByFlowIdResult> Invoke(GetSqlserverBackupByFlowIdInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSqlserverBackupByFlowIdResult> getSqlserverBackupByFlowId(GetSqlserverBackupByFlowIdArgs args, InvokeOptions options)
public static Output<GetSqlserverBackupByFlowIdResult> getSqlserverBackupByFlowId(GetSqlserverBackupByFlowIdArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSqlserverBackupByFlowId:getSqlserverBackupByFlowId
arguments:
# arguments dictionaryThe following arguments are supported:
- Flow
Id string - Create a backup process ID, which can be obtained through the CreateBackup interface.
- Instance
Id string - Instance ID.
- Id string
- Result
Output stringFile - Used to save results.
- Flow
Id string - Create a backup process ID, which can be obtained through the CreateBackup interface.
- Instance
Id string - Instance ID.
- Id string
- Result
Output stringFile - Used to save results.
- flow
Id String - Create a backup process ID, which can be obtained through the CreateBackup interface.
- instance
Id String - Instance ID.
- id String
- result
Output StringFile - Used to save results.
- flow
Id string - Create a backup process ID, which can be obtained through the CreateBackup interface.
- instance
Id string - Instance ID.
- id string
- result
Output stringFile - Used to save results.
- flow_
id str - Create a backup process ID, which can be obtained through the CreateBackup interface.
- instance_
id str - Instance ID.
- id str
- result_
output_ strfile - Used to save results.
- flow
Id String - Create a backup process ID, which can be obtained through the CreateBackup interface.
- instance
Id String - Instance ID.
- id String
- result
Output StringFile - Used to save results.
getSqlserverBackupByFlowId Result
The following output properties are available:
- Backup
Name string - Backup task name, customizable.
- Backup
Way double - Backup method, 0-scheduled backup; 1-manual temporary backup; instance status is 0-creating, this field is the default value 0, meaningless.
- Dbs List<string>
- For the DB list, only the library name contained in the first record is returned for a single-database backup file; for a single-database backup file, the library names of all records need to be obtained through the DescribeBackupFiles interface.
- End
Time string - backup end time.
- External
Addr string - External network download address, for a single database backup file, only the external network download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- File
Name string - File name. For a single-database backup file, only the file name of the first record is returned; for a single-database backup file, the file names of all records need to be obtained through the DescribeBackupFiles interface.
- Flow
Id string - Group
Id string - Aggregate Id, this value is not returned for packaged backup files. Use this value to call the DescribeBackupFiles interface to obtain the detailed information of a single database backup file.
- Id string
- Instance
Id string - Internal
Addr string - Intranet download address, for a single database backup file, only the intranet download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- Start
Time string - backup start time.
- Status double
- Backup file status, 0-creating; 1-success; 2-failure.
- Strategy double
- Backup strategy, 0-instance backup; 1-multi-database backup; when the instance status is 0-creating, this field is the default value 0, meaningless.
- Result
Output stringFile
- Backup
Name string - Backup task name, customizable.
- Backup
Way float64 - Backup method, 0-scheduled backup; 1-manual temporary backup; instance status is 0-creating, this field is the default value 0, meaningless.
- Dbs []string
- For the DB list, only the library name contained in the first record is returned for a single-database backup file; for a single-database backup file, the library names of all records need to be obtained through the DescribeBackupFiles interface.
- End
Time string - backup end time.
- External
Addr string - External network download address, for a single database backup file, only the external network download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- File
Name string - File name. For a single-database backup file, only the file name of the first record is returned; for a single-database backup file, the file names of all records need to be obtained through the DescribeBackupFiles interface.
- Flow
Id string - Group
Id string - Aggregate Id, this value is not returned for packaged backup files. Use this value to call the DescribeBackupFiles interface to obtain the detailed information of a single database backup file.
- Id string
- Instance
Id string - Internal
Addr string - Intranet download address, for a single database backup file, only the intranet download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- Start
Time string - backup start time.
- Status float64
- Backup file status, 0-creating; 1-success; 2-failure.
- Strategy float64
- Backup strategy, 0-instance backup; 1-multi-database backup; when the instance status is 0-creating, this field is the default value 0, meaningless.
- Result
Output stringFile
- backup
Name String - Backup task name, customizable.
- backup
Way Double - Backup method, 0-scheduled backup; 1-manual temporary backup; instance status is 0-creating, this field is the default value 0, meaningless.
- dbs List<String>
- For the DB list, only the library name contained in the first record is returned for a single-database backup file; for a single-database backup file, the library names of all records need to be obtained through the DescribeBackupFiles interface.
- end
Time String - backup end time.
- external
Addr String - External network download address, for a single database backup file, only the external network download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- file
Name String - File name. For a single-database backup file, only the file name of the first record is returned; for a single-database backup file, the file names of all records need to be obtained through the DescribeBackupFiles interface.
- flow
Id String - group
Id String - Aggregate Id, this value is not returned for packaged backup files. Use this value to call the DescribeBackupFiles interface to obtain the detailed information of a single database backup file.
- id String
- instance
Id String - internal
Addr String - Intranet download address, for a single database backup file, only the intranet download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- start
Time String - backup start time.
- status Double
- Backup file status, 0-creating; 1-success; 2-failure.
- strategy Double
- Backup strategy, 0-instance backup; 1-multi-database backup; when the instance status is 0-creating, this field is the default value 0, meaningless.
- result
Output StringFile
- backup
Name string - Backup task name, customizable.
- backup
Way number - Backup method, 0-scheduled backup; 1-manual temporary backup; instance status is 0-creating, this field is the default value 0, meaningless.
- dbs string[]
- For the DB list, only the library name contained in the first record is returned for a single-database backup file; for a single-database backup file, the library names of all records need to be obtained through the DescribeBackupFiles interface.
- end
Time string - backup end time.
- external
Addr string - External network download address, for a single database backup file, only the external network download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- file
Name string - File name. For a single-database backup file, only the file name of the first record is returned; for a single-database backup file, the file names of all records need to be obtained through the DescribeBackupFiles interface.
- flow
Id string - group
Id string - Aggregate Id, this value is not returned for packaged backup files. Use this value to call the DescribeBackupFiles interface to obtain the detailed information of a single database backup file.
- id string
- instance
Id string - internal
Addr string - Intranet download address, for a single database backup file, only the intranet download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- start
Time string - backup start time.
- status number
- Backup file status, 0-creating; 1-success; 2-failure.
- strategy number
- Backup strategy, 0-instance backup; 1-multi-database backup; when the instance status is 0-creating, this field is the default value 0, meaningless.
- result
Output stringFile
- backup_
name str - Backup task name, customizable.
- backup_
way float - Backup method, 0-scheduled backup; 1-manual temporary backup; instance status is 0-creating, this field is the default value 0, meaningless.
- dbs Sequence[str]
- For the DB list, only the library name contained in the first record is returned for a single-database backup file; for a single-database backup file, the library names of all records need to be obtained through the DescribeBackupFiles interface.
- end_
time str - backup end time.
- external_
addr str - External network download address, for a single database backup file, only the external network download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- file_
name str - File name. For a single-database backup file, only the file name of the first record is returned; for a single-database backup file, the file names of all records need to be obtained through the DescribeBackupFiles interface.
- flow_
id str - group_
id str - Aggregate Id, this value is not returned for packaged backup files. Use this value to call the DescribeBackupFiles interface to obtain the detailed information of a single database backup file.
- id str
- instance_
id str - internal_
addr str - Intranet download address, for a single database backup file, only the intranet download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- start_
time str - backup start time.
- status float
- Backup file status, 0-creating; 1-success; 2-failure.
- strategy float
- Backup strategy, 0-instance backup; 1-multi-database backup; when the instance status is 0-creating, this field is the default value 0, meaningless.
- result_
output_ strfile
- backup
Name String - Backup task name, customizable.
- backup
Way Number - Backup method, 0-scheduled backup; 1-manual temporary backup; instance status is 0-creating, this field is the default value 0, meaningless.
- dbs List<String>
- For the DB list, only the library name contained in the first record is returned for a single-database backup file; for a single-database backup file, the library names of all records need to be obtained through the DescribeBackupFiles interface.
- end
Time String - backup end time.
- external
Addr String - External network download address, for a single database backup file, only the external network download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- file
Name String - File name. For a single-database backup file, only the file name of the first record is returned; for a single-database backup file, the file names of all records need to be obtained through the DescribeBackupFiles interface.
- flow
Id String - group
Id String - Aggregate Id, this value is not returned for packaged backup files. Use this value to call the DescribeBackupFiles interface to obtain the detailed information of a single database backup file.
- id String
- instance
Id String - internal
Addr String - Intranet download address, for a single database backup file, only the intranet download address of the first record is returned; single database backup files need to obtain the download addresses of all records through the DescribeBackupFiles interface.
- start
Time String - backup start time.
- status Number
- Backup file status, 0-creating; 1-success; 2-failure.
- strategy Number
- Backup strategy, 0-instance backup; 1-multi-database backup; when the instance status is 0-creating, this field is the default value 0, meaningless.
- result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
