Skip to content

Commit 7913dbc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 203815ab of spec repo
1 parent e26b033 commit 7913dbc

File tree

4 files changed

+4
-54
lines changed

4 files changed

+4
-54
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-30 17:05:06.962580",
8-
"spec_repo_commit": "d8e7ee77"
7+
"regenerated": "2025-07-01 12:45:22.178429",
8+
"spec_repo_commit": "203815ab"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-30 17:05:06.978141",
13-
"spec_repo_commit": "d8e7ee77"
12+
"regenerated": "2025-07-01 12:45:22.195284",
13+
"spec_repo_commit": "203815ab"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52712,9 +52712,6 @@ paths:
5271252712
operator: OR
5271352713
permissions:
5271452714
- monitors_read
52715-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52716-
52717-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5271852715
post:
5271952716
description: Creates a monitor notification rule.
5272052717
operationId: CreateMonitorNotificationRule
@@ -52758,9 +52755,6 @@ paths:
5275852755
operator: OR
5275952756
permissions:
5276052757
- monitor_config_policy_write
52761-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52762-
52763-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5276452758
/api/v2/monitor/notification_rule/{rule_id}:
5276552759
delete:
5276652760
description: Deletes a monitor notification rule by `rule_id`.
@@ -52801,9 +52795,6 @@ paths:
5280152795
operator: OR
5280252796
permissions:
5280352797
- monitor_config_policy_write
52804-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52805-
52806-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5280752798
get:
5280852799
description: Returns a monitor notification rule by `rule_id`.
5280952800
operationId: GetMonitorNotificationRule
@@ -52857,9 +52848,6 @@ paths:
5285752848
operator: OR
5285852849
permissions:
5285952850
- monitors_read
52860-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52861-
52862-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5286352851
patch:
5286452852
description: Updates a monitor notification rule by `rule_id`.
5286552853
operationId: UpdateMonitorNotificationRule
@@ -52917,9 +52905,6 @@ paths:
5291752905
operator: OR
5291852906
permissions:
5291952907
- monitor_config_policy_write
52920-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
52921-
52922-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5292352908
/api/v2/monitor/policy:
5292452909
get:
5292552910
description: Get all monitor configuration policies.

lib/datadog_api_client/configuration.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,10 @@ def initialize
241241
"v2.list_aws_namespaces": false,
242242
"v2.update_aws_account": false,
243243
"v2.list_aws_logs_services": false,
244-
"v2.create_monitor_notification_rule": false,
245244
"v2.create_monitor_user_template": false,
246-
"v2.delete_monitor_notification_rule": false,
247245
"v2.delete_monitor_user_template": false,
248-
"v2.get_monitor_notification_rule": false,
249-
"v2.get_monitor_notification_rules": false,
250246
"v2.get_monitor_user_template": false,
251247
"v2.list_monitor_user_templates": false,
252-
"v2.update_monitor_notification_rule": false,
253248
"v2.update_monitor_user_template": false,
254249
"v2.validate_existing_monitor_user_template": false,
255250
"v2.validate_monitor_user_template": false,

lib/datadog_api_client/v2/api/monitors_api.rb

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,6 @@ def create_monitor_notification_rule(body, opts = {})
106106
# @param opts [Hash] the optional parameters
107107
# @return [Array<(MonitorNotificationRuleResponse, Integer, Hash)>] MonitorNotificationRuleResponse data, response status code and response headers
108108
def create_monitor_notification_rule_with_http_info(body, opts = {})
109-
unstable_enabled = @api_client.config.unstable_operations["v2.create_monitor_notification_rule".to_sym]
110-
if unstable_enabled
111-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_monitor_notification_rule")
112-
else
113-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_monitor_notification_rule"))
114-
end
115109

116110
if @api_client.config.debugging
117111
@api_client.config.logger.debug 'Calling API: MonitorsAPI.create_monitor_notification_rule ...'
@@ -317,12 +311,6 @@ def delete_monitor_notification_rule(rule_id, opts = {})
317311
# @param opts [Hash] the optional parameters
318312
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
319313
def delete_monitor_notification_rule_with_http_info(rule_id, opts = {})
320-
unstable_enabled = @api_client.config.unstable_operations["v2.delete_monitor_notification_rule".to_sym]
321-
if unstable_enabled
322-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_monitor_notification_rule")
323-
else
324-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_monitor_notification_rule"))
325-
end
326314

327315
if @api_client.config.debugging
328316
@api_client.config.logger.debug 'Calling API: MonitorsAPI.delete_monitor_notification_rule ...'
@@ -525,12 +513,6 @@ def get_monitor_notification_rule(rule_id, opts = {})
525513
# @option opts [String] :include Comma-separated list of resource paths for related resources to include in the response. Supported resource path is `created_by`.
526514
# @return [Array<(MonitorNotificationRuleResponse, Integer, Hash)>] MonitorNotificationRuleResponse data, response status code and response headers
527515
def get_monitor_notification_rule_with_http_info(rule_id, opts = {})
528-
unstable_enabled = @api_client.config.unstable_operations["v2.get_monitor_notification_rule".to_sym]
529-
if unstable_enabled
530-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_monitor_notification_rule")
531-
else
532-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_monitor_notification_rule"))
533-
end
534516

535517
if @api_client.config.debugging
536518
@api_client.config.logger.debug 'Calling API: MonitorsAPI.get_monitor_notification_rule ...'
@@ -597,12 +579,6 @@ def get_monitor_notification_rules(opts = {})
597579
# @option opts [String] :include Comma-separated list of resource paths for related resources to include in the response. Supported resource path is `created_by`.
598580
# @return [Array<(MonitorNotificationRuleListResponse, Integer, Hash)>] MonitorNotificationRuleListResponse data, response status code and response headers
599581
def get_monitor_notification_rules_with_http_info(opts = {})
600-
unstable_enabled = @api_client.config.unstable_operations["v2.get_monitor_notification_rules".to_sym]
601-
if unstable_enabled
602-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_monitor_notification_rules")
603-
else
604-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_monitor_notification_rules"))
605-
end
606582

607583
if @api_client.config.debugging
608584
@api_client.config.logger.debug 'Calling API: MonitorsAPI.get_monitor_notification_rules ...'
@@ -937,12 +913,6 @@ def update_monitor_notification_rule(rule_id, body, opts = {})
937913
# @param opts [Hash] the optional parameters
938914
# @return [Array<(MonitorNotificationRuleResponse, Integer, Hash)>] MonitorNotificationRuleResponse data, response status code and response headers
939915
def update_monitor_notification_rule_with_http_info(rule_id, body, opts = {})
940-
unstable_enabled = @api_client.config.unstable_operations["v2.update_monitor_notification_rule".to_sym]
941-
if unstable_enabled
942-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_monitor_notification_rule")
943-
else
944-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_monitor_notification_rule"))
945-
end
946916

947917
if @api_client.config.debugging
948918
@api_client.config.logger.debug 'Calling API: MonitorsAPI.update_monitor_notification_rule ...'

0 commit comments

Comments
 (0)