Skip to main content

configurations

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

Overview

Nameconfigurations
TypeResource
Idazure.maria_db.configurations

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
allowed_valuestextfield from the properties object
configurationNametextfield from the properties object
data_typetextfield from the properties object
default_valuetextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
sourcetextfield from the properties object
subscriptionIdtextfield from the properties object
valuetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationName, resourceGroupName, serverName, subscriptionIdGets information about a configuration of server.
list_by_serverSELECTresourceGroupName, serverName, subscriptionIdList all the configurations in a given server.
create_or_updateINSERTconfigurationName, resourceGroupName, serverName, subscriptionIdUpdates a configuration of a server.

SELECT examples

List all the configurations in a given server.

SELECT
description,
allowed_values,
configurationName,
data_type,
default_value,
resourceGroupName,
serverName,
source,
subscriptionId,
value
FROM azure.maria_db.vw_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new configurations resource.

/*+ create */
INSERT INTO azure.maria_db.configurations (
configurationName,
resourceGroupName,
serverName,
subscriptionId,
properties
)
SELECT
'{{ configurationName }}',
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;