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 dictionary
The following arguments are supported:
- Id string
- Restore
Operation doubleId - ID of the restore operation in Logz.io.
- Timeouts
Get
Restore Logs Timeouts
- Id string
- Restore
Operation float64Id - ID of the restore operation in Logz.io.
- Timeouts
Get
Restore Logs Timeouts
- id String
- restore
Operation DoubleId - ID of the restore operation in Logz.io.
- timeouts
Get
Restore Logs Timeouts
- id string
- restore
Operation numberId - ID of the restore operation in Logz.io.
- timeouts
Get
Restore Logs Timeouts
- id str
- restore_
operation_ floatid - ID of the restore operation in Logz.io.
- timeouts
Get
Restore Logs Timeouts
- id String
- restore
Operation NumberId - ID of the restore operation in Logz.io.
- timeouts Property Map
getRestoreLogs Result
The following output properties are available:
- Account
Id double - (Integer) ID of the restored account in Logz.io.
- Account
Name string - (String) Name of the restored account.
- Created
At 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.
- End
Time double - (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- Expires
At 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.
- Finished
At double - (Integer) UNIX timestamp in milliseconds when the restore process completed.
- Id string
- Restored
Volume doubleGb - (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- Start
Time double - (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- Started
At 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.
- Restore
Operation doubleId - Timeouts
Get
Restore Logs Timeouts
- Account
Id float64 - (Integer) ID of the restored account in Logz.io.
- Account
Name string - (String) Name of the restored account.
- Created
At 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.
- End
Time float64 - (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- Expires
At 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.
- Finished
At float64 - (Integer) UNIX timestamp in milliseconds when the restore process completed.
- Id string
- Restored
Volume float64Gb - (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- Start
Time float64 - (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- Started
At 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.
- Restore
Operation float64Id - Timeouts
Get
Restore Logs Timeouts
- account
Id Double - (Integer) ID of the restored account in Logz.io.
- account
Name String - (String) Name of the restored account.
- created
At 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.
- end
Time Double - (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expires
At 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.
- finished
At Double - (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id String
- restored
Volume DoubleGb - (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- start
Time Double - (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- started
At 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.
- restore
Operation DoubleId - timeouts
Get
Restore Logs Timeouts
- account
Id number - (Integer) ID of the restored account in Logz.io.
- account
Name string - (String) Name of the restored account.
- created
At 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.
- end
Time number - (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expires
At 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.
- finished
At number - (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id string
- restored
Volume numberGb - (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- start
Time number - (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- started
At 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.
- restore
Operation numberId - timeouts
Get
Restore 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
Get
Restore Logs Timeouts
- account
Id Number - (Integer) ID of the restored account in Logz.io.
- account
Name String - (String) Name of the restored account.
- created
At 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.
- end
Time Number - (Integer) UNIX timestamp in milliseconds specifying the latest logs to be restored.
- expires
At 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.
- finished
At Number - (Integer) UNIX timestamp in milliseconds when the restore process completed.
- id String
- restored
Volume NumberGb - (Float) Volume of data restored so far. If the restore operation is still in progress, this will be continuously updated.
- start
Time Number - (Integer) UNIX timestamp in milliseconds specifying the earliest logs to be restored.
- started
At 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.
- restore
Operation 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
logzio
Terraform Provider.