@@ -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