Skip to content

Commit fe3b5b7

Browse files
Regenerate schema after rebase and remove duplicate permission annotations
The Permission type is shared across alerts, dashboards, database_instances, and postgres_projects. Only one canonical annotation entry is needed since the path mapping selects the shortest path. Also adds nolint:forbidigo comment and uses slices.Contains for modernize linter. Co-authored-by: Isaac
1 parent cfe9cdd commit fe3b5b7

File tree

2 files changed

+259
-462
lines changed

2 files changed

+259
-462
lines changed

bundle/internal/schema/annotations.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -519,30 +519,6 @@ resources.alerts.*.lifecycle_state:
519519
ACTIVE
520520
- |-
521521
DELETED
522-
resources.alerts.*.permissions.*:
523-
"group_name":
524-
"description": |-
525-
PLACEHOLDER
526-
"level":
527-
"description": |-
528-
PLACEHOLDER
529-
"service_principal_name":
530-
"description": |-
531-
PLACEHOLDER
532-
"user_name":
533-
"description": |-
534-
PLACEHOLDER
535-
resources.alerts.*.permissions.*.level:
536-
"_":
537-
"enum":
538-
- |-
539-
CAN_EDIT
540-
- |-
541-
CAN_MANAGE
542-
- |-
543-
CAN_READ
544-
- |-
545-
CAN_RUN
546522
resources.alerts.*.run_as:
547523
"service_principal_name":
548524
"description": |-
@@ -1385,19 +1361,6 @@ resources.dashboards.*.lifecycle_state:
13851361
ACTIVE
13861362
- |-
13871363
TRASHED
1388-
resources.dashboards.*.permissions.*:
1389-
"group_name":
1390-
"description": |-
1391-
PLACEHOLDER
1392-
"level":
1393-
"description": |-
1394-
PLACEHOLDER
1395-
"service_principal_name":
1396-
"description": |-
1397-
PLACEHOLDER
1398-
"user_name":
1399-
"description": |-
1400-
PLACEHOLDER
14011364
resources.dashboards.*.permissions.*.level:
14021365
"_":
14031366
"enum":
@@ -1606,28 +1569,6 @@ resources.database_instances.*.parent_instance_ref:
16061569
"description": |-
16071570
Id of the ref database instance.
16081571
"x-databricks-field-behaviors_output_only": "true"
1609-
resources.database_instances.*.permissions.*:
1610-
"group_name":
1611-
"description": |-
1612-
PLACEHOLDER
1613-
"level":
1614-
"description": |-
1615-
PLACEHOLDER
1616-
"service_principal_name":
1617-
"description": |-
1618-
PLACEHOLDER
1619-
"user_name":
1620-
"description": |-
1621-
PLACEHOLDER
1622-
resources.database_instances.*.permissions.*.level:
1623-
"_":
1624-
"enum":
1625-
- |-
1626-
CAN_CREATE
1627-
- |-
1628-
CAN_USE
1629-
- |-
1630-
CAN_MANAGE
16311572
resources.database_instances.*.state:
16321573
"_":
16331574
"enum":
@@ -5577,26 +5518,6 @@ resources.postgres_projects.*.default_endpoint_settings:
55775518
"description": |-
55785519
Duration of inactivity after which the compute endpoint is automatically suspended.
55795520
If specified should be between 60s and 604800s (1 minute to 1 week).
5580-
resources.postgres_projects.*.permissions.*:
5581-
"group_name":
5582-
"description": |-
5583-
PLACEHOLDER
5584-
"level":
5585-
"description": |-
5586-
PLACEHOLDER
5587-
"service_principal_name":
5588-
"description": |-
5589-
PLACEHOLDER
5590-
"user_name":
5591-
"description": |-
5592-
PLACEHOLDER
5593-
resources.postgres_projects.*.permissions.*.level:
5594-
"_":
5595-
"enum":
5596-
- |-
5597-
CAN_USE
5598-
- |-
5599-
CAN_MANAGE
56005521
resources.quality_monitors.*:
56015522
"_":
56025523
"markdown_description": |-

0 commit comments

Comments
 (0)