Skip to content

Commit b6ce7cf

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add reference-table type to restriction policy OpenAPI spec (#1946)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 946eec2 commit b6ce7cf

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
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-12-10 19:50:09.182345",
8-
"spec_repo_commit": "5da0cd35"
7+
"regenerated": "2024-12-10 21:05:03.532177",
8+
"spec_repo_commit": "1c4c91d4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-10 19:50:09.201684",
13-
"spec_repo_commit": "5da0cd35"
12+
"regenerated": "2024-12-10 21:05:03.552937",
13+
"spec_repo_commit": "1c4c91d4"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ components:
597597
type: string
598598
ResourceID:
599599
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
600-
`dashboard`, `notebook`, `security-rule`, `slo`.'
600+
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.'
601601
example: dashboard:abc-def-ghi
602602
in: path
603603
name: resource_id
@@ -37844,6 +37844,8 @@ paths:
3784437844

3784537845
- Powerpacks: `powerpack`
3784637846

37847+
- Reference Tables: `reference-table`
37848+
3784737849
- Security Rules: `security-rule`
3784837850

3784937851
- Service Level Objectives: `slo`
@@ -37879,7 +37881,9 @@ paths:
3787937881

3788037882
Synthetic Private Locations | `viewer`, `editor`
3788137883

37882-
Monitors | `viewer`, `editor`'
37884+
Monitors | `viewer`, `editor`
37885+
37886+
Reference Tables | `viewer`, `editor`'
3788337887
operationId: UpdateRestrictionPolicy
3788437888
parameters:
3788537889
- $ref: '#/components/parameters/ResourceID'

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,23 +327,23 @@ export class RestrictionPoliciesApiResponseProcessor {
327327

328328
export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
329329
/**
330-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
330+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
331331
* @type string
332332
*/
333333
resourceId: string;
334334
}
335335

336336
export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
337337
/**
338-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
338+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
339339
* @type string
340340
*/
341341
resourceId: string;
342342
}
343343

344344
export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
345345
/**
346-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
346+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
347347
* @type string
348348
*/
349349
resourceId: string;
@@ -423,6 +423,7 @@ export class RestrictionPoliciesApi {
423423
* - Dashboards: `dashboard`
424424
* - Notebooks: `notebook`
425425
* - Powerpacks: `powerpack`
426+
* - Reference Tables: `reference-table`
426427
* - Security Rules: `security-rule`
427428
* - Service Level Objectives: `slo`
428429
* - Synthetic Global Variables: `synthetics-global-variable`
@@ -442,6 +443,7 @@ export class RestrictionPoliciesApi {
442443
* Synthetic Tests | `viewer`, `editor`
443444
* Synthetic Private Locations | `viewer`, `editor`
444445
* Monitors | `viewer`, `editor`
446+
* Reference Tables | `viewer`, `editor`
445447
* @param param The request object
446448
*/
447449
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)