Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of rds mssql backups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mssql.getBackups({
instanceId: "mssql-40914121fd22",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mssql.get_backups(instance_id="mssql-40914121fd22")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mssql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_mssql.GetBackups(ctx, &rds_mssql.GetBackupsArgs{
InstanceId: "mssql-40914121fd22",
}, 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_mssql.GetBackups.Invoke(new()
{
InstanceId = "mssql-40914121fd22",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mssql.Rds_mssqlFunctions;
import com.pulumi.volcengine.rds_mssql.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_mssqlFunctions.getBackups(GetBackupsArgs.builder()
.instanceId("mssql-40914121fd22")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rds_mssql:getBackups
Arguments:
instanceId: mssql-40914121fd22
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_start_time: Optional[str] = None,
backup_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_start_time: Optional[pulumi.Input[str]] = None,
backup_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_mssql/getBackups:getBackups
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The id of the instance.
- Backup
End stringTime - The end time of the backup.
- Backup
Id string - The id of the backup.
- Backup
Start stringTime - The start time of the backup.
- Backup
Type string - The type of the backup.
- Output
File string - File name where to save data source results.
- Instance
Id string - The id of the instance.
- Backup
End stringTime - The end time of the backup.
- Backup
Id string - The id of the backup.
- Backup
Start stringTime - The start time of the backup.
- Backup
Type string - The type of the backup.
- Output
File string - File name where to save data source results.
- instance
Id String - The id of the instance.
- backup
End StringTime - The end time of the backup.
- backup
Id String - The id of the backup.
- backup
Start StringTime - The start time of the backup.
- backup
Type String - The type of the backup.
- output
File String - File name where to save data source results.
- instance
Id string - The id of the instance.
- backup
End stringTime - The end time of the backup.
- backup
Id string - The id of the backup.
- backup
Start stringTime - The start time of the backup.
- backup
Type string - The type of the backup.
- output
File string - File name where to save data source results.
- instance_
id str - The id of the instance.
- backup_
end_ strtime - The end time of the backup.
- backup_
id str - The id of the backup.
- backup_
start_ strtime - The start time of the backup.
- backup_
type str - The type of the backup.
- output_
file str - File name where to save data source results.
- instance
Id String - The id of the instance.
- backup
End StringTime - The end time of the backup.
- backup
Id String - The id of the backup.
- backup
Start StringTime - The start time of the backup.
- backup
Type String - The type of the backup.
- 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.
- Instance
Id string - Total
Count int - The total count of query.
- Backup
End stringTime - The end time of the backup.
- Backup
Id string - The id of the backup.
- Backup
Start stringTime - The start time of the backup.
- Backup
Type string - The type of the backup.
- Output
File string
- Backups
[]Get
Backups Backup - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Total
Count int - The total count of query.
- Backup
End stringTime - The end time of the backup.
- Backup
Id string - The id of the backup.
- Backup
Start stringTime - The start time of the backup.
- Backup
Type string - The type of the backup.
- Output
File string
- backups
List<Get
Backups Backup> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - total
Count Integer - The total count of query.
- backup
End StringTime - The end time of the backup.
- backup
Id String - The id of the backup.
- backup
Start StringTime - The start time of the backup.
- backup
Type String - The type of the backup.
- output
File String
- backups
Get
Backups Backup[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - total
Count number - The total count of query.
- backup
End stringTime - The end time of the backup.
- backup
Id string - The id of the backup.
- backup
Start stringTime - The start time of the backup.
- backup
Type string - The type of the backup.
- output
File string
- backups
Sequence[Get
Backups Backup] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - total_
count int - The total count of query.
- backup_
end_ strtime - The end time of the backup.
- backup_
id str - The id of the backup.
- backup_
start_ strtime - The start time of the backup.
- backup_
type str - The type of the backup.
- output_
file str
- backups List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - total
Count Number - The total count of query.
- backup
End StringTime - The end time of the backup.
- backup
Id String - The id of the backup.
- backup
Start StringTime - The start time of the backup.
- backup
Type String - The type of the backup.
- output
File String
Supporting Types
GetBackupsBackup
- Backup
Database List<GetDetails Backups Backup Backup Database Detail> - The detail of the database.
- Backup
End stringTime - The end time of the backup.
- Backup
File intSize - The size of the backup file.
- Backup
Id string - The id of the backup.
- Backup
Method string - The name of the backup method.
- Backup
Start stringTime - The start time of the backup.
- Backup
Status string - The status of the backup.
- Backup
Type string - The type of the backup.
- Create
Type string - The type of the backup create.
- Id string
- The id of the backup.
- Backup
Database []GetDetails Backups Backup Backup Database Detail - The detail of the database.
- Backup
End stringTime - The end time of the backup.
- Backup
File intSize - The size of the backup file.
- Backup
Id string - The id of the backup.
- Backup
Method string - The name of the backup method.
- Backup
Start stringTime - The start time of the backup.
- Backup
Status string - The status of the backup.
- Backup
Type string - The type of the backup.
- Create
Type string - The type of the backup create.
- Id string
- The id of the backup.
- backup
Database List<GetDetails Backups Backup Backup Database Detail> - The detail of the database.
- backup
End StringTime - The end time of the backup.
- backup
File IntegerSize - The size of the backup file.
- backup
Id String - The id of the backup.
- backup
Method String - The name of the backup method.
- backup
Start StringTime - The start time of the backup.
- backup
Status String - The status of the backup.
- backup
Type String - The type of the backup.
- create
Type String - The type of the backup create.
- id String
- The id of the backup.
- backup
Database GetDetails Backups Backup Backup Database Detail[] - The detail of the database.
- backup
End stringTime - The end time of the backup.
- backup
File numberSize - The size of the backup file.
- backup
Id string - The id of the backup.
- backup
Method string - The name of the backup method.
- backup
Start stringTime - The start time of the backup.
- backup
Status string - The status of the backup.
- backup
Type string - The type of the backup.
- create
Type string - The type of the backup create.
- id string
- The id of the backup.
- backup_
database_ Sequence[Getdetails Backups Backup Backup Database Detail] - The detail of the database.
- backup_
end_ strtime - The end time of the backup.
- backup_
file_ intsize - The size of the backup file.
- backup_
id str - The id of the backup.
- backup_
method str - The name of the backup method.
- backup_
start_ strtime - The start time of the backup.
- backup_
status str - The status of the backup.
- backup_
type str - The type of the backup.
- create_
type str - The type of the backup create.
- id str
- The id of the backup.
- backup
Database List<Property Map>Details - The detail of the database.
- backup
End StringTime - The end time of the backup.
- backup
File NumberSize - The size of the backup file.
- backup
Id String - The id of the backup.
- backup
Method String - The name of the backup method.
- backup
Start StringTime - The start time of the backup.
- backup
Status String - The status of the backup.
- backup
Type String - The type of the backup.
- create
Type String - The type of the backup create.
- id String
- The id of the backup.
GetBackupsBackupBackupDatabaseDetail
- Backup
Download stringLink Eip - External backup download link.
- Backup
Download stringLink Inner - Intranet backup download link.
- Backup
End stringTime - The end time of the backup.
- Backup
File stringName - The name of the backup file.
- Backup
File intSize - The size of the backup file.
- Backup
Start stringTime - The start time of the backup.
- Backup
Type string - The type of the backup.
- Database
Name string - The name of the database.
- Download
Progress int - Backup file preparation progress, unit: %.
- Download
Status string - Download status.
- Link
Expired stringTime - Download link expiration time.
- Backup
Download stringLink Eip - External backup download link.
- Backup
Download stringLink Inner - Intranet backup download link.
- Backup
End stringTime - The end time of the backup.
- Backup
File stringName - The name of the backup file.
- Backup
File intSize - The size of the backup file.
- Backup
Start stringTime - The start time of the backup.
- Backup
Type string - The type of the backup.
- Database
Name string - The name of the database.
- Download
Progress int - Backup file preparation progress, unit: %.
- Download
Status string - Download status.
- Link
Expired stringTime - Download link expiration time.
- backup
Download StringLink Eip - External backup download link.
- backup
Download StringLink Inner - Intranet backup download link.
- backup
End StringTime - The end time of the backup.
- backup
File StringName - The name of the backup file.
- backup
File IntegerSize - The size of the backup file.
- backup
Start StringTime - The start time of the backup.
- backup
Type String - The type of the backup.
- database
Name String - The name of the database.
- download
Progress Integer - Backup file preparation progress, unit: %.
- download
Status String - Download status.
- link
Expired StringTime - Download link expiration time.
- backup
Download stringLink Eip - External backup download link.
- backup
Download stringLink Inner - Intranet backup download link.
- backup
End stringTime - The end time of the backup.
- backup
File stringName - The name of the backup file.
- backup
File numberSize - The size of the backup file.
- backup
Start stringTime - The start time of the backup.
- backup
Type string - The type of the backup.
- database
Name string - The name of the database.
- download
Progress number - Backup file preparation progress, unit: %.
- download
Status string - Download status.
- link
Expired stringTime - Download link expiration time.
- backup_
download_ strlink_ eip - External backup download link.
- backup_
download_ strlink_ inner - Intranet backup download link.
- backup_
end_ strtime - The end time of the backup.
- backup_
file_ strname - The name of the backup file.
- backup_
file_ intsize - The size of the backup file.
- backup_
start_ strtime - The start time of the backup.
- backup_
type str - The type of the backup.
- database_
name str - The name of the database.
- download_
progress int - Backup file preparation progress, unit: %.
- download_
status str - Download status.
- link_
expired_ strtime - Download link expiration time.
- backup
Download StringLink Eip - External backup download link.
- backup
Download StringLink Inner - Intranet backup download link.
- backup
End StringTime - The end time of the backup.
- backup
File StringName - The name of the backup file.
- backup
File NumberSize - The size of the backup file.
- backup
Start StringTime - The start time of the backup.
- backup
Type String - The type of the backup.
- database
Name String - The name of the database.
- download
Progress Number - Backup file preparation progress, unit: %.
- download
Status String - Download status.
- link
Expired StringTime - Download link expiration time.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
