Skip to main content

backups

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

Overview

Namebackups
TypeResource
Idazure_extras.storsimple_8000_series.backups

Fields

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe name of the object.
kindstringThe Kind of the object. Currently only Series8000 is supported
propertiesobjectThe properties of the backup.
typestringThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves all the backups in a device.
deleteDELETEbackupName, deviceName, managerName, resourceGroupName, subscriptionIdDeletes the backup.
cloneEXECbackupElementName, backupName, deviceName, managerName, resourceGroupName, subscriptionId, data__backupElement, data__targetAccessControlRecordIds, data__targetDeviceId, data__targetVolumeNameClones the backup element as a new volume.
restoreEXECbackupName, deviceName, managerName, resourceGroupName, subscriptionIdRestores the backup on the device.

SELECT examples

Retrieves all the backups in a device.

SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.backups
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified backups resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_8000_series.backups
WHERE backupName = '{{ backupName }}'
AND deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';