backup_schedule_groups
Creates, updates, deletes, gets or lists a backup_schedule_groups
resource.
Overview
Name | backup_schedule_groups |
Type | Resource |
Id | azure_extras.storsimple_1200_series.backup_schedule_groups |
Fields
- vw_backup_schedule_groups
- backup_schedule_groups
Name | Datatype | Description |
---|---|---|
id | text | The identifier. |
name | text | The name. |
deviceName | text | field from the properties object |
managerName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scheduleGroupName | text | field from the properties object |
start_time | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type. |
Name | Datatype | Description |
---|---|---|
id | string | The identifier. |
name | string | The name. |
properties | object | The Backup Schedule Group Properties |
type | string | The type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, managerName, resourceGroupName, scheduleGroupName, subscriptionId | Returns the properties of the specified backup schedule group name. |
list_by_device | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Retrieves all the backup schedule groups in a device. |
create_or_update | INSERT | deviceName, managerName, resourceGroupName, scheduleGroupName, subscriptionId, data__properties | Creates or Updates the backup schedule Group. |
delete | DELETE | deviceName, managerName, resourceGroupName, scheduleGroupName, subscriptionId | Deletes the backup schedule group. |
SELECT
examples
Retrieves all the backup schedule groups in a device.
- vw_backup_schedule_groups
- backup_schedule_groups
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 }}';
SELECT
id,
name,
properties,
type
FROM azure_extras.storsimple_1200_series.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: startTime
value:
- name: hour
value: integer
- name: minute
value: integer
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 }}';