datadog_api_client 2.13.0 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +181 -16
  4. data/.generator/schemas/v2/openapi.yaml +391 -151
  5. data/.generator/src/generator/formatter.py +34 -29
  6. data/.generator/src/generator/templates/api_client.j2 +81 -53
  7. data/.generator/src/generator/templates/configuration.j2 +21 -0
  8. data/.pre-commit-config.yaml +2 -2
  9. data/CHANGELOG.md +31 -0
  10. data/README.md +23 -0
  11. data/examples/v1/azure-integration/CreateAzureIntegration.rb +3 -0
  12. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +3 -0
  13. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +3 -0
  14. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +3 -0
  15. data/examples/v1/dashboards/CreateDashboard_252716965.rb +6 -0
  16. data/examples/v1/dashboards/DeletePublicDashboardInvitation.rb +3 -3
  17. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +1 -0
  18. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +3 -0
  19. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +3 -0
  20. data/examples/v2/logs/AggregateLogs_2955613758.rb +1 -1
  21. data/examples/v2/teams/CreateTeam.rb +2 -2
  22. data/examples/v2/teams/CreateTeam_252121814.rb +24 -0
  23. data/examples/v2/teams/GetUserMemberships.rb +8 -0
  24. data/examples/v2/teams/UpdateTeam.rb +9 -0
  25. data/lib/datadog_api_client/api_client.rb +81 -53
  26. data/lib/datadog_api_client/configuration.rb +22 -0
  27. data/lib/datadog_api_client/inflector.rb +10 -1
  28. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +2 -2
  29. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +10 -10
  30. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  31. data/lib/datadog_api_client/v1/models/azure_account.rb +32 -1
  32. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +13 -1
  33. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
  34. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
  35. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
  36. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  37. data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +12 -1
  38. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +24 -4
  39. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +24 -4
  40. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +24 -4
  41. data/lib/datadog_api_client/v1/models/widget_comparator.rb +1 -0
  42. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +10 -6
  43. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
  44. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
  45. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -3
  46. data/lib/datadog_api_client/v2/api/spans_metrics_api.rb +2 -2
  47. data/lib/datadog_api_client/v2/api/teams_api.rb +65 -0
  48. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
  49. data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +1 -1
  50. data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +11 -1
  51. data/lib/datadog_api_client/v2/models/ci_app_event_attributes.rb +9 -21
  52. data/lib/datadog_api_client/v2/models/ci_app_pipeline_event.rb +1 -1
  53. data/lib/datadog_api_client/v2/models/{team_data.rb → ci_app_pipeline_event_attributes.rb} +24 -62
  54. data/lib/datadog_api_client/v2/models/ci_app_pipeline_level.rb +30 -0
  55. data/lib/datadog_api_client/v2/models/ci_app_pipelines_query_filter.rb +1 -1
  56. data/lib/datadog_api_client/v2/models/ci_app_test_level.rb +29 -0
  57. data/lib/datadog_api_client/v2/models/ci_app_tests_analytics_aggregate_response.rb +1 -1
  58. data/lib/datadog_api_client/v2/models/ci_app_tests_query_filter.rb +1 -1
  59. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +25 -1
  60. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +25 -1
  61. data/lib/datadog_api_client/v2/models/downtime_schedule_one_time_response.rb +19 -1
  62. data/lib/datadog_api_client/v2/models/formula_limit.rb +1 -0
  63. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
  64. data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +1 -1
  65. data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +1 -1
  66. data/lib/datadog_api_client/v2/models/logs_group_by.rb +3 -2
  67. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +1 -1
  68. data/lib/datadog_api_client/v2/models/logs_list_request.rb +1 -1
  69. data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
  70. data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +1 -1
  71. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +14 -4
  72. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_type.rb +26 -0
  73. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
  74. data/lib/datadog_api_client/v2/models/query_formula.rb +1 -0
  75. data/lib/datadog_api_client/v2/models/relationship_to_team_links.rb +14 -4
  76. data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +14 -4
  77. data/lib/datadog_api_client/v2/models/security_monitoring_signal_metadata_type.rb +26 -0
  78. data/lib/datadog_api_client/v2/models/security_monitoring_signal_response.rb +80 -0
  79. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +26 -2
  80. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +24 -4
  81. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_data.rb +24 -4
  82. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -19
  83. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +11 -1
  84. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +11 -1
  85. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +11 -1
  86. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +11 -1
  87. data/lib/datadog_api_client/v2/models/team_attributes.rb +50 -4
  88. data/lib/datadog_api_client/v2/models/team_create_attributes.rb +57 -4
  89. data/lib/datadog_api_client/v2/models/team_relationships_links.rb +80 -0
  90. data/lib/datadog_api_client/v2/models/team_response.rb +1 -1
  91. data/lib/datadog_api_client/v2/models/team_update_attributes.rb +57 -4
  92. data/lib/datadog_api_client/v2/models/teams_response.rb +24 -4
  93. data/lib/datadog_api_client/v2/models/teams_response_links.rb +129 -0
  94. data/lib/datadog_api_client/v2/models/teams_response_meta.rb +80 -0
  95. data/lib/datadog_api_client/v2/models/teams_response_meta_pagination.rb +150 -0
  96. data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +11 -1
  97. data/lib/datadog_api_client/v2/models/user_teams_response.rb +24 -4
  98. data/lib/datadog_api_client/version.rb +1 -1
  99. data/spec/configuration_spec.rb +17 -0
  100. data/spec/retry_spec.rb +44 -0
  101. metadata +16 -3
