disk_restore_points
Creates, updates, deletes, gets or lists a disk_restore_points
resource.
Overview
Name | disk_restore_points |
Type | Resource |
Id | azure.compute.disk_restore_points |
Fields
- vw_disk_restore_points
- disk_restore_points
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
completion_percent | text | field from the properties object |
diskRestorePointName | text | field from the properties object |
disk_access_id | text | field from the properties object |
encryption | text | field from the properties object |
family_id | text | field from the properties object |
hyper_v_generation | text | field from the properties object |
logical_sector_size | text | field from the properties object |
network_access_policy | text | field from the properties object |
os_type | text | field from the properties object |
public_network_access | text | field from the properties object |
purchase_plan | text | field from the properties object |
replication_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
restorePointCollectionName | text | field from the properties object |
security_profile | text | field from the properties object |
source_resource_id | text | field from the properties object |
source_resource_location | text | field from the properties object |
source_unique_id | text | field from the properties object |
subscriptionId | text | field from the properties object |
supported_capabilities | text | field from the properties object |
supports_hibernation | text | field from the properties object |
time_created | text | field from the properties object |
type | text | Resource type |
vmRestorePointName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
properties | object | Properties of an incremental disk restore point |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | diskRestorePointName, resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointName | Get disk restorePoint resource |
list_by_restore_point | SELECT | resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointName | Lists diskRestorePoints under a vmRestorePoint. |
grant_access | EXEC | diskRestorePointName, resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointName, data__access, data__durationInSeconds | Grants access to a diskRestorePoint. |
revoke_access | EXEC | diskRestorePointName, resourceGroupName, restorePointCollectionName, subscriptionId, vmRestorePointName | Revokes access to a diskRestorePoint. |
SELECT
examples
Lists diskRestorePoints under a vmRestorePoint.
- vw_disk_restore_points
- disk_restore_points
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.compute.disk_restore_points
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND restorePointCollectionName = '{{ restorePointCollectionName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmRestorePointName = '{{ vmRestorePointName }}';