datadog_api_client 2.37.0 → 2.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +20 -1
- data/.generator/schemas/v2/openapi.yaml +1083 -74
- data/CHANGELOG.md +20 -0
- data/examples/v2/action-connection/GetAppKeyRegistration.rb +5 -0
- data/examples/v2/action-connection/ListAppKeyRegistrations.rb +5 -0
- data/examples/v2/action-connection/RegisterAppKey.rb +5 -0
- data/examples/v2/action-connection/UnregisterAppKey.rb +5 -0
- data/examples/v2/events/CreateEvent.rb +4 -2
- data/examples/v2/monitors/CreateMonitorUserTemplate.rb +37 -0
- data/examples/v2/monitors/DeleteMonitorUserTemplate.rb +8 -0
- data/examples/v2/monitors/GetMonitorUserTemplate.rb +11 -0
- data/examples/v2/monitors/ListMonitorUserTemplates.rb +8 -0
- data/examples/v2/monitors/UpdateMonitorUserTemplate.rb +41 -0
- data/examples/v2/monitors/ValidateExistingMonitorUserTemplate.rb +41 -0
- data/examples/v2/monitors/ValidateMonitorUserTemplate.rb +37 -0
- data/lib/datadog_api_client/configuration.rb +59 -0
- data/lib/datadog_api_client/inflector.rb +29 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_dns_server_port.rb +63 -0
- data/lib/datadog_api_client/v2/api/action_connection_api.rb +263 -4
- data/lib/datadog_api_client/v2/api/app_builder_api.rb +8 -8
- data/lib/datadog_api_client/v2/api/events_api.rb +8 -4
- data/lib/datadog_api_client/v2/api/monitors_api.rb +512 -0
- data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +8 -8
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items.rb +152 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items_category.rb +28 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_priority.rb +30 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/app_key_registration_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/app_key_registration_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes.rb +19 -33
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_author.rb +10 -31
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource.rb +15 -32
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_impacted_resources_items.rb +15 -32
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_impacted_resources_items_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/event_category.rb +2 -1
- data/lib/datadog_api_client/v2/models/event_create_request.rb +32 -3
- data/lib/datadog_api_client/v2/models/event_create_request_payload.rb +20 -2
- data/lib/datadog_api_client/v2/models/event_create_response.rb +3 -3
- data/lib/datadog_api_client/v2/models/event_create_response_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/event_create_response_attributes_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/event_create_response_attributes_attributes_evt.rb +14 -4
- data/lib/datadog_api_client/v2/models/event_create_response_payload.rb +15 -5
- data/lib/datadog_api_client/v2/models/event_create_response_payload_links.rb +105 -0
- data/lib/datadog_api_client/v2/models/event_payload.rb +48 -36
- data/lib/datadog_api_client/v2/models/event_payload_attributes.rb +3 -2
- data/lib/datadog_api_client/v2/models/event_payload_integration_id.rb +26 -0
- data/lib/datadog_api_client/v2/models/get_app_key_registration_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/job_definition_from_rule.rb +1 -26
- data/lib/datadog_api_client/v2/models/list_app_key_registrations_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/list_app_key_registrations_response_meta.rb +115 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template.rb +200 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_create_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_list_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_request_attributes.rb +172 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response_attributes.rb +188 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response_data_with_versions.rb +125 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_template_variables_items.rb +132 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/register_app_key_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/simple_monitor_user_template.rb +188 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +41 -1
@@ -33,7 +33,7 @@ module DatadogAPIClient::V2
|
|
33
33
|
|
34
34
|
# Create a new Action Connection.
|
35
35
|
#
|
36
|
-
# Create a new Action Connection
|
36
|
+
# Create a new Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
37
37
|
#
|
38
38
|
# @param body [CreateActionConnectionRequest]
|
39
39
|
# @param opts [Hash] the optional parameters
|
@@ -100,7 +100,7 @@ module DatadogAPIClient::V2
|
|
100
100
|
|
101
101
|
# Delete an existing Action Connection.
|
102
102
|
#
|
103
|
-
# Delete an existing Action Connection
|
103
|
+
# Delete an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
104
104
|
#
|
105
105
|
# @param connection_id [String] The ID of the action connection
|
106
106
|
# @param opts [Hash] the optional parameters
|
@@ -165,7 +165,7 @@ module DatadogAPIClient::V2
|
|
165
165
|
|
166
166
|
# Get an existing Action Connection.
|
167
167
|
#
|
168
|
-
# Get an existing Action Connection
|
168
|
+
# Get an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
169
169
|
#
|
170
170
|
# @param connection_id [String] The ID of the action connection
|
171
171
|
# @param opts [Hash] the optional parameters
|
@@ -220,6 +220,265 @@ module DatadogAPIClient::V2
|
|
220
220
|
return data, status_code, headers
|
221
221
|
end
|
222
222
|
|
223
|
+
# Get an existing App Key Registration.
|
224
|
+
#
|
225
|
+
# @see #get_app_key_registration_with_http_info
|
226
|
+
def get_app_key_registration(app_key_id, opts = {})
|
227
|
+
data, _status_code, _headers = get_app_key_registration_with_http_info(app_key_id, opts)
|
228
|
+
data
|
229
|
+
end
|
230
|
+
|
231
|
+
# Get an existing App Key Registration.
|
232
|
+
#
|
233
|
+
# Get an existing App Key Registration
|
234
|
+
#
|
235
|
+
# @param app_key_id [String] The ID of the app key
|
236
|
+
# @param opts [Hash] the optional parameters
|
237
|
+
# @return [Array<(GetAppKeyRegistrationResponse, Integer, Hash)>] GetAppKeyRegistrationResponse data, response status code and response headers
|
238
|
+
def get_app_key_registration_with_http_info(app_key_id, opts = {})
|
239
|
+
|
240
|
+
if @api_client.config.debugging
|
241
|
+
@api_client.config.logger.debug 'Calling API: ActionConnectionAPI.get_app_key_registration ...'
|
242
|
+
end
|
243
|
+
# verify the required parameter 'app_key_id' is set
|
244
|
+
if @api_client.config.client_side_validation && app_key_id.nil?
|
245
|
+
fail ArgumentError, "Missing the required parameter 'app_key_id' when calling ActionConnectionAPI.get_app_key_registration"
|
246
|
+
end
|
247
|
+
# resource path
|
248
|
+
local_var_path = '/api/v2/actions/app_key_registrations/{app_key_id}'.sub('{app_key_id}', CGI.escape(app_key_id.to_s).gsub('%2F', '/'))
|
249
|
+
|
250
|
+
# query parameters
|
251
|
+
query_params = opts[:query_params] || {}
|
252
|
+
|
253
|
+
# header parameters
|
254
|
+
header_params = opts[:header_params] || {}
|
255
|
+
# HTTP header 'Accept' (if needed)
|
256
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
257
|
+
|
258
|
+
# form parameters
|
259
|
+
form_params = opts[:form_params] || {}
|
260
|
+
|
261
|
+
# http body (model)
|
262
|
+
post_body = opts[:debug_body]
|
263
|
+
|
264
|
+
# return_type
|
265
|
+
return_type = opts[:debug_return_type] || 'GetAppKeyRegistrationResponse'
|
266
|
+
|
267
|
+
# auth_names
|
268
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
269
|
+
|
270
|
+
new_options = opts.merge(
|
271
|
+
:operation => :get_app_key_registration,
|
272
|
+
:header_params => header_params,
|
273
|
+
:query_params => query_params,
|
274
|
+
:form_params => form_params,
|
275
|
+
:body => post_body,
|
276
|
+
:auth_names => auth_names,
|
277
|
+
:return_type => return_type,
|
278
|
+
:api_version => "V2"
|
279
|
+
)
|
280
|
+
|
281
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
282
|
+
if @api_client.config.debugging
|
283
|
+
@api_client.config.logger.debug "API called: ActionConnectionAPI#get_app_key_registration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
284
|
+
end
|
285
|
+
return data, status_code, headers
|
286
|
+
end
|
287
|
+
|
288
|
+
# List App Key Registrations.
|
289
|
+
#
|
290
|
+
# @see #list_app_key_registrations_with_http_info
|
291
|
+
def list_app_key_registrations(opts = {})
|
292
|
+
data, _status_code, _headers = list_app_key_registrations_with_http_info(opts)
|
293
|
+
data
|
294
|
+
end
|
295
|
+
|
296
|
+
# List App Key Registrations.
|
297
|
+
#
|
298
|
+
# List App Key Registrations
|
299
|
+
#
|
300
|
+
# @param opts [Hash] the optional parameters
|
301
|
+
# @option opts [Integer] :page_size The number of App Key Registrations to return per page.
|
302
|
+
# @option opts [Integer] :page_number The page number to return.
|
303
|
+
# @return [Array<(ListAppKeyRegistrationsResponse, Integer, Hash)>] ListAppKeyRegistrationsResponse data, response status code and response headers
|
304
|
+
def list_app_key_registrations_with_http_info(opts = {})
|
305
|
+
|
306
|
+
if @api_client.config.debugging
|
307
|
+
@api_client.config.logger.debug 'Calling API: ActionConnectionAPI.list_app_key_registrations ...'
|
308
|
+
end
|
309
|
+
# resource path
|
310
|
+
local_var_path = '/api/v2/actions/app_key_registrations'
|
311
|
+
|
312
|
+
# query parameters
|
313
|
+
query_params = opts[:query_params] || {}
|
314
|
+
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
315
|
+
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
316
|
+
|
317
|
+
# header parameters
|
318
|
+
header_params = opts[:header_params] || {}
|
319
|
+
# HTTP header 'Accept' (if needed)
|
320
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
321
|
+
|
322
|
+
# form parameters
|
323
|
+
form_params = opts[:form_params] || {}
|
324
|
+
|
325
|
+
# http body (model)
|
326
|
+
post_body = opts[:debug_body]
|
327
|
+
|
328
|
+
# return_type
|
329
|
+
return_type = opts[:debug_return_type] || 'ListAppKeyRegistrationsResponse'
|
330
|
+
|
331
|
+
# auth_names
|
332
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
333
|
+
|
334
|
+
new_options = opts.merge(
|
335
|
+
:operation => :list_app_key_registrations,
|
336
|
+
:header_params => header_params,
|
337
|
+
:query_params => query_params,
|
338
|
+
:form_params => form_params,
|
339
|
+
:body => post_body,
|
340
|
+
:auth_names => auth_names,
|
341
|
+
:return_type => return_type,
|
342
|
+
:api_version => "V2"
|
343
|
+
)
|
344
|
+
|
345
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
346
|
+
if @api_client.config.debugging
|
347
|
+
@api_client.config.logger.debug "API called: ActionConnectionAPI#list_app_key_registrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
348
|
+
end
|
349
|
+
return data, status_code, headers
|
350
|
+
end
|
351
|
+
|
352
|
+
# Register a new App Key.
|
353
|
+
#
|
354
|
+
# @see #register_app_key_with_http_info
|
355
|
+
def register_app_key(app_key_id, opts = {})
|
356
|
+
data, _status_code, _headers = register_app_key_with_http_info(app_key_id, opts)
|
357
|
+
data
|
358
|
+
end
|
359
|
+
|
360
|
+
# Register a new App Key.
|
361
|
+
#
|
362
|
+
# Register a new App Key
|
363
|
+
#
|
364
|
+
# @param app_key_id [String] The ID of the app key
|
365
|
+
# @param opts [Hash] the optional parameters
|
366
|
+
# @return [Array<(RegisterAppKeyResponse, Integer, Hash)>] RegisterAppKeyResponse data, response status code and response headers
|
367
|
+
def register_app_key_with_http_info(app_key_id, opts = {})
|
368
|
+
|
369
|
+
if @api_client.config.debugging
|
370
|
+
@api_client.config.logger.debug 'Calling API: ActionConnectionAPI.register_app_key ...'
|
371
|
+
end
|
372
|
+
# verify the required parameter 'app_key_id' is set
|
373
|
+
if @api_client.config.client_side_validation && app_key_id.nil?
|
374
|
+
fail ArgumentError, "Missing the required parameter 'app_key_id' when calling ActionConnectionAPI.register_app_key"
|
375
|
+
end
|
376
|
+
# resource path
|
377
|
+
local_var_path = '/api/v2/actions/app_key_registrations/{app_key_id}'.sub('{app_key_id}', CGI.escape(app_key_id.to_s).gsub('%2F', '/'))
|
378
|
+
|
379
|
+
# query parameters
|
380
|
+
query_params = opts[:query_params] || {}
|
381
|
+
|
382
|
+
# header parameters
|
383
|
+
header_params = opts[:header_params] || {}
|
384
|
+
# HTTP header 'Accept' (if needed)
|
385
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
386
|
+
|
387
|
+
# form parameters
|
388
|
+
form_params = opts[:form_params] || {}
|
389
|
+
|
390
|
+
# http body (model)
|
391
|
+
post_body = opts[:debug_body]
|
392
|
+
|
393
|
+
# return_type
|
394
|
+
return_type = opts[:debug_return_type] || 'RegisterAppKeyResponse'
|
395
|
+
|
396
|
+
# auth_names
|
397
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
398
|
+
|
399
|
+
new_options = opts.merge(
|
400
|
+
:operation => :register_app_key,
|
401
|
+
:header_params => header_params,
|
402
|
+
:query_params => query_params,
|
403
|
+
:form_params => form_params,
|
404
|
+
:body => post_body,
|
405
|
+
:auth_names => auth_names,
|
406
|
+
:return_type => return_type,
|
407
|
+
:api_version => "V2"
|
408
|
+
)
|
409
|
+
|
410
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
411
|
+
if @api_client.config.debugging
|
412
|
+
@api_client.config.logger.debug "API called: ActionConnectionAPI#register_app_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
413
|
+
end
|
414
|
+
return data, status_code, headers
|
415
|
+
end
|
416
|
+
|
417
|
+
# Unregister an App Key.
|
418
|
+
#
|
419
|
+
# @see #unregister_app_key_with_http_info
|
420
|
+
def unregister_app_key(app_key_id, opts = {})
|
421
|
+
unregister_app_key_with_http_info(app_key_id, opts)
|
422
|
+
nil
|
423
|
+
end
|
424
|
+
|
425
|
+
# Unregister an App Key.
|
426
|
+
#
|
427
|
+
# Unregister an App Key
|
428
|
+
#
|
429
|
+
# @param app_key_id [String] The ID of the app key
|
430
|
+
# @param opts [Hash] the optional parameters
|
431
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
432
|
+
def unregister_app_key_with_http_info(app_key_id, opts = {})
|
433
|
+
|
434
|
+
if @api_client.config.debugging
|
435
|
+
@api_client.config.logger.debug 'Calling API: ActionConnectionAPI.unregister_app_key ...'
|
436
|
+
end
|
437
|
+
# verify the required parameter 'app_key_id' is set
|
438
|
+
if @api_client.config.client_side_validation && app_key_id.nil?
|
439
|
+
fail ArgumentError, "Missing the required parameter 'app_key_id' when calling ActionConnectionAPI.unregister_app_key"
|
440
|
+
end
|
441
|
+
# resource path
|
442
|
+
local_var_path = '/api/v2/actions/app_key_registrations/{app_key_id}'.sub('{app_key_id}', CGI.escape(app_key_id.to_s).gsub('%2F', '/'))
|
443
|
+
|
444
|
+
# query parameters
|
445
|
+
query_params = opts[:query_params] || {}
|
446
|
+
|
447
|
+
# header parameters
|
448
|
+
header_params = opts[:header_params] || {}
|
449
|
+
# HTTP header 'Accept' (if needed)
|
450
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
451
|
+
|
452
|
+
# form parameters
|
453
|
+
form_params = opts[:form_params] || {}
|
454
|
+
|
455
|
+
# http body (model)
|
456
|
+
post_body = opts[:debug_body]
|
457
|
+
|
458
|
+
# return_type
|
459
|
+
return_type = opts[:debug_return_type]
|
460
|
+
|
461
|
+
# auth_names
|
462
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
463
|
+
|
464
|
+
new_options = opts.merge(
|
465
|
+
:operation => :unregister_app_key,
|
466
|
+
:header_params => header_params,
|
467
|
+
:query_params => query_params,
|
468
|
+
:form_params => form_params,
|
469
|
+
:body => post_body,
|
470
|
+
:auth_names => auth_names,
|
471
|
+
:return_type => return_type,
|
472
|
+
:api_version => "V2"
|
473
|
+
)
|
474
|
+
|
475
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
476
|
+
if @api_client.config.debugging
|
477
|
+
@api_client.config.logger.debug "API called: ActionConnectionAPI#unregister_app_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
478
|
+
end
|
479
|
+
return data, status_code, headers
|
480
|
+
end
|
481
|
+
|
223
482
|
# Update an existing Action Connection.
|
224
483
|
#
|
225
484
|
# @see #update_action_connection_with_http_info
|
@@ -230,7 +489,7 @@ module DatadogAPIClient::V2
|
|
230
489
|
|
231
490
|
# Update an existing Action Connection.
|
232
491
|
#
|
233
|
-
# Update an existing Action Connection
|
492
|
+
# Update an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
234
493
|
#
|
235
494
|
# @param connection_id [String] The ID of the action connection
|
236
495
|
# @param body [UpdateActionConnectionRequest] Update an existing Action Connection request body
|
@@ -33,7 +33,7 @@ module DatadogAPIClient::V2
|
|
33
33
|
|
34
34
|
# Create App.
|
35
35
|
#
|
36
|
-
# Create a new app, returning the app ID.
|
36
|
+
# Create a new app, returning the app ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
37
37
|
#
|
38
38
|
# @param body [CreateAppRequest]
|
39
39
|
# @param opts [Hash] the optional parameters
|
@@ -100,7 +100,7 @@ module DatadogAPIClient::V2
|
|
100
100
|
|
101
101
|
# Delete App.
|
102
102
|
#
|
103
|
-
# Delete a single app.
|
103
|
+
# Delete a single app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
104
104
|
#
|
105
105
|
# @param app_id [UUID] The ID of the app to delete.
|
106
106
|
# @param opts [Hash] the optional parameters
|
@@ -165,7 +165,7 @@ module DatadogAPIClient::V2
|
|
165
165
|
|
166
166
|
# Delete Multiple Apps.
|
167
167
|
#
|
168
|
-
# Delete multiple apps in a single request from a list of app IDs.
|
168
|
+
# Delete multiple apps in a single request from a list of app IDs. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
169
169
|
#
|
170
170
|
# @param body [DeleteAppsRequest]
|
171
171
|
# @param opts [Hash] the optional parameters
|
@@ -232,7 +232,7 @@ module DatadogAPIClient::V2
|
|
232
232
|
|
233
233
|
# Get App.
|
234
234
|
#
|
235
|
-
# Get the full definition of an app.
|
235
|
+
# Get the full definition of an app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
236
236
|
#
|
237
237
|
# @param app_id [UUID] The ID of the app to retrieve.
|
238
238
|
# @param opts [Hash] the optional parameters
|
@@ -299,7 +299,7 @@ module DatadogAPIClient::V2
|
|
299
299
|
|
300
300
|
# List Apps.
|
301
301
|
#
|
302
|
-
# List all apps, with optional filters and sorting. This endpoint is paginated. Only basic app information such as the app ID, name, and description is returned by this endpoint.
|
302
|
+
# List all apps, with optional filters and sorting. This endpoint is paginated. Only basic app information such as the app ID, name, and description is returned by this endpoint. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
303
303
|
#
|
304
304
|
# @param opts [Hash] the optional parameters
|
305
305
|
# @option opts [Integer] :limit The number of apps to return per page.
|
@@ -381,7 +381,7 @@ module DatadogAPIClient::V2
|
|
381
381
|
|
382
382
|
# Publish App.
|
383
383
|
#
|
384
|
-
# Publish an app for use by other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist.
|
384
|
+
# Publish an app for use by other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
385
385
|
#
|
386
386
|
# @param app_id [UUID] The ID of the app to publish.
|
387
387
|
# @param opts [Hash] the optional parameters
|
@@ -446,7 +446,7 @@ module DatadogAPIClient::V2
|
|
446
446
|
|
447
447
|
# Unpublish App.
|
448
448
|
#
|
449
|
-
# Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of a `deployment` object on the app, with a nil `app_version_id` (`00000000-0000-0000-0000-000000000000`). The app can still be updated and published again in the future.
|
449
|
+
# Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of a `deployment` object on the app, with a nil `app_version_id` (`00000000-0000-0000-0000-000000000000`). The app can still be updated and published again in the future. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
450
450
|
#
|
451
451
|
# @param app_id [UUID] The ID of the app to unpublish.
|
452
452
|
# @param opts [Hash] the optional parameters
|
@@ -511,7 +511,7 @@ module DatadogAPIClient::V2
|
|
511
511
|
|
512
512
|
# Update App.
|
513
513
|
#
|
514
|
-
# Update an existing app. This creates a new version of the app.
|
514
|
+
# Update an existing app. This creates a new version of the app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
515
515
|
#
|
516
516
|
# @param app_id [UUID] The ID of the app to update.
|
517
517
|
# @param body [UpdateAppRequest]
|
@@ -33,13 +33,17 @@ module DatadogAPIClient::V2
|
|
33
33
|
|
34
34
|
# Post an event.
|
35
35
|
#
|
36
|
-
# This endpoint allows you to
|
36
|
+
# This endpoint allows you to publish events.
|
37
37
|
#
|
38
|
-
# ✅ **Only events with the `change` category** are in General Availability.
|
38
|
+
# ✅ **Only events with the `change` or `alert` category** are in General Availability. For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking) for more details.
|
39
39
|
#
|
40
|
-
# ❌ For use cases involving other event categories,
|
40
|
+
# ❌ For use cases involving other event categories, use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/).
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# ❌ Notifications are not yet supported for events sent to this endpoint. Use the V1 endpoint for notification functionality.
|
43
|
+
#
|
44
|
+
# ❌ This endpoint is not available for the Government (US1-FED) site. Contact your account representative for more information.
|
45
|
+
#
|
46
|
+
# @param body [EventCreateRequestPayload] Event creation request payload.
|
43
47
|
# @param opts [Hash] the optional parameters
|
44
48
|
# @return [Array<(EventCreateResponsePayload, Integer, Hash)>] EventCreateResponsePayload data, response status code and response headers
|
45
49
|
def create_event_with_http_info(body, opts = {})
|