Skip to content

Commit f15df35

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add monitor to restriction policy api public spec (#1750)
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 661a988 commit f15df35

File tree

3 files changed

+36
-30
lines changed

3 files changed

+36
-30
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-08 08:10:25.353358",
8-
"spec_repo_commit": "c8305c07"
7+
"regenerated": "2024-08-08 20:00:47.550192",
8+
"spec_repo_commit": "643e3eaf"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-08 08:10:25.371272",
13-
"spec_repo_commit": "c8305c07"
12+
"regenerated": "2024-08-08 20:00:47.575862",
13+
"spec_repo_commit": "643e3eaf"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32602,34 +32602,38 @@ paths:
3260232602

3260332603
- Service Level Objectives: `slo`
3260432604

32605-
- Synthetic Global Variable: `synthetic-global-variable`
32605+
- Synthetic Global Variables: `synthetic-global-variable`
3260632606

32607-
- Synthetic Test: `synthetic-test`
32607+
- Synthetic Tests: `synthetic-test`
3260832608

32609-
- Synthetic Private Location: `synthetic-private-location`
32609+
- Synthetic Private Locations: `synthetic-private-location`
32610+
32611+
- Monitors: `monitor`
3261032612

3261132613

3261232614
#### Supported relations for resources
3261332615

32614-
Resource Type | Supported Relations
32616+
Resource Type | Supported Relations
32617+
32618+
----------------------------|--------------------------
3261532619

32616-
---------------------------|--------------------------
32620+
Dashboards | `viewer`, `editor`
3261732621

32618-
Dashboards | `viewer`, `editor`
32622+
Notebooks | `viewer`, `editor`
3261932623

32620-
Notebooks | `viewer`, `editor`
32624+
Powerpacks | `viewer`, `editor`
3262132625

32622-
Powerpacks | `viewer`, `editor`
32626+
Security Rules | `viewer`, `editor`
3262332627

32624-
Security Rules | `viewer`, `editor`
32628+
Service Level Objectives | `viewer`, `editor`
3262532629

32626-
Service Level Objectives | `viewer`, `editor`
32630+
Synthetic Global Variables | `viewer`, `editor`
3262732631

32628-
Synthetic Global Variable | `viewer`, `editor`
32632+
Synthetic Tests | `viewer`, `editor`
3262932633

32630-
Synthetic Test | `viewer`, `editor`
32634+
Synthetic Private Locations | `viewer`, `editor`
3263132635

32632-
Synthetic Private Location | `viewer`, `editor`'
32636+
Monitors | `viewer`, `editor`'
3263332637
operationId: UpdateRestrictionPolicy
3263432638
parameters:
3263532639
- $ref: '#/components/parameters/ResourceID'

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

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -422,21 +422,23 @@ 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`
425+
* - Synthetic Global Variables: `synthetic-global-variable`
426+
* - Synthetic Tests: `synthetic-test`
427+
* - Synthetic Private Locations: `synthetic-private-location`
428+
* - Monitors: `monitor`
428429
*
429430
* #### Supported relations for resources
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`
431+
* Resource Type | Supported Relations
432+
* ----------------------------|--------------------------
433+
* Dashboards | `viewer`, `editor`
434+
* Notebooks | `viewer`, `editor`
435+
* Powerpacks | `viewer`, `editor`
436+
* Security Rules | `viewer`, `editor`
437+
* Service Level Objectives | `viewer`, `editor`
438+
* Synthetic Global Variables | `viewer`, `editor`
439+
* Synthetic Tests | `viewer`, `editor`
440+
* Synthetic Private Locations | `viewer`, `editor`
441+
* Monitors | `viewer`, `editor`
440442
* @param param The request object
441443
*/
442444
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)