Skip to main content

backups

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

Overview

Namebackups
TypeResource
Idazure.app_service.backups

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectBackupItem resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
listSELECTname, resourceGroupName, subscriptionIdDescription for Gets existing backups of an app.
deleteDELETEbackupId, name, resourceGroupName, subscriptionIdDescription for Deletes a backup of an app by its ID.

SELECT examples

Description for Gets existing backups of an app.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.backups
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified backups resource.

/*+ delete */
DELETE FROM azure.app_service.backups
WHERE backupId = '{{ backupId }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';