Skip to content

Commit 5c646dd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add resource types to restriction policies (#1606)
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 8c28641 commit 5c646dd

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
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:37.682395",
8-
"spec_repo_commit": "74f81c2f"
7+
"regenerated": "2024-04-22 20:53:34.477253",
8+
"spec_repo_commit": "da85bec9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-22 15:09:37.700737",
13-
"spec_repo_commit": "74f81c2f"
12+
"regenerated": "2024-04-22 20:53:34.495955",
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`'

packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,18 +417,18 @@ export class RestrictionPoliciesApi {
417417
*
418418
* #### Supported resources
419419
* Restriction policies can be applied to the following resources:
420-
* - Connections: `connection`
421420
* - Dashboards: `dashboard`
422421
* - Notebooks: `notebook`
422+
* - Powerpacks: `powerpack`
423423
* - Security Rules: `security-rule`
424424
* - Service Level Objectives: `slo`
425425
*
426426
* #### Supported relations for resources
427427
* Resource Type | Supported Relations
428428
* -------------------------|--------------------------
429-
* Connections | `viewer`, `editor`, `resolver`
430429
* Dashboards | `viewer`, `editor`
431430
* Notebooks | `viewer`, `editor`
431+
* Powerpacks | `viewer`, `editor`
432432
* Security Rules | `viewer`, `editor`
433433
* Service Level Objectives | `viewer`, `editor`
434434
* @param param The request object

0 commit comments

Comments
 (0)