Skip to main content

restore_points

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

Overview

Namerestore_points
TypeResource
Idazure.compute.restore_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id
namestringResource name
propertiesobjectThe restore point properties.
typestringResource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, restorePointCollectionName, restorePointName$expandThe operation to get the restore point.
createinsertsubscriptionId, resourceGroupName, restorePointCollectionName, restorePointNameThe operation to create the restore point. Updating properties of an existing restore point is not allowed
deletedeletesubscriptionId, resourceGroupName, restorePointCollectionName, restorePointNameThe operation to delete the restore point.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group.
restorePointCollectionNamestringThe name of the Restore Point Collection.
restorePointNamestringThe name of the restore point.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$expandstringThe expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.

SELECT examples

The operation to get the restore point.

SELECT
id,
name,
properties,
type
FROM azure.compute.restore_points
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND restorePointCollectionName = '{{ restorePointCollectionName }}' -- required
AND restorePointName = '{{ restorePointName }}' -- required
AND $expand = '{{ $expand }}'
;

INSERT examples

The operation to create the restore point. Updating properties of an existing restore point is not allowed

INSERT INTO azure.compute.restore_points (
data__properties,
subscriptionId,
resourceGroupName,
restorePointCollectionName,
restorePointName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ restorePointCollectionName }}',
'{{ restorePointName }}'
RETURNING
id,
name,
properties,
type
;

DELETE examples

The operation to delete the restore point.

DELETE FROM azure.compute.restore_points
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND restorePointCollectionName = '{{ restorePointCollectionName }}' --required
AND restorePointName = '{{ restorePointName }}' --required
;