Skip to content

Commit c71a243

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[docs] add integration-account and integration-webhook to restriction policy OpenAPI spec (#2123)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 32d5461 commit c71a243

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-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": "2025-04-04 16:55:46.717722",
8-
"spec_repo_commit": "da94868e"
7+
"regenerated": "2025-04-04 20:19:32.825096",
8+
"spec_repo_commit": "3909ab62"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-04 16:55:46.737948",
13-
"spec_repo_commit": "da94868e"
12+
"regenerated": "2025-04-04 20:19:32.841813",
13+
"spec_repo_commit": "3909ab62"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ components:
654654
type: string
655655
ResourceID:
656656
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
657-
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
658-
`app-builder-app`, `connection`, `connection-group`.'
657+
`dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`,
658+
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.'
659659
example: dashboard:abc-def-ghi
660660
in: path
661661
name: resource_id
@@ -45734,6 +45734,10 @@ paths:
4573445734

4573545735
- Dashboards: `dashboard`
4573645736

45737+
- Integration Accounts: `integration-account`
45738+
45739+
- Integration Webhooks: `integration-webhook`
45740+
4573745741
- Notebooks: `notebook`
4573845742

4573945743
- Powerpacks: `powerpack`
@@ -45769,6 +45773,10 @@ paths:
4576945773

4577045774
Dashboards | `viewer`, `editor`
4577145775

45776+
Integration Accounts | `viewer`, `editor`
45777+
45778+
Integration Webhooks | `viewer`, `editor`
45779+
4577245780
Notebooks | `viewer`, `editor`
4577345781

4577445782
Powerpacks | `viewer`, `editor`

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,23 +337,23 @@ export class RestrictionPoliciesApiResponseProcessor {
337337

338338
export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
339339
/**
340-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
340+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
341341
* @type string
342342
*/
343343
resourceId: string;
344344
}
345345

346346
export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
347347
/**
348-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
348+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
349349
* @type string
350350
*/
351351
resourceId: string;
352352
}
353353

354354
export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
355355
/**
356-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
356+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
357357
* @type string
358358
*/
359359
resourceId: string;
@@ -436,6 +436,8 @@ export class RestrictionPoliciesApi {
436436
* #### Supported resources
437437
* Restriction policies can be applied to the following resources:
438438
* - Dashboards: `dashboard`
439+
* - Integration Accounts: `integration-account`
440+
* - Integration Webhooks: `integration-webhook`
439441
* - Notebooks: `notebook`
440442
* - Powerpacks: `powerpack`
441443
* - Reference Tables: `reference-table`
@@ -454,6 +456,8 @@ export class RestrictionPoliciesApi {
454456
* Resource Type | Supported Relations
455457
* ----------------------------|--------------------------
456458
* Dashboards | `viewer`, `editor`
459+
* Integration Accounts | `viewer`, `editor`
460+
* Integration Webhooks | `viewer`, `editor`
457461
* Notebooks | `viewer`, `editor`
458462
* Powerpacks | `viewer`, `editor`
459463
* Security Rules | `viewer`, `editor`

0 commit comments

Comments
 (0)