Skip to main content

backup_configuration_slots

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

Overview

Namebackup_configuration_slots
TypeResource
Idazure.app_service.backup_configuration_slots

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, name, slot, subscriptionIdDescription for Gets the backup configuration of an app.
updatereplaceresourceGroupName, name, slot, subscriptionIdDescription for Updates the backup configuration of an app.
deletedeleteresourceGroupName, name, slot, subscriptionIdDescription for Deletes the backup configuration of an app.

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
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 the backup configuration for the production slot.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

SELECT examples

Description for Gets the backup configuration of an app.

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

REPLACE examples

Description for Updates the backup configuration of an app.

REPLACE azure.app_service.backup_configuration_slots
SET
data__kind = '{{ kind }}',
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
AND slot = '{{ slot }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
id,
name,
kind,
properties,
type;

DELETE examples

Description for Deletes the backup configuration of an app.

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