Skip to content

Commit 01db09d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
ACCESSINT-23 Add synthetic resources to restriction policy api spec (#1736)
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 f0a7e7a commit 01db09d

File tree

3 files changed

+36
-18
lines changed

3 files changed

+36
-18
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-08-01 14:34:27.223580",
8-
"spec_repo_commit": "d28278c6"
7+
"regenerated": "2024-08-01 17:35:36.454281",
8+
"spec_repo_commit": "0ac23b7a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-01 14:34:27.242264",
13-
"spec_repo_commit": "d28278c6"
12+
"regenerated": "2024-08-01 17:35:36.472862",
13+
"spec_repo_commit": "0ac23b7a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32507,22 +32507,34 @@ paths:
3250732507

3250832508
- Service Level Objectives: `slo`
3250932509

32510+
- Synthetic Global Variable: `synthetic-global-variable`
32511+
32512+
- Synthetic Test: `synthetic-test`
32513+
32514+
- Synthetic Private Location: `synthetic-private-location`
32515+
3251032516

3251132517
#### Supported relations for resources
3251232518

32513-
Resource Type | Supported Relations
32519+
Resource Type | Supported Relations
32520+
32521+
---------------------------|--------------------------
32522+
32523+
Dashboards | `viewer`, `editor`
32524+
32525+
Notebooks | `viewer`, `editor`
3251432526

32515-
-------------------------|--------------------------
32527+
Powerpacks | `viewer`, `editor`
3251632528

32517-
Dashboards | `viewer`, `editor`
32529+
Security Rules | `viewer`, `editor`
3251832530

32519-
Notebooks | `viewer`, `editor`
32531+
Service Level Objectives | `viewer`, `editor`
3252032532

32521-
Powerpacks | `viewer`, `editor`
32533+
Synthetic Global Variable | `viewer`, `editor`
3252232534

32523-
Security Rules | `viewer`, `editor`
32535+
Synthetic Test | `viewer`, `editor`
3252432536

32525-
Service Level Objectives | `viewer`, `editor`'
32537+
Synthetic Private Location | `viewer`, `editor`'
3252632538
operationId: UpdateRestrictionPolicy
3252732539
parameters:
3252832540
- $ref: '#/components/parameters/ResourceID'

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -422,15 +422,21 @@ export class RestrictionPoliciesApi {
422422
* - Powerpacks: `powerpack`
423423
* - Security Rules: `security-rule`
424424
* - Service Level Objectives: `slo`
425+
* - Synthetic Global Variable: `synthetic-global-variable`
426+
* - Synthetic Test: `synthetic-test`
427+
* - Synthetic Private Location: `synthetic-private-location`
425428
*
426429
* #### Supported relations for resources
427-
* Resource Type | Supported Relations
428-
* -------------------------|--------------------------
429-
* Dashboards | `viewer`, `editor`
430-
* Notebooks | `viewer`, `editor`
431-
* Powerpacks | `viewer`, `editor`
432-
* Security Rules | `viewer`, `editor`
433-
* Service Level Objectives | `viewer`, `editor`
430+
* Resource Type | Supported Relations
431+
* ---------------------------|--------------------------
432+
* Dashboards | `viewer`, `editor`
433+
* Notebooks | `viewer`, `editor`
434+
* Powerpacks | `viewer`, `editor`
435+
* Security Rules | `viewer`, `editor`
436+
* Service Level Objectives | `viewer`, `editor`
437+
* Synthetic Global Variable | `viewer`, `editor`
438+
* Synthetic Test | `viewer`, `editor`
439+
* Synthetic Private Location | `viewer`, `editor`
434440
* @param param The request object
435441
*/
436442
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)