Skip to content
Open
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
86 changes: 64 additions & 22 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,17 @@ components:
schema:
type: string
ResourceID:
description: '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.'
description: '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`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -70552,49 +70558,85 @@ paths:

Restriction policies can be applied to the following resources:

- APM Service Ingestion Configuration: `apm-service-ingestion-configuration`

- App Builder Apps: `app-builder-app`

- Apps Datastore: `apps-datastore`

- AWS Integration Configuration: `aws-integration-configuration`

- Azure Integration Configuration: `azure-integration-configuration`

- Case Management Project: `case-management-project`

- Connections: `connection`

- Connection Groups: `connection-group`

- Cross Org Connections: `cross-org-connection`

- Dashboards: `dashboard`

- Feature Flag: `feature-flag`

- Form: `form`

- GCP Integration Configuration: `gcp-integration-configuration`

- Integration: `integration`

- Integration Accounts: `integration-account`

- Integration Services: `integration-service`

- Integration Webhooks: `integration-webhook`

- Notebooks: `notebook`
- Logs Archive: `logs-archive`

- Powerpacks: `powerpack`
- Logs Pipeline: `logs-pipeline`

- Reference Tables: `reference-table`
- Logs Workspace: `logs-workspace`

- Security Rules: `security-rule`
- Monitors: `monitor`

- Service Level Objectives: `slo`
- Notebooks: `notebook`

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

- Synthetic Tests: `synthetics-test`
- Observability Pipelines Pipeline: `obs-pipelines-pipeline`

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

- Monitors: `monitor`
- On-Call Schedules: `on-call-schedule`

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

- App Builder Apps: `app-builder-app`
- Powerpacks: `powerpack`

- Connections: `connection`
- Private Action Runner: `private-action-runner`

- Connection Groups: `connection-group`
- Reference Tables: `reference-table`

- RUM Applications: `rum-application`

- Cross Org Connections: `cross-org-connection`
- Seat: `seat`

- Security Rules: `security-rule`

- Service Level Objectives: `slo`

- Spreadsheets: `spreadsheet`

- On-Call Schedules: `on-call-schedule`
- Suppression Rule: `suppression-rule`

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

- On-Call Team Routing Rules: `on-call-team-routing-rules`
- Synthetic Private Locations: `synthetics-private-location`

- Synthetic Tests: `synthetics-test`

- Workflows: `workflow`


#### Supported relations for resources
Expand Down
46 changes: 32 additions & 14 deletions lib/datadog_api_client/v2/api/restriction_policies_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
#
# Deletes the restriction policy associated with a specified resource.
#
# @param resource_id [String] 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.
# @param resource_id [String] 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`.
# @param opts [Hash] the optional parameters
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_restriction_policy_with_http_info(resource_id, opts = {})
Expand Down Expand Up @@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
#
# Retrieves the restriction policy associated with a specified resource.
#
# @param resource_id [String] 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.
# @param resource_id [String] 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`.
# @param opts [Hash] the optional parameters
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
def get_restriction_policy_with_http_info(resource_id, opts = {})
Expand Down Expand Up @@ -167,28 +167,46 @@ def update_restriction_policy(resource_id, body, opts = {})
#
# #### Supported resources
# Restriction policies can be applied to the following resources:
# - APM Service Ingestion Configuration: `apm-service-ingestion-configuration`
# - App Builder Apps: `app-builder-app`
# - Apps Datastore: `apps-datastore`
# - AWS Integration Configuration: `aws-integration-configuration`
# - Azure Integration Configuration: `azure-integration-configuration`
# - Case Management Project: `case-management-project`
# - Connections: `connection`
# - Connection Groups: `connection-group`
# - Cross Org Connections: `cross-org-connection`
# - Dashboards: `dashboard`
# - Feature Flag: `feature-flag`
# - Form: `form`
# - GCP Integration Configuration: `gcp-integration-configuration`
# - Integration: `integration`
# - Integration Accounts: `integration-account`
# - Integration Services: `integration-service`
# - Integration Webhooks: `integration-webhook`
# - Logs Archive: `logs-archive`
# - Logs Pipeline: `logs-pipeline`
# - Logs Workspace: `logs-workspace`
# - Monitors: `monitor`
# - Notebooks: `notebook`
# - Observability Pipelines Live Capture: `obs-pipelines-live-capture`
# - Observability Pipelines Pipeline: `obs-pipelines-pipeline`
# - On-Call Escalation Policies: `on-call-escalation-policy`
# - On-Call Schedules: `on-call-schedule`
# - On-Call Team Routing Rules: `on-call-team-routing-rules`
# - Powerpacks: `powerpack`
# - Private Action Runner: `private-action-runner`
# - Reference Tables: `reference-table`
# - RUM Applications: `rum-application`
# - Seat: `seat`
# - Security Rules: `security-rule`
# - Service Level Objectives: `slo`
# - Spreadsheets: `spreadsheet`
# - Suppression Rule: `suppression-rule`
# - Synthetic Global Variables: `synthetics-global-variable`
# - Synthetic Tests: `synthetics-test`
# - Synthetic Private Locations: `synthetics-private-location`
# - Monitors: `monitor`
# - Synthetic Tests: `synthetics-test`
# - Workflows: `workflow`
# - App Builder Apps: `app-builder-app`
# - Connections: `connection`
# - Connection Groups: `connection-group`
# - RUM Applications: `rum-application`
# - Cross Org Connections: `cross-org-connection`
# - Spreadsheets: `spreadsheet`
# - On-Call Schedules: `on-call-schedule`
# - On-Call Escalation Policies: `on-call-escalation-policy`
# - On-Call Team Routing Rules: `on-call-team-routing-rules`
#
# #### Supported relations for resources
# Resource Type | Supported Relations
Expand Down Expand Up @@ -216,7 +234,7 @@ def update_restriction_policy(resource_id, body, opts = {})
# On-Call Escalation Policies | `viewer`, `editor`
# On-Call Team Routing Rules | `viewer`, `editor`
#
# @param resource_id [String] 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.
# @param resource_id [String] 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`.
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
# @param opts [Hash] the optional parameters
# @option opts [Boolean] :allow_self_lockout Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.
Expand Down
Loading