Skip to main content

flexible_servers

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

Overview

Nameflexible_servers
TypeResource
Idazure.postgresql.flexible_servers

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
trigger_ltr_pre_backupexecsubscriptionId, resourceGroupName, serverNamePreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.
start_ltr_backupexecsubscriptionId, resourceGroupName, serverName, targetDetailsStart the Long Term Retention Backup operation

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
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.

Lifecycle Methods

PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.

EXEC azure.postgresql.flexible_servers.trigger_ltr_pre_backup 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serverName='{{ serverName }}' --required
@@json=
'{
"backupSettings": "{{ backupSettings }}"
}'
;