1. Packages
  2. Logzio Provider
  3. API Docs
  4. getRestoreLogs
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.

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>
Copy
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]
Copy
func LookupRestoreLogs(ctx *Context, args *LookupRestoreLogsArgs, opts ...InvokeOption) (*LookupRestoreLogsResult, error)
func LookupRestoreLogsOutput(ctx *Context, args *LookupRestoreLogsOutputArgs, opts ...InvokeOption) LookupRestoreLogsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetRestoreLogsResult> getRestoreLogs(GetRestoreLogsArgs args, InvokeOptions options)
public static Output<GetRestoreLogsResult> getRestoreLogs(GetRestoreLogsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: logzio:index/getRestoreLogs:getRestoreLogs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
RestoreOperationId double
ID of the restore operation in Logz.io.
Timeouts GetRestoreLogsTimeouts
Id string
RestoreOperationId float64
ID of the restore operation in Logz.io.
Timeouts GetRestoreLogsTimeouts
id String
restoreOperationId Double
ID of the restore operation in Logz.io.
timeouts GetRestoreLogsTimeouts
id string
restoreOperationId number
ID of the restore operation in Logz.io.
timeouts GetRestoreLogsTimeouts
id str
restore_operation_id float
ID of the restore operation in Logz.io.
timeouts GetRestoreLogsTimeouts
id String
restoreOperationId Number
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
RestoredVolumeGb double
(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.
RestoreOperationId double
Timeouts GetRestoreLogsTimeouts
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
RestoredVolumeGb float64
(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.
RestoreOperationId float64
Timeouts GetRestoreLogsTimeouts
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
restoredVolumeGb Double
(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.
restoreOperationId Double
timeouts GetRestoreLogsTimeouts
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
restoredVolumeGb number
(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.
restoreOperationId number
timeouts GetRestoreLogsTimeouts
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_gb float
(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_id float
timeouts GetRestoreLogsTimeouts
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
restoredVolumeGb Number
(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.
restoreOperationId Number
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 logzio Terraform Provider.