1. Packages
  2. Ibm Provider
  3. API Docs
  4. getBackupRecoveryDownloadFiles
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getBackupRecoveryDownloadFiles

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source to retrieve information about backup_recovery_download_files. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetBackupRecoveryDownloadFilesArgs;
    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 backupRecoveryDownloadFiles = IbmFunctions.getBackupRecoveryDownloadFiles(GetBackupRecoveryDownloadFilesArgs.builder()
                .backupRecoveryDownloadFilesId(ibm_backup_recovery.backup_recovery_instance().backup_recovery_id())
                .xIbmTenantId("x_ibm_tenant_id")
                .build());
    
        }
    }
    
    variables:
      backupRecoveryDownloadFiles:
        fn::invoke:
          function: ibm:getBackupRecoveryDownloadFiles
          arguments:
            backupRecoveryDownloadFilesId: ${ibm_backup_recovery.backup_recovery_instance.backup_recovery_id}
            xIbmTenantId: x_ibm_tenant_id
    

    Using getBackupRecoveryDownloadFiles

    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 getBackupRecoveryDownloadFiles(args: GetBackupRecoveryDownloadFilesArgs, opts?: InvokeOptions): Promise<GetBackupRecoveryDownloadFilesResult>
    function getBackupRecoveryDownloadFilesOutput(args: GetBackupRecoveryDownloadFilesOutputArgs, opts?: InvokeOptions): Output<GetBackupRecoveryDownloadFilesResult>
    def get_backup_recovery_download_files(file_type: Optional[str] = None,
                                           id: Optional[str] = None,
                                           include_tenants: Optional[bool] = None,
                                           length: Optional[float] = None,
                                           recovery_download_files_id: Optional[str] = None,
                                           source_name: Optional[str] = None,
                                           start_offset: Optional[float] = None,
                                           start_time: Optional[str] = None,
                                           x_ibm_tenant_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetBackupRecoveryDownloadFilesResult
    def get_backup_recovery_download_files_output(file_type: Optional[pulumi.Input[str]] = None,
                                           id: Optional[pulumi.Input[str]] = None,
                                           include_tenants: Optional[pulumi.Input[bool]] = None,
                                           length: Optional[pulumi.Input[float]] = None,
                                           recovery_download_files_id: Optional[pulumi.Input[str]] = None,
                                           source_name: Optional[pulumi.Input[str]] = None,
                                           start_offset: Optional[pulumi.Input[float]] = None,
                                           start_time: Optional[pulumi.Input[str]] = None,
                                           x_ibm_tenant_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetBackupRecoveryDownloadFilesResult]
    func GetBackupRecoveryDownloadFiles(ctx *Context, args *GetBackupRecoveryDownloadFilesArgs, opts ...InvokeOption) (*GetBackupRecoveryDownloadFilesResult, error)
    func GetBackupRecoveryDownloadFilesOutput(ctx *Context, args *GetBackupRecoveryDownloadFilesOutputArgs, opts ...InvokeOption) GetBackupRecoveryDownloadFilesResultOutput

    > Note: This function is named GetBackupRecoveryDownloadFiles in the Go SDK.

    public static class GetBackupRecoveryDownloadFiles 
    {
        public static Task<GetBackupRecoveryDownloadFilesResult> InvokeAsync(GetBackupRecoveryDownloadFilesArgs args, InvokeOptions? opts = null)
        public static Output<GetBackupRecoveryDownloadFilesResult> Invoke(GetBackupRecoveryDownloadFilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackupRecoveryDownloadFilesResult> getBackupRecoveryDownloadFiles(GetBackupRecoveryDownloadFilesArgs args, InvokeOptions options)
    public static Output<GetBackupRecoveryDownloadFilesResult> getBackupRecoveryDownloadFiles(GetBackupRecoveryDownloadFilesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getBackupRecoveryDownloadFiles:getBackupRecoveryDownloadFiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RecoveryDownloadFilesId string
    XIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    FileType string
    Specifies the downloaded type, i.e: error, success_files_list.
    Id string
    The unique identifier of the backup_recovery_download_files.
    IncludeTenants bool
    Specifies if objects of all the organizations under the hierarchy of the logged in user's organization should be returned.
    Length double
    Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
    SourceName string
    Specifies the name of the source on which restore is done.
    StartOffset double
    Specifies the start offset of file chunk to be downloaded.
    StartTime string
    Specifies the start time of restore task.
    RecoveryDownloadFilesId string
    XIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    FileType string
    Specifies the downloaded type, i.e: error, success_files_list.
    Id string
    The unique identifier of the backup_recovery_download_files.
    IncludeTenants bool
    Specifies if objects of all the organizations under the hierarchy of the logged in user's organization should be returned.
    Length float64
    Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
    SourceName string
    Specifies the name of the source on which restore is done.
    StartOffset float64
    Specifies the start offset of file chunk to be downloaded.
    StartTime string
    Specifies the start time of restore task.
    recoveryDownloadFilesId String
    xIbmTenantId String
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    fileType String
    Specifies the downloaded type, i.e: error, success_files_list.
    id String
    The unique identifier of the backup_recovery_download_files.
    includeTenants Boolean
    Specifies if objects of all the organizations under the hierarchy of the logged in user's organization should be returned.
    length Double
    Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
    sourceName String
    Specifies the name of the source on which restore is done.
    startOffset Double
    Specifies the start offset of file chunk to be downloaded.
    startTime String
    Specifies the start time of restore task.
    recoveryDownloadFilesId string
    xIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    fileType string
    Specifies the downloaded type, i.e: error, success_files_list.
    id string
    The unique identifier of the backup_recovery_download_files.
    includeTenants boolean
    Specifies if objects of all the organizations under the hierarchy of the logged in user's organization should be returned.
    length number
    Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
    sourceName string
    Specifies the name of the source on which restore is done.
    startOffset number
    Specifies the start offset of file chunk to be downloaded.
    startTime string
    Specifies the start time of restore task.
    recovery_download_files_id str
    x_ibm_tenant_id str
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    file_type str
    Specifies the downloaded type, i.e: error, success_files_list.
    id str
    The unique identifier of the backup_recovery_download_files.
    include_tenants bool
    Specifies if objects of all the organizations under the hierarchy of the logged in user's organization should be returned.
    length float
    Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
    source_name str
    Specifies the name of the source on which restore is done.
    start_offset float
    Specifies the start offset of file chunk to be downloaded.
    start_time str
    Specifies the start time of restore task.
    recoveryDownloadFilesId String
    xIbmTenantId String
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    fileType String
    Specifies the downloaded type, i.e: error, success_files_list.
    id String
    The unique identifier of the backup_recovery_download_files.
    includeTenants Boolean
    Specifies if objects of all the organizations under the hierarchy of the logged in user's organization should be returned.
    length Number
    Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
    sourceName String
    Specifies the name of the source on which restore is done.
    startOffset Number
    Specifies the start offset of file chunk to be downloaded.
    startTime String
    Specifies the start time of restore task.

    getBackupRecoveryDownloadFiles Result

    The following output properties are available:

    Id string
    The unique identifier of the backup_recovery_download_files.
    RecoveryDownloadFilesId string
    XIbmTenantId string
    FileType string
    IncludeTenants bool
    Length double
    SourceName string
    StartOffset double
    StartTime string
    Id string
    The unique identifier of the backup_recovery_download_files.
    RecoveryDownloadFilesId string
    XIbmTenantId string
    FileType string
    IncludeTenants bool
    Length float64
    SourceName string
    StartOffset float64
    StartTime string
    id String
    The unique identifier of the backup_recovery_download_files.
    recoveryDownloadFilesId String
    xIbmTenantId String
    fileType String
    includeTenants Boolean
    length Double
    sourceName String
    startOffset Double
    startTime String
    id string
    The unique identifier of the backup_recovery_download_files.
    recoveryDownloadFilesId string
    xIbmTenantId string
    fileType string
    includeTenants boolean
    length number
    sourceName string
    startOffset number
    startTime string
    id str
    The unique identifier of the backup_recovery_download_files.
    recovery_download_files_id str
    x_ibm_tenant_id str
    file_type str
    include_tenants bool
    length float
    source_name str
    start_offset float
    start_time str
    id String
    The unique identifier of the backup_recovery_download_files.
    recoveryDownloadFilesId String
    xIbmTenantId String
    fileType String
    includeTenants Boolean
    length Number
    sourceName String
    startOffset Number
    startTime String

    Package Details

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