backups
Creates, updates, deletes, gets or lists a backups
resource.
Overview
Name | backups |
Type | Resource |
Id | azure_extras.storsimple_1200_series.backups |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The identifier. |
name | string | The name. |
properties | object | Class represents Backup properties |
type | string | The type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_device | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Retrieves all the backups in a device. Can be used to get the backups for failover also. |
list_by_manager | SELECT | managerName, resourceGroupName, subscriptionId | Retrieves all the backups in a manager. |
delete | DELETE | backupName, deviceName, managerName, resourceGroupName, subscriptionId | Deletes the backup. |
clone | EXEC | backupName, deviceName, elementName, managerName, resourceGroupName, subscriptionId, data__properties | Clones the given backup element to a new disk or share with given details. |
SELECT
examples
Retrieves all the backups in a manager.
SELECT
id,
name,
properties,
type
FROM azure_extras.storsimple_1200_series.backups
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified backups
resource.
/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.backups
WHERE backupName = '{{ backupName }}'
AND deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';