Skip to main content

rule_sets

Operations on a rule_sets resource.

Overview

Namerule_sets
TypeResource
Iddatabricks_account.iam.rule_sets

Fields

NameDatatype
namestring
etagstring
grant_rulesarray

Methods

NameAccessible byRequired ParamsDescription
getrulesetSELECTaccount_id, etag, nameGet a rule set by its name. A rule set is always attached to a resource and contains a list of access rules on the said resource. Currently only a default rule set for each resource is supported.
updaterulesetSELECTaccount_idReplace the rules of a rule set. First, use get to read the current version of the rule set before modifying it. This pattern helps prevent conflicts between concurrent updates.

SELECT examples

SELECT
name,
etag,
grant_rules
FROM databricks_account.iam.rule_sets
WHERE account_id = '{{ account_id }}';