Skip to main content

location_based_capability_set

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

Overview

Namelocation_based_capability_set
TypeResource
Idazure.mysql_flexible_servers.location_based_capability_set

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
supportedFeaturesarrayA list of supported features.
supportedFlexibleServerEditionsarrayA list of supported flexible server editions.
supportedGeoBackupRegionsarraysupported geo backup regions.
supportedServerVersionsarrayA list of supported server versions.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation_name, subscription_id, capability_set_nameGet capabilities at specified location in a given subscription.
listselectlocation_name, subscription_idGet 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.

NameDatatypeDescription
capability_set_namestringName of capability set. Default value is "default".
location_namestringThe name of the location. Required.
subscription_idstring

SELECT examples

Get capabilities at specified location in a given subscription.

SELECT
id,
name,
supportedFeatures,
supportedFlexibleServerEditions,
supportedGeoBackupRegions,
supportedServerVersions,
systemData,
type
FROM azure.mysql_flexible_servers.location_based_capability_set
WHERE location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND capability_set_name = '{{ capability_set_name }}' -- required
;