Skip to content

Commit 68a19e1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 43d397f of spec repo
1 parent 2ea4a3c commit 68a19e1

2 files changed

Lines changed: 96 additions & 36 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 64 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -948,11 +948,17 @@ components:
948948
schema:
949949
type: string
950950
ResourceID:
951-
description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`,
952-
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
953-
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
954-
`rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`,
955-
`on-call-escalation-policy`, `on-call-team-routing-rules.'
951+
description: 'Identifier, formatted as `type:id`. Supported types: `apm-service-ingestion-configuration`,
952+
`app-builder-app`, `apps-datastore`, `aws-integration-configuration`, `azure-integration-configuration`,
953+
`case-management-project`, `connection`, `connection-group`, `cross-org-connection`,
954+
`dashboard`, `feature-flag`, `form`, `gcp-integration-configuration`, `integration`,
955+
`integration-account`, `integration-service`, `integration-webhook`, `logs-archive`,
956+
`logs-pipeline`, `logs-workspace`, `monitor`, `notebook`, `obs-pipelines-live-capture`,
957+
`obs-pipelines-pipeline`, `on-call-escalation-policy`, `on-call-schedule`,
958+
`on-call-team-routing-rules`, `powerpack`, `private-action-runner`, `reference-table`,
959+
`rum-application`, `seat`, `security-rule`, `slo`, `spreadsheet`, `suppression-rule`,
960+
`synthetics-global-variable`, `synthetics-private-location`, `synthetics-test`,
961+
`workflow`.'
956962
example: dashboard:abc-def-ghi
957963
in: path
958964
name: resource_id
@@ -70552,49 +70558,85 @@ paths:
7055270558

7055370559
Restriction policies can be applied to the following resources:
7055470560

70561+
- APM Service Ingestion Configuration: `apm-service-ingestion-configuration`
70562+
70563+
- App Builder Apps: `app-builder-app`
70564+
70565+
- Apps Datastore: `apps-datastore`
70566+
70567+
- AWS Integration Configuration: `aws-integration-configuration`
70568+
70569+
- Azure Integration Configuration: `azure-integration-configuration`
70570+
70571+
- Case Management Project: `case-management-project`
70572+
70573+
- Connections: `connection`
70574+
70575+
- Connection Groups: `connection-group`
70576+
70577+
- Cross Org Connections: `cross-org-connection`
70578+
7055570579
- Dashboards: `dashboard`
7055670580

70581+
- Feature Flag: `feature-flag`
70582+
70583+
- Form: `form`
70584+
70585+
- GCP Integration Configuration: `gcp-integration-configuration`
70586+
70587+
- Integration: `integration`
70588+
70589+
- Integration Accounts: `integration-account`
70590+
7055770591
- Integration Services: `integration-service`
7055870592

7055970593
- Integration Webhooks: `integration-webhook`
7056070594

70561-
- Notebooks: `notebook`
70595+
- Logs Archive: `logs-archive`
7056270596

70563-
- Powerpacks: `powerpack`
70597+
- Logs Pipeline: `logs-pipeline`
7056470598

70565-
- Reference Tables: `reference-table`
70599+
- Logs Workspace: `logs-workspace`
7056670600

70567-
- Security Rules: `security-rule`
70601+
- Monitors: `monitor`
7056870602

70569-
- Service Level Objectives: `slo`
70603+
- Notebooks: `notebook`
7057070604

70571-
- Synthetic Global Variables: `synthetics-global-variable`
70605+
- Observability Pipelines Live Capture: `obs-pipelines-live-capture`
7057270606

70573-
- Synthetic Tests: `synthetics-test`
70607+
- Observability Pipelines Pipeline: `obs-pipelines-pipeline`
7057470608

70575-
- Synthetic Private Locations: `synthetics-private-location`
70609+
- On-Call Escalation Policies: `on-call-escalation-policy`
7057670610

70577-
- Monitors: `monitor`
70611+
- On-Call Schedules: `on-call-schedule`
7057870612

70579-
- Workflows: `workflow`
70613+
- On-Call Team Routing Rules: `on-call-team-routing-rules`
7058070614

