Skip to main content

settings

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

Overview

Namesettings
TypeResource
Idazure.key_vault_administration.settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe account setting to be updated. Required.
typestringThe type specifier of the value. "boolean" (boolean)
valuestringThe value of the pool setting. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_settingselectsetting_name, vault_base_urlGet specified account setting object. Retrieves the setting object of a specified setting name.
get_settingsselectvault_base_urlList account settings. Retrieves a list of all the available account settings that can be configured.
update_settingupdatesetting_name, vault_base_url, valueUpdates key vault account setting, stores it, then returns the setting name and value to the client. Description of the pool setting to be updated.

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
setting_namestringThe name of the account setting. Must be a valid settings option. Required.
vault_base_urlstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client vaultBaseUrl parameter. (default: )

SELECT examples

Get specified account setting object. Retrieves the setting object of a specified setting name.

SELECT
name,
type,
value
FROM azure.key_vault_administration.settings
WHERE setting_name = '{{ setting_name }}' -- required
AND vault_base_url = '{{ vault_base_url }}' -- required
;

UPDATE examples

Updates key vault account setting, stores it, then returns the setting name and value to the client. Description of the pool setting to be updated.

UPDATE azure.key_vault_administration.settings
SET
value = '{{ value }}'
WHERE
setting_name = '{{ setting_name }}' --required
AND vault_base_url = '{{ vault_base_url }}' --required
AND value = '{{ value }}' --required
RETURNING
name,
type,
value;