Skip to main content

capabilities

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

Overview

Namecapabilities
TypeResource
Idazure.sql.capabilities

Fields

NameDatatypeDescription
namestringThe location name.
reasonstringThe reason for the capability not being available.
statusstringThe status of the capability.
supportedManagedInstanceVersionsarrayThe list of supported managed instance versions.
supportedServerVersionsarrayThe list of supported server versions.

Methods

NameAccessible byRequired ParamsDescription
list_by_locationSELECTlocationName, subscriptionIdGets the subscription capabilities available for the specified location.

SELECT examples

Gets the subscription capabilities available for the specified location.

SELECT
name,
reason,
status,
supportedManagedInstanceVersions,
supportedServerVersions
FROM azure.sql.capabilities
WHERE locationName = '{{ locationName }}'
AND subscriptionId = '{{ subscriptionId }}';