Skip to main content

configurations

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

Overview

Nameconfigurations
TypeResource
Idazure.maria_db.configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectThe properties of a configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serverName, configurationNameGets information about a configuration of server.
list_by_serverselectsubscriptionId, resourceGroupName, serverNameList all the configurations in a given server.
create_or_updateinsertsubscriptionId, resourceGroupName, serverName, configurationNameUpdates a configuration of a server.

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
configurationNamestringThe name of the server configuration.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serverNamestringThe name of the server.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets information about a configuration of server.

SELECT
properties
FROM azure.maria_db.configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND configurationName = '{{ configurationName }}' -- required
;

INSERT examples

Updates a configuration of a server.

INSERT INTO azure.maria_db.configurations (
data__properties,
subscriptionId,
resourceGroupName,
serverName,
configurationName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ configurationName }}'
RETURNING
properties
;