Skip to content

Commit 92b0755

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add cross-org-connection to restriction policy (#768)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 22e3116 commit 92b0755

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
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-07-07 12:19:25.563584",
8-
"spec_repo_commit": "fa2473ca"
7+
"regenerated": "2025-07-07 15:23:05.949043",
8+
"spec_repo_commit": "d8a905f6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-07 12:19:25.591789",
13-
"spec_repo_commit": "fa2473ca"
12+
"regenerated": "2025-07-07 15:23:05.966602",
13+
"spec_repo_commit": "d8a905f6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ components:
758758
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
759759
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
760760
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
761-
`connection`, `connection-group`, `rum-application`.'
761+
`connection`, `connection-group`, `rum-application`, `cross-org-connection`.'
762762
example: dashboard:abc-def-ghi
763763
in: path
764764
name: resource_id
@@ -56502,6 +56502,8 @@ paths:
5650256502

5650356503
- RUM Applications: `rum-application`
5650456504

56505+
- Cross Org Connections: `cross-org-connection`
56506+
5650556507

5650656508
#### Supported relations for resources
5650756509

@@ -56543,7 +56545,9 @@ paths:
5654356545

5654456546
Connection Groups | `viewer`, `editor`
5654556547

56546-
RUM Application | `viewer`, `editor`'
56548+
RUM Application | `viewer`, `editor`
56549+
56550+
Cross Org Connections | `viewer`, `editor`'
5654756551
operationId: UpdateRestrictionPolicy
5654856552
parameters:
5654956553
- $ref: '#/components/parameters/ResourceID'

src/datadogV2/api/api_restriction_policies.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ impl RestrictionPoliciesAPI {
342342
/// - Connections: `connection`
343343
/// - Connection Groups: `connection-group`
344344
/// - RUM Applications: `rum-application`
345+
/// - Cross Org Connections: `cross-org-connection`
345346
///
346347
/// #### Supported relations for resources
347348
/// Resource Type | Supported Relations
@@ -364,6 +365,7 @@ impl RestrictionPoliciesAPI {
364365
/// Connections | `viewer`, `resolver`, `editor`
365366
/// Connection Groups | `viewer`, `editor`
366367
/// RUM Application | `viewer`, `editor`
368+
/// Cross Org Connections | `viewer`, `editor`
367369
pub async fn update_restriction_policy(
368370
&self,
369371
resource_id: String,
@@ -412,6 +414,7 @@ impl RestrictionPoliciesAPI {
412414
/// - Connections: `connection`
413415
/// - Connection Groups: `connection-group`
414416
/// - RUM Applications: `rum-application`
417+
/// - Cross Org Connections: `cross-org-connection`
415418
///
416419
/// #### Supported relations for resources
417420
/// Resource Type | Supported Relations
@@ -434,6 +437,7 @@ impl RestrictionPoliciesAPI {
434437
/// Connections | `viewer`, `resolver`, `editor`
435438
/// Connection Groups | `viewer`, `editor`
436439
/// RUM Application | `viewer`, `editor`
440+
/// Cross Org Connections | `viewer`, `editor`
437441
pub async fn update_restriction_policy_with_http_info(
438442
&self,
439443
resource_id: String,

0 commit comments

Comments
 (0)