70581-
- App Builder Apps: `app-builder-app`
70615+
- Powerpacks: `powerpack`
7058270616

70583-
- Connections: `connection`
70617+
- Private Action Runner: `private-action-runner`
7058470618

70585-
- Connection Groups: `connection-group`
70619+
- Reference Tables: `reference-table`
7058670620

7058770621
- RUM Applications: `rum-application`
7058870622

70589-
- Cross Org Connections: `cross-org-connection`
70623+
- Seat: `seat`
70624+
70625+
- Security Rules: `security-rule`
70626+
70627+
- Service Level Objectives: `slo`
7059070628

7059170629
- Spreadsheets: `spreadsheet`
7059270630

70593-
- On-Call Schedules: `on-call-schedule`
70631+
- Suppression Rule: `suppression-rule`
7059470632

70595-
- On-Call Escalation Policies: `on-call-escalation-policy`
70633+
- Synthetic Global Variables: `synthetics-global-variable`
7059670634

70597-
- On-Call Team Routing Rules: `on-call-team-routing-rules`
70635+
- Synthetic Private Locations: `synthetics-private-location`
70636+
70637+
- Synthetic Tests: `synthetics-test`
70638+
70639+
- Workflows: `workflow`
7059870640

7059970641

7060070642
#### Supported relations for resources