@@ -55,71 +55,99 @@ module DatadogAPIClient
55
55
  # the data deserialized from response body (could be nil), response status code and response headers.
56
56
  def call_api(http_method, path, opts = {})
57
57
  request = build_request(http_method, path, opts)
58
- if opts[:stream_body]
59
- tempfile = nil
60
- encoding = nil
61
-
62
- response = request.perform do | chunk |
63
- unless tempfile
64
- content_disposition = chunk.http_response.header['Content-Disposition']
65
- if content_disposition && content_disposition =~ /filename=/i
66
- filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
67
- prefix = sanitize_filename(filename)
68
- else
69
- prefix = 'download-'
70
- end
71
- prefix = prefix + '-' unless prefix.end_with?('-')
72
- unless encoding
73
- encoding = chunk.encoding
58
+ attempt = 0
59
+ loop do
60
+ if opts[:stream_body]
61
+ tempfile = nil
62
+ encoding = nil
63
+
64
+ response = request.perform do | chunk |
65
+ unless tempfile
66
+ content_disposition = chunk.http_response.header['Content-Disposition']
67
+ if content_disposition && content_disposition =~ /filename=/i
68
+ filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
69
+ prefix = sanitize_filename(filename)
70
+ else
71
+ prefix = 'download-'
72
+ end
73
+ prefix = prefix + '-' unless prefix.end_with?('-')
74
+ unless encoding
75
+ encoding = chunk.encoding
76
+ end
77
+ tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
78
+ @tempfile = tempfile
74
79
  end
75
- tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
76
- @tempfile = tempfile
80
+ chunk.force_encoding(encoding)
81
+ tempfile.write(chunk)
82
+ end
83
+ if tempfile
84
+ tempfile.close
85
+ @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
86
+ "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
87
+ "will be deleted automatically with GC. It's also recommended to delete the temp file "\
88
+ "explicitly with `tempfile.delete`"
77
89
  end
78
- chunk.force_encoding(encoding)
79
- tempfile.write(chunk)
90
+ else
91
+ response = request.perform
80
92
  end
81
- if tempfile
82
- tempfile.close
83
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
84
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
85
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
86
- "explicitly with `tempfile.delete`"
93
+
94
+ if @config.debugging
95
+ @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
87
96
  end
88
- else
89
- response = request.perform
90
- end
91
97
 
