Skip to main content

disk_restore_points

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

Overview

Namedisk_restore_points
TypeResource
Idazure.compute.disk_restore_points

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
completion_percenttextfield from the properties object
diskRestorePointNametextfield from the properties object
disk_access_idtextfield from the properties object
encryptiontextfield from the properties object
family_idtextfield from the properties object
hyper_v_generationtextfield from the properties object
logical_sector_sizetextfield from the properties object
network_access_policytextfield from the properties object
os_typetextfield from the properties object
public_network_accesstextfield from the properties object
purchase_plantextfield from the properties object
replication_statetextfield from the properties object
resourceGroupNametextfield from the properties object
restorePointCollectionNametextfield from the properties object
security_profiletextfield from the properties object
source_resource_idtextfield from the properties object
source_resource_locationtextfield from the properties object
source_unique_idtextfield from the properties object
subscriptionIdtextfield from the properties object
supported_capabilitiestextfield from the properties object
supports_hibernationtextfield from the properties object
time_createdtextfield from the properties object
typetextResource type
vmRestorePointNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdiskRestorePointName, resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointNameGet disk restorePoint resource
list_by_restore_pointSELECTresourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointNameLists diskRestorePoints under a vmRestorePoint.
grant_accessEXECdiskRestorePointName, resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointName, data__access, data__durationInSecondsGrants access to a diskRestorePoint.
revoke_accessEXECdiskRestorePointName, resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointNameRevokes access to a diskRestorePoint.

SELECT examples

Lists diskRestorePoints under a vmRestorePoint.

SELECT
id,
name,
completion_percent,
diskRestorePointName,
disk_access_id,
encryption,
family_id,
hyper_v_generation,
logical_sector_size,
network_access_policy,
os_type,
public_network_access,
purchase_plan,
replication_state,
resourceGroupName,
restorePointCollectionName,
security_profile,
source_resource_id,
source_resource_location,
source_unique_id,
subscriptionId,
supported_capabilities,
supports_hibernation,
time_created,
type,
vmRestorePointName
FROM azure.compute.vw_disk_restore_points
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND restorePointCollectionName = '{{ restorePointCollectionName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmRestorePointName = '{{ vmRestorePointName }}';