set_audit_action_groups
Replace audited action groups for a warehouse or SQL analytics endpoint without toggling audit state. Avoid silent retention reverts by spacing writes minutes apart due to eventual consistency.
Instructions
Replace the audited action groups for a warehouse or SQL analytics endpoint.
Only replaces the action groups. Does not toggle the audit enabled or disabled state; if auditing was Disabled before the call it remains Disabled afterwards.
CAUTION: Each audit write reads current settings via an eventually-consistent GET that may lag a recent PATCH by several minutes. The retention period read from that GET is round-tripped; if retention was changed within the lag window, this call may silently revert it. Space audit writes at least a few minutes apart.
Args: workspace: Workspace name or GUID. warehouse: Warehouse or SQL analytics endpoint name or GUID. action_groups: List of audit action group names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warehouse | Yes | ||
| workspace | Yes | ||
| action_groups | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||