src/datadog_api_client/v2/api/restriction_policies_api.py

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def delete_restriction_policy(
112112
113113
Deletes the restriction policy associated with a specified resource.
114114
115-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``dashboard`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , `on-call-team-routing-rules.
115+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``apm-service-ingestion-configuration`` , ``app-builder-app`` , ``apps-datastore`` , ``aws-integration-configuration`` , ``azure-integration-configuration`` , ``case-management-project`` , ``connection`` , ``connection-group`` , ``cross-org-connection`` , ``dashboard`` , ``feature-flag`` , ``form`` , ``gcp-integration-configuration`` , ``integration`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``logs-archive`` , ``logs-pipeline`` , ``logs-workspace`` , ``monitor`` , ``notebook`` , ``obs-pipelines-live-capture`` , ``obs-pipelines-pipeline`` , ``on-call-escalation-policy`` , ``on-call-schedule`` , ``on-call-team-routing-rules`` , ``powerpack`` , ``private-action-runner`` , ``reference-table`` , ``rum-application`` , ``seat`` , ``security-rule`` , ``slo`` , ``spreadsheet`` , ``suppression-rule`` , ``synthetics-global-variable`` , ``synthetics-private-location`` , ``synthetics-test`` , ``workflow``.
116116
:type resource_id: str
117117
:rtype: None
118118
"""
@@ -129,7 +129,7 @@ def get_restriction_policy(
129129
130130
Retrieves the restriction policy associated with a specified resource.
131131
132-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``dashboard`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , `on-call-team-routing-rules.
132+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``apm-service-ingestion-configuration`` , ``app-builder-app`` , ``apps-datastore`` , ``aws-integration-configuration`` , ``azure-integration-configuration`` , ``case-management-project`` , ``connection`` , ``connection-group`` , ``cross-org-connection`` , ``dashboard`` , ``feature-flag`` , ``form`` , ``gcp-integration-configuration`` , ``integration`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``logs-archive`` , ``logs-pipeline`` , ``logs-workspace`` , ``monitor`` , ``notebook`` , ``obs-pipelines-live-capture`` , ``obs-pipelines-pipeline`` , ``on-call-escalation-policy`` , ``on-call-schedule`` , ``on-call-team-routing-rules`` , ``powerpack`` , ``private-action-runner`` , ``reference-table`` , ``rum-application`` , ``seat`` , ``security-rule`` , ``slo`` , ``spreadsheet`` , ``suppression-rule`` , ``synthetics-global-variable`` , ``synthetics-private-location`` , ``synthetics-test`` , ``workflow``.
133133
:type resource_id: str
134134
:rtype: RestrictionPolicyResponse
135135
"""
@@ -153,28 +153,46 @@ def update_restriction_policy(
153153
154154
Restriction policies can be applied to the following resources:
155155
156+
* APM Service Ingestion Configuration: ``apm-service-ingestion-configuration``
157+
* App Builder Apps: ``app-builder-app``
158+
* Apps Datastore: ``apps-datastore``
159+
* AWS Integration Configuration: ``aws-integration-configuration``
160+
* Azure Integration Configuration: ``azure-integration-configuration``
161+
* Case Management Project: ``case-management-project``
162+
* Connections: ``connection``
163+
* Connection Groups: ``connection-group``
164+
* Cross Org Connections: ``cross-org-connection``
156165
* Dashboards: ``dashboard``
166+
* Feature Flag: ``feature-flag``
167+
* Form: ``form``
168+
* GCP Integration Configuration: ``gcp-integration-configuration``
169+
* Integration: ``integration``
170+
* Integration Accounts: ``integration-account``
157171
* Integration Services: ``integration-service``
158172
* Integration Webhooks: ``integration-webhook``
173+
* Logs Archive: ``logs-archive``
174+
* Logs Pipeline: ``logs-pipeline``
175+
* Logs Workspace: ``logs-workspace``
176+
* Monitors: ``monitor``
159177
* Notebooks: ``notebook``
178+
* Observability Pipelines Live Capture: ``obs-pipelines-live-capture``
179+
* Observability Pipelines Pipeline: ``obs-pipelines-pipeline``
180+
* On-Call Escalation Policies: ``on-call-escalation-policy``
181+
* On-Call Schedules: ``on-call-schedule``
182+
* On-Call Team Routing Rules: ``on-call-team-routing-rules``
160183
* Powerpacks: ``powerpack``
184+
* Private Action Runner: ``private-action-runner``
161185
* Reference Tables: ``reference-table``
186+
* RUM Applications: ``rum-application``
187+
* Seat: ``seat``
162188
* Security Rules: ``security-rule``
163189
* Service Level Objectives: ``slo``
190+
* Spreadsheets: ``spreadsheet``
191+
* Suppression Rule: ``suppression-rule``
164192
* Synthetic Global Variables: ``synthetics-global-variable``
165-
* Synthetic Tests: ``synthetics-test``
166193
* Synthetic Private Locations: ``synthetics-private-location``
167-
* Monitors: ``monitor``
194+
* Synthetic Tests: ``synthetics-test``
168195
* Workflows: ``workflow``
169-
* App Builder Apps: ``app-builder-app``
170-
* Connections: ``connection``
171-
* Connection Groups: ``connection-group``
172-
* RUM Applications: ``rum-application``
173-
* Cross Org Connections: ``cross-org-connection``
174-
* Spreadsheets: ``spreadsheet``
175-
* On-Call Schedules: ``on-call-schedule``
176-
* On-Call Escalation Policies: ``on-call-escalation-policy``
177-
* On-Call Team Routing Rules: ``on-call-team-routing-rules``
178196
179197
**Supported relations for resources**
180198
@@ -229,7 +247,7 @@ def update_restriction_policy(
229247
- ``viewer`` , ``editor``
230248
231249
232-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``dashboard`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , `on-call-team-routing-rules.
250+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``apm-service-ingestion-configuration`` , ``app-builder-app`` , ``apps-datastore`` , ``aws-integration-configuration`` , ``azure-integration-configuration`` , ``case-management-project`` , ``connection`` , ``connection-group`` , ``cross-org-connection`` , ``dashboard`` , ``feature-flag`` , ``form`` , ``gcp-integration-configuration`` , ``integration`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``logs-archive`` , ``logs-pipeline`` , ``logs-workspace`` , ``monitor`` , ``notebook`` , ``obs-pipelines-live-capture`` , ``obs-pipelines-pipeline`` , ``on-call-escalation-policy`` , ``on-call-schedule`` , ``on-call-team-routing-rules`` , ``powerpack`` , ``private-action-runner`` , ``reference-table`` , ``rum-application`` , ``seat`` , ``security-rule`` , ``slo`` , ``spreadsheet`` , ``suppression-rule`` , ``synthetics-global-variable`` , ``synthetics-private-location`` , ``synthetics-test`` , ``workflow``.
233251
:type resource_id: str
234252
:param body: Restriction policy payload
235253
:type body: RestrictionPolicyUpdateRequest

0 commit comments

Comments
 (0)