Skip to main content

account_settings

Creates, updates, deletes, gets or lists an account_settings resource.

Overview​

Nameaccount_settings
TypeResource
Iddatabricks_account.settingsv2.account_settings

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the setting.
â–¶aibi_dashboard_embedding_access_policyobject
â–¶aibi_dashboard_embedding_approved_domainsobjectSetting value for aibi_dashboard_embedding_approved_domains setting. This is the setting value set by consumers, check effective_aibi_dashboard_embedding_approved_domains for final setting value.
â–¶allowed_apps_user_api_scopesobjectSetting value for allowed_apps_user_api_scopes setting. This is the setting value set by consumers, check effective_allowed_apps_user_api_scopes for final setting value.
â–¶automatic_cluster_update_workspaceobjectSetting value for automatic_cluster_update_workspace setting. This is the setting value set by consumers, check effective_automatic_cluster_update_workspace for final setting value.
â–¶boolean_valobjectSetting value for boolean type setting. This is the setting value set by consumers, check effective_boolean_val for final setting value.
â–¶collaboration_platform_connectivityobjectSetting value for collaboration_platform_connectivity setting. This is the setting value set by consumers, check effective_collaboration_platform_connectivity for final setting value.
â–¶effective_aibi_dashboard_embedding_access_policyobjectEffective setting value for aibi_dashboard_embedding_access_policy setting. This is the final effective value of setting. To set a value use aibi_dashboard_embedding_access_policy.
â–¶effective_aibi_dashboard_embedding_approved_domainsobjectEffective setting value for aibi_dashboard_embedding_approved_domains setting. This is the final effective value of setting. To set a value use aibi_dashboard_embedding_approved_domains.
â–¶effective_allowed_apps_user_api_scopesobjectEffective setting value for allowed_apps_user_api_scopes setting. This is the final effective value of setting. To set a value use allowed_apps_user_api_scopes.
â–¶effective_automatic_cluster_update_workspaceobjectEffective setting value for automatic_cluster_update_workspace setting. This is the final effective value of setting. To set a value use automatic_cluster_update_workspace.
â–¶effective_boolean_valobjectEffective setting value for boolean type setting. This is the final effective value of setting. To set a value use boolean_val.
â–¶effective_collaboration_platform_connectivityobjectEffective setting value for collaboration_platform_connectivity setting. This is the final effective value of setting. To set a value use collaboration_platform_connectivity.
â–¶effective_integer_valobjectEffective setting value for integer type setting. This is the final effective value of setting. To set a value use integer_val.
â–¶effective_operational_email_custom_recipientobjectEffective setting value for operational_email_custom_recipient setting. This is the final effective value of setting. To set a value use operational_email_custom_recipient.
â–¶effective_personal_computeobjectEffective setting value for personal_compute setting. This is the final effective value of setting. To set a value use personal_compute.
â–¶effective_restrict_workspace_adminsobjectEffective setting value for restrict_workspace_admins setting. This is the final effective value of setting. To set a value use restrict_workspace_admins.
â–¶effective_string_valobjectEffective setting value for string type setting. This is the final effective value of setting. To set a value use string_val.
â–¶effective_workspace_labelobjectEffective setting value for workspace_label setting. This is the final effective value of setting. To set a value use workspace_label.
â–¶integer_valobjectSetting value for integer type setting. This is the setting value set by consumers, check effective_integer_val for final setting value.
â–¶operational_email_custom_recipientobjectSetting value for operational_email_custom_recipient setting. This is the setting value set by consumers, check effective_operational_email_custom_recipient for final setting value.
â–¶personal_computeobjectSetting value for personal_compute setting. This is the setting value set by consumers, check effective_personal_compute for final setting value.
â–¶restrict_workspace_adminsobjectSetting value for restrict_workspace_admins setting. This is the setting value set by consumers, check effective_restrict_workspace_admins for final setting value.
â–¶string_valobjectSetting value for string type setting. This is the setting value set by consumers, check effective_string_val for final setting value.
â–¶workspace_labelobjectSetting value for workspace_label setting. This is the setting value set by consumers, check effective_workspace_label for final setting value.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_public_account_settingselectaccount_id, name, account_hostGet a setting value at account level. See :method:settingsv2/listaccountsettingsmetadata for list of
list_account_settings_metadataselectaccount_id, account_hostpage_size, page_tokenList valid setting keys and metadata. These settings are available to be referenced via GET
patch_public_account_settingupdateaccount_id, name, account_hostPatch a setting value at account level. See :method:settingsv2/listaccountsettingsmetadata for list of

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
account_hoststringThe Databricks account console host. Selected by DATABRICKS_CLOUD (aws, azure or gcp; default aws), or set explicitly with DATABRICKS_ACCOUNT_HOST (bare host, no scheme). (default: accounts.cloud.databricks.com, x-stackQL-envVar: DATABRICKS_ACCOUNT_HOST, x-stackQL-envVarSelector: {"envVar":"DATABRICKS_CLOUD","default":"aws","values":{"aws":"accounts.cloud.databricks.com","azure":"accounts.azuredatabricks.net","gcp":"accounts.gcp.databricks.com"}})
account_idstring
namestring
page_sizeintegerThe maximum number of settings to return. The service may return fewer than this value. If unspecified, at most 200 settings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_tokenstringA page token, received from a previous ListAccountSettingsMetadataRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccountSettingsMetadataRequest must match the call that provided the page token.

