Skip to main content

replicas

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

Overview

Namereplicas
TypeResource
Idazure.postgresql.replicas

Fields

NameDatatypeDescription
identityobjectInformation describing the identities associated with this application.
locationstringThe geo-location where the resource lives
propertiesobjectThe properties of a server.
skuobjectSku information related properties of a server.
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
list_by_serverSELECTresourceGroupName, serverName, subscriptionIdList all the replicas for a given server.

SELECT examples

List all the replicas for a given server.

SELECT
identity,
location,
properties,
sku,
tags
FROM azure.postgresql.replicas
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';