Skip to content

Commit fa7c91a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 17efeb5 of spec repo
1 parent 8a37d0d commit fa7c91a

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ components:
10481048
type: string
10491049
ResourceID:
10501050
description: |-
1051-
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`, `logs-pipeline`.
1051+
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`, `logs-pipeline`, `monitor-notification-rule`.
10521052
example: "dashboard:abc-def-ghi"
10531053
in: path
10541054
name: resource_id
@@ -97202,6 +97202,7 @@ paths:
9720297202
- On-Call Team Routing Rules: `on-call-team-routing-rules`
9720397203
- Logs Pipelines: `logs-pipeline`
9720497204
- Case Management Projects: `case-management-project`
97205+
- Monitor Notification Rules: `monitor-notification-rule`
9720597206

9720697207
#### Supported relations for resources
9720797208
Resource Type | Supported Relations
@@ -97230,6 +97231,7 @@ paths:
9723097231
On-Call Team Routing Rules | `viewer`, `editor`
9723197232
Logs Pipelines | `viewer`, `processors_editor`, `editor`
9723297233
Case Management Projects | `viewer`, `contributor`, `manager`
97234+
Monitor Notification Rules | `viewer`, `editor`
9723397235
operationId: UpdateRestrictionPolicy
9723497236
parameters:
9723597237
- $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
@@ -332,23 +332,23 @@ export class RestrictionPoliciesApiResponseProcessor {
332332

333333
export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
334334
/**
335-
* 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`, `logs-pipeline`.
335+
* 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`, `logs-pipeline`, `monitor-notification-rule`.
336336
* @type string
337337
*/
338338
resourceId: string;
339339
}
340340

341341
export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
342342
/**
343-
* 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`, `logs-pipeline`.
343+
* 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`, `logs-pipeline`, `monitor-notification-rule`.
344344
* @type string
345345
*/
346346
resourceId: string;
347347
}
348348

349349
export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
350350
/**
351-
* 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`, `logs-pipeline`.
351+
* 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`, `logs-pipeline`, `monitor-notification-rule`.
352352
* @type string
353353
*/
354354
resourceId: string;
@@ -454,6 +454,7 @@ export class RestrictionPoliciesApi {
454454
* - On-Call Team Routing Rules: `on-call-team-routing-rules`
455455
* - Logs Pipelines: `logs-pipeline`
456456
* - Case Management Projects: `case-management-project`
457+
* - Monitor Notification Rules: `monitor-notification-rule`
457458
*
458459
* #### Supported relations for resources
459460
* Resource Type | Supported Relations
@@ -482,6 +483,7 @@ export class RestrictionPoliciesApi {
482483
* On-Call Team Routing Rules | `viewer`, `editor`
483484
* Logs Pipelines | `viewer`, `processors_editor`, `editor`
484485
* Case Management Projects | `viewer`, `contributor`, `manager`
486+
* Monitor Notification Rules | `viewer`, `editor`
485487
* @param param The request object
486488
*/
487489
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)