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
4 changes: 3 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ components:
type: string
ResourceID:
description: |-
Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `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`, `case-management-project`, `monitor-notification-rule`, `status-page`.
Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `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`, `case-management-project`, `monitor-notification-rule`, `status-page`, `feature-flag`.
example: "dashboard:abc-def-ghi"
in: path
name: resource_id
Expand Down Expand Up @@ -171124,6 +171124,7 @@ paths:
- Case Management Projects: `case-management-project`
- Monitor Notification Rules: `monitor-notification-rule`
- Status Pages: `status-page`
- Feature Flags: `feature-flag`

#### Supported relations for resources
Resource Type | Supported Relations
Expand Down Expand Up @@ -171154,6 +171155,7 @@ paths:
Case Management Projects | `viewer`, `contributor`, `manager`
Monitor Notification Rules | `viewer`, `editor`
Status Pages | `viewer`, `responder`, `manager`
Feature Flags | `viewer`, `contributor`, `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 @@ -359,6 +359,7 @@ impl RestrictionPoliciesAPI {
/// - Case Management Projects: `case-management-project`
/// - Monitor Notification Rules: `monitor-notification-rule`
/// - Status Pages: `status-page`
/// - Feature Flags: `feature-flag`
///
/// #### Supported relations for resources
/// Resource Type | Supported Relations
Expand Down Expand Up @@ -389,6 +390,7 @@ impl RestrictionPoliciesAPI {
/// Case Management Projects | `viewer`, `contributor`, `manager`
/// Monitor Notification Rules | `viewer`, `editor`
/// Status Pages | `viewer`, `responder`, `manager`
/// Feature Flags | `viewer`, `contributor`, `editor`
pub async fn update_restriction_policy(
&self,
resource_id: String,
Expand Down Expand Up @@ -445,6 +447,7 @@ impl RestrictionPoliciesAPI {
/// - Case Management Projects: `case-management-project`
/// - Monitor Notification Rules: `monitor-notification-rule`
/// - Status Pages: `status-page`
/// - Feature Flags: `feature-flag`
///
/// #### Supported relations for resources
/// Resource Type | Supported Relations
Expand Down Expand Up @@ -475,6 +478,7 @@ impl RestrictionPoliciesAPI {
/// Case Management Projects | `viewer`, `contributor`, `manager`
/// Monitor Notification Rules | `viewer`, `editor`
/// Status Pages | `viewer`, `responder`, `manager`
/// Feature Flags | `viewer`, `contributor`, `editor`
pub async fn update_restriction_policy_with_http_info(
&self,
resource_id: String,
Expand Down
Loading