backups
Creates, updates, deletes, gets or lists a backups
resource.
Overview
Name | backups |
Type | Resource |
Id | azure_extras.storsimple_8000_series.backups |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
properties | object | The properties of the backup. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_device | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Retrieves all the backups in a device. |
delete | DELETE | backupName, deviceName, managerName, resourceGroupName, subscriptionId | Deletes the backup. |
clone | EXEC | backupElementName, backupName, deviceName, managerName, resourceGroupName, subscriptionId, data__backupElement, data__targetAccessControlRecordIds, data__targetDeviceId, data__targetVolumeName | Clones the backup element as a new volume. |
restore | EXEC | backupName, deviceName, managerName, resourceGroupName, subscriptionId | Restores 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 }}';