backups
Creates, updates, deletes, gets or lists a backups
resource.
Overview
Name | backups |
Type | Resource |
Id | azure.app_service.backups |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | BackupItem resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | name, resourceGroupName, subscriptionId | Description for Gets existing backups of an app. |
delete | DELETE | backupId, name, resourceGroupName, subscriptionId | Description 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 }}';