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:

NameDatatypeDescription
namestringThe location name.
isZoneResilientProvisioningAllowedbooleanWhether or not the subscription is allowed to provision zone resilient resources.
reasonstringThe reason for the capability not being available.
statusstringThe status of the capability. Known values are: "Visible", "Available", "Default", and "Disabled". (Visible, Available, Default, Disabled)
supportedJobAgentVersionsarrayThe list of supported job agent versions.
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_locationselectlocation_name, subscription_idincludeGets 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
location_namestringThe location name whose capabilities are retrieved. Required.
subscription_idstring
includestringIf specified, restricts the response to only include the selected item. Known values are: "supportedEditions", "supportedElasticPoolEditions", "supportedManagedInstanceVersions", "supportedInstancePoolEditions", "supportedManagedInstanceEditions", and "supportedJobAgentVersions". Default value is None.

SELECT examples

Gets the subscription capabilities available for the specified location.

SELECT
name,
isZoneResilientProvisioningAllowed,
reason,
status,
supportedJobAgentVersions,
supportedManagedInstanceVersions,
supportedServerVersions
FROM azure.sql.capabilities
WHERE location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND include = '{{ include }}'
;