Volcengine v0.0.26 published on Friday, Sep 13, 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:
- InstanceId string
- The id of the instance.
- BackupEnd stringTime 
- The end time of the backup.
- BackupId string
- The id of the backup.
- BackupStart stringTime 
- The start time of the backup.
- BackupType string
- The type of the backup.
- OutputFile string
- File name where to save data source results.
- InstanceId string
- The id of the instance.
- BackupEnd stringTime 
- The end time of the backup.
- BackupId string
- The id of the backup.
- BackupStart stringTime 
- The start time of the backup.
- BackupType string
- The type of the backup.
- OutputFile string
- File name where to save data source results.
- instanceId String
- The id of the instance.
- backupEnd StringTime 
- The end time of the backup.
- backupId String
- The id of the backup.
- backupStart StringTime 
- The start time of the backup.
- backupType String
- The type of the backup.
- outputFile String
- File name where to save data source results.
- instanceId string
- The id of the instance.
- backupEnd stringTime 
- The end time of the backup.
- backupId string
- The id of the backup.
- backupStart stringTime 
- The start time of the backup.
- backupType string
- The type of the backup.
- outputFile 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.
- instanceId String
- The id of the instance.
- backupEnd StringTime 
- The end time of the backup.
- backupId String
- The id of the backup.
- backupStart StringTime 
- The start time of the backup.
- backupType String
- The type of the backup.
- outputFile String
- File name where to save data source results.
Backups Result
The following output properties are available:
- Backups
List<BackupsBackup> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- TotalCount int
- The total count of query.
- BackupEnd stringTime 
- The end time of the backup.
- BackupId string
- The id of the backup.
- BackupStart stringTime 
- The start time of the backup.
- BackupType string
- The type of the backup.
- OutputFile string
- Backups
[]BackupsBackup 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- TotalCount int
- The total count of query.
- BackupEnd stringTime 
- The end time of the backup.
- BackupId string
- The id of the backup.
- BackupStart stringTime 
- The start time of the backup.
- BackupType string
- The type of the backup.
- OutputFile string
- backups
List<BackupsBackup> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- totalCount Integer
- The total count of query.
- backupEnd StringTime 
- The end time of the backup.
- backupId String
- The id of the backup.
- backupStart StringTime 
- The start time of the backup.
- backupType String
- The type of the backup.
- outputFile String
- backups
BackupsBackup[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- instanceId string
- totalCount number
- The total count of query.
- backupEnd stringTime 
- The end time of the backup.
- backupId string
- The id of the backup.
- backupStart stringTime 
- The start time of the backup.
- backupType string
- The type of the backup.
- outputFile string
- backups
Sequence[BackupsBackup] 
- 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.
- instanceId String
- totalCount Number
- The total count of query.
- backupEnd StringTime 
- The end time of the backup.
- backupId String
- The id of the backup.
- backupStart StringTime 
- The start time of the backup.
- backupType String
- The type of the backup.
- outputFile String
Supporting Types
BackupsBackup 
- BackupDatabase List<BackupsDetails Backup Backup Database Detail> 
- The detail of the database.
- BackupEnd stringTime 
- The end time of the backup.
- BackupFile intSize 
- The size of the backup file.
- BackupId string
- The id of the backup.
- BackupMethod string
- The name of the backup method.
- BackupStart stringTime 
- The start time of the backup.
- BackupStatus string
- The status of the backup.
- BackupType string
- The type of the backup.
- CreateType string
- The type of the backup create.
- Id string
- The id of the backup.
- BackupDatabase []BackupsDetails Backup Backup Database Detail 
- The detail of the database.
- BackupEnd stringTime 
- The end time of the backup.
- BackupFile intSize 
- The size of the backup file.
- BackupId string
- The id of the backup.
- BackupMethod string
- The name of the backup method.
- BackupStart stringTime 
- The start time of the backup.
- BackupStatus string
- The status of the backup.
- BackupType string
- The type of the backup.
- CreateType string
- The type of the backup create.
- Id string
- The id of the backup.
- backupDatabase List<BackupsDetails Backup Backup Database Detail> 
- The detail of the database.
- backupEnd StringTime 
- The end time of the backup.
- backupFile IntegerSize 
- The size of the backup file.
- backupId String
- The id of the backup.
- backupMethod String
- The name of the backup method.
- backupStart StringTime 
- The start time of the backup.
- backupStatus String
- The status of the backup.
- backupType String
- The type of the backup.
- createType String
- The type of the backup create.
- id String
- The id of the backup.
- backupDatabase BackupsDetails Backup Backup Database Detail[] 
- The detail of the database.
- backupEnd stringTime 
- The end time of the backup.
- backupFile numberSize 
- The size of the backup file.
- backupId string
- The id of the backup.
- backupMethod string
- The name of the backup method.
- backupStart stringTime 
- The start time of the backup.
- backupStatus string
- The status of the backup.
- backupType string
- The type of the backup.
- createType 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.
- backupDatabase List<Property Map>Details 
- The detail of the database.
- backupEnd StringTime 
- The end time of the backup.
- backupFile NumberSize 
- The size of the backup file.
- backupId String
- The id of the backup.
- backupMethod String
- The name of the backup method.
- backupStart StringTime 
- The start time of the backup.
- backupStatus String
- The status of the backup.
- backupType String
- The type of the backup.
- createType String
- The type of the backup create.
- id String
- The id of the backup.
BackupsBackupBackupDatabaseDetail    
- BackupDownload stringLink Eip 
- External backup download link.
- BackupDownload stringLink Inner 
- Intranet backup download link.
- BackupEnd stringTime 
- The end time of the backup.
- BackupFile stringName 
- The name of the backup file.
- BackupFile intSize 
- The size of the backup file.
- BackupStart stringTime 
- The start time of the backup.
- BackupType string
- The type of the backup.
- DatabaseName string
- The name of the database.
- DownloadProgress int
- Backup file preparation progress, unit: %.
- DownloadStatus string
- Download status.
- LinkExpired stringTime 
- Download link expiration time.
- BackupDownload stringLink Eip 
- External backup download link.
- BackupDownload stringLink Inner 
- Intranet backup download link.
- BackupEnd stringTime 
- The end time of the backup.
- BackupFile stringName 
- The name of the backup file.
- BackupFile intSize 
- The size of the backup file.
- BackupStart stringTime 
- The start time of the backup.
- BackupType string
- The type of the backup.
- DatabaseName string
- The name of the database.
- DownloadProgress int
- Backup file preparation progress, unit: %.
- DownloadStatus string
- Download status.
- LinkExpired stringTime 
- Download link expiration time.
- backupDownload StringLink Eip 
- External backup download link.
- backupDownload StringLink Inner 
- Intranet backup download link.
- backupEnd StringTime 
- The end time of the backup.
- backupFile StringName 
- The name of the backup file.
- backupFile IntegerSize 
- The size of the backup file.
- backupStart StringTime 
- The start time of the backup.
- backupType String
- The type of the backup.
- databaseName String
- The name of the database.
- downloadProgress Integer
- Backup file preparation progress, unit: %.
- downloadStatus String
- Download status.
- linkExpired StringTime 
- Download link expiration time.
- backupDownload stringLink Eip 
- External backup download link.
- backupDownload stringLink Inner 
- Intranet backup download link.
- backupEnd stringTime 
- The end time of the backup.
- backupFile stringName 
- The name of the backup file.
- backupFile numberSize 
- The size of the backup file.
- backupStart stringTime 
- The start time of the backup.
- backupType string
- The type of the backup.
- databaseName string
- The name of the database.
- downloadProgress number
- Backup file preparation progress, unit: %.
- downloadStatus string
- Download status.
- linkExpired 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.
- backupDownload StringLink Eip 
- External backup download link.
- backupDownload StringLink Inner 
- Intranet backup download link.
- backupEnd StringTime 
- The end time of the backup.
- backupFile StringName 
- The name of the backup file.
- backupFile NumberSize 
- The size of the backup file.
- backupStart StringTime 
- The start time of the backup.
- backupType String
- The type of the backup.
- databaseName String
- The name of the database.
- downloadProgress Number
- Backup file preparation progress, unit: %.
- downloadStatus String
- Download status.
- linkExpired 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.