configurations
Creates, updates, deletes, gets or lists a configurations
resource.
Overview
Name | configurations |
Type | Resource |
Id | azure.postgresql.configurations |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_server
Name | Datatype | Description |
---|---|---|
properties | object | The properties of a configuration. |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of a configuration. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , serverName , configurationName | Gets information about a configuration of server. | |
list_by_server | select | subscriptionId , resourceGroupName , serverName | List all the configurations in a given server. | |
update | update | subscriptionId , resourceGroupName , serverName , configurationName | Updates a configuration of a server. | |
put | replace | subscriptionId , resourceGroupName , serverName , configurationName | Updates a configuration of a 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.
Name | Datatype | Description |
---|---|---|
configurationName | string | The name of the server configuration. |
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. |
SELECT
examples
- get
- list_by_server
Gets information about a configuration of server.
SELECT
properties
FROM azure.postgresql.configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND configurationName = '{{ configurationName }}' -- required
;
List all the configurations in a given server.
SELECT
properties
FROM azure.postgresql.configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
;
UPDATE
examples
- update
Updates a configuration of a server.
UPDATE azure.postgresql.configurations
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serverName = '{{ serverName }}' --required
AND configurationName = '{{ configurationName }}' --required
RETURNING
properties;
REPLACE
examples
- put
Updates a configuration of a server.
REPLACE azure.postgresql.configurations
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serverName = '{{ serverName }}' --required
AND configurationName = '{{ configurationName }}' --required
RETURNING
properties;