logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio
logzio.getRestoreLogs
Explore with Pulumi AI
# Restore Logs Datasource
Use this data source to access information about existing Logz.io restore operations.
- Learn more about restore logs in the Logz.io Docs.
Using getRestoreLogs
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 getRestoreLogs(args: GetRestoreLogsArgs, opts?: InvokeOptions): Promise<GetRestoreLogsResult>
function getRestoreLogsOutput(args: GetRestoreLogsOutputArgs, opts?: InvokeOptions): Output<GetRestoreLogsResult>def get_restore_logs(id: Optional[str] = None,
                     restore_operation_id: Optional[float] = None,
                     timeouts: Optional[GetRestoreLogsTimeouts] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRestoreLogsResult
def get_restore_logs_output(id: Optional[pulumi.Input[str]] = None,
                     restore_operation_id: Optional[pulumi.Input[float]] = None,
                     timeouts: Optional[pulumi.Input[GetRestoreLogsTimeoutsArgs]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRestoreLogsResult]func LookupRestoreLogs(ctx *Context, args *LookupRestoreLogsArgs, opts ...InvokeOption) (*LookupRestoreLogsResult, error)
func LookupRestoreLogsOutput(ctx *Context, args *LookupRestoreLogsOutputArgs, opts ...InvokeOption) LookupRestoreLogsResultOutput> Note: This function is named LookupRestoreLogs in the Go SDK.
public static class GetRestoreLogs 
{
    public static Task<GetRestoreLogsResult> InvokeAsync(GetRestoreLogsArgs args, InvokeOptions? opts = null)
    public static Output<GetRestoreLogsResult> Invoke(GetRestoreLogsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRestoreLogsResult> getRestoreLogs(GetRestoreLogsArgs args, InvokeOptions options)
public static Output<GetRestoreLogsResult> getRestoreLogs(GetRestoreLogsArgs args, InvokeOptions options)
fn::invoke:
  function: logzio:index/getRestoreLogs:getRestoreLogs
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- RestoreOperation doubleId 
- ID of the restore operation in Logz.io.
- Timeouts
GetRestore Logs Timeouts 
- Id string
- RestoreOperation float64Id 
- ID of the restore operation in Logz.io.
- Timeouts
GetRestore Logs Timeouts 
- id String
- restoreOperation DoubleId 
- ID of the restore operation in Logz.io.
- timeouts
GetRestore Logs Timeouts 
- id string
- restoreOperation numberId 
- ID of the restore operation in Logz.io.
- timeouts
GetRestore Logs Timeouts 
- id str
- restore_operation_ floatid 
- ID of the restore operation in Logz.io.
- timeouts
GetRestore Logs Timeouts 
- id String
- restoreOperation NumberId 
- ID of the restore operation in Logz.io.
- timeouts Property Map
getRestoreLogs Result
The following output properties are available:
- AccountId double
- (Integer) ID of the restored account in Logz.io.
- AccountName string
- (String) Name of the restored account.
- CreatedAt double
- (Integer) Timestamp when the restore process was created and entered the queue. Since only one account can be restored at a time, the process may not initiate immediately.
- EndTime double
- (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- ExpiresAt double
- (Integer) UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
- FinishedAt double
- (Integer) UNIX timestamp in milliseconds when the restore process completed.
- Id string
- RestoredVolume doubleGb 
- (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- StartTime double
- (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- StartedAt double
- (Integer) UNIX timestamp in milliseconds when the restore process initiated.
- Status string
- (String) Returns the current status of the restored account. See documentation for more info about the possible statuses and their meaning.
- RestoreOperation doubleId 
- Timeouts
GetRestore Logs Timeouts 
- AccountId float64
- (Integer) ID of the restored account in Logz.io.
- AccountName string
- (String) Name of the restored account.
- CreatedAt float64
- (Integer) Timestamp when the restore process was created and entered the queue. Since only one account can be restored at a time, the process may not initiate immediately.
- EndTime float64
- (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- ExpiresAt float64
- (Integer) UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
- FinishedAt float64
- (Integer) UNIX timestamp in milliseconds when the restore process completed.
- Id string
- RestoredVolume float64Gb 
- (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- StartTime float64
- (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- StartedAt float64
- (Integer) UNIX timestamp in milliseconds when the restore process initiated.
- Status string
- (String) Returns the current status of the restored account. See documentation for more info about the possible statuses and their meaning.
- RestoreOperation float64Id 
- Timeouts
GetRestore Logs Timeouts 
- accountId Double
- (Integer) ID of the restored account in Logz.io.
- accountName String
- (String) Name of the restored account.
- createdAt Double
- (Integer) Timestamp when the restore process was created and entered the queue. Since only one account can be restored at a time, the process may not initiate immediately.
- endTime Double
- (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expiresAt Double
- (Integer) UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
- finishedAt Double
- (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id String
- restoredVolume DoubleGb 
- (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- startTime Double
- (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- startedAt Double
- (Integer) UNIX timestamp in milliseconds when the restore process initiated.
- status String
- (String) Returns the current status of the restored account. See documentation for more info about the possible statuses and their meaning.
- restoreOperation DoubleId 
- timeouts
GetRestore Logs Timeouts 
- accountId number
- (Integer) ID of the restored account in Logz.io.
- accountName string
- (String) Name of the restored account.
- createdAt number
- (Integer) Timestamp when the restore process was created and entered the queue. Since only one account can be restored at a time, the process may not initiate immediately.
- endTime number
- (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expiresAt number
- (Integer) UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
- finishedAt number
- (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id string
- restoredVolume numberGb 
- (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- startTime number
- (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- startedAt number
- (Integer) UNIX timestamp in milliseconds when the restore process initiated.
- status string
- (String) Returns the current status of the restored account. See documentation for more info about the possible statuses and their meaning.
- restoreOperation numberId 
- timeouts
GetRestore Logs Timeouts 
- account_id float
- (Integer) ID of the restored account in Logz.io.
- account_name str
- (String) Name of the restored account.
- created_at float
- (Integer) Timestamp when the restore process was created and entered the queue. Since only one account can be restored at a time, the process may not initiate immediately.
- end_time float
- (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expires_at float
- (Integer) UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
- finished_at float
- (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id str
- restored_volume_ floatgb 
- (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- start_time float
- (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- started_at float
- (Integer) UNIX timestamp in milliseconds when the restore process initiated.
- status str
- (String) Returns the current status of the restored account. See documentation for more info about the possible statuses and their meaning.
- restore_operation_ floatid 
- timeouts
GetRestore Logs Timeouts 
- accountId Number
- (Integer) ID of the restored account in Logz.io.
- accountName String
- (String) Name of the restored account.
- createdAt Number
- (Integer) Timestamp when the restore process was created and entered the queue. Since only one account can be restored at a time, the process may not initiate immediately.
- endTime Number
- (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expiresAt Number
- (Integer) UNIX timestamp in milliseconds specifying when the account is due to expire. Restored accounts expire automatically after a number of days, as specified in the account's terms.
- finishedAt Number
- (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id String
- restoredVolume NumberGb 
- (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- startTime Number
- (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- startedAt Number
- (Integer) UNIX timestamp in milliseconds when the restore process initiated.
- status String
- (String) Returns the current status of the restored account. See documentation for more info about the possible statuses and their meaning.
- restoreOperation NumberId 
- timeouts Property Map
Supporting Types
GetRestoreLogsTimeouts   
- Read string
- Read string
- read String
- read string
- read str
- read String
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the logzioTerraform Provider.