92
- if @config.debugging
93
- @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
94
- end
98
+ unless response.success?
99
+ if response.request_timeout?
100
+ fail APIError.new('Connection timed out')
101
+ elsif response.code == 0
102
+ # Errors from libcurl will be made visible here
103
+ fail APIError.new(:code => 0,
104
+ :message => response.return_message)
105
+ else
106
+ body = response.body
107
+ if response.headers['Content-Encoding'].eql?('gzip') && !(body.nil? || body.empty?) then
108
+ gzip = Zlib::Inflate.new(Zlib::MAX_WBITS + 16)
109
+ body = gzip.inflate(body)
110
+ gzip.close
111
+ end
112
+ if should_retry(attempt, @config.max_retries, response.code, @config.enable_retry)
113
+ sleep calculate_retry_interval(response, @config.backoff_base, @config.backoff_multiplier, attempt, @config.timeout)
114
+ attempt = attempt + 1
115
+ next
116
+ else
117
+ fail APIError.new(:code => response.code,
118
+ :response_headers => response.headers,
119
+ :response_body => body),
120
+ response.message
121
+ end
122
+ end
123
+ end
95
124
 
96
- unless response.success?
97
- if response.request_timeout?
98
- fail APIError.new('Connection timed out')
99
- elsif response.code == 0
100
- # Errors from libcurl will be made visible here
101
- fail APIError.new(:code => 0,
102
- :message => response.return_message)
125
+ if opts[:return_type]
126
+ data = deserialize(opts[:api_version], response, opts[:return_type])
103
127
  else
104
- body = response.body
105
- if response.headers['Content-Encoding'].eql?('gzip') && !(body.nil? || body.empty?) then
106
- gzip = Zlib::Inflate.new(Zlib::MAX_WBITS + 16)
107
- body = gzip.inflate(body)
108
- gzip.close
109
- end
110
- fail APIError.new(:code => response.code,
111
- :response_headers => response.headers,
112
- :response_body => body),
113
- response.message
128
+ data = nil
114
129
  end
130
+ return data, response.code, response.headers
115
131
  end
132
+ end
133
+
134
+ # Check if an http request should be retried
135
+ def should_retry(attempt, max_retries, http_code, enable_retry)
136
+ (http_code == 429 || http_code >= 500) && max_retries > attempt && enable_retry
137
+ end
116
138
 
117
- if opts[:return_type]
118
- data = deserialize(opts[:api_version], response, opts[:return_type])
139
+ # Calculate the sleep interval between 2 retry attempts
140
+ def calculate_retry_interval(response, backoff_base, backoff_multiplier, attempt, timeout)
141
+ reset_header = response.headers['X-Ratelimit-Reset']
142
+ if !reset_header.nil? && !reset_header.empty?
143
+ sleep_time = reset_header.to_i
119
144
  else
120
- data = nil
145
+ sleep_time = (backoff_multiplier**attempt) * backoff_base
146
+ if timeout && timeout > 0
147
+ sleep_time = [timeout, sleep_time].min
148
+ end
121
149
  end
122
- return data, response.code, response.headers
150
+ sleep_time
123
151
  end
124
152
 
125
153
  # Build the HTTP request
@@ -149,6 +149,16 @@ module DatadogAPIClient
149
149
  # Password for proxy server authentication
150
150
  attr_accessor :http_proxypass
151
151
 
152
+ # Enable retry when rate limited
153
+ attr_accessor :enable_retry
154
+
155
+ # Retry backoff calculation parameters
156
+ attr_accessor :backoff_base
157
+ attr_accessor :backoff_multiplier
158
+
159
+ # Maximum number of retry attempts allowed
160
+ attr_accessor :max_retries
161
+
152
162
  def initialize
153
163
  @scheme = 'https'
154
164
  @host = 'api.datadoghq.com'
@@ -159,6 +169,10 @@ module DatadogAPIClient
159
169
  @server_operation_variables = {}
160
170
  @api_key = {}
161
171
  @api_key_prefix = {}
172
+ @enable_retry = false
173
+ @backoff_base = 2
174
+ @backoff_multiplier = 2
175
+ @max_retries = 3
162
176
  @timeout = nil
163
177
  @client_side_validation = true
164
178
  @verify_ssl = true
@@ -175,6 +189,7 @@ module DatadogAPIClient
175
189
  @http_proxypass = nil
176
190
  @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
