Skip to content

Commit d3cdcff

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 666b4d3 of spec repo
1 parent ecd4a27 commit d3cdcff

4 files changed

Lines changed: 18 additions & 14 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ components:
14261426
type: string
14271427
ResourceID:
14281428
description: |-
1429-
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`.
1429+
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`.
14301430
example: "dashboard:abc-def-ghi"
14311431
in: path
14321432
name: resource_id
@@ -145701,6 +145701,7 @@ paths:
145701145701
- Logs Pipelines: `logs-pipeline`
145702145702
- Case Management Projects: `case-management-project`
145703145703
- Monitor Notification Rules: `monitor-notification-rule`
145704+
- Status Pages: `status-page`
145704145705

145705145706
#### Supported relations for resources
145706145707
Resource Type | Supported Relations
@@ -145730,6 +145731,7 @@ paths:
145730145731
Logs Pipelines | `viewer`, `processors_editor`, `editor`
145731145732
Case Management Projects | `viewer`, `contributor`, `manager`
145732145733
Monitor Notification Rules | `viewer`, `editor`
145734+
Status Pages | `viewer`, `responder`, `manager`
145733145735
operationId: UpdateRestrictionPolicy
145734145736
parameters:
145735145737
- $ref: "#/components/parameters/ResourceID"

features/v2/key_management.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Feature: Key Management
1919
When the request is sent
2020
Then the response status is 400 Bad Request
2121

22-
@skip-terraform-config @team:DataDog/credentials-management
22+
@team:DataDog/credentials-management
2323
Scenario: Create a personal access token returns "Created" response
2424
Given a valid "appKeyAuth" key in the system
2525
And new "CreatePersonalAccessToken" request
@@ -249,7 +249,7 @@ Feature: Key Management
249249
When the request is sent
250250
Then the response status is 404 Not Found
251251

252-
@skip-terraform-config @team:DataDog/credentials-management
252+
@team:DataDog/credentials-management
253253
Scenario: Get a personal access token returns "OK" response
254254
Given a valid "appKeyAuth" key in the system
255255
And there is a valid "personal_access_token" in the system
@@ -339,7 +339,7 @@ Feature: Key Management
339339
And the response "data[0].type" is equal to "application_keys"
340340
And the response "data[0].attributes" has field "last_used_at"
341341

342-
@skip-terraform-config @team:DataDog/credentials-management
342+
@team:DataDog/credentials-management
343343
Scenario: Get all personal access tokens returns "OK" response
344344
Given a valid "appKeyAuth" key in the system
345345
And there is a valid "personal_access_token" in the system
@@ -398,7 +398,7 @@ Feature: Key Management
398398
And the response "data.attributes" has field "scopes"
399399
And the response "data.attributes" has field "last_used_at"
400400

401-
@skip-terraform-config @team:DataDog/credentials-management
401+
@team:DataDog/credentials-management
402402
Scenario: Revoke a personal access token returns "No Content" response
403403
Given a valid "appKeyAuth" key in the system
404404
And there is a valid "personal_access_token" in the system
@@ -433,7 +433,7 @@ Feature: Key Management
433433
When the request is sent
434434
Then the response status is 404 Not Found
435435

436-
@skip-terraform-config @team:DataDog/credentials-management
436+
@team:DataDog/credentials-management
437437
Scenario: Update a personal access token returns "OK" response
438438
Given a valid "appKeyAuth" key in the system
439439
And there is a valid "personal_access_token" in the system

features/v2/service_accounts.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Feature: Service Accounts
3737
When the request is sent
3838
Then the response status is 400 Bad Request
3939

40-
@skip-terraform-config @team:DataDog/credentials-management
40+
@team:DataDog/credentials-management
4141
Scenario: Create an access token for a service account returns "Created" response
4242
Given there is a valid "service_account_user" in the system
4343
And new "CreateServiceAccountAccessToken" request
@@ -146,7 +146,7 @@ Feature: Service Accounts
146146
When the request is sent
147147
Then the response status is 404 Not Found
148148

149-
@skip-terraform-config @team:DataDog/credentials-management
149+
@team:DataDog/credentials-management
150150
Scenario: Get an access token for a service account returns "OK" response
151151
Given there is a valid "service_account_user" in the system
152152
And there is a valid "service_account_access_token" for "service_account_user"
@@ -194,7 +194,7 @@ Feature: Service Accounts
194194
When the request is sent
195195
Then the response status is 404 Not Found
196196

197-
@skip-terraform-config @team:DataDog/credentials-management
197+
@team:DataDog/credentials-management
198198
Scenario: List access tokens for a service account returns "OK" response
199199
Given there is a valid "service_account_user" in the system
200200
And new "ListServiceAccountAccessTokens" request
@@ -226,7 +226,7 @@ Feature: Service Accounts
226226
Then the response status is 200 OK
227227
And the response "data" has length 0
228228

229-
@skip-terraform-config @team:DataDog/credentials-management
229+
@team:DataDog/credentials-management
230230
Scenario: Revoke an access token for a service account returns "No Content" response
231231
Given there is a valid "service_account_user" in the system
232232
And there is a valid "service_account_access_token" for "service_account_user"
@@ -262,7 +262,7 @@ Feature: Service Accounts
262262
When the request is sent
263263
Then the response status is 404 Not Found
264264

265-
@skip-terraform-config @team:DataDog/credentials-management
265+
@team:DataDog/credentials-management
266266
Scenario: Update an access token for a service account returns "OK" response
267267
Given there is a valid "service_account_user" in the system
268268
And there is a valid "service_account_access_token" for "service_account_user"

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
3535
#
3636
# Deletes the restriction policy associated with a specified resource.
3737
#
38-
# @param resource_id [String] 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`.
38+
# @param resource_id [String] 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`.
3939
# @param opts [Hash] the optional parameters
4040
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4141
def delete_restriction_policy_with_http_info(resource_id, opts = {})
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100100
#
101101
# Retrieves the restriction policy associated with a specified resource.
102102
#
103-
# @param resource_id [String] 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`.
103+
# @param resource_id [String] 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`.
104104
# @param opts [Hash] the optional parameters
105105
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106106
def get_restriction_policy_with_http_info(resource_id, opts = {})
@@ -192,6 +192,7 @@ def update_restriction_policy(resource_id, body, opts = {})
192192
# - Logs Pipelines: `logs-pipeline`
193193
# - Case Management Projects: `case-management-project`
194194
# - Monitor Notification Rules: `monitor-notification-rule`
195+
# - Status Pages: `status-page`
195196
#
196197
# #### Supported relations for resources
197198
# Resource Type | Supported Relations
@@ -221,8 +222,9 @@ def update_restriction_policy(resource_id, body, opts = {})
221222
# Logs Pipelines | `viewer`, `processors_editor`, `editor`
222223
# Case Management Projects | `viewer`, `contributor`, `manager`
223224
# Monitor Notification Rules | `viewer`, `editor`
225+
# Status Pages | `viewer`, `responder`, `manager`
224226
#
225-
# @param resource_id [String] 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`.
227+
# @param resource_id [String] 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`.
226228
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
227229
# @param opts [Hash] the optional parameters
228230
# @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.

0 commit comments

Comments
 (0)