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
2 changes: 2 additions & 0 deletions api/datadogV2/api_restriction_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
// - 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 @@ -231,6 +232,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
// 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`
func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down