Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.rds_mssql.Backups
Explore with Pulumi AI
Use this data source to query detailed information of rds mssql backups
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Rds_mssql.Backups.Invoke(new()
    {
        InstanceId = "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.Backups(ctx, &rds_mssql.BackupsArgs{
			InstanceId: "mssql-40914121fd22",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.BackupsArgs;
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.Backups(BackupsArgs.builder()
            .instanceId("mssql-40914121fd22")
            .build());
    }
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mssql.backups(instance_id="mssql-40914121fd22")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mssql.Backups({
    instanceId: "mssql-40914121fd22",
});
variables:
  foo:
    fn::invoke:
      Function: volcengine:rds_mssql:Backups
      Arguments:
        instanceId: mssql-40914121fd22
Using Backups
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 backups(args: BackupsArgs, opts?: InvokeOptions): Promise<BackupsResult>
function backupsOutput(args: BackupsOutputArgs, opts?: InvokeOptions): Output<BackupsResult>def 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) -> BackupsResult
def 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[BackupsResult]func Backups(ctx *Context, args *BackupsArgs, opts ...InvokeOption) (*BackupsResult, error)
func BackupsOutput(ctx *Context, args *BackupsOutputArgs, opts ...InvokeOption) BackupsResultOutputpublic static class Backups 
{
    public static Task<BackupsResult> InvokeAsync(BackupsArgs args, InvokeOptions? opts = null)
    public static Output<BackupsResult> Invoke(BackupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<BackupsResult> backups(BackupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: volcengine:rds_mssql:Backups
  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.
 
Backups Result
The following output properties are available:
- Backups
List<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
[]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<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
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[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
BackupsBackup 
- Backup
Database List<BackupsDetails 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 []BackupsDetails 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<BackupsDetails 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 BackupsDetails 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[Backupsdetails 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.
 
BackupsBackupBackupDatabaseDetail    
- 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.