Skip to main content

servers

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

Overview

Nameservers
TypeResource
Idazure.postgresql_hsc.servers

Fields

NameDatatypeDescription
administrator_logintextfield from the properties object
availability_zonetextfield from the properties object
citus_versiontextfield from the properties object
clusterNametextfield from the properties object
enable_hatextfield from the properties object
enable_public_ip_accesstextfield from the properties object
fully_qualified_domain_nametextfield from the properties object
ha_statetextfield from the properties object
is_read_onlytextfield from the properties object
postgresql_versiontextfield from the properties object
resourceGroupNametextfield from the properties object
roletextfield from the properties object
serverNametextfield from the properties object
server_editiontextfield from the properties object
statetextfield from the properties object
storage_quota_in_mbtextfield from the properties object
subscriptionIdtextfield from the properties object
v_corestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, resourceGroupName, serverName, subscriptionIdGets information about a server in cluster.
list_by_clusterSELECTclusterName, resourceGroupName, subscriptionIdLists servers of a cluster.

SELECT examples

Lists servers of a cluster.

SELECT
administrator_login,
availability_zone,
citus_version,
clusterName,
enable_ha,
enable_public_ip_access,
fully_qualified_domain_name,
ha_state,
is_read_only,
postgresql_version,
resourceGroupName,
role,
serverName,
server_edition,
state,
storage_quota_in_mb,
subscriptionId,
v_cores
FROM azure.postgresql_hsc.vw_servers
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';