177
191
  @unstable_operations = {
192
+ "v2.create_ci_app_pipeline_event": false,
178
193
  "v2.cancel_downtime": false,
179
194
  "v2.create_downtime": false,
180
195
  "v2.get_downtime": false,
@@ -229,6 +244,13 @@ module DatadogAPIClient
229
244
  @@default ||= Configuration.new
230
245
  end
231
246
 
247
+ def backoff_base=(value)
248
+ if value < 2
249
+ raise ArgumentError, 'backoff_base cannot be smaller than 2'
250
+ end
251
+ @backoff_base = value
252
+ end
253
+
232
254
  def configure
233
255
  yield(self) if block_given?
234
256
  end
@@ -881,6 +881,7 @@ module DatadogAPIClient
881
881
  "v2.ci_app_group_by_total" => "CIAppGroupByTotal",
882
882
  "v2.ci_app_host_info" => "CIAppHostInfo",
883
883
  "v2.ci_app_pipeline_event" => "CIAppPipelineEvent",
884
+ "v2.ci_app_pipeline_event_attributes" => "CIAppPipelineEventAttributes",
884
885
  "v2.ci_app_pipeline_event_job" => "CIAppPipelineEventJob",
885
886
  "v2.ci_app_pipeline_event_job_level" => "CIAppPipelineEventJobLevel",
886
887
  "v2.ci_app_pipeline_event_job_status" => "CIAppPipelineEventJobStatus",
@@ -898,6 +899,7 @@ module DatadogAPIClient
898
899
  "v2.ci_app_pipeline_event_step_level" => "CIAppPipelineEventStepLevel",
899
900
  "v2.ci_app_pipeline_event_step_status" => "CIAppPipelineEventStepStatus",
900
901
  "v2.ci_app_pipeline_event_type_name" => "CIAppPipelineEventTypeName",
902
+ "v2.ci_app_pipeline_level" => "CIAppPipelineLevel",
901
903
  "v2.ci_app_pipelines_aggregate_request" => "CIAppPipelinesAggregateRequest",
902
904
  "v2.ci_app_pipelines_aggregation_buckets_response" => "CIAppPipelinesAggregationBucketsResponse",
903
905
  "v2.ci_app_pipelines_analytics_aggregate_response" => "CIAppPipelinesAnalyticsAggregateResponse",
@@ -917,6 +919,7 @@ module DatadogAPIClient
917
919
  "v2.ci_app_test_events_request" => "CIAppTestEventsRequest",
918
920
  "v2.ci_app_test_events_response" => "CIAppTestEventsResponse",
919
921
  "v2.ci_app_test_event_type_name" => "CIAppTestEventTypeName",
922
+ "v2.ci_app_test_level" => "CIAppTestLevel",
920
923
  "v2.ci_app_tests_aggregate_request" => "CIAppTestsAggregateRequest",
921
924
  "v2.ci_app_tests_aggregation_buckets_response" => "CIAppTestsAggregationBucketsResponse",
922
925
  "v2.ci_app_tests_analytics_aggregate_response" => "CIAppTestsAnalyticsAggregateResponse",
@@ -1421,6 +1424,7 @@ module DatadogAPIClient
1421
1424
  "v2.on_demand_concurrency_cap" => "OnDemandConcurrencyCap",
1422
1425
  "v2.on_demand_concurrency_cap_attributes" => "OnDemandConcurrencyCapAttributes",
1423
1426
  "v2.on_demand_concurrency_cap_response" => "OnDemandConcurrencyCapResponse",
1427
+ "v2.on_demand_concurrency_cap_type" => "OnDemandConcurrencyCapType",
1424
1428
  "v2.opsgenie_service_create_attributes" => "OpsgenieServiceCreateAttributes",
1425
1429
  "v2.opsgenie_service_create_data" => "OpsgenieServiceCreateData",
1426
1430
  "v2.opsgenie_service_create_request" => "OpsgenieServiceCreateRequest",
@@ -1620,6 +1624,8 @@ module DatadogAPIClient
1620
1624
  "v2.security_monitoring_signal_list_request" => "SecurityMonitoringSignalListRequest",
1621
1625
  "v2.security_monitoring_signal_list_request_filter" => "SecurityMonitoringSignalListRequestFilter",
1622
1626
  "v2.security_monitoring_signal_list_request_page" => "SecurityMonitoringSignalListRequestPage",
1627
+ "v2.security_monitoring_signal_metadata_type" => "SecurityMonitoringSignalMetadataType",
1628
+ "v2.security_monitoring_signal_response" => "SecurityMonitoringSignalResponse",
1623
1629
  "v2.security_monitoring_signal_rule_create_payload" => "SecurityMonitoringSignalRuleCreatePayload",
1624
1630
  "v2.security_monitoring_signal_rule_query" => "SecurityMonitoringSignalRuleQuery",
1625
1631
  "v2.security_monitoring_signal_rule_response" => "SecurityMonitoringSignalRuleResponse",
@@ -1813,7 +1819,6 @@ module DatadogAPIClient
1813
1819
  "v2.team_create_attributes" => "TeamCreateAttributes",
1814
1820
  "v2.team_create_relationships" => "TeamCreateRelationships",
1815
1821
  "v2.team_create_request" => "TeamCreateRequest",
1816
- "v2.team_data" => "TeamData",
1817
1822
  "v2.team_included" => "TeamIncluded",
1818
1823
  "v2.team_link" => "TeamLink",
1819
1824
  "v2.team_link_attributes" => "TeamLinkAttributes",
@@ -1833,8 +1838,12 @@ module DatadogAPIClient
1833
1838
  "v2.team_permission_setting_update_request" => "TeamPermissionSettingUpdateRequest",
1834
1839
  "v2.team_permission_setting_value" => "TeamPermissionSettingValue",
1835
1840
  "v2.team_relationships" => "TeamRelationships",
1841
+ "v2.team_relationships_links" => "TeamRelationshipsLinks",
1836
1842
  "v2.team_response" => "TeamResponse",
1837
1843
  "v2.teams_response" => "TeamsResponse",
1844
+ "v2.teams_response_links" => "TeamsResponseLinks",
1845
+ "v2.teams_response_meta" => "TeamsResponseMeta",
1846
+ "v2.teams_response_meta_pagination" => "TeamsResponseMetaPagination",
1838
1847
  "v2.team_type" => "TeamType",
1839
1848
  "v2.team_update" => "TeamUpdate",
1840
1849
  "v2.team_update_attributes" => "TeamUpdateAttributes",
@@ -70,7 +70,7 @@ module DatadogAPIClient::V1
70
70
  return_type = opts[:debug_return_type] || 'SLOCorrectionResponse'
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
73
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :create_slo_correction,
@@ -264,7 +264,7 @@ module DatadogAPIClient::V1
264
264
  return_type = opts[:debug_return_type] || 'SLOCorrectionListResponse'
265
265
 
266
266
  # auth_names
267
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
267
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
268
268
 
269
269
  new_options = opts.merge(
270
270
  :operation => :list_slo_correction,
@@ -70,7 +70,7 @@ module DatadogAPIClient::V1
70
70
  return_type = opts[:debug_return_type] || 'CheckCanDeleteSLOResponse'
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
73
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :check_can_delete_slo,
@@ -137,7 +137,7 @@ module DatadogAPIClient::V1
137
137
  return_type = opts[:debug_return_type] || 'SLOListResponse'
138
138
 
139
139
  # auth_names
140
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
140
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
141
141
 
142
142
  new_options = opts.merge(
143
143
  :operation => :create_slo,
@@ -207,7 +207,7 @@ module DatadogAPIClient::V1
207
207
  return_type = opts[:debug_return_type] || 'SLODeleteResponse'
208
208
 
209
209
  # auth_names
210
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
210
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
211
211
 
212
212
  new_options = opts.merge(
213
213
  :operation => :delete_slo,
@@ -278,7 +278,7 @@ module DatadogAPIClient::V1
278
278
  return_type = opts[:debug_return_type] || 'SLOBulkDeleteResponse'
279
279
 
280
280
  # auth_names
281
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
281
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
282
282
 
283
283
  new_options = opts.merge(
284
284
  :operation => :delete_slo_timeframe_in_bulk,
@@ -345,7 +345,7 @@ module DatadogAPIClient::V1
345
345
  return_type = opts[:debug_return_type] || 'SLOResponse'
346
346
 
347
347
  # auth_names
348
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
348
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
349
349
 
350
350
  new_options = opts.merge(
351
351
  :operation => :get_slo,
@@ -410,7 +410,7 @@ module DatadogAPIClient::V1
410
410
  return_type = opts[:debug_return_type] || 'SLOCorrectionListResponse'
411
411
 
412
412
  # auth_names
413
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
413
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
414
414
 
415
415
  new_options = opts.merge(
416
416
  :operation => :get_slo_corrections,
@@ -504,7 +504,7 @@ module DatadogAPIClient::V1
504
504
  return_type = opts[:debug_return_type] || 'SLOHistoryResponse'
505
505
 
506
506
  # auth_names
507
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
507
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
508
508
 
509
509
  new_options = opts.merge(
510
510
  :operation => :get_slo_history,
@@ -576,7 +576,7 @@ module DatadogAPIClient::V1
576
576
  return_type = opts[:debug_return_type] || 'SLOListResponse'
577
577
 
578
578
  # auth_names
579
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
579
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
580
580
 
581
581
  new_options = opts.merge(
582
582
  :operation => :list_slos,
@@ -644,7 +644,7 @@ module DatadogAPIClient::V1
644
644
  return_type = opts[:debug_return_type] || 'SearchSLOResponse'
645
645
 
646
646
  # auth_names
647
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
647
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
648
648
 
649
649
  new_options = opts.merge(
650
650
  :operation => :search_slo,
@@ -716,7 +716,7 @@ module DatadogAPIClient::V1
716
716
  return_type = opts[:debug_return_type] || 'SLOListResponse'
717
717
 
718
718
  # auth_names
719
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
719
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
720
720
 
721
721
  new_options = opts.merge(
722
722
  :operation => :update_slo,
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
152
152
  fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
153
153
  end
154
154
  # verify enum value
155
- allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage']
155
+ allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'ci_visibility_itr_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'sds_scanned_bytes_usage']
156
156
  if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
157
157
  fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
158
158
  end
@@ -472,7 +472,7 @@ module DatadogAPIClient::V1
472
472
  fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
473
473
  end
474
474
  # verify enum value
475
- allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', '*']
475
+ allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', '*']
476
476
  if @api_client.config.client_side_validation && !allowable_values.include?(fields)
477
477
  fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
478
478
  end
@@ -480,7 +480,7 @@ module DatadogAPIClient::V1
480
480
  if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
481
481
  fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
482
482
  end
483
- allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', '*']
483
+ allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', '*']
484
484
  if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
485
485
  fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
486
486
  end
@@ -21,6 +21,10 @@ module DatadogAPIClient::V1
21
21
  class AzureAccount
22
22
  include BaseGenericModel
23
23
 
24
+ # Limit the Azure app service plans that are pulled into Datadog using tags.
25
+ # Only app service plans that match one of the defined tags are imported into Datadog.
26
+ attr_accessor :app_service_plan_filters
27
+
24
28
  # Silence monitors for expected Azure VM shutdowns.
25
29
  attr_accessor :automute
26
30
 
@@ -30,6 +34,12 @@ module DatadogAPIClient::V1
30
34
  # Your Azure web application secret key.
31
35
  attr_accessor :client_secret
32
36
 
37
+ # Enable Cloud Security Management Misconfigurations for your organization.
38
+ attr_accessor :cspm_enabled
39
+
40
+ # Enable custom metrics for your organization.
41
+ attr_accessor :custom_metrics_enabled
42
+
33
43
  # Errors in your configuration.
34
44
  attr_accessor :errors
35
45
 
@@ -50,9 +60,12 @@ module DatadogAPIClient::V1
50
60
  # @!visibility private
51
61
  def self.attribute_map
52
62
  {
63
+ :'app_service_plan_filters' => :'app_service_plan_filters',
53
64
  :'automute' => :'automute',
54
65
  :'client_id' => :'client_id',
55
66
  :'client_secret' => :'client_secret',
67
+ :'cspm_enabled' => :'cspm_enabled',
68
+ :'custom_metrics_enabled' => :'custom_metrics_enabled',
56
69
  :'errors' => :'errors',
57
70
  :'host_filters' => :'host_filters',
58
71
  :'new_client_id' => :'new_client_id',
@@ -65,9 +78,12 @@ module DatadogAPIClient::V1
65
78
  # @!visibility private
66
79
  def self.openapi_types
67
80
  {
81
+ :'app_service_plan_filters' => :'String',
68
82
  :'automute' => :'Boolean',
69
83
  :'client_id' => :'String',
70
84
  :'client_secret' => :'String',
85
+ :'cspm_enabled' => :'Boolean',
86
+ :'custom_metrics_enabled' => :'Boolean',
71
87
  :'errors' => :'Array<String>',
72
88
  :'host_filters' => :'String',
73
89
  :'new_client_id' => :'String',
@@ -92,6 +108,10 @@ module DatadogAPIClient::V1
92
108
  h[k.to_sym] = v
93
109
  }
94
110
 
111
+ if attributes.key?(:'app_service_plan_filters')
112
+ self.app_service_plan_filters = attributes[:'app_service_plan_filters']
113
+ end
114
+
95
115
  if attributes.key?(:'automute')
96
116
  self.automute = attributes[:'automute']
97
117
  end
@@ -104,6 +124,14 @@ module DatadogAPIClient::V1
104
124
  self.client_secret = attributes[:'client_secret']
105
125
  end
106
126
 
127
+ if attributes.key?(:'cspm_enabled')
128
+ self.cspm_enabled = attributes[:'cspm_enabled']
129
+ end
130
+
131
+ if attributes.key?(:'custom_metrics_enabled')
132
+ self.custom_metrics_enabled = attributes[:'custom_metrics_enabled']
133
+ end
134
+
107
135
  if attributes.key?(:'errors')
108
136
  if (value = attributes[:'errors']).is_a?(Array)
109
137
  self.errors = value
@@ -133,9 +161,12 @@ module DatadogAPIClient::V1
133
161
  def ==(o)
134
162
  return true if self.equal?(o)
135
163
  self.class == o.class &&
164
+ app_service_plan_filters == o.app_service_plan_filters &&
136
165
  automute == o.automute &&
137
166
  client_id == o.client_id &&
138
167
  client_secret == o.client_secret &&
168
+ cspm_enabled == o.cspm_enabled &&
169
+ custom_metrics_enabled == o.custom_metrics_enabled &&
139
170
  errors == o.errors &&
140
171
  host_filters == o.host_filters &&
141
172
  new_client_id == o.new_client_id &&
@@ -147,7 +178,7 @@ module DatadogAPIClient::V1
147
178
  # @return [Integer] Hash code
148
179
  # @!visibility private
149
180
  def hash
150
- [automute, client_id, client_secret, errors, host_filters, new_client_id, new_tenant_name, tenant_name].hash
181
+ [app_service_plan_filters, automute, client_id, client_secret, cspm_enabled, custom_metrics_enabled, errors, host_filters, new_client_id, new_tenant_name, tenant_name].hash
151
182
  end
152
183
  end
153
184
  end
@@ -23,6 +23,9 @@ module DatadogAPIClient::V1
23
23
  class DistributionWidgetDefinition
24
24
  include BaseGenericModel
25
25
 
26
+ # A list of custom links.
27
+ attr_accessor :custom_links
28
+
26
29
  # (Deprecated) The widget legend was replaced by a tooltip and sidebar.
27
30
  attr_accessor :legend_size
28
31
 
@@ -63,6 +66,7 @@ module DatadogAPIClient::V1
63
66
  # @!visibility private
64
67
  def self.attribute_map
65
68
  {
69
+ :'custom_links' => :'custom_links',
66
70
  :'legend_size' => :'legend_size',
67
71
  :'markers' => :'markers',
68
72
  :'requests' => :'requests',
@@ -81,6 +85,7 @@ module DatadogAPIClient::V1
81
85
  # @!visibility private
82
86
  def self.openapi_types
83
87
  {
88
+ :'custom_links' => :'Array<WidgetCustomLink>',
84
89
  :'legend_size' => :'String',
85
90
  :'markers' => :'Array<WidgetMarker>',
86
91
  :'requests' => :'Array<DistributionWidgetRequest>',
@@ -111,6 +116,12 @@ module DatadogAPIClient::V1
111
116
  h[k.to_sym] = v
112
117
  }
113
118
 
119
+ if attributes.key?(:'custom_links')
120
+ if (value = attributes[:'custom_links']).is_a?(Array)
121
+ self.custom_links = value
122
+ end
123
+ end
124
+
114
125
  if attributes.key?(:'legend_size')
115
126
  self.legend_size = attributes[:'legend_size']
116
127
  end
@@ -203,6 +214,7 @@ module DatadogAPIClient::V1
203
214
  def ==(o)
204
215
  return true if self.equal?(o)
205
216
  self.class == o.class &&
217
+ custom_links == o.custom_links &&
206
218
  legend_size == o.legend_size &&
207
219
  markers == o.markers &&
208
220
  requests == o.requests &&
@@ -220,7 +232,7 @@ module DatadogAPIClient::V1
220
232
  # @return [Integer] Hash code
221
233
  # @!visibility private
222
234
  def hash
223
- [legend_size, markers, requests, show_legend, time, title, title_align, title_size, type, xaxis, yaxis].hash
235
+ [custom_links, legend_size, markers, requests, show_legend, time, title, title_align, title_size, type, xaxis, yaxis].hash
224
236
  end
225
237
  end
226
238
  end
@@ -24,10 +24,12 @@ module DatadogAPIClient::V1
24
24
  API_USAGE = "api_usage".freeze
25
25
  APM_FARGATE_USAGE = "apm_fargate_usage".freeze
26
26
  APM_HOST_USAGE = "apm_host_usage".freeze
27
+ APM_USM_USAGE = "apm_usm_usage".freeze
27
28
  APPSEC_FARGATE_USAGE = "appsec_fargate_usage".freeze
28
29
  APPSEC_USAGE = "appsec_usage".freeze
29
30
  BROWSER_USAGE = "browser_usage".freeze
30
31
  CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage".freeze
32
+ CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage".freeze
31
33
  CONTAINER_USAGE = "container_usage".freeze
32
34
  CSPM_CONTAINERS_USAGE = "cspm_containers_usage".freeze
33
35
  CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
@@ -54,5 +56,6 @@ module DatadogAPIClient::V1
54
56
  ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
55
57
  UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
56
58
  VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage".freeze
59
+ SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage".freeze
57
60
  end
58
61
  end
@@ -29,10 +29,14 @@ module DatadogAPIClient::V1
29
29
  APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
30
30
  APM_HOST_USAGE = "apm_host_usage".freeze
31
31
  APM_HOST_PERCENTAGE = "apm_host_percentage".freeze
32
+ APM_USM_USAGE = "apm_usm_usage".freeze
33
+ APM_USM_PERCENTAGE = "apm_usm_percentage".freeze
32
34
  APPSEC_USAGE = "appsec_usage".freeze
33
35
  APPSEC_PERCENTAGE = "appsec_percentage".freeze
34
36
  BROWSER_USAGE = "browser_usage".freeze
35
37
  BROWSER_PERCENTAGE = "browser_percentage".freeze
38
+ CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage".freeze
39
+ CI_VISIBILITY_ITR_PERCENTAGE = "ci_visibility_itr_percentage".freeze
36
40
  CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage".freeze
37
41
  CONTAINER_EXCL_AGENT_PERCENTAGE = "container_excl_agent_percentage".freeze
38
42
  CONTAINER_USAGE = "container_usage".freeze
@@ -87,6 +91,8 @@ module DatadogAPIClient::V1
87
91
  UNIVERSAL_SERVICE_MONITORING_PERCENTAGE = "universal_service_monitoring_percentage".freeze
88
92
  VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage".freeze
89
93
  VULN_MANAGEMENT_HOSTS_PERCENTAGE = "vuln_management_hosts_percentage".freeze
94
+ SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage".freeze
95
+ SDS_SCANNED_BYTES_PERCENTAGE = "sds_scanned_bytes_percentage".freeze
90
96
  ALL = "*".freeze
91
97
  end
92
98
  end