Volcengine v0.0.27 published on Tuesday, Dec 10, 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
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mssql.Backups({
instanceId: "mssql-40914121fd22",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mssql.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.Backups(ctx, &rds_mssql.BackupsArgs{
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.Backups.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.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());
}
}
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) BackupsResultOutput
public 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)
public static Output<BackupsResult> backups(BackupsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_mssql:Backups
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 Details This property is required. List<BackupsBackup Backup Database Detail> - The detail of the database.
- Backup
End Time This property is required. string - 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. string - The id of the backup.
- Backup
Method This property is required. string - The name of the backup method.
- Backup
Start Time This property is required. string - The start time of the backup.
- Backup
Status This property is required. string - The status of the backup.
- Backup
Type This property is required. string - The type of the backup.
- Create
Type 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. []BackupsBackup Backup Database Detail - The detail of the database.
- Backup
End Time This property is required. string - 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. string - The id of the backup.
- Backup
Method This property is required. string - The name of the backup method.
- Backup
Start Time This property is required. string - The start time of the backup.
- Backup
Status This property is required. string - The status of the backup.
- Backup
Type This property is required. string - The type of the backup.
- Create
Type 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. List<BackupsBackup Backup Database Detail> - The detail of the database.
- backup
End Time This property is required. String - The end time of the backup.
- backup
File Size This property is required. Integer - The size of the backup file.
- backup
Id This property is required. String - The id of the backup.
- backup
Method This property is required. String - The name of the backup method.
- backup
Start Time This property is required. String - The start time of the backup.
- backup
Status This property is required. String - The status of the backup.
- backup
Type This property is required. String - The type of the backup.
- create
Type 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. BackupsBackup Backup Database Detail[] - The detail of the database.
- backup
End Time This property is required. string - The end time of the backup.
- backup
File Size This property is required. number - The size of the backup file.
- backup
Id This property is required. string - The id of the backup.
- backup
Method This property is required. string - The name of the backup method.
- backup
Start Time This property is required. string - The start time of the backup.
- backup
Status This property is required. string - The status of the backup.
- backup
Type This property is required. string - The type of the backup.
- create
Type 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[BackupsBackup Backup Database Detail] - 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.
- backup
Database Details This property is required. List<Property Map> - The detail of the database.
- backup
End Time This property is required. String - The end time of the backup.
- backup
File Size This property is required. Number - The size of the backup file.
- backup
Id This property is required. String - The id of the backup.
- backup
Method This property is required. String - The name of the backup method.
- backup
Start Time This property is required. String - The start time of the backup.
- backup
Status This property is required. String - The status of the backup.
- backup
Type This property is required. String - The type of the backup.
- create
Type This property is required. String - The type of the backup create.
- id
This property is required. String - The id of the backup.
BackupsBackupBackupDatabaseDetail
- Backup
Download Link Eip This property is required. string - External backup download link.
- Backup
Download Link Inner This property is required. string - Intranet backup download link.
- Backup
End Time This property is required. string - The end time of the backup.
- Backup
File Name This property is required. string - 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. string - The start time of the backup.
- Backup
Type This property is required. string - The type of the backup.
- Database
Name This property is required. string - The name of the database.
- Download
Progress This property is required. int - Backup file preparation progress, unit: %.
- Download
Status This property is required. string - Download status.
- Link
Expired Time This property is required. string - Download link expiration time.
- Backup
Download Link Eip This property is required. string - External backup download link.
- Backup
Download Link Inner This property is required. string - Intranet backup download link.
- Backup
End Time This property is required. string - The end time of the backup.
- Backup
File Name This property is required. string - 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. string - The start time of the backup.
- Backup
Type This property is required. string - The type of the backup.
- Database
Name This property is required. string - The name of the database.
- Download
Progress This property is required. int - Backup file preparation progress, unit: %.
- Download
Status This property is required. string - Download status.
- Link
Expired Time This property is required. string - Download link expiration time.
- backup
Download Link Eip This property is required. String - External backup download link.
- backup
Download Link Inner This property is required. String - Intranet backup download link.
- backup
End Time This property is required. String - The end time of the backup.
- backup
File Name This property is required. String - The name of the backup file.
- backup
File Size This property is required. Integer - The size of the backup file.
- backup
Start Time This property is required. String - The start time of the backup.
- backup
Type This property is required. String - The type of the backup.
- database
Name This property is required. String - The name of the database.
- download
Progress This property is required. Integer - Backup file preparation progress, unit: %.
- download
Status This property is required. String - Download status.
- link
Expired Time This property is required. String - Download link expiration time.
- backup
Download Link Eip This property is required. string - External backup download link.
- backup
Download Link Inner This property is required. string - Intranet backup download link.
- backup
End Time This property is required. string - The end time of the backup.
- backup
File Name This property is required. string - The name of the backup file.
- backup
File Size This property is required. number - The size of the backup file.
- backup
Start Time This property is required. string - The start time of the backup.
- backup
Type This property is required. string - The type of the backup.
- database
Name This property is required. string - The name of the database.
- download
Progress This property is required. number - Backup file preparation progress, unit: %.
- download
Status This property is required. string - Download status.
- link
Expired Time 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.
- backup
Download Link Eip This property is required. String - External backup download link.
- backup
Download Link Inner This property is required. String - Intranet backup download link.
- backup
End Time This property is required. String - The end time of the backup.
- backup
File Name This property is required. String - The name of the backup file.
- backup
File Size This property is required. Number - The size of the backup file.
- backup
Start Time This property is required. String - The start time of the backup.
- backup
Type This property is required. String - The type of the backup.
- database
Name This property is required. String - The name of the database.
- download
Progress This property is required. Number - Backup file preparation progress, unit: %.
- download
Status This property is required. String - Download status.
- link
Expired Time 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.