1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getRedisBackupDownloadInfo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getRedisBackupDownloadInfo

Explore with Pulumi AI

tencentcloud logo
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:

    BackupId string
    The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
    InstanceId string
    The ID of instance.
    Id string
    IpComparisonSymbol string
    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.
    LimitIps List<string>
    A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
    LimitType 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.
    LimitVpcs List<GetRedisBackupDownloadInfoLimitVpc>
    A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
    ResultOutputFile string
    Used to save results.
    VpcComparisonSymbol string
    This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
    BackupId string
    The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
    InstanceId string
    The ID of instance.
    Id string
    IpComparisonSymbol string
    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.
    LimitIps []string
    A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
    LimitType 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.
    LimitVpcs []GetRedisBackupDownloadInfoLimitVpc
    A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
    ResultOutputFile string
    Used to save results.
    VpcComparisonSymbol string
    This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
    backupId String
    The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
    instanceId String
    The ID of instance.
    id String
    ipComparisonSymbol String
    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.
    limitIps List<String>
    A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
    limitType 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.
    limitVpcs List<GetRedisBackupDownloadInfoLimitVpc>
    A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
    resultOutputFile String
    Used to save results.
    vpcComparisonSymbol String
    This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
    backupId string
    The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
    instanceId string
    The ID of instance.
    id string
    ipComparisonSymbol string
    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.
    limitIps string[]
    A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
    limitType 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.
    limitVpcs GetRedisBackupDownloadInfoLimitVpc[]
    A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
    resultOutputFile string
    Used to save results.
    vpcComparisonSymbol string
    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_symbol str
    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[GetRedisBackupDownloadInfoLimitVpc]
    A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
    result_output_file str
    Used to save results.
    vpc_comparison_symbol str
    This parameter only supports entering In, which means that the custom LimitVpc can download the backup file.
    backupId String
    The backup ID, which can be accessed via DescribeInstanceBackups interface returns the parameter RedisBackupSet to get.
    instanceId String
    The ID of instance.
    id String
    ipComparisonSymbol String
    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.
    limitIps List<String>
    A custom VPC IP address for downloadable backup files.If the parameter LimitType is Customize, you need to configure this parameter.
    limitType 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.
    limitVpcs List<Property Map>
    A custom VPC ID for a downloadable backup file.If the parameter LimitType is Customize, you need to configure this parameter.
    resultOutputFile String
    Used to save results.
    vpcComparisonSymbol String
    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:

    backupId String
    backupInfos List<Property Map>
    A list of backup file information.
    id String
    instanceId String
    ipComparisonSymbol String
    limitIps List<String>
    limitType String
    limitVpcs List<Property Map>
    resultOutputFile String
    vpcComparisonSymbol String

    Supporting Types

    GetRedisBackupDownloadInfoBackupInfo

    DownloadUrl string
    Backup file download address on the Internet (6 hours).
    FileName string
    Backup file name.
    FileSize double
    The backup file size is in unit B, if it is 0, it is invalid.
    InnerDownloadUrl string
    Backup file intranet download address (6 hours).
    DownloadUrl string
    Backup file download address on the Internet (6 hours).
    FileName string
    Backup file name.
    FileSize float64
    The backup file size is in unit B, if it is 0, it is invalid.
    InnerDownloadUrl string
    Backup file intranet download address (6 hours).
    downloadUrl String
    Backup file download address on the Internet (6 hours).
    fileName String
    Backup file name.
    fileSize Double
    The backup file size is in unit B, if it is 0, it is invalid.
    innerDownloadUrl String
    Backup file intranet download address (6 hours).
    downloadUrl string
    Backup file download address on the Internet (6 hours).
    fileName string
    Backup file name.
    fileSize number
    The backup file size is in unit B, if it is 0, it is invalid.
    innerDownloadUrl string
    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_url str
    Backup file intranet download address (6 hours).
    downloadUrl String
    Backup file download address on the Internet (6 hours).
    fileName String
    Backup file name.
    fileSize Number
    The backup file size is in unit B, if it is 0, it is invalid.
    innerDownloadUrl String
    Backup file intranet download address (6 hours).

    GetRedisBackupDownloadInfoLimitVpc

    Region string
    Customize the region of the VPC to which the backup file is downloaded.
    VpcLists List<string>
    Customize the list of VPCs to download backup files.
    Region string
    Customize the region of the VPC to which the backup file is downloaded.
    VpcLists []string
    Customize the list of VPCs to download backup files.
    region String
    Customize the region of the VPC to which the backup file is downloaded.
    vpcLists List<String>
    Customize the list of VPCs to download backup files.
    region string
    Customize the region of the VPC to which the backup file is downloaded.
    vpcLists string[]
    Customize the list of VPCs to download backup files.
    region str
    Customize the region of the VPC to which the backup file is downloaded.
    vpc_lists Sequence[str]
    Customize the list of VPCs to download backup files.
    region String
    Customize the region of the VPC to which the backup file is downloaded.
    vpcLists List<String>
    Customize the list of VPCs to download backup files.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack