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

The following fields are returned by SELECT queries:

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, serverNameGet capabilities for a flexible 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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serverNamestringThe name of the server.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

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 subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
;