Skip to main content

backup_configurations

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

Overview

Namebackup_configurations
TypeResource
Idazure.app_service.backup_configurations

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionIdDescription for Gets the backup configuration of an app.
deleteDELETEname, resourceGroupName, subscriptionIdDescription for Deletes the backup configuration of an app.
updateREPLACEname, resourceGroupName, subscriptionIdDescription for Updates the backup configuration of an app.

SELECT examples

Description for Gets the backup configuration of an app.

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

REPLACE example

Replaces all fields in the specified backup_configurations resource.

/*+ update */
REPLACE azure.app_service.backup_configurations
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified backup_configurations resource.

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