tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getRedisBackupDownloadInfo
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of redis backup_download_info
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const backupDownloadInfo = tencentcloud.getRedisBackupDownloadInfo({
backupId: "641186639-8362913-1516672770",
instanceId: "crs-iw7d9wdd",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
backup_download_info = tencentcloud.get_redis_backup_download_info(backup_id="641186639-8362913-1516672770",
instance_id="crs-iw7d9wdd")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetRedisBackupDownloadInfo(ctx, &tencentcloud.GetRedisBackupDownloadInfoArgs{
BackupId: "641186639-8362913-1516672770",
InstanceId: "crs-iw7d9wdd",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var backupDownloadInfo = Tencentcloud.GetRedisBackupDownloadInfo.Invoke(new()
{
BackupId = "641186639-8362913-1516672770",
InstanceId = "crs-iw7d9wdd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetRedisBackupDownloadInfoArgs;
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 backupDownloadInfo = TencentcloudFunctions.getRedisBackupDownloadInfo(GetRedisBackupDownloadInfoArgs.builder()
.backupId("641186639-8362913-1516672770")
.instanceId("crs-iw7d9wdd")
.build());
}
}
variables:
backupDownloadInfo:
fn::invoke:
function: tencentcloud:getRedisBackupDownloadInfo
arguments:
backupId: 641186639-8362913-1516672770
instanceId: crs-iw7d9wdd
Using getRedisBackupDownloadInfo
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 getRedisBackupDownloadInfo(args: GetRedisBackupDownloadInfoArgs, opts?: InvokeOptions): Promise<GetRedisBackupDownloadInfoResult>
function getRedisBackupDownloadInfoOutput(args: GetRedisBackupDownloadInfoOutputArgs, opts?: InvokeOptions): Output<GetRedisBackupDownloadInfoResult>
def get_redis_backup_download_info(backup_id: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
ip_comparison_symbol: Optional[str] = None,
limit_ips: Optional[Sequence[str]] = None,
limit_type: Optional[str] = None,
limit_vpcs: Optional[Sequence[GetRedisBackupDownloadInfoLimitVpc]] = None,
result_output_file: Optional[str] = None,
vpc_comparison_symbol: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRedisBackupDownloadInfoResult
def get_redis_backup_download_info_output(backup_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
ip_comparison_symbol: Optional[pulumi.Input[str]] = None,
limit_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
limit_type: Optional[pulumi.Input[str]] = None,
limit_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[GetRedisBackupDownloadInfoLimitVpcArgs]]]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
vpc_comparison_symbol: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRedisBackupDownloadInfoResult]
func GetRedisBackupDownloadInfo(ctx *Context, args *GetRedisBackupDownloadInfoArgs, opts ...InvokeOption) (*GetRedisBackupDownloadInfoResult, error)
func GetRedisBackupDownloadInfoOutput(ctx *Context, args *GetRedisBackupDownloadInfoOutputArgs, opts ...InvokeOption) GetRedisBackupDownloadInfoResultOutput
> Note: This function is named GetRedisBackupDownloadInfo
in the Go SDK.
public static class GetRedisBackupDownloadInfo
{
public static Task<GetRedisBackupDownloadInfoResult> InvokeAsync(GetRedisBackupDownloadInfoArgs args, InvokeOptions? opts = null)
public static Output<GetRedisBackupDownloadInfoResult> Invoke(GetRedisBackupDownloadInfoInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRedisBackupDownloadInfoResult> getRedisBackupDownloadInfo(GetRedisBackupDownloadInfoArgs args, InvokeOptions options)
public static Output<GetRedisBackupDownloadInfoResult> getRedisBackupDownloadInfo(GetRedisBackupDownloadInfoArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getRedisBackupDownloadInfo:getRedisBackupDownloadInfo
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Id string - The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
- Instance
Id string - The ID of instance.
- Id string
- Ip
Comparison stringSymbol - Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download.
- Limit
Ips List<string> - A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
- Limit
Type string - Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file.
- Limit
Vpcs List<GetRedis Backup Download Info Limit Vpc> - A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
- Result
Output stringFile - Used to save results.
- Vpc
Comparison stringSymbol - This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
- Backup
Id string - The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
- Instance
Id string - The ID of instance.
- Id string
- Ip
Comparison stringSymbol - Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download.
- Limit
Ips []string - A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
- Limit
Type string - Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file.
- Limit
Vpcs []GetRedis Backup Download Info Limit Vpc - A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
- Result
Output stringFile - Used to save results.
- Vpc
Comparison stringSymbol - This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
- backup
Id String - The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
- instance
Id String - The ID of instance.
- id String
- ip
Comparison StringSymbol - Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download.
- limit
Ips List<String> - A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
- limit
Type String - Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file.
- limit
Vpcs List<GetRedis Backup Download Info Limit Vpc> - A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
- result
Output StringFile - Used to save results.
- vpc
Comparison StringSymbol - This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
- backup
Id string - The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
- instance
Id string - The ID of instance.
- id string
- ip
Comparison stringSymbol - Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download.
- limit
Ips string[] - A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
- limit
Type string - Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file.
- limit
Vpcs GetRedis Backup Download Info Limit Vpc[] - A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
- result
Output stringFile - Used to save results.
- vpc
Comparison stringSymbol - This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
- backup_
id str - The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
- instance_
id str - The ID of instance.
- id str
- ip_
comparison_ strsymbol - Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download.
- limit_
ips Sequence[str] - A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
- limit_
type str - Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file.
- limit_
vpcs Sequence[GetRedis Backup Download Info Limit Vpc] - A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
- result_
output_ strfile - Used to save results.
- vpc_
comparison_ strsymbol - This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
- backup
Id String - The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
- instance
Id String - The ID of instance.
- id String
- ip
Comparison StringSymbol - Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download.
- limit
Ips List<String> - A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
- limit
Type String - Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file.
- limit
Vpcs List<Property Map> - A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
- result
Output StringFile - Used to save results.
- vpc
Comparison StringSymbol - This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
getRedisBackupDownloadInfo Result
The following output properties are available:
- Backup
Id string - Backup
Infos List<GetRedis Backup Download Info Backup Info> - A list of backup file information.
- Id string
- Instance
Id string - Ip
Comparison stringSymbol - Limit
Ips List<string> - Limit
Type string - Limit
Vpcs List<GetRedis Backup Download Info Limit Vpc> - Result
Output stringFile - Vpc
Comparison stringSymbol
- Backup
Id string - Backup
Infos []GetRedis Backup Download Info Backup Info - A list of backup file information.
- Id string
- Instance
Id string - Ip
Comparison stringSymbol - Limit
Ips []string - Limit
Type string - Limit
Vpcs []GetRedis Backup Download Info Limit Vpc - Result
Output stringFile - Vpc
Comparison stringSymbol
- backup
Id String - backup
Infos List<GetRedis Backup Download Info Backup Info> - A list of backup file information.
- id String
- instance
Id String - ip
Comparison StringSymbol - limit
Ips List<String> - limit
Type String - limit
Vpcs List<GetRedis Backup Download Info Limit Vpc> - result
Output StringFile - vpc
Comparison StringSymbol
- backup
Id string - backup
Infos GetRedis Backup Download Info Backup Info[] - A list of backup file information.
- id string
- instance
Id string - ip
Comparison stringSymbol - limit
Ips string[] - limit
Type string - limit
Vpcs GetRedis Backup Download Info Limit Vpc[] - result
Output stringFile - vpc
Comparison stringSymbol
- backup_
id str - backup_
infos Sequence[GetRedis Backup Download Info Backup Info] - A list of backup file information.
- id str
- instance_
id str - ip_
comparison_ strsymbol - limit_
ips Sequence[str] - limit_
type str - limit_
vpcs Sequence[GetRedis Backup Download Info Limit Vpc] - result_
output_ strfile - vpc_
comparison_ strsymbol
- backup
Id String - backup
Infos List<Property Map> - A list of backup file information.
- id String
- instance
Id String - ip
Comparison StringSymbol - limit
Ips List<String> - limit
Type String - limit
Vpcs List<Property Map> - result
Output StringFile - vpc
Comparison StringSymbol
Supporting Types
GetRedisBackupDownloadInfoBackupInfo
- Download
Url string - Backup file download address on the Internet (6 hours).
- File
Name string - Backup file name.
- File
Size double - The backup file size is in unit B, if it is 0, it is invalid.
- Inner
Download stringUrl - Backup file intranet download address (6 hours).
- Download
Url string - Backup file download address on the Internet (6 hours).
- File
Name string - Backup file name.
- File
Size float64 - The backup file size is in unit B, if it is 0, it is invalid.
- Inner
Download stringUrl - Backup file intranet download address (6 hours).
- download
Url String - Backup file download address on the Internet (6 hours).
- file
Name String - Backup file name.
- file
Size Double - The backup file size is in unit B, if it is 0, it is invalid.
- inner
Download StringUrl - Backup file intranet download address (6 hours).
- download
Url string - Backup file download address on the Internet (6 hours).
- file
Name string - Backup file name.
- file
Size number - The backup file size is in unit B, if it is 0, it is invalid.
- inner
Download stringUrl - Backup file intranet download address (6 hours).
- download_
url str - Backup file download address on the Internet (6 hours).
- file_
name str - Backup file name.
- file_
size float - The backup file size is in unit B, if it is 0, it is invalid.
- inner_
download_ strurl - Backup file intranet download address (6 hours).
- download
Url String - Backup file download address on the Internet (6 hours).
- file
Name String - Backup file name.
- file
Size Number - The backup file size is in unit B, if it is 0, it is invalid.
- inner
Download StringUrl - Backup file intranet download address (6 hours).
GetRedisBackupDownloadInfoLimitVpc
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack