Skip to main content

server_capabilities

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

Overview

Nameserver_capabilities
TypeResource
Idazure.postgresql.server_capabilities

Fields

NameDatatypeDescription
namestringName of flexible servers capability
fastProvisioningSupportedstringGets a value indicating whether fast provisioning is supported. "Enabled" means fast provisioning is supported. "Disabled" stands for fast provisioning is not supported.
geoBackupSupportedstringDetermines if geo-backup is supported in this region. "Enabled" means geo-backup is supported. "Disabled" stands for geo-back is not supported.
onlineResizeSupportedstringA value indicating whether online resize is supported in this region for the given subscription. "Enabled" means storage online resize is supported. "Disabled" means storage online resize is not supported.
reasonstringThe reason for the capability not being available.
restrictedstringA value indicating whether this region is restricted. "Enabled" means region is restricted. "Disabled" stands for region is not restricted.
statusstringThe status of the capability.
storageAutoGrowthSupportedstringA value indicating whether storage auto-grow is supported in this region. "Enabled" means storage auto-grow is supported. "Disabled" stands for storage auto-grow is not supported.
supportedFastProvisioningEditionsarrayList of supported server editions for fast provisioning
supportedServerEditionsarrayList of supported flexible server editions
supportedServerVersionsarrayThe list of server versions supported for this capability.
zoneRedundantHaAndGeoBackupSupportedstringA value indicating whether Zone Redundant HA and Geo-backup is supported in this region. "Enabled" means zone redundant HA and geo-backup is supported. "Disabled" stands for zone redundant HA and geo-backup is not supported.
zoneRedundantHaSupportedstringA value indicating whether Zone Redundant HA is supported in this region. "Enabled" means zone redundant HA is supported. "Disabled" stands for zone redundant HA is not supported.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, serverName, subscriptionIdGet capabilities for a flexible server.

SELECT examples

Get capabilities for a flexible server.

SELECT
name,
fastProvisioningSupported,
geoBackupSupported,
onlineResizeSupported,
reason,
restricted,
status,
storageAutoGrowthSupported,
supportedFastProvisioningEditions,
supportedServerEditions,
supportedServerVersions,
zoneRedundantHaAndGeoBackupSupported,
zoneRedundantHaSupported
FROM azure.postgresql.server_capabilities
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';