rule_sets
Creates, updates, deletes, gets or lists a rule_sets
resource.
Overview
Name | rule_sets |
Type | Resource |
Id | databricks_account.iam.rule_sets |
Fields
The following fields are returned by SELECT
queries:
- updateruleset
- getruleset
Rule sets on the resource was updated successfully.
Name | Datatype | Description |
---|---|---|
name | string | |
etag | string | |
grant_rules | array |
The rule set was returned successfully.
Name | Datatype | Description |
---|---|---|
name | string | |
etag | string | |
grant_rules | array |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
updateruleset | select | 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. | ||
getruleset | select | Get 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.
Name | Datatype | Description |
---|
SELECT
examples
- updateruleset
- getruleset
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;
Get 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.
SELECT
name,
etag,
grant_rules
FROM databricks_account.iam.rule_sets;