location_based_capabilities
Creates, updates, deletes, gets or lists a location_based_capabilities resource.
Overview
| Name | location_based_capabilities |
| Type | Resource |
| Id | azure.mysql_flexible_servers.location_based_capabilities |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
supportedFlexibleServerEditions | array | A list of supported flexible server editions. |
supportedGeoBackupRegions | array | supported geo backup regions. |
supportedHAMode | array | Supported high availability mode. |
zone | string | zone name. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location_name, subscription_id | Get capabilities at specified location in a given subscription. |
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.
| Name | Datatype | Description |
|---|---|---|
location_name | string | The name of the location. Required. |
subscription_id | string |
SELECT examples
- list
Get capabilities at specified location in a given subscription.
SELECT
supportedFlexibleServerEditions,
supportedGeoBackupRegions,
supportedHAMode,
zone
FROM azure.mysql_flexible_servers.location_based_capabilities
WHERE location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;