ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getBackupRecoveryDownloadFiles
Explore with Pulumi AI
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:
- Recovery
Download stringFiles Id - XIbm
Tenant stringId - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- File
Type string - Specifies the downloaded type, i.e: error, success_files_list.
- Id string
- 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 double
- Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
- Source
Name string - Specifies the name of the source on which restore is done.
- Start
Offset double - Specifies the start offset of file chunk to be downloaded.
- Start
Time string - Specifies the start time of restore task.
- Recovery
Download stringFiles Id - XIbm
Tenant stringId - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- File
Type string - Specifies the downloaded type, i.e: error, success_files_list.
- Id string
- 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 float64
- Specifies the length of bytes to download. This can not be greater than 8MB (8388608 byets).
- Source
Name string - Specifies the name of the source on which restore is done.
- Start
Offset float64 - Specifies the start offset of file chunk to be downloaded.
- Start
Time string - Specifies the start time of restore task.
- recovery
Download StringFiles Id - x
Ibm StringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- file
Type String - Specifies the downloaded type, i.e: error, success_files_list.
- id String
- The unique identifier of the backup_recovery_download_files.
- include
Tenants 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).
- source
Name String - Specifies the name of the source on which restore is done.
- start
Offset Double - Specifies the start offset of file chunk to be downloaded.
- start
Time String - Specifies the start time of restore task.
- recovery
Download stringFiles Id - x
Ibm stringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- file
Type string - Specifies the downloaded type, i.e: error, success_files_list.
- id string
- The unique identifier of the backup_recovery_download_files.
- include
Tenants 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).
- source
Name string - Specifies the name of the source on which restore is done.
- start
Offset number - Specifies the start offset of file chunk to be downloaded.
- start
Time string - Specifies the start time of restore task.
- recovery_
download_ strfiles_ id - x_
ibm_ strtenant_ id - 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.
- recovery
Download StringFiles Id - x
Ibm StringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- file
Type String - Specifies the downloaded type, i.e: error, success_files_list.
- id String
- The unique identifier of the backup_recovery_download_files.
- include
Tenants 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).
- source
Name String - Specifies the name of the source on which restore is done.
- start
Offset Number - Specifies the start offset of file chunk to be downloaded.
- start
Time 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.
- Recovery
Download stringFiles Id - XIbm
Tenant stringId - File
Type string - Include
Tenants bool - Length double
- Source
Name string - Start
Offset double - Start
Time string
- Id string
- The unique identifier of the backup_recovery_download_files.
- Recovery
Download stringFiles Id - XIbm
Tenant stringId - File
Type string - Include
Tenants bool - Length float64
- Source
Name string - Start
Offset float64 - Start
Time string
- id String
- The unique identifier of the backup_recovery_download_files.
- recovery
Download StringFiles Id - x
Ibm StringTenant Id - file
Type String - include
Tenants Boolean - length Double
- source
Name String - start
Offset Double - start
Time String
- id string
- The unique identifier of the backup_recovery_download_files.
- recovery
Download stringFiles Id - x
Ibm stringTenant Id - file
Type string - include
Tenants boolean - length number
- source
Name string - start
Offset number - start
Time string
- id str
- The unique identifier of the backup_recovery_download_files.
- recovery_
download_ strfiles_ id - x_
ibm_ strtenant_ id - 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.
- recovery
Download StringFiles Id - x
Ibm StringTenant Id - file
Type String - include
Tenants Boolean - length Number
- source
Name String - start
Offset Number - start
Time String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.