Skip to content

Commit 29982b7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add resource types to restriction policies (#1954)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent a9e7708 commit 29982b7

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-04-22 15:09:31.437560",
8-
"spec_repo_commit": "74f81c2f"
7+
"regenerated": "2024-04-22 20:53:40.696781",
8+
"spec_repo_commit": "da85bec9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-22 15:09:31.454928",
13-
"spec_repo_commit": "74f81c2f"
12+
"regenerated": "2024-04-22 20:53:40.713609",
13+
"spec_repo_commit": "da85bec9"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30864,12 +30864,12 @@ paths:
3086430864

3086530865
Restriction policies can be applied to the following resources:
3086630866

30867-
- Connections: `connection`
30868-
3086930867
- Dashboards: `dashboard`
3087030868

3087130869
- Notebooks: `notebook`
3087230870

30871+
- Powerpacks: `powerpack`
30872+
3087330873
- Security Rules: `security-rule`
3087430874

3087530875
- Service Level Objectives: `slo`
@@ -30881,12 +30881,12 @@ paths:
3088130881

3088230882
-------------------------|--------------------------
3088330883

30884-
Connections | `viewer`, `editor`, `resolver`
30885-
3088630884
Dashboards | `viewer`, `editor`
3088730885

3088830886
Notebooks | `viewer`, `editor`
3088930887

30888+
Powerpacks | `viewer`, `editor`
30889+
3089030890
Security Rules | `viewer`, `editor`
3089130891

3089230892
Service Level Objectives | `viewer`, `editor`'

src/datadog_api_client/v2/api/restriction_policies_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ def update_restriction_policy(
142142
143143
Restriction policies can be applied to the following resources:
144144
145-
* Connections: ``connection``
146145
* Dashboards: ``dashboard``
147146
* Notebooks: ``notebook``
147+
* Powerpacks: ``powerpack``
148148
* Security Rules: ``security-rule``
149149
* Service Level Objectives: ``slo``
150150
@@ -155,12 +155,12 @@ def update_restriction_policy(
155155
156156
* - Resource Type
157157
- Supported Relations
158-
* - Connections
159-
- ``viewer`` , ``editor`` , ``resolver``
160158
* - Dashboards
161159
- ``viewer`` , ``editor``
162160
* - Notebooks
163161
- ``viewer`` , ``editor``
162+
* - Powerpacks
163+
- ``viewer`` , ``editor``
164164
* - Security Rules
165165
- ``viewer`` , ``editor``
166166
* - Service Level Objectives

0 commit comments

Comments
 (0)