Skip to main content

ltr_backup_operations

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

Overview

Nameltr_backup_operations
TypeResource
Idazure.postgresql.ltr_backup_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectLong Term Retention Backup Operation Resource Properties

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serverName, backupNameGets the result of the give long term retention backup operation for the flexible server.
list_by_serverselectsubscriptionId, resourceGroupName, serverNameGets the result of the give long term retention backup operations for the flexible server.

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
backupNamestringThe name of the backup.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serverNamestringThe name of the server.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the result of the give long term retention backup operation for the flexible server.

SELECT
properties
FROM azure.postgresql.ltr_backup_operations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND backupName = '{{ backupName }}' -- required
;