Skip to main content

backup_slots

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

Overview

Namebackup_slots
TypeResource
Idazure.app_service.backup_slots

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
deletedeleteresourceGroupName, name, backupId, slot, subscriptionIdDescription for Deletes a backup of an app by its ID.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
backupIdstringID of the backup.
namestringName of the app.
resourceGroupNamestringName of the resource group to which the resource belongs.
slotstringName of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

DELETE examples

Description for Deletes a backup of an app by its ID.

DELETE FROM azure.app_service.backup_slots
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
AND backupId = '{{ backupId }}' --required
AND slot = '{{ slot }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;