flexible_servers
Creates, updates, deletes, gets or lists a flexible_servers
resource.
Overview
Name | flexible_servers |
Type | Resource |
Id | azure.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
trigger_ltr_pre_backup | exec | subscriptionId , resourceGroupName , serverName | PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed. | |
start_ltr_backup | exec | subscriptionId , resourceGroupName , serverName , targetDetails | Start 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serverName | string | The name of the server. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
Lifecycle Methods
- trigger_ltr_pre_backup
- start_ltr_backup
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 }}"
}'
;
Start the Long Term Retention Backup operation
EXEC azure.postgresql.flexible_servers.start_ltr_backup
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serverName='{{ serverName }}' --required
@@json=
'{
"targetDetails": "{{ targetDetails }}",
"backupSettings": "{{ backupSettings }}"
}'
;