Skip to main content

rule_sets

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

Overview

Namerule_sets
TypeResource
Iddatabricks_account.iam.rule_sets

Fields

The following fields are returned by SELECT queries:

Rule sets on the resource was updated successfully.

NameDatatypeDescription
namestring
etagstring
grant_rulesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updaterulesetselectReplace 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.
getrulesetselectGet 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.

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

SELECT examples

Replace 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
name,
etag,
grant_rules
FROM databricks_account.iam.rule_sets;