Skip to main content

capabilities

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

Overview

Namecapabilities
TypeResource
Idazure.sql.capabilities

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the subscription location capabilities.

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_locationselectlocationName, subscriptionIdincludeGets the subscription capabilities available for the specified location.

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
locationNamestringThe location name whose capabilities are retrieved.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.
includestringIf specified, restricts the response to only include the selected item.

SELECT examples

Gets the subscription capabilities available for the specified location.

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