1. Packages
  2. Volcengine
  3. API Docs
  4. rds_mssql
  5. Backups
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.rds_mssql.Backups

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.Backups({
    instanceId: "mssql-40914121fd22",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.rds_mssql.backups(instance_id="mssql-40914121fd22")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:rds_mssql:Backups
      Arguments:
        instanceId: mssql-40914121fd22
Copy

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>
Copy
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]
Copy
func Backups(ctx *Context, args *BackupsArgs, opts ...InvokeOption) (*BackupsResult, error)
func BackupsOutput(ctx *Context, args *BackupsOutputArgs, opts ...InvokeOption) BackupsResultOutput
Copy
public static class Backups 
{
    public static Task<BackupsResult> InvokeAsync(BackupsArgs args, InvokeOptions? opts = null)
    public static Output<BackupsResult> Invoke(BackupsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<BackupsResult> backups(BackupsArgs args, InvokeOptions options)
public static Output<BackupsResult> backups(BackupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:rds_mssql:Backups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId This property is required. string
The id of the instance.
BackupEndTime string
The end time of the backup.
BackupId string
The id of the backup.
BackupStartTime string
The start time of the backup.
BackupType string
The type of the backup.
OutputFile string
File name where to save data source results.
InstanceId This property is required. string
The id of the instance.
BackupEndTime string
The end time of the backup.
BackupId string
The id of the backup.
BackupStartTime string
The start time of the backup.
BackupType string
The type of the backup.
OutputFile string
File name where to save data source results.
instanceId This property is required. String
The id of the instance.
backupEndTime String
The end time of the backup.
backupId String
The id of the backup.
backupStartTime String
The start time of the backup.
backupType String
The type of the backup.
outputFile String
File name where to save data source results.
instanceId This property is required. string
The id of the instance.
backupEndTime string
The end time of the backup.
backupId string
The id of the backup.
backupStartTime string
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 This property is required. str
The id of the instance.
backup_end_time str
The end time of the backup.
backup_id str
The id of the backup.
backup_start_time str
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 This property is required. String
The id of the instance.
backupEndTime String
The end time of the backup.
backupId String
The id of the backup.
backupStartTime String
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.
BackupEndTime string
The end time of the backup.
BackupId string
The id of the backup.
BackupStartTime string
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.
BackupEndTime string
The end time of the backup.
BackupId string
The id of the backup.
BackupStartTime string
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.
backupEndTime String
The end time of the backup.
backupId String
The id of the backup.
backupStartTime String
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.
backupEndTime string
The end time of the backup.
backupId string
The id of the backup.
backupStartTime string
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_time str
The end time of the backup.
backup_id str
The id of the backup.
backup_start_time str
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.
backupEndTime String
The end time of the backup.
backupId String
The id of the backup.
backupStartTime String
The start time of the backup.
backupType String
The type of the backup.
outputFile String

Supporting Types

BackupsBackup

BackupDatabaseDetails This property is required. List<BackupsBackupBackupDatabaseDetail>
The detail of the database.
BackupEndTime This property is required. string
The end time of the backup.
BackupFileSize This property is required. int
The size of the backup file.
BackupId This property is required. string
The id of the backup.
BackupMethod This property is required. string
The name of the backup method.
BackupStartTime This property is required. string
The start time of the backup.
BackupStatus This property is required. string
The status of the backup.
BackupType This property is required. string
The type of the backup.
CreateType This property is required. string
The type of the backup create.
Id This property is required. string
The id of the backup.
BackupDatabaseDetails This property is required. []BackupsBackupBackupDatabaseDetail
The detail of the database.
BackupEndTime This property is required. string
The end time of the backup.
BackupFileSize This property is required. int
The size of the backup file.
BackupId This property is required. string
The id of the backup.
BackupMethod This property is required. string
The name of the backup method.
BackupStartTime This property is required. string
The start time of the backup.
BackupStatus This property is required. string
The status of the backup.
BackupType This property is required. string
The type of the backup.
CreateType This property is required. string
The type of the backup create.
Id This property is required. string
The id of the backup.
backupDatabaseDetails This property is required. List<BackupsBackupBackupDatabaseDetail>
The detail of the database.
backupEndTime This property is required. String
The end time of the backup.
backupFileSize This property is required. Integer
The size of the backup file.
backupId This property is required. String
The id of the backup.
backupMethod This property is required. String
The name of the backup method.
backupStartTime This property is required. String
The start time of the backup.
backupStatus This property is required. String
The status of the backup.
backupType This property is required. String
The type of the backup.
createType This property is required. String
The type of the backup create.
id This property is required. String
The id of the backup.
backupDatabaseDetails This property is required. BackupsBackupBackupDatabaseDetail[]
The detail of the database.
backupEndTime This property is required. string
The end time of the backup.
backupFileSize This property is required. number
The size of the backup file.
backupId This property is required. string
The id of the backup.
backupMethod This property is required. string
The name of the backup method.
backupStartTime This property is required. string
The start time of the backup.
backupStatus This property is required. string
The status of the backup.
backupType This property is required. string
The type of the backup.
createType This property is required. string
The type of the backup create.
id This property is required. string
The id of the backup.
backup_database_details This property is required. Sequence[BackupsBackupBackupDatabaseDetail]
The detail of the database.
backup_end_time This property is required. str
The end time of the backup.
backup_file_size This property is required. int
The size of the backup file.
backup_id This property is required. str
The id of the backup.
backup_method This property is required. str
The name of the backup method.
backup_start_time This property is required. str
The start time of the backup.
backup_status This property is required. str
The status of the backup.
backup_type This property is required. str
The type of the backup.
create_type This property is required. str
The type of the backup create.
id This property is required. str
The id of the backup.
backupDatabaseDetails This property is required. List<Property Map>
The detail of the database.
backupEndTime This property is required. String
The end time of the backup.
backupFileSize This property is required. Number
The size of the backup file.
backupId This property is required. String
The id of the backup.
backupMethod This property is required. String
The name of the backup method.
backupStartTime This property is required. String
The start time of the backup.
backupStatus This property is required. String
The status of the backup.
backupType This property is required. String
The type of the backup.
createType This property is required. String
The type of the backup create.
id This property is required. String
The id of the backup.

BackupsBackupBackupDatabaseDetail

BackupDownloadLinkEip This property is required. string
External backup download link.
BackupDownloadLinkInner This property is required. string
Intranet backup download link.
BackupEndTime This property is required. string
The end time of the backup.
BackupFileName This property is required. string
The name of the backup file.
BackupFileSize This property is required. int
The size of the backup file.
BackupStartTime This property is required. string
The start time of the backup.
BackupType This property is required. string
The type of the backup.
DatabaseName This property is required. string
The name of the database.
DownloadProgress This property is required. int
Backup file preparation progress, unit: %.
DownloadStatus This property is required. string
Download status.
LinkExpiredTime This property is required. string
Download link expiration time.
BackupDownloadLinkEip This property is required. string
External backup download link.
BackupDownloadLinkInner This property is required. string
Intranet backup download link.
BackupEndTime This property is required. string
The end time of the backup.
BackupFileName This property is required. string
The name of the backup file.
BackupFileSize This property is required. int
The size of the backup file.
BackupStartTime This property is required. string
The start time of the backup.
BackupType This property is required. string
The type of the backup.
DatabaseName This property is required. string
The name of the database.
DownloadProgress This property is required. int
Backup file preparation progress, unit: %.
DownloadStatus This property is required. string
Download status.
LinkExpiredTime This property is required. string
Download link expiration time.
backupDownloadLinkEip This property is required. String
External backup download link.
backupDownloadLinkInner This property is required. String
Intranet backup download link.
backupEndTime This property is required. String
The end time of the backup.
backupFileName This property is required. String
The name of the backup file.
backupFileSize This property is required. Integer
The size of the backup file.
backupStartTime This property is required. String
The start time of the backup.
backupType This property is required. String
The type of the backup.
databaseName This property is required. String
The name of the database.
downloadProgress This property is required. Integer
Backup file preparation progress, unit: %.
downloadStatus This property is required. String
Download status.
linkExpiredTime This property is required. String
Download link expiration time.
backupDownloadLinkEip This property is required. string
External backup download link.
backupDownloadLinkInner This property is required. string
Intranet backup download link.
backupEndTime This property is required. string
The end time of the backup.
backupFileName This property is required. string
The name of the backup file.
backupFileSize This property is required. number
The size of the backup file.
backupStartTime This property is required. string
The start time of the backup.
backupType This property is required. string
The type of the backup.
databaseName This property is required. string
The name of the database.
downloadProgress This property is required. number
Backup file preparation progress, unit: %.
downloadStatus This property is required. string
Download status.
linkExpiredTime This property is required. string
Download link expiration time.
backup_download_link_eip This property is required. str
External backup download link.
backup_download_link_inner This property is required. str
Intranet backup download link.
backup_end_time This property is required. str
The end time of the backup.
backup_file_name This property is required. str
The name of the backup file.
backup_file_size This property is required. int
The size of the backup file.
backup_start_time This property is required. str
The start time of the backup.
backup_type This property is required. str
The type of the backup.
database_name This property is required. str
The name of the database.
download_progress This property is required. int
Backup file preparation progress, unit: %.
download_status This property is required. str
Download status.
link_expired_time This property is required. str
Download link expiration time.
backupDownloadLinkEip This property is required. String
External backup download link.
backupDownloadLinkInner This property is required. String
Intranet backup download link.
backupEndTime This property is required. String
The end time of the backup.
backupFileName This property is required. String
The name of the backup file.
backupFileSize This property is required. Number
The size of the backup file.
backupStartTime This property is required. String
The start time of the backup.
backupType This property is required. String
The type of the backup.
databaseName This property is required. String
The name of the database.
downloadProgress This property is required. Number
Backup file preparation progress, unit: %.
downloadStatus This property is required. String
Download status.
linkExpiredTime This property is required. String
Download link expiration time.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine