Skip to main content

backup_schedule_groups

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

Overview

Namebackup_schedule_groups
TypeResource
Idazure_extras.storsimple_1200_series.backup_schedule_groups

Fields

NameDatatypeDescription
idtextThe identifier.
nametextThe name.
deviceNametextfield from the properties object
managerNametextfield from the properties object
resourceGroupNametextfield from the properties object
scheduleGroupNametextfield from the properties object
start_timetextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, managerName, resourceGroupName, scheduleGroupName, subscriptionIdReturns the properties of the specified backup schedule group name.
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves all the backup schedule groups in a device.
create_or_updateINSERTdeviceName, managerName, resourceGroupName, scheduleGroupName, subscriptionId, data__propertiesCreates or Updates the backup schedule Group.
deleteDELETEdeviceName, managerName, resourceGroupName, scheduleGroupName, subscriptionIdDeletes the backup schedule group.

SELECT examples

Retrieves all the backup schedule groups in a device.

SELECT
id,
name,
deviceName,
managerName,
resourceGroupName,
scheduleGroupName,
start_time,
subscriptionId,
type
FROM azure_extras.storsimple_1200_series.vw_backup_schedule_groups
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new backup_schedule_groups resource.

/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.backup_schedule_groups (
deviceName,
managerName,
resourceGroupName,
scheduleGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ deviceName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ scheduleGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified backup_schedule_groups resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.backup_schedule_groups
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scheduleGroupName = '{{ scheduleGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';