Skip to main content

managed_database_restore_details

Creates, updates, deletes, gets or lists a managed_database_restore_details resource.

Overview

Namemanaged_database_restore_details
TypeResource
Idazure.sql.managed_database_restore_details

Fields

NameDatatypeDescription
block_reasontextfield from the properties object
current_backup_typetextfield from the properties object
current_restore_plan_size_mbtextfield from the properties object
current_restored_size_mbtextfield from the properties object
current_restoring_file_nametextfield from the properties object
databaseNametextfield from the properties object
diff_backup_setstextfield from the properties object
full_backup_setstextfield from the properties object
last_restored_file_nametextfield from the properties object
last_restored_file_timetextfield from the properties object
last_uploaded_file_nametextfield from the properties object
last_uploaded_file_timetextfield from the properties object
log_backup_setstextfield from the properties object
managedInstanceNametextfield from the properties object
number_of_files_detectedtextfield from the properties object
number_of_files_queuedtextfield from the properties object
number_of_files_restoredtextfield from the properties object
number_of_files_restoringtextfield from the properties object
number_of_files_skippedtextfield from the properties object
number_of_files_unrestorabletextfield from the properties object
percent_completedtextfield from the properties object
resourceGroupNametextfield from the properties object
restoreDetailsNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
typetextfield from the properties object
unrestorable_filestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdatabaseName, managedInstanceName, resourceGroupName, restoreDetailsName, subscriptionIdGets managed database restore details.

SELECT examples

Gets managed database restore details.

SELECT
block_reason,
current_backup_type,
current_restore_plan_size_mb,
current_restored_size_mb,
current_restoring_file_name,
databaseName,
diff_backup_sets,
full_backup_sets,
last_restored_file_name,
last_restored_file_time,
last_uploaded_file_name,
last_uploaded_file_time,
log_backup_sets,
managedInstanceName,
number_of_files_detected,
number_of_files_queued,
number_of_files_restored,
number_of_files_restoring,
number_of_files_skipped,
number_of_files_unrestorable,
percent_completed,
resourceGroupName,
restoreDetailsName,
status,
subscriptionId,
type,
unrestorable_files
FROM azure.sql.vw_managed_database_restore_details
WHERE databaseName = '{{ databaseName }}'
AND managedInstanceName = '{{ managedInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND restoreDetailsName = '{{ restoreDetailsName }}'
AND subscriptionId = '{{ subscriptionId }}';