Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ components:
`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.'
`on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -71283,6 +71283,8 @@ paths:

- On-Call Team Routing Rules: `on-call-team-routing-rules`

- Logs Pipelines: `logs-pipeline`


#### Supported relations for resources

Expand Down Expand Up @@ -71332,7 +71334,9 @@ paths:

On-Call Escalation Policies | `viewer`, `editor`

On-Call Team Routing Rules | `viewer`, `editor`'
On-Call Team Routing Rules | `viewer`, `editor`

Logs Pipelines | `viewer`, `processors_editor`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
4 changes: 4 additions & 0 deletions src/datadogV2/api/api_restriction_policies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ impl RestrictionPoliciesAPI {
/// - On-Call Schedules: `on-call-schedule`
/// - On-Call Escalation Policies: `on-call-escalation-policy`
/// - On-Call Team Routing Rules: `on-call-team-routing-rules`
/// - Logs Pipelines: `logs-pipeline`
///
/// #### Supported relations for resources
/// Resource Type | Supported Relations
Expand All @@ -372,6 +373,7 @@ impl RestrictionPoliciesAPI {
/// On-Call Schedules | `viewer`, `overrider`, `editor`
/// On-Call Escalation Policies | `viewer`, `editor`
/// On-Call Team Routing Rules | `viewer`, `editor`
/// Logs Pipelines | `viewer`, `processors_editor`, `editor`
pub async fn update_restriction_policy(
&self,
resource_id: String,
Expand Down Expand Up @@ -424,6 +426,7 @@ impl RestrictionPoliciesAPI {
/// - On-Call Schedules: `on-call-schedule`
/// - On-Call Escalation Policies: `on-call-escalation-policy`
/// - On-Call Team Routing Rules: `on-call-team-routing-rules`
/// - Logs Pipelines: `logs-pipeline`
///
/// #### Supported relations for resources
/// Resource Type | Supported Relations
Expand All @@ -450,6 +453,7 @@ impl RestrictionPoliciesAPI {
/// On-Call Schedules | `viewer`, `overrider`, `editor`
/// On-Call Escalation Policies | `viewer`, `editor`
/// On-Call Team Routing Rules | `viewer`, `editor`
/// Logs Pipelines | `viewer`, `processors_editor`, `editor`
pub async fn update_restriction_policy_with_http_info(
&self,
resource_id: String,
Expand Down