Volcengine v0.0.33 published on Monday, Jun 30, 2025 by Volcengine
volcengine.rds_mysql.getBackups
Explore with Pulumi AI
Use this data source to query detailed information of rds mysql backups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mysql.getBackups({
instanceId: "mysql-b51d37110dd1",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mysql.get_backups(instance_id="mysql-b51d37110dd1")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_mysql.GetBackups(ctx, &rds_mysql.GetBackupsArgs{
InstanceId: pulumi.StringRef("mysql-b51d37110dd1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Rds_mysql.GetBackups.Invoke(new()
{
InstanceId = "mysql-b51d37110dd1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mysql.Rds_mysqlFunctions;
import com.pulumi.volcengine.rds_mysql.inputs.GetBackupsArgs;
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 foo = Rds_mysqlFunctions.getBackups(GetBackupsArgs.builder()
.instanceId("mysql-b51d37110dd1")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rds_mysql:getBackups
Arguments:
instanceId: mysql-b51d37110dd1
Using getBackups
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 getBackups(args: GetBackupsArgs, opts?: InvokeOptions): Promise<GetBackupsResult>
function getBackupsOutput(args: GetBackupsOutputArgs, opts?: InvokeOptions): Output<GetBackupsResult>
def get_backups(backup_end_time: Optional[str] = None,
backup_id: Optional[str] = None,
backup_method: Optional[str] = None,
backup_start_time: Optional[str] = None,
backup_status: Optional[str] = None,
backup_type: Optional[str] = None,
create_type: Optional[str] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupsResult
def get_backups_output(backup_end_time: Optional[pulumi.Input[str]] = None,
backup_id: Optional[pulumi.Input[str]] = None,
backup_method: Optional[pulumi.Input[str]] = None,
backup_start_time: Optional[pulumi.Input[str]] = None,
backup_status: Optional[pulumi.Input[str]] = None,
backup_type: Optional[pulumi.Input[str]] = None,
create_type: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupsResult]
func GetBackups(ctx *Context, args *GetBackupsArgs, opts ...InvokeOption) (*GetBackupsResult, error)
func GetBackupsOutput(ctx *Context, args *GetBackupsOutputArgs, opts ...InvokeOption) GetBackupsResultOutput
> Note: This function is named GetBackups
in the Go SDK.
public static class GetBackups
{
public static Task<GetBackupsResult> InvokeAsync(GetBackupsArgs args, InvokeOptions? opts = null)
public static Output<GetBackupsResult> Invoke(GetBackupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
public static Output<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_mysql/getBackups:getBackups
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
End stringTime - The end time of the backup.
- Backup
Id string - The id of the backup.
- Backup
Method string - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- Backup
Start stringTime - The start time of the backup.
- Backup
Status string - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- Backup
Type string - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- Create
Type string - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- Instance
Id string - The id of the instance.
- Output
File string - File name where to save data source results.
- Backup
End stringTime - The end time of the backup.
- Backup
Id string - The id of the backup.
- Backup
Method string - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- Backup
Start stringTime - The start time of the backup.
- Backup
Status string - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- Backup
Type string - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- Create
Type string - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- Instance
Id string - The id of the instance.
- Output
File string - File name where to save data source results.
- backup
End StringTime - The end time of the backup.
- backup
Id String - The id of the backup.
- backup
Method String - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup
Start StringTime - The start time of the backup.
- backup
Status String - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup
Type String - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- create
Type String - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- instance
Id String - The id of the instance.
- output
File String - File name where to save data source results.
- backup
End stringTime - The end time of the backup.
- backup
Id string - The id of the backup.
- backup
Method string - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup
Start stringTime - The start time of the backup.
- backup
Status string - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup
Type string - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- create
Type string - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- instance
Id string - The id of the instance.
- output
File string - File name where to save data source results.
- backup_
end_ strtime - The end time of the backup.
- backup_
id str - The id of the backup.
- backup_
method str - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup_
start_ strtime - The start time of the backup.
- backup_
status str - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup_
type str - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- create_
type str - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- instance_
id str - The id of the instance.
- output_
file str - File name where to save data source results.
- backup
End StringTime - The end time of the backup.
- backup
Id String - The id of the backup.
- backup
Method String - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup
Start StringTime - The start time of the backup.
- backup
Status String - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup
Type String - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- create
Type String - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- instance
Id String - The id of the instance.
- output
File String - File name where to save data source results.
getBackups Result
The following output properties are available:
- Backups
List<Get
Backups Backup> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Backup
End stringTime - The end time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Id string - The id of the backup.
- Backup
Method string - Backup type, value: Physical: Physical backup. Logical: Logical backup.
- Backup
Start stringTime - The start time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - Backup status, values: Success. Failed. Running.
- Backup
Type string - Backup method, values: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type (created by the system). DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- Create
Type string - Creator of backup. Values: System. User.
- Instance
Id string - Output
File string
- Backups
[]Get
Backups Backup - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Backup
End stringTime - The end time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Id string - The id of the backup.
- Backup
Method string - Backup type, value: Physical: Physical backup. Logical: Logical backup.
- Backup
Start stringTime - The start time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - Backup status, values: Success. Failed. Running.
- Backup
Type string - Backup method, values: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type (created by the system). DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- Create
Type string - Creator of backup. Values: System. User.
- Instance
Id string - Output
File string
- backups
List<Get
Backups Backup> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- backup
End StringTime - The end time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id String - The id of the backup.
- backup
Method String - Backup type, value: Physical: Physical backup. Logical: Logical backup.
- backup
Start StringTime - The start time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - Backup status, values: Success. Failed. Running.
- backup
Type String - Backup method, values: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type (created by the system). DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- create
Type String - Creator of backup. Values: System. User.
- instance
Id String - output
File String
- backups
Get
Backups Backup[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- backup
End stringTime - The end time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id string - The id of the backup.
- backup
Method string - Backup type, value: Physical: Physical backup. Logical: Logical backup.
- backup
Start stringTime - The start time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status string - Backup status, values: Success. Failed. Running.
- backup
Type string - Backup method, values: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type (created by the system). DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- create
Type string - Creator of backup. Values: System. User.
- instance
Id string - output
File string
- backups
Sequence[Get
Backups Backup] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- backup_
end_ strtime - The end time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
id str - The id of the backup.
- backup_
method str - Backup type, value: Physical: Physical backup. Logical: Logical backup.
- backup_
start_ strtime - The start time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
status str - Backup status, values: Success. Failed. Running.
- backup_
type str - Backup method, values: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type (created by the system). DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- create_
type str - Creator of backup. Values: System. User.
- instance_
id str - output_
file str
- backups List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- backup
End StringTime - The end time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id String - The id of the backup.
- backup
Method String - Backup type, value: Physical: Physical backup. Logical: Logical backup.
- backup
Start StringTime - The start time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - Backup status, values: Success. Failed. Running.
- backup
Type String - Backup method, values: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type (created by the system). DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- create
Type String - Creator of backup. Values: System. User.
- instance
Id String - output
File String
Supporting Types
GetBackupsBackup
- Backup
End stringTime - The end time of the backup.
- Backup
File stringName - Backup file name.
- Backup
File intSize - Backup file size, in bytes.
- Backup
Id string - The id of the backup.
- Backup
Method string - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- Backup
Region string - The region where the backup is located.
- Backup
Start stringTime - The start time of the backup.
- Backup
Status string - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- Backup
Type string - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- Consistent
Time string - The time point of a consistent snapshot is in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Create
Type string - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- Db
Table List<GetInfos Backups Backup Db Table Info> - The database table information contained in the backup set can include up to 10,000 tables. Explanation: When the database is empty, this field is not returned.
- Decryption
Key string - The decryption key of the backup.
- Download
Status string - Download status. Values: NotDownload: Not downloaded. Success: Downloaded. Failed: Download failed. Running: Downloading.
- Error
Message string - Error message.
- Expired
Time string - Expired time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Id string
- The id of the backup.
- Is
Encrypted bool - Is the data backup encrypted? Value: true: Encrypted. false: Not encrypted.
- Is
Expired bool - Whether the backup has expired. Value: true: Expired. false: Not expired.
- Iv string
- Initialization Vector.
- Usage
Stats List<GetBackups Backup Usage Stat> - Statistics information about the storage space usage of backups.
- Backup
End stringTime - The end time of the backup.
- Backup
File stringName - Backup file name.
- Backup
File intSize - Backup file size, in bytes.
- Backup
Id string - The id of the backup.
- Backup
Method string - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- Backup
Region string - The region where the backup is located.
- Backup
Start stringTime - The start time of the backup.
- Backup
Status string - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- Backup
Type string - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- Consistent
Time string - The time point of a consistent snapshot is in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Create
Type string - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- Db
Table []GetInfos Backups Backup Db Table Info - The database table information contained in the backup set can include up to 10,000 tables. Explanation: When the database is empty, this field is not returned.
- Decryption
Key string - The decryption key of the backup.
- Download
Status string - Download status. Values: NotDownload: Not downloaded. Success: Downloaded. Failed: Download failed. Running: Downloading.
- Error
Message string - Error message.
- Expired
Time string - Expired time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Id string
- The id of the backup.
- Is
Encrypted bool - Is the data backup encrypted? Value: true: Encrypted. false: Not encrypted.
- Is
Expired bool - Whether the backup has expired. Value: true: Expired. false: Not expired.
- Iv string
- Initialization Vector.
- Usage
Stats []GetBackups Backup Usage Stat - Statistics information about the storage space usage of backups.
- backup
End StringTime - The end time of the backup.
- backup
File StringName - Backup file name.
- backup
File IntegerSize - Backup file size, in bytes.
- backup
Id String - The id of the backup.
- backup
Method String - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup
Region String - The region where the backup is located.
- backup
Start StringTime - The start time of the backup.
- backup
Status String - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup
Type String - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- consistent
Time String - The time point of a consistent snapshot is in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- create
Type String - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- db
Table List<GetInfos Backups Backup Db Table Info> - The database table information contained in the backup set can include up to 10,000 tables. Explanation: When the database is empty, this field is not returned.
- decryption
Key String - The decryption key of the backup.
- download
Status String - Download status. Values: NotDownload: Not downloaded. Success: Downloaded. Failed: Download failed. Running: Downloading.
- error
Message String - Error message.
- expired
Time String - Expired time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- id String
- The id of the backup.
- is
Encrypted Boolean - Is the data backup encrypted? Value: true: Encrypted. false: Not encrypted.
- is
Expired Boolean - Whether the backup has expired. Value: true: Expired. false: Not expired.
- iv String
- Initialization Vector.
- usage
Stats List<GetBackups Backup Usage Stat> - Statistics information about the storage space usage of backups.
- backup
End stringTime - The end time of the backup.
- backup
File stringName - Backup file name.
- backup
File numberSize - Backup file size, in bytes.
- backup
Id string - The id of the backup.
- backup
Method string - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup
Region string - The region where the backup is located.
- backup
Start stringTime - The start time of the backup.
- backup
Status string - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup
Type string - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- consistent
Time string - The time point of a consistent snapshot is in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- create
Type string - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- db
Table GetInfos Backups Backup Db Table Info[] - The database table information contained in the backup set can include up to 10,000 tables. Explanation: When the database is empty, this field is not returned.
- decryption
Key string - The decryption key of the backup.
- download
Status string - Download status. Values: NotDownload: Not downloaded. Success: Downloaded. Failed: Download failed. Running: Downloading.
- error
Message string - Error message.
- expired
Time string - Expired time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- id string
- The id of the backup.
- is
Encrypted boolean - Is the data backup encrypted? Value: true: Encrypted. false: Not encrypted.
- is
Expired boolean - Whether the backup has expired. Value: true: Expired. false: Not expired.
- iv string
- Initialization Vector.
- usage
Stats GetBackups Backup Usage Stat[] - Statistics information about the storage space usage of backups.
- backup_
end_ strtime - The end time of the backup.
- backup_
file_ strname - Backup file name.
- backup_
file_ intsize - Backup file size, in bytes.
- backup_
id str - The id of the backup.
- backup_
method str - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup_
region str - The region where the backup is located.
- backup_
start_ strtime - The start time of the backup.
- backup_
status str - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup_
type str - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- consistent_
time str - The time point of a consistent snapshot is in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- create_
type str - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- db_
table_ Sequence[Getinfos Backups Backup Db Table Info] - The database table information contained in the backup set can include up to 10,000 tables. Explanation: When the database is empty, this field is not returned.
- decryption_
key str - The decryption key of the backup.
- download_
status str - Download status. Values: NotDownload: Not downloaded. Success: Downloaded. Failed: Download failed. Running: Downloading.
- error_
message str - Error message.
- expired_
time str - Expired time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- id str
- The id of the backup.
- is_
encrypted bool - Is the data backup encrypted? Value: true: Encrypted. false: Not encrypted.
- is_
expired bool - Whether the backup has expired. Value: true: Expired. false: Not expired.
- iv str
- Initialization Vector.
- usage_
stats Sequence[GetBackups Backup Usage Stat] - Statistics information about the storage space usage of backups.
- backup
End StringTime - The end time of the backup.
- backup
File StringName - Backup file name.
- backup
File NumberSize - Backup file size, in bytes.
- backup
Id String - The id of the backup.
- backup
Method String - Backup type, value: Physical: Physical backup. Default value. Logical: Logical backup. Description: There is no default value. When this field is not passed, backups of all states under the query conditions limited by other fields are returned.
- backup
Region String - The region where the backup is located.
- backup
Start StringTime - The start time of the backup.
- backup
Status String - Backup status, values: Success: Success. Failed: Failed. Running: In progress. Description: There is no default value. When this field is not passed, all backups in all states under the query conditions limited by other fields are returned.
- backup
Type String - Backup method, value: Full: Full backup under physical backup type or library table backup under logical backup type. Increment: Incremental backup under physical backup type. DumpAll: Full database backup under logical backup type. Description: There is no default value. When this field is not passed, all backups of all methods under the query conditions limited by other fields are returned.
- consistent
Time String - The time point of a consistent snapshot is in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- create
Type String - Creator of backup. Values: System: System. User: User. Description: There is no default value. When this field is not passed, all types of backups under the query conditions limited by other fields are returned.
- db
Table List<Property Map>Infos - The database table information contained in the backup set can include up to 10,000 tables. Explanation: When the database is empty, this field is not returned.
- decryption
Key String - The decryption key of the backup.
- download
Status String - Download status. Values: NotDownload: Not downloaded. Success: Downloaded. Failed: Download failed. Running: Downloading.
- error
Message String - Error message.
- expired
Time String - Expired time of backup, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- id String
- The id of the backup.
- is
Encrypted Boolean - Is the data backup encrypted? Value: true: Encrypted. false: Not encrypted.
- is
Expired Boolean - Whether the backup has expired. Value: true: Expired. false: Not expired.
- iv String
- Initialization Vector.
- usage
Stats List<Property Map> - Statistics information about the storage space usage of backups.
GetBackupsBackupDbTableInfo
GetBackupsBackupUsageStat
- Quantity int
- Backup size, in bytes.
- Start
Time string - Statistical time.
- Stat
Item string - Statistical items. TotalBasicSpaceUsage: Storage space usage for basic backups. BasicDataBackupUsage: Storage space usage for local data backups. BasicBinlogBackupUsage: Storage space usage for local log backups. TotalCrossRegionSpaceUsage: Storage space usage for cross-region backups. CrossRegionDataBackupUsage: Storage space usage for cross-region data backups. CrossRegionBinlogBackupUsage: Storage space usage for cross-region log backups.
- Quantity int
- Backup size, in bytes.
- Start
Time string - Statistical time.
- Stat
Item string - Statistical items. TotalBasicSpaceUsage: Storage space usage for basic backups. BasicDataBackupUsage: Storage space usage for local data backups. BasicBinlogBackupUsage: Storage space usage for local log backups. TotalCrossRegionSpaceUsage: Storage space usage for cross-region backups. CrossRegionDataBackupUsage: Storage space usage for cross-region data backups. CrossRegionBinlogBackupUsage: Storage space usage for cross-region log backups.
- quantity Integer
- Backup size, in bytes.
- start
Time String - Statistical time.
- stat
Item String - Statistical items. TotalBasicSpaceUsage: Storage space usage for basic backups. BasicDataBackupUsage: Storage space usage for local data backups. BasicBinlogBackupUsage: Storage space usage for local log backups. TotalCrossRegionSpaceUsage: Storage space usage for cross-region backups. CrossRegionDataBackupUsage: Storage space usage for cross-region data backups. CrossRegionBinlogBackupUsage: Storage space usage for cross-region log backups.
- quantity number
- Backup size, in bytes.
- start
Time string - Statistical time.
- stat
Item string - Statistical items. TotalBasicSpaceUsage: Storage space usage for basic backups. BasicDataBackupUsage: Storage space usage for local data backups. BasicBinlogBackupUsage: Storage space usage for local log backups. TotalCrossRegionSpaceUsage: Storage space usage for cross-region backups. CrossRegionDataBackupUsage: Storage space usage for cross-region data backups. CrossRegionBinlogBackupUsage: Storage space usage for cross-region log backups.
- quantity int
- Backup size, in bytes.
- start_
time str - Statistical time.
- stat_
item str - Statistical items. TotalBasicSpaceUsage: Storage space usage for basic backups. BasicDataBackupUsage: Storage space usage for local data backups. BasicBinlogBackupUsage: Storage space usage for local log backups. TotalCrossRegionSpaceUsage: Storage space usage for cross-region backups. CrossRegionDataBackupUsage: Storage space usage for cross-region data backups. CrossRegionBinlogBackupUsage: Storage space usage for cross-region log backups.
- quantity Number
- Backup size, in bytes.
- start
Time String - Statistical time.
- stat
Item String - Statistical items. TotalBasicSpaceUsage: Storage space usage for basic backups. BasicDataBackupUsage: Storage space usage for local data backups. BasicBinlogBackupUsage: Storage space usage for local log backups. TotalCrossRegionSpaceUsage: Storage space usage for cross-region backups. CrossRegionDataBackupUsage: Storage space usage for cross-region data backups. CrossRegionBinlogBackupUsage: Storage space usage for cross-region log backups.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.