SELECT examples​

Get a setting value at account level. See :method:settingsv2/listaccountsettingsmetadata for list of

SELECT
name,
aibi_dashboard_embedding_access_policy,
aibi_dashboard_embedding_approved_domains,
allowed_apps_user_api_scopes,
automatic_cluster_update_workspace,
boolean_val,
collaboration_platform_connectivity,
effective_aibi_dashboard_embedding_access_policy,
effective_aibi_dashboard_embedding_approved_domains,
effective_allowed_apps_user_api_scopes,
effective_automatic_cluster_update_workspace,
effective_boolean_val,
effective_collaboration_platform_connectivity,
effective_integer_val,
effective_operational_email_custom_recipient,
effective_personal_compute,
effective_restrict_workspace_admins,
effective_string_val,
effective_workspace_label,
integer_val,
operational_email_custom_recipient,
personal_compute,
restrict_workspace_admins,
string_val,
workspace_label
FROM databricks_account.settingsv2.account_settings
WHERE account_id = '{{ account_id }}' -- required
AND name = '{{ name }}' -- required
AND account_host = '{{ account_host }}' -- required
;

UPDATE examples​

Patch a setting value at account level. See :method:settingsv2/listaccountsettingsmetadata for list of

UPDATE databricks_account.settingsv2.account_settings
SET
aibi_dashboard_embedding_access_policy = '{{ aibi_dashboard_embedding_access_policy }}',
aibi_dashboard_embedding_approved_domains = '{{ aibi_dashboard_embedding_approved_domains }}',
allowed_apps_user_api_scopes = '{{ allowed_apps_user_api_scopes }}',
automatic_cluster_update_workspace = '{{ automatic_cluster_update_workspace }}',
boolean_val = '{{ boolean_val }}',
collaboration_platform_connectivity = '{{ collaboration_platform_connectivity }}',
effective_aibi_dashboard_embedding_access_policy = '{{ effective_aibi_dashboard_embedding_access_policy }}',
effective_aibi_dashboard_embedding_approved_domains = '{{ effective_aibi_dashboard_embedding_approved_domains }}',
effective_allowed_apps_user_api_scopes = '{{ effective_allowed_apps_user_api_scopes }}',
effective_automatic_cluster_update_workspace = '{{ effective_automatic_cluster_update_workspace }}',
effective_boolean_val = '{{ effective_boolean_val }}',
effective_collaboration_platform_connectivity = '{{ effective_collaboration_platform_connectivity }}',
effective_integer_val = '{{ effective_integer_val }}',
effective_operational_email_custom_recipient = '{{ effective_operational_email_custom_recipient }}',
effective_personal_compute = '{{ effective_personal_compute }}',
effective_restrict_workspace_admins = '{{ effective_restrict_workspace_admins }}',
effective_string_val = '{{ effective_string_val }}',
effective_workspace_label = '{{ effective_workspace_label }}',
integer_val = '{{ integer_val }}',
name = '{{ name }}',
operational_email_custom_recipient = '{{ operational_email_custom_recipient }}',
personal_compute = '{{ personal_compute }}',
restrict_workspace_admins = '{{ restrict_workspace_admins }}',
string_val = '{{ string_val }}',
workspace_label = '{{ workspace_label }}'
WHERE
account_id = '{{ account_id }}' --required
AND name = '{{ name }}' --required
AND account_host = '{{ account_host }}' --required
RETURNING
name,
aibi_dashboard_embedding_access_policy,
aibi_dashboard_embedding_approved_domains,
allowed_apps_user_api_scopes,
automatic_cluster_update_workspace,
boolean_val,
collaboration_platform_connectivity,
effective_aibi_dashboard_embedding_access_policy,
effective_aibi_dashboard_embedding_approved_domains,
effective_allowed_apps_user_api_scopes,
effective_automatic_cluster_update_workspace,
effective_boolean_val,
effective_collaboration_platform_connectivity,
effective_integer_val,
effective_operational_email_custom_recipient,
effective_personal_compute,
effective_restrict_workspace_admins,
effective_string_val,
effective_workspace_label,
integer_val,
operational_email_custom_recipient,
personal_compute,
restrict_workspace_admins,
string_val,
workspace_label;