datadog_api_client 2.17.0 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +1 -1
  4. data/.generator/poetry.lock +69 -69
  5. data/.generator/schemas/v1/openapi.yaml +334 -16
  6. data/.generator/schemas/v2/openapi.yaml +2864 -470
  7. data/.generator/src/generator/cli.py +5 -0
  8. data/.generator/src/generator/templates/datadog_api_client.j2 +19 -0
  9. data/.generator/src/generator/templates/model_generic.j2 +2 -2
  10. data/.pre-commit-config.yaml +1 -1
  11. data/CHANGELOG.md +43 -0
  12. data/examples/v1/aws-integration/CreateAWSAccount.rb +2 -2
  13. data/examples/v1/aws-integration/DeleteAWSAccount.rb +1 -1
  14. data/examples/v1/aws-integration/UpdateAWSAccount.rb +6 -6
  15. data/examples/v1/azure-integration/CreateAzureIntegration.rb +5 -4
  16. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +2 -14
  17. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +1 -0
  18. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +5 -4
  19. data/examples/v1/dashboards/CreateDashboard_1284514532.rb +3 -0
  20. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +4 -5
  21. data/examples/v1/gcp-integration/DeleteGCPIntegration.rb +2 -14
  22. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +4 -5
  23. data/examples/v1/service-level-objectives/CreateSLO_3765703239.rb +46 -0
  24. data/examples/v1/synthetics/PatchTest.rb +22 -0
  25. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +0 -3
  26. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +0 -3
  27. data/examples/v2/cloud-cost-management/CreateCostAWSCURConfig.rb +18 -0
  28. data/examples/v2/cloud-cost-management/CreateCostAzureUCConfigs.rb +29 -0
  29. data/examples/v2/cloud-cost-management/DeleteCostAWSCURConfig.rb +5 -0
  30. data/examples/v2/cloud-cost-management/DeleteCostAzureUCConfig.rb +5 -0
  31. data/examples/v2/cloud-cost-management/GetCloudCostActivity.rb +5 -0
  32. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +5 -0
  33. data/examples/v2/cloud-cost-management/ListCostAWSCURConfigs.rb +5 -0
  34. data/examples/v2/cloud-cost-management/ListCostAzureUCConfigs.rb +5 -0
  35. data/examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb +14 -0
  36. data/examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb +14 -0
  37. data/examples/v2/cloudflare-integration/CreateCloudflareAccount.rb +1 -1
  38. data/examples/v2/cloudflare-integration/UpdateCloudflareAccount.rb +4 -1
  39. data/examples/v2/container-images/ListContainerImages.rb +0 -3
  40. data/examples/v2/container-images/ListContainerImages_3088586393.rb +0 -3
  41. data/examples/v2/container-images/ListContainerImages_3974828736.rb +0 -3
  42. data/examples/v2/containers/ListContainers.rb +0 -3
  43. data/examples/v2/containers/ListContainers_2175733917.rb +0 -3
  44. data/examples/v2/containers/ListContainers_931009654.rb +0 -3
  45. data/examples/v2/dora-metrics/CreateDORADeployment.rb +23 -0
  46. data/examples/v2/dora-metrics/CreateDORAIncident.rb +25 -0
  47. data/examples/v2/downtimes/ListMonitorDowntimes_3316718253.rb +5 -0
  48. data/examples/v2/events/ListEvents.rb +0 -3
  49. data/examples/v2/events/ListEvents_1527584014.rb +0 -3
  50. data/examples/v2/events/ListEvents_2663715109.rb +0 -3
  51. data/examples/v2/events/SearchEvents.rb +0 -3
  52. data/examples/v2/events/SearchEvents_3856995058.rb +0 -3
  53. data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +16 -0
  54. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +16 -0
  55. data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +17 -0
  56. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +19 -0
  57. data/examples/v2/okta-integration/CreateOktaAccount.rb +19 -0
  58. data/examples/v2/okta-integration/DeleteOktaAccount.rb +5 -0
  59. data/examples/v2/okta-integration/GetOktaAccount.rb +8 -0
  60. data/examples/v2/okta-integration/ListOktaAccounts.rb +5 -0
  61. data/examples/v2/okta-integration/UpdateOktaAccount.rb +20 -0
  62. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_3367706049.rb +46 -0
  63. data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +7 -0
  64. data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +7 -10
  65. data/examples/v2/teams/CreateTeamMembership.rb +6 -0
  66. data/examples/v2/usage-metering/GetActiveBillingDimensions.rb +8 -0
  67. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +8 -0
  68. data/examples/v2/usage-metering/GetProjectedCost.rb +8 -0
  69. data/lib/datadog_api_client/configuration.rb +4 -5
  70. data/lib/datadog_api_client/inflector.rb +113 -0
  71. data/lib/datadog_api_client/v1/api/downtimes_api.rb +28 -7
  72. data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
  73. data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -1
  74. data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -1
  75. data/lib/datadog_api_client/v1/models/azure_account.rb +13 -2
  76. data/lib/datadog_api_client/v1/models/gcp_account.rb +22 -2
  77. data/lib/datadog_api_client/v1/models/organization.rb +1 -1
  78. data/lib/datadog_api_client/v1/models/service_level_objective.rb +11 -1
  79. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +11 -1
  80. data/lib/datadog_api_client/v1/models/slo_data_source_query_definition.rb +62 -0
  81. data/lib/datadog_api_client/v1/models/slo_formula.rb +98 -0
  82. data/lib/datadog_api_client/v1/models/slo_response_data.rb +11 -1
  83. data/lib/datadog_api_client/v1/models/slo_sli_spec.rb +62 -0
  84. data/lib/datadog_api_client/v1/models/slo_time_slice_comparator.rb +29 -0
  85. data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +141 -0
  86. data/lib/datadog_api_client/v1/models/slo_time_slice_query.rb +131 -0
  87. data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +99 -0
  88. data/lib/datadog_api_client/v1/models/slo_type.rb +1 -0
  89. data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +1 -0
  90. data/lib/datadog_api_client/v1/models/synthetics_patch_test_body.rb +82 -0
  91. data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation.rb +100 -0
  92. data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation_name.rb +31 -0
  93. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  94. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
  95. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
  96. data/lib/datadog_api_client/v1/models/widget_live_span.rb +2 -0
  97. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +0 -6
  98. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +680 -0
  99. data/lib/datadog_api_client/v2/api/container_images_api.rb +0 -6
  100. data/lib/datadog_api_client/v2/api/containers_api.rb +0 -6
  101. data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +181 -0
  102. data/lib/datadog_api_client/v2/api/downtimes_api.rb +25 -0
  103. data/lib/datadog_api_client/v2/api/events_api.rb +0 -12
  104. data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -2
  105. data/lib/datadog_api_client/v2/api/okta_integration_api.rb +355 -0
  106. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +241 -0
  107. data/lib/datadog_api_client/v2/models/active_billing_dimensions_attributes.rb +92 -0
  108. data/lib/datadog_api_client/v2/models/active_billing_dimensions_body.rb +100 -0
  109. data/lib/datadog_api_client/v2/models/active_billing_dimensions_response.rb +80 -0
  110. data/lib/datadog_api_client/v2/models/active_billing_dimensions_type.rb +26 -0
  111. data/lib/datadog_api_client/v2/models/api_keys_response.rb +14 -4
  112. data/lib/datadog_api_client/v2/models/api_keys_response_meta.rb +90 -0
  113. data/lib/datadog_api_client/v2/models/api_keys_response_meta_page.rb +80 -0
  114. data/lib/datadog_api_client/v2/models/application_key_response_meta.rb +90 -0
  115. data/lib/datadog_api_client/v2/models/application_key_response_meta_page.rb +80 -0
  116. data/lib/datadog_api_client/v2/models/aws_cur_config.rb +129 -0
  117. data/lib/datadog_api_client/v2/models/aws_cur_config_attributes.rb +305 -0
  118. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_data.rb +119 -0
  119. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request.rb +98 -0
  120. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_attributes.rb +98 -0
  121. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_type.rb +26 -0
  122. data/lib/datadog_api_client/v2/models/aws_cur_config_post_data.rb +119 -0
  123. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request.rb +98 -0
  124. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_attributes.rb +202 -0
  125. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_type.rb +26 -0
  126. data/lib/datadog_api_client/v2/models/aws_cur_config_response.rb +80 -0
  127. data/lib/datadog_api_client/v2/models/aws_cur_config_type.rb +26 -0
  128. data/lib/datadog_api_client/v2/models/aws_cur_configs_response.rb +82 -0
  129. data/lib/datadog_api_client/v2/models/aws_related_account.rb +129 -0
  130. data/lib/datadog_api_client/v2/models/aws_related_account_attributes.rb +90 -0
  131. data/lib/datadog_api_client/v2/models/aws_related_account_type.rb +26 -0
  132. data/lib/datadog_api_client/v2/models/aws_related_accounts_response.rb +82 -0
  133. data/lib/datadog_api_client/v2/models/azure_uc_config.rb +378 -0
  134. data/lib/datadog_api_client/v2/models/azure_uc_config_pair.rb +129 -0
  135. data/lib/datadog_api_client/v2/models/azure_uc_config_pair_attributes.rb +110 -0
  136. data/lib/datadog_api_client/v2/models/azure_uc_config_pair_type.rb +26 -0
  137. data/lib/datadog_api_client/v2/models/azure_uc_config_pairs_response.rb +80 -0
  138. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_data.rb +119 -0
  139. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request.rb +98 -0
  140. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_attributes.rb +98 -0
  141. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_type.rb +26 -0
  142. data/lib/datadog_api_client/v2/models/azure_uc_config_post_data.rb +119 -0
  143. data/lib/datadog_api_client/v2/models/azure_uc_config_post_request.rb +98 -0
  144. data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_attributes.rb +192 -0
  145. data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_type.rb +26 -0
  146. data/lib/datadog_api_client/v2/models/azure_uc_configs_response.rb +82 -0
  147. data/lib/datadog_api_client/v2/models/bill_config.rb +161 -0
  148. data/lib/datadog_api_client/v2/models/ci_app_git_info.rb +2 -2
  149. data/lib/datadog_api_client/v2/models/cloud_cost_activity.rb +119 -0
  150. data/lib/datadog_api_client/v2/models/cloud_cost_activity_attributes.rb +98 -0
  151. data/lib/datadog_api_client/v2/models/cloud_cost_activity_response.rb +80 -0
  152. data/lib/datadog_api_client/v2/models/cloud_cost_activity_type.rb +26 -0
  153. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +13 -1
  154. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +28 -4
  155. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +28 -4
  156. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +28 -4
  157. data/lib/datadog_api_client/v2/models/cost_attribution_aggregates_body.rb +100 -0
  158. data/lib/datadog_api_client/v2/models/cost_attribution_type.rb +26 -0
  159. data/lib/datadog_api_client/v2/models/dora_deployment_request.rb +98 -0
  160. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +170 -0
  161. data/lib/datadog_api_client/v2/models/dora_deployment_request_data.rb +98 -0
  162. data/lib/datadog_api_client/v2/models/dora_deployment_response.rb +98 -0
  163. data/lib/datadog_api_client/v2/models/dora_deployment_response_data.rb +108 -0
  164. data/lib/datadog_api_client/v2/models/dora_deployment_type.rb +26 -0
  165. data/lib/datadog_api_client/v2/models/dora_git_info.rb +125 -0
  166. data/lib/datadog_api_client/v2/models/dora_incident_request.rb +98 -0
  167. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +179 -0
  168. data/lib/datadog_api_client/v2/models/dora_incident_request_data.rb +98 -0
  169. data/lib/datadog_api_client/v2/models/dora_incident_response.rb +98 -0
  170. data/lib/datadog_api_client/v2/models/dora_incident_response_data.rb +108 -0
  171. data/lib/datadog_api_client/v2/models/dora_incident_type.rb +26 -0
  172. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +24 -4
  173. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +25 -5
  174. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +14 -4
  175. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +9 -19
  176. data/lib/datadog_api_client/v2/models/incident_impacts_type.rb +26 -0
  177. data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +21 -1
  178. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +11 -1
  179. data/lib/datadog_api_client/v2/models/incident_integration_relationships.rb +90 -0
  180. data/lib/datadog_api_client/v2/models/incident_non_datadog_creator.rb +90 -0
  181. data/lib/datadog_api_client/v2/models/incident_responders_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +69 -4
  183. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +42 -4
  184. data/lib/datadog_api_client/v2/models/incident_severity.rb +31 -0
  185. data/lib/datadog_api_client/v2/models/incident_todo_attributes.rb +24 -4
  186. data/lib/datadog_api_client/v2/models/incident_todo_relationships.rb +90 -0
  187. data/lib/datadog_api_client/v2/models/incident_todo_response_data.rb +11 -1
  188. data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +8 -0
  189. data/lib/datadog_api_client/v2/models/incident_user_defined_field_type.rb +26 -0
  190. data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +14 -4
  191. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb +151 -0
  192. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_body.rb +100 -0
  193. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_meta.rb +92 -0
  194. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_pagination.rb +88 -0
  195. data/lib/datadog_api_client/v2/models/monthly_cost_attribution_response.rb +92 -0
  196. data/lib/datadog_api_client/v2/models/okta_account.rb +129 -0
  197. data/lib/datadog_api_client/v2/models/okta_account_attributes.rb +170 -0
  198. data/lib/datadog_api_client/v2/models/okta_account_request.rb +98 -0
  199. data/lib/datadog_api_client/v2/models/okta_account_response.rb +80 -0
  200. data/lib/datadog_api_client/v2/models/okta_account_response_data.rb +140 -0
  201. data/lib/datadog_api_client/v2/models/okta_account_type.rb +26 -0
  202. data/lib/datadog_api_client/v2/models/okta_account_update_request.rb +98 -0
  203. data/lib/datadog_api_client/v2/models/okta_account_update_request_attributes.rb +149 -0
  204. data/lib/datadog_api_client/v2/models/okta_account_update_request_data.rb +90 -0
  205. data/lib/datadog_api_client/v2/models/okta_accounts_response.rb +82 -0
  206. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +24 -4
  207. data/lib/datadog_api_client/v2/models/powerpack_relationships.rb +2 -2
  208. data/lib/datadog_api_client/v2/models/powerpacks_response_meta_pagination.rb +8 -0
  209. data/lib/datadog_api_client/v2/models/projected_cost.rb +100 -0
  210. data/lib/datadog_api_client/v2/models/projected_cost_attributes.rb +132 -0
  211. data/lib/datadog_api_client/v2/models/projected_cost_response.rb +82 -0
  212. data/lib/datadog_api_client/v2/models/projected_cost_type.rb +26 -0
  213. data/lib/datadog_api_client/v2/models/relationship_to_incident_impact_data.rb +119 -0
  214. data/lib/datadog_api_client/v2/models/relationship_to_incident_impacts.rb +100 -0
  215. data/lib/datadog_api_client/v2/models/relationship_to_incident_responder_data.rb +119 -0
  216. data/lib/datadog_api_client/v2/models/relationship_to_incident_responders.rb +100 -0
  217. data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_field_data.rb +119 -0
  218. data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_fields.rb +100 -0
  219. data/lib/datadog_api_client/v2/models/relationship_to_user_team_team.rb +98 -0
  220. data/lib/datadog_api_client/v2/models/relationship_to_user_team_team_data.rb +119 -0
  221. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +14 -4
  222. data/lib/datadog_api_client/v2/models/security_monitoring_rule_third_party_options.rb +114 -0
  223. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +1 -0
  224. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
  225. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
  226. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  227. data/lib/datadog_api_client/v2/models/security_monitoring_third_party_root_query.rb +92 -0
  228. data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case.rb +112 -0
  229. data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case_create.rb +130 -0
  230. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +134 -0
  231. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +46 -1
  232. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +45 -1
  233. data/lib/datadog_api_client/v2/models/sort_direction.rb +27 -0
  234. data/lib/datadog_api_client/v2/models/user_team_attributes.rb +24 -1
  235. data/lib/datadog_api_client/v2/models/user_team_relationships.rb +11 -1
  236. data/lib/datadog_api_client/v2/models/user_team_team_type.rb +26 -0
  237. data/lib/datadog_api_client/version.rb +1 -1
  238. data/lib/datadog_api_client.rb +16 -1
  239. metadata +144 -2
@@ -474,8 +474,10 @@ module DatadogAPIClient
474
474
  "v1.slo_correction_update_request" => "SLOCorrectionUpdateRequest",
475
475
  "v1.slo_correction_update_request_attributes" => "SLOCorrectionUpdateRequestAttributes",
476
476
  "v1.slo_creator" => "SLOCreator",
477
+ "v1.slo_data_source_query_definition" => "SLODataSourceQueryDefinition",
477
478
  "v1.slo_delete_response" => "SLODeleteResponse",
478
479
  "v1.slo_error_timeframe" => "SLOErrorTimeframe",
480
+ "v1.slo_formula" => "SLOFormula",
479
481
  "v1.slo_history_metrics" => "SLOHistoryMetrics",
480
482
  "v1.slo_history_metrics_series" => "SLOHistoryMetricsSeries",
481
483
  "v1.slo_history_metrics_series_metadata" => "SLOHistoryMetricsSeriesMetadata",
@@ -498,10 +500,15 @@ module DatadogAPIClient
498
500
  "v1.slo_raw_error_budget_remaining" => "SLORawErrorBudgetRemaining",
499
501
  "v1.slo_response" => "SLOResponse",
500
502
  "v1.slo_response_data" => "SLOResponseData",
503
+ "v1.slo_sli_spec" => "SLOSliSpec",
501
504
  "v1.slo_state" => "SLOState",
502
505
  "v1.slo_status" => "SLOStatus",
503
506
  "v1.slo_threshold" => "SLOThreshold",
504
507
  "v1.slo_timeframe" => "SLOTimeframe",
508
+ "v1.slo_time_slice_comparator" => "SLOTimeSliceComparator",
509
+ "v1.slo_time_slice_condition" => "SLOTimeSliceCondition",
510
+ "v1.slo_time_slice_query" => "SLOTimeSliceQuery",
511
+ "v1.slo_time_slice_spec" => "SLOTimeSliceSpec",
505
512
  "v1.slo_type" => "SLOType",
506
513
  "v1.slo_type_numeric" => "SLOTypeNumeric",
507
514
  "v1.slo_widget_definition" => "SLOWidgetDefinition",
@@ -610,6 +617,9 @@ module DatadogAPIClient
610
617
  "v1.synthetics_location" => "SyntheticsLocation",
611
618
  "v1.synthetics_locations" => "SyntheticsLocations",
612
619
  "v1.synthetics_parsing_options" => "SyntheticsParsingOptions",
620
+ "v1.synthetics_patch_test_body" => "SyntheticsPatchTestBody",
621
+ "v1.synthetics_patch_test_operation" => "SyntheticsPatchTestOperation",
622
+ "v1.synthetics_patch_test_operation_name" => "SyntheticsPatchTestOperationName",
613
623
  "v1.synthetics_playing_tab" => "SyntheticsPlayingTab",
614
624
  "v1.synthetics_private_location" => "SyntheticsPrivateLocation",
615
625
  "v1.synthetics_private_location_creation_response" => "SyntheticsPrivateLocationCreationResponse",
@@ -839,6 +849,10 @@ module DatadogAPIClient
839
849
  "v1.widget_vertical_align" => "WidgetVerticalAlign",
840
850
  "v1.widget_view_mode" => "WidgetViewMode",
841
851
  "v1.widget_viz_type" => "WidgetVizType",
852
+ "v2.active_billing_dimensions_attributes" => "ActiveBillingDimensionsAttributes",
853
+ "v2.active_billing_dimensions_body" => "ActiveBillingDimensionsBody",
854
+ "v2.active_billing_dimensions_response" => "ActiveBillingDimensionsResponse",
855
+ "v2.active_billing_dimensions_type" => "ActiveBillingDimensionsType",
842
856
  "v2.api_error_response" => "APIErrorResponse",
843
857
  "v2.api_key_create_attributes" => "APIKeyCreateAttributes",
844
858
  "v2.api_key_create_data" => "APIKeyCreateData",
@@ -847,6 +861,8 @@ module DatadogAPIClient
847
861
  "v2.api_key_response" => "APIKeyResponse",
848
862
  "v2.api_key_response_included_item" => "APIKeyResponseIncludedItem",
849
863
  "v2.api_keys_response" => "APIKeysResponse",
864
+ "v2.api_keys_response_meta" => "APIKeysResponseMeta",
865
+ "v2.api_keys_response_meta_page" => "APIKeysResponseMetaPage",
850
866
  "v2.api_keys_sort" => "APIKeysSort",
851
867
  "v2.api_keys_type" => "APIKeysType",
852
868
  "v2.api_key_update_attributes" => "APIKeyUpdateAttributes",
@@ -859,6 +875,8 @@ module DatadogAPIClient
859
875
  "v2.application_key_relationships" => "ApplicationKeyRelationships",
860
876
  "v2.application_key_response" => "ApplicationKeyResponse",
861
877
  "v2.application_key_response_included_item" => "ApplicationKeyResponseIncludedItem",
878
+ "v2.application_key_response_meta" => "ApplicationKeyResponseMeta",
879
+ "v2.application_key_response_meta_page" => "ApplicationKeyResponseMetaPage",
862
880
  "v2.application_keys_sort" => "ApplicationKeysSort",
863
881
  "v2.application_keys_type" => "ApplicationKeysType",
864
882
  "v2.application_key_update_attributes" => "ApplicationKeyUpdateAttributes",
@@ -894,6 +912,38 @@ module DatadogAPIClient
894
912
  "v2.authn_mapping_update_data" => "AuthNMappingUpdateData",
895
913
  "v2.authn_mapping_update_relationships" => "AuthNMappingUpdateRelationships",
896
914
  "v2.authn_mapping_update_request" => "AuthNMappingUpdateRequest",
915
+ "v2.aws_cur_config" => "AwsCURConfig",
916
+ "v2.aws_cur_config_attributes" => "AwsCURConfigAttributes",
917
+ "v2.aws_cur_config_patch_data" => "AwsCURConfigPatchData",
918
+ "v2.aws_cur_config_patch_request" => "AwsCURConfigPatchRequest",
919
+ "v2.aws_cur_config_patch_request_attributes" => "AwsCURConfigPatchRequestAttributes",
920
+ "v2.aws_cur_config_patch_request_type" => "AwsCURConfigPatchRequestType",
921
+ "v2.aws_cur_config_post_data" => "AwsCURConfigPostData",
922
+ "v2.aws_cur_config_post_request" => "AwsCURConfigPostRequest",
923
+ "v2.aws_cur_config_post_request_attributes" => "AwsCURConfigPostRequestAttributes",
924
+ "v2.aws_cur_config_post_request_type" => "AwsCURConfigPostRequestType",
925
+ "v2.aws_cur_config_response" => "AwsCURConfigResponse",
926
+ "v2.aws_cur_configs_response" => "AwsCURConfigsResponse",
927
+ "v2.aws_cur_config_type" => "AwsCURConfigType",
928
+ "v2.aws_related_account" => "AWSRelatedAccount",
929
+ "v2.aws_related_account_attributes" => "AWSRelatedAccountAttributes",
930
+ "v2.aws_related_accounts_response" => "AWSRelatedAccountsResponse",
931
+ "v2.aws_related_account_type" => "AWSRelatedAccountType",
932
+ "v2.azure_uc_config" => "AzureUCConfig",
933
+ "v2.azure_uc_config_pair" => "AzureUCConfigPair",
934
+ "v2.azure_uc_config_pair_attributes" => "AzureUCConfigPairAttributes",
935
+ "v2.azure_uc_config_pairs_response" => "AzureUCConfigPairsResponse",
936
+ "v2.azure_uc_config_pair_type" => "AzureUCConfigPairType",
937
+ "v2.azure_uc_config_patch_data" => "AzureUCConfigPatchData",
938
+ "v2.azure_uc_config_patch_request" => "AzureUCConfigPatchRequest",
939
+ "v2.azure_uc_config_patch_request_attributes" => "AzureUCConfigPatchRequestAttributes",
940
+ "v2.azure_uc_config_patch_request_type" => "AzureUCConfigPatchRequestType",
941
+ "v2.azure_uc_config_post_data" => "AzureUCConfigPostData",
942
+ "v2.azure_uc_config_post_request" => "AzureUCConfigPostRequest",
943
+ "v2.azure_uc_config_post_request_attributes" => "AzureUCConfigPostRequestAttributes",
944
+ "v2.azure_uc_config_post_request_type" => "AzureUCConfigPostRequestType",
945
+ "v2.azure_uc_configs_response" => "AzureUCConfigsResponse",
946
+ "v2.bill_config" => "BillConfig",
897
947
  "v2.bulk_mute_findings_request" => "BulkMuteFindingsRequest",
898
948
  "v2.bulk_mute_findings_request_attributes" => "BulkMuteFindingsRequestAttributes",
899
949
  "v2.bulk_mute_findings_request_data" => "BulkMuteFindingsRequestData",
@@ -977,6 +1027,10 @@ module DatadogAPIClient
977
1027
  "v2.cloud_configuration_rule_create_payload" => "CloudConfigurationRuleCreatePayload",
978
1028
  "v2.cloud_configuration_rule_options" => "CloudConfigurationRuleOptions",
979
1029
  "v2.cloud_configuration_rule_type" => "CloudConfigurationRuleType",
1030
+ "v2.cloud_cost_activity" => "CloudCostActivity",
1031
+ "v2.cloud_cost_activity_attributes" => "CloudCostActivityAttributes",
1032
+ "v2.cloud_cost_activity_response" => "CloudCostActivityResponse",
1033
+ "v2.cloud_cost_activity_type" => "CloudCostActivityType",
980
1034
  "v2.cloudflare_account_create_request" => "CloudflareAccountCreateRequest",
981
1035
  "v2.cloudflare_account_create_request_attributes" => "CloudflareAccountCreateRequestAttributes",
982
1036
  "v2.cloudflare_account_create_request_data" => "CloudflareAccountCreateRequestData",
@@ -1054,6 +1108,8 @@ module DatadogAPIClient
1054
1108
  "v2.containers_response_links" => "ContainersResponseLinks",
1055
1109
  "v2.container_type" => "ContainerType",
1056
1110
  "v2.content_encoding" => "ContentEncoding",
1111
+ "v2.cost_attribution_aggregates_body" => "CostAttributionAggregatesBody",
1112
+ "v2.cost_attribution_type" => "CostAttributionType",
1057
1113
  "v2.cost_by_org" => "CostByOrg",
1058
1114
  "v2.cost_by_org_attributes" => "CostByOrgAttributes",
1059
1115
  "v2.cost_by_org_response" => "CostByOrgResponse",
@@ -1078,6 +1134,19 @@ module DatadogAPIClient
1078
1134
  "v2.detailed_finding" => "DetailedFinding",
1079
1135
  "v2.detailed_finding_attributes" => "DetailedFindingAttributes",
1080
1136
  "v2.detailed_finding_type" => "DetailedFindingType",
1137
+ "v2.dora_deployment_request" => "DORADeploymentRequest",
1138
+ "v2.dora_deployment_request_attributes" => "DORADeploymentRequestAttributes",
1139
+ "v2.dora_deployment_request_data" => "DORADeploymentRequestData",
1140
+ "v2.dora_deployment_response" => "DORADeploymentResponse",
1141
+ "v2.dora_deployment_response_data" => "DORADeploymentResponseData",
1142
+ "v2.dora_deployment_type" => "DORADeploymentType",
1143
+ "v2.dora_git_info" => "DORAGitInfo",
1144
+ "v2.dora_incident_request" => "DORAIncidentRequest",
1145
+ "v2.dora_incident_request_attributes" => "DORAIncidentRequestAttributes",
1146
+ "v2.dora_incident_request_data" => "DORAIncidentRequestData",
1147
+ "v2.dora_incident_response" => "DORAIncidentResponse",
1148
+ "v2.dora_incident_response_data" => "DORAIncidentResponseData",
1149
+ "v2.dora_incident_type" => "DORAIncidentType",
1081
1150
  "v2.downtime_create_request" => "DowntimeCreateRequest",
1082
1151
  "v2.downtime_create_request_attributes" => "DowntimeCreateRequestAttributes",
1083
1152
  "v2.downtime_create_request_data" => "DowntimeCreateRequestData",
@@ -1230,6 +1299,7 @@ module DatadogAPIClient
1230
1299
  "v2.incident_field_attributes_single_value" => "IncidentFieldAttributesSingleValue",
1231
1300
  "v2.incident_field_attributes_single_value_type" => "IncidentFieldAttributesSingleValueType",
1232
1301
  "v2.incident_field_attributes_value_type" => "IncidentFieldAttributesValueType",
1302
+ "v2.incident_impacts_type" => "IncidentImpactsType",
1233
1303
  "v2.incident_integration_metadata_attributes" => "IncidentIntegrationMetadataAttributes",
1234
1304
  "v2.incident_integration_metadata_create_data" => "IncidentIntegrationMetadataCreateData",
1235
1305
  "v2.incident_integration_metadata_create_request" => "IncidentIntegrationMetadataCreateRequest",
@@ -1241,9 +1311,12 @@ module DatadogAPIClient
1241
1311
  "v2.incident_integration_metadata_response_data" => "IncidentIntegrationMetadataResponseData",
1242
1312
  "v2.incident_integration_metadata_response_included_item" => "IncidentIntegrationMetadataResponseIncludedItem",
1243
1313
  "v2.incident_integration_metadata_type" => "IncidentIntegrationMetadataType",
1314
+ "v2.incident_integration_relationships" => "IncidentIntegrationRelationships",
1315
+ "v2.incident_non_datadog_creator" => "IncidentNonDatadogCreator",
1244
1316
  "v2.incident_notification_handle" => "IncidentNotificationHandle",
1245
1317
  "v2.incident_postmortem_type" => "IncidentPostmortemType",
1246
1318
  "v2.incident_related_object" => "IncidentRelatedObject",
1319
+ "v2.incident_responders_type" => "IncidentRespondersType",
1247
1320
  "v2.incident_response" => "IncidentResponse",
1248
1321
  "v2.incident_response_attributes" => "IncidentResponseAttributes",
1249
1322
  "v2.incident_response_data" => "IncidentResponseData",
@@ -1277,6 +1350,7 @@ module DatadogAPIClient
1277
1350
  "v2.incident_service_update_attributes" => "IncidentServiceUpdateAttributes",
1278
1351
  "v2.incident_service_update_data" => "IncidentServiceUpdateData",
1279
1352
  "v2.incident_service_update_request" => "IncidentServiceUpdateRequest",
1353
+ "v2.incident_severity" => "IncidentSeverity",
1280
1354
  "v2.incidents_response" => "IncidentsResponse",
1281
1355
  "v2.incident_team_create_attributes" => "IncidentTeamCreateAttributes",
1282
1356
  "v2.incident_team_create_data" => "IncidentTeamCreateData",
@@ -1304,6 +1378,7 @@ module DatadogAPIClient
1304
1378
  "v2.incident_todo_list_response" => "IncidentTodoListResponse",
1305
1379
  "v2.incident_todo_patch_data" => "IncidentTodoPatchData",
1306
1380
  "v2.incident_todo_patch_request" => "IncidentTodoPatchRequest",
1381
+ "v2.incident_todo_relationships" => "IncidentTodoRelationships",
1307
1382
  "v2.incident_todo_response" => "IncidentTodoResponse",
1308
1383
  "v2.incident_todo_response_data" => "IncidentTodoResponseData",
1309
1384
  "v2.incident_todo_response_included_item" => "IncidentTodoResponseIncludedItem",
@@ -1313,6 +1388,7 @@ module DatadogAPIClient
1313
1388
  "v2.incident_update_data" => "IncidentUpdateData",
1314
1389
  "v2.incident_update_relationships" => "IncidentUpdateRelationships",
1315
1390
  "v2.incident_update_request" => "IncidentUpdateRequest",
1391
+ "v2.incident_user_defined_field_type" => "IncidentUserDefinedFieldType",
1316
1392
  "v2.intake_payload_accepted" => "IntakePayloadAccepted",
1317
1393
  "v2.ip_allowlist_attributes" => "IPAllowlistAttributes",
1318
1394
  "v2.ip_allowlist_data" => "IPAllowlistData",
@@ -1494,8 +1570,23 @@ module DatadogAPIClient
1494
1570
  "v2.monitor_downtime_match_response_attributes" => "MonitorDowntimeMatchResponseAttributes",
1495
1571
  "v2.monitor_downtime_match_response_data" => "MonitorDowntimeMatchResponseData",
1496
1572
  "v2.monitor_type" => "MonitorType",
1573
+ "v2.monthly_cost_attribution_attributes" => "MonthlyCostAttributionAttributes",
1574
+ "v2.monthly_cost_attribution_body" => "MonthlyCostAttributionBody",
1575
+ "v2.monthly_cost_attribution_meta" => "MonthlyCostAttributionMeta",
1576
+ "v2.monthly_cost_attribution_pagination" => "MonthlyCostAttributionPagination",
1577
+ "v2.monthly_cost_attribution_response" => "MonthlyCostAttributionResponse",
1497
1578
  "v2.nullable_relationship_to_user" => "NullableRelationshipToUser",
1498
1579
  "v2.nullable_relationship_to_user_data" => "NullableRelationshipToUserData",
1580
+ "v2.okta_account" => "OktaAccount",
1581
+ "v2.okta_account_attributes" => "OktaAccountAttributes",
1582
+ "v2.okta_account_request" => "OktaAccountRequest",
1583
+ "v2.okta_account_response" => "OktaAccountResponse",
1584
+ "v2.okta_account_response_data" => "OktaAccountResponseData",
1585
+ "v2.okta_accounts_response" => "OktaAccountsResponse",
1586
+ "v2.okta_account_type" => "OktaAccountType",
1587
+ "v2.okta_account_update_request" => "OktaAccountUpdateRequest",
1588
+ "v2.okta_account_update_request_attributes" => "OktaAccountUpdateRequestAttributes",
1589
+ "v2.okta_account_update_request_data" => "OktaAccountUpdateRequestData",
1499
1590
  "v2.on_demand_concurrency_cap" => "OnDemandConcurrencyCap",
1500
1591
  "v2.on_demand_concurrency_cap_attributes" => "OnDemandConcurrencyCapAttributes",
1501
1592
  "v2.on_demand_concurrency_cap_response" => "OnDemandConcurrencyCapResponse",
@@ -1559,14 +1650,24 @@ module DatadogAPIClient
1559
1650
  "v2.process_summary" => "ProcessSummary",
1560
1651
  "v2.process_summary_attributes" => "ProcessSummaryAttributes",
1561
1652
  "v2.process_summary_type" => "ProcessSummaryType",
1653
+ "v2.projected_cost" => "ProjectedCost",
1654
+ "v2.projected_cost_attributes" => "ProjectedCostAttributes",
1655
+ "v2.projected_cost_response" => "ProjectedCostResponse",
1656
+ "v2.projected_cost_type" => "ProjectedCostType",
1562
1657
  "v2.query_formula" => "QueryFormula",
1563
1658
  "v2.query_sort_order" => "QuerySortOrder",
1564
1659
  "v2.relationship_to_incident_attachment" => "RelationshipToIncidentAttachment",
1565
1660
  "v2.relationship_to_incident_attachment_data" => "RelationshipToIncidentAttachmentData",
1661
+ "v2.relationship_to_incident_impact_data" => "RelationshipToIncidentImpactData",
1662
+ "v2.relationship_to_incident_impacts" => "RelationshipToIncidentImpacts",
1566
1663
  "v2.relationship_to_incident_integration_metadata_data" => "RelationshipToIncidentIntegrationMetadataData",
1567
1664
  "v2.relationship_to_incident_integration_metadatas" => "RelationshipToIncidentIntegrationMetadatas",
1568
1665
  "v2.relationship_to_incident_postmortem" => "RelationshipToIncidentPostmortem",
1569
1666
  "v2.relationship_to_incident_postmortem_data" => "RelationshipToIncidentPostmortemData",
1667
+ "v2.relationship_to_incident_responder_data" => "RelationshipToIncidentResponderData",
1668
+ "v2.relationship_to_incident_responders" => "RelationshipToIncidentResponders",
1669
+ "v2.relationship_to_incident_user_defined_field_data" => "RelationshipToIncidentUserDefinedFieldData",
1670
+ "v2.relationship_to_incident_user_defined_fields" => "RelationshipToIncidentUserDefinedFields",
1570
1671
  "v2.relationship_to_organization" => "RelationshipToOrganization",
1571
1672
  "v2.relationship_to_organization_data" => "RelationshipToOrganizationData",
1572
1673
  "v2.relationship_to_organizations" => "RelationshipToOrganizations",
@@ -1590,6 +1691,8 @@ module DatadogAPIClient
1590
1691
  "v2.relationship_to_users" => "RelationshipToUsers",
1591
1692
  "v2.relationship_to_user_team_permission" => "RelationshipToUserTeamPermission",
1592
1693
  "v2.relationship_to_user_team_permission_data" => "RelationshipToUserTeamPermissionData",
1694
+ "v2.relationship_to_user_team_team" => "RelationshipToUserTeamTeam",
1695
+ "v2.relationship_to_user_team_team_data" => "RelationshipToUserTeamTeamData",
1593
1696
  "v2.relationship_to_user_team_user" => "RelationshipToUserTeamUser",
1594
1697
  "v2.relationship_to_user_team_user_data" => "RelationshipToUserTeamUserData",
1595
1698
  "v2.reorder_retention_filters_request" => "ReorderRetentionFiltersRequest",
@@ -1738,6 +1841,7 @@ module DatadogAPIClient
1738
1841
  "v2.security_monitoring_rule_query_aggregation" => "SecurityMonitoringRuleQueryAggregation",
1739
1842
  "v2.security_monitoring_rule_response" => "SecurityMonitoringRuleResponse",
1740
1843
  "v2.security_monitoring_rule_severity" => "SecurityMonitoringRuleSeverity",
1844
+ "v2.security_monitoring_rule_third_party_options" => "SecurityMonitoringRuleThirdPartyOptions",
1741
1845
  "v2.security_monitoring_rule_type_create" => "SecurityMonitoringRuleTypeCreate",
1742
1846
  "v2.security_monitoring_rule_type_read" => "SecurityMonitoringRuleTypeRead",
1743
1847
  "v2.security_monitoring_rule_update_payload" => "SecurityMonitoringRuleUpdatePayload",
@@ -1776,6 +1880,9 @@ module DatadogAPIClient
1776
1880
  "v2.security_monitoring_standard_rule_create_payload" => "SecurityMonitoringStandardRuleCreatePayload",
1777
1881
  "v2.security_monitoring_standard_rule_query" => "SecurityMonitoringStandardRuleQuery",
1778
1882
  "v2.security_monitoring_standard_rule_response" => "SecurityMonitoringStandardRuleResponse",
1883
+ "v2.security_monitoring_third_party_root_query" => "SecurityMonitoringThirdPartyRootQuery",
1884
+ "v2.security_monitoring_third_party_rule_case" => "SecurityMonitoringThirdPartyRuleCase",
1885
+ "v2.security_monitoring_third_party_rule_case_create" => "SecurityMonitoringThirdPartyRuleCaseCreate",
1779
1886
  "v2.security_monitoring_triage_user" => "SecurityMonitoringTriageUser",
1780
1887
  "v2.sensitive_data_scanner_config_request" => "SensitiveDataScannerConfigRequest",
1781
1888
  "v2.sensitive_data_scanner_configuration" => "SensitiveDataScannerConfiguration",
@@ -1804,6 +1911,7 @@ module DatadogAPIClient
1804
1911
  "v2.sensitive_data_scanner_group_update" => "SensitiveDataScannerGroupUpdate",
1805
1912
  "v2.sensitive_data_scanner_group_update_request" => "SensitiveDataScannerGroupUpdateRequest",
1806
1913
  "v2.sensitive_data_scanner_group_update_response" => "SensitiveDataScannerGroupUpdateResponse",
1914
+ "v2.sensitive_data_scanner_included_keyword_configuration" => "SensitiveDataScannerIncludedKeywordConfiguration",
1807
1915
  "v2.sensitive_data_scanner_meta" => "SensitiveDataScannerMeta",
1808
1916
  "v2.sensitive_data_scanner_meta_version_only" => "SensitiveDataScannerMetaVersionOnly",
1809
1917
  "v2.sensitive_data_scanner_product" => "SensitiveDataScannerProduct",
@@ -1894,6 +2002,7 @@ module DatadogAPIClient
1894
2002
  "v2.service_definition_v2_version" => "ServiceDefinitionV2Version",
1895
2003
  "v2.slack_integration_metadata" => "SlackIntegrationMetadata",
1896
2004
  "v2.slack_integration_metadata_channel_item" => "SlackIntegrationMetadataChannelItem",
2005
+ "v2.sort_direction" => "SortDirection",
1897
2006
  "v2.span" => "Span",
1898
2007
  "v2.spans_aggregate_bucket" => "SpansAggregateBucket",
1899
2008
  "v2.spans_aggregate_bucket_attributes" => "SpansAggregateBucketAttributes",
@@ -2039,6 +2148,7 @@ module DatadogAPIClient
2039
2148
  "v2.user_team_response" => "UserTeamResponse",
2040
2149
  "v2.user_team_role" => "UserTeamRole",
2041
2150
  "v2.user_teams_response" => "UserTeamsResponse",
2151
+ "v2.user_team_team_type" => "UserTeamTeamType",
2042
2152
  "v2.user_team_type" => "UserTeamType",
2043
2153
  "v2.user_team_update" => "UserTeamUpdate",
2044
2154
  "v2.user_team_update_request" => "UserTeamUpdateRequest",
@@ -2084,12 +2194,14 @@ module DatadogAPIClient
2084
2194
  "v2.authn_mappings_api" => "AuthNMappingsAPI",
2085
2195
  "v2.ci_visibility_pipelines_api" => "CIVisibilityPipelinesAPI",
2086
2196
  "v2.ci_visibility_tests_api" => "CIVisibilityTestsAPI",
2197
+ "v2.cloud_cost_management_api" => "CloudCostManagementAPI",
2087
2198
  "v2.cloud_workload_security_api" => "CloudWorkloadSecurityAPI",
2088
2199
  "v2.cloudflare_integration_api" => "CloudflareIntegrationAPI",
2089
2200
  "v2.confluent_cloud_api" => "ConfluentCloudAPI",
2090
2201
  "v2.container_images_api" => "ContainerImagesAPI",
2091
2202
  "v2.containers_api" => "ContainersAPI",
2092
2203
  "v2.dashboard_lists_api" => "DashboardListsAPI",
2204
+ "v2.dora_metrics_api" => "DORAMetricsAPI",
2093
2205
  "v2.downtimes_api" => "DowntimesAPI",
2094
2206
  "v2.events_api" => "EventsAPI",
2095
2207
  "v2.fastly_integration_api" => "FastlyIntegrationAPI",
@@ -2104,6 +2216,7 @@ module DatadogAPIClient
2104
2216
  "v2.logs_metrics_api" => "LogsMetricsAPI",
2105
2217
  "v2.metrics_api" => "MetricsAPI",
2106
2218
  "v2.monitors_api" => "MonitorsAPI",
2219
+ "v2.okta_integration_api" => "OktaIntegrationAPI",
2107
2220
  "v2.opsgenie_integration_api" => "OpsgenieIntegrationAPI",
2108
2221
  "v2.organizations_api" => "OrganizationsAPI",
2109
2222
  "v2.powerpack_api" => "PowerpackAPI",
@@ -33,12 +33,15 @@ module DatadogAPIClient::V1
33
33
 
34
34
  # Cancel a downtime.
35
35
  #
36
- # Cancel a downtime.
36
+ # Cancel a downtime. **Note:** This endpoint has been deprecated. Please use v2 endpoints.
37
+ #
38
+ # @deprecated This API is deprecated.
37
39
  #
38
40
  # @param downtime_id [Integer] ID of the downtime to cancel.
39
41
  # @param opts [Hash] the optional parameters
40
42
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
43
  def cancel_downtime_with_http_info(downtime_id, opts = {})
44
+ warn "[DEPRECATION] `CancelDowntime` is deprecated."
42
45
 
43
46
  if @api_client.config.debugging
44
47
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.cancel_downtime ...'
@@ -98,12 +101,15 @@ module DatadogAPIClient::V1
98
101
 
99
102
  # Cancel downtimes by scope.
100
103
  #
101
- # Delete all downtimes that match the scope of `X`.
104
+ # Delete all downtimes that match the scope of `X`. **Note:** This only interacts with Downtimes created using v1 endpoints. This endpoint has been deprecated and will not be replaced. Please use v2 endpoints to find and cancel downtimes.
105
+ #
106
+ # @deprecated This API is deprecated.
102
107
  #
103
108
  # @param body [CancelDowntimesByScopeRequest] Scope to cancel downtimes for.
104
109
  # @param opts [Hash] the optional parameters
105
110
  # @return [Array<(CanceledDowntimesIds, Integer, Hash)>] CanceledDowntimesIds data, response status code and response headers
106
111
  def cancel_downtimes_by_scope_with_http_info(body, opts = {})
112
+ warn "[DEPRECATION] `CancelDowntimesByScope` is deprecated."
107
113
 
108
114
  if @api_client.config.debugging
109
115
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.cancel_downtimes_by_scope ...'
@@ -165,12 +171,15 @@ module DatadogAPIClient::V1
165
171
 
166
172
  # Schedule a downtime.
167
173
  #
168
- # Schedule a downtime.
174
+ # Schedule a downtime. **Note:** This endpoint has been deprecated. Please use v2 endpoints.
175
+ #
176
+ # @deprecated This API is deprecated.
169
177
  #
170
178
  # @param body [Downtime] Schedule a downtime request body.
171
179
  # @param opts [Hash] the optional parameters
172
180
  # @return [Array<(Downtime, Integer, Hash)>] Downtime data, response status code and response headers
173
181
  def create_downtime_with_http_info(body, opts = {})
182
+ warn "[DEPRECATION] `CreateDowntime` is deprecated."
174
183
 
175
184
  if @api_client.config.debugging
176
185
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.create_downtime ...'
@@ -232,12 +241,15 @@ module DatadogAPIClient::V1
232
241
 
233
242
  # Get a downtime.
234
243
  #
235
- # Get downtime detail by `downtime_id`.
244
+ # Get downtime detail by `downtime_id`. **Note:** This endpoint has been deprecated. Please use v2 endpoints.
245
+ #
246
+ # @deprecated This API is deprecated.
236
247
  #
237
248
  # @param downtime_id [Integer] ID of the downtime to fetch.
238
249
  # @param opts [Hash] the optional parameters
239
250
  # @return [Array<(Downtime, Integer, Hash)>] Downtime data, response status code and response headers
240
251
  def get_downtime_with_http_info(downtime_id, opts = {})
252
+ warn "[DEPRECATION] `GetDowntime` is deprecated."
241
253
 
242
254
  if @api_client.config.debugging
243
255
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.get_downtime ...'
@@ -297,13 +309,16 @@ module DatadogAPIClient::V1
297
309
 
298
310
  # Get all downtimes.
299
311
  #
300
- # Get all scheduled downtimes.
312
+ # Get all scheduled downtimes. **Note:** This endpoint has been deprecated. Please use v2 endpoints.
313
+ #
314
+ # @deprecated This API is deprecated.
301
315
  #
302
316
  # @param opts [Hash] the optional parameters
303
317
  # @option opts [Boolean] :current_only Only return downtimes that are active when the request is made.
304
318
  # @option opts [Boolean] :with_creator Return creator information.
305
319
  # @return [Array<(Array<Downtime>, Integer, Hash)>] Array<Downtime> data, response status code and response headers
306
320
  def list_downtimes_with_http_info(opts = {})
321
+ warn "[DEPRECATION] `ListDowntimes` is deprecated."
307
322
 
308
323
  if @api_client.config.debugging
309
324
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.list_downtimes ...'
@@ -361,12 +376,15 @@ module DatadogAPIClient::V1
361
376
 
362
377
  # Get active downtimes for a monitor.
363
378
  #
364
- # Get all active downtimes for the specified monitor.
379
+ # Get all active v1 downtimes for the specified monitor. **Note:** This endpoint has been deprecated. Please use v2 endpoints.
380
+ #
381
+ # @deprecated This API is deprecated.
365
382
  #
366
383
  # @param monitor_id [Integer] The id of the monitor
367
384
  # @param opts [Hash] the optional parameters
368
385
  # @return [Array<(Array<Downtime>, Integer, Hash)>] Array<Downtime> data, response status code and response headers
369
386
  def list_monitor_downtimes_with_http_info(monitor_id, opts = {})
387
+ warn "[DEPRECATION] `ListMonitorDowntimes` is deprecated."
370
388
 
371
389
  if @api_client.config.debugging
372
390
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.list_monitor_downtimes ...'
@@ -426,13 +444,16 @@ module DatadogAPIClient::V1
426
444
 
427
445
  # Update a downtime.
428
446
  #
429
- # Update a single downtime by `downtime_id`.
447
+ # Update a single downtime by `downtime_id`. **Note:** This endpoint has been deprecated. Please use v2 endpoints.
448
+ #
449
+ # @deprecated This API is deprecated.
430
450
  #
431
451
  # @param downtime_id [Integer] ID of the downtime to update.
432
452
  # @param body [Downtime] Update a downtime request body.
433
453
  # @param opts [Hash] the optional parameters
434
454
  # @return [Array<(Downtime, Integer, Hash)>] Downtime data, response status code and response headers
435
455
  def update_downtime_with_http_info(downtime_id, body, opts = {})
456
+ warn "[DEPRECATION] `UpdateDowntime` is deprecated."
436
457
 
437
458
  if @api_client.config.debugging
438
459
  @api_client.config.logger.debug 'Calling API: DowntimesAPI.update_downtime ...'
@@ -175,7 +175,7 @@ module DatadogAPIClient::V1
175
175
 
176
176
  # Mute a host.
177
177
  #
178
- # Mute a host.
178
+ # Mute a host. **Note:** This creates a [Downtime V2](https://docs.datadoghq.com/api/latest/downtimes/#schedule-a-downtime) for the host.
179
179
  #
180
180
  # @param host_name [String] Name of the host to mute.
181
181
  # @param body [HostMuteSettings] Mute a host request body.
@@ -121,7 +121,7 @@ module DatadogAPIClient::V1
121
121
  # - process: `service check`
122
122
  # - rum: `rum alert`
123
123
  # - SLO: `slo alert`
124
- # - watchdog: `event alert`
124
+ # - watchdog: `event-v2 alert`
125
125
  # - event-v2: `event-v2 alert`
126
126
  # - audit: `audit alert`
127
127
  # - error-tracking: `error-tracking alert`
@@ -1501,6 +1501,78 @@ module DatadogAPIClient::V1
1501
1501
  end
1502
1502
  end
1503
1503
 
1504
+ # Patch a Synthetic test.
1505
+ #
1506
+ # @see #patch_test_with_http_info
1507
+ def patch_test(public_id, body, opts = {})
1508
+ data, _status_code, _headers = patch_test_with_http_info(public_id, body, opts)
1509
+ data
1510
+ end
1511
+
1512
+ # Patch a Synthetic test.
1513
+ #
1514
+ # Patch the configuration of a Synthetic test with partial data.
1515
+ #
1516
+ # @param public_id [String] The public ID of the test to patch.
1517
+ # @param body [SyntheticsPatchTestBody] [JSON Patch](https://jsonpatch.com/) compliant list of operations
1518
+ # @param opts [Hash] the optional parameters
1519
+ # @return [Array<(SyntheticsTestDetails, Integer, Hash)>] SyntheticsTestDetails data, response status code and response headers
1520
+ def patch_test_with_http_info(public_id, body, opts = {})
1521
+
1522
+ if @api_client.config.debugging
1523
+ @api_client.config.logger.debug 'Calling API: SyntheticsAPI.patch_test ...'
1524
+ end
1525
+ # verify the required parameter 'public_id' is set
1526
+ if @api_client.config.client_side_validation && public_id.nil?
1527
+ fail ArgumentError, "Missing the required parameter 'public_id' when calling SyntheticsAPI.patch_test"
1528
+ end
1529
+ # verify the required parameter 'body' is set
1530
+ if @api_client.config.client_side_validation && body.nil?
1531
+ fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.patch_test"
1532
+ end
1533
+ # resource path
1534
+ local_var_path = '/api/v1/synthetics/tests/{public_id}'.sub('{public_id}', CGI.escape(public_id.to_s).gsub('%2F', '/'))
1535
+
1536
+ # query parameters
1537
+ query_params = opts[:query_params] || {}
1538
+
1539
+ # header parameters
1540
+ header_params = opts[:header_params] || {}
1541
+ # HTTP header 'Accept' (if needed)
1542
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1543
+ # HTTP header 'Content-Type'
1544
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1545
+
1546
+ # form parameters
1547
+ form_params = opts[:form_params] || {}
1548
+
1549
+ # http body (model)
1550
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1551
+
1552
+ # return_type
1553
+ return_type = opts[:debug_return_type] || 'SyntheticsTestDetails'
1554
+
1555
+ # auth_names
1556
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1557
+
1558
+ new_options = opts.merge(
1559
+ :operation => :patch_test,
1560
+ :header_params => header_params,
1561
+ :query_params => query_params,
1562
+ :form_params => form_params,
1563
+ :body => post_body,
1564
+ :auth_names => auth_names,
1565
+ :return_type => return_type,
1566
+ :api_version => "V1"
1567
+ )
1568
+
1569
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
1570
+ if @api_client.config.debugging
1571
+ @api_client.config.logger.debug "API called: SyntheticsAPI#patch_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1572
+ end
1573
+ return data, status_code, headers
1574
+ end
1575
+
1504
1576
  # Trigger tests from CI/CD pipelines.
1505
1577
  #
1506
1578
  # @see #trigger_ci_tests_with_http_info
@@ -1719,7 +1791,7 @@ module DatadogAPIClient::V1
1719
1791
  #
1720
1792
  # Edit the configuration of a Synthetic browser test.
1721
1793
  #
1722
- # @param public_id [String] The public ID of the test to get details from.
1794
+ # @param public_id [String] The public ID of the test to edit.
1723
1795
  # @param body [SyntheticsBrowserTest] New test details to be saved.
1724
1796
  # @param opts [Hash] the optional parameters
1725
1797
  # @return [Array<(SyntheticsBrowserTest, Integer, Hash)>] SyntheticsBrowserTest data, response status code and response headers
@@ -38,7 +38,8 @@ module DatadogAPIClient::V1
38
38
  # Only container apps that match one of the defined tags are imported into Datadog.
39
39
  attr_accessor :container_app_filters
40
40
 
41
- # Enable Cloud Security Management Misconfigurations for your organization.
41
+ # When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration.
42
+ # Note: This requires resource_collection_enabled to be set to true.
42
43
  attr_accessor :cspm_enabled
43
44
 
44
45
  # Enable custom metrics for your organization.
@@ -57,6 +58,9 @@ module DatadogAPIClient::V1
57
58
  # Your New Azure Active Directory ID.
58
59
  attr_accessor :new_tenant_name
59
60
 
61
+ # When enabled, Datadog collects metadata and configuration info from cloud resources (compute instances, databases, load balancers, etc.) monitored by this app registration.
62
+ attr_accessor :resource_collection_enabled
63
+
60
64
  # Your Azure Active Directory ID.
61
65
  attr_accessor :tenant_name
62
66
 
@@ -75,6 +79,7 @@ module DatadogAPIClient::V1
75
79
  :'host_filters' => :'host_filters',
76
80
  :'new_client_id' => :'new_client_id',
77
81
  :'new_tenant_name' => :'new_tenant_name',
82
+ :'resource_collection_enabled' => :'resource_collection_enabled',
78
83
  :'tenant_name' => :'tenant_name'
79
84
  }
80
85
  end
@@ -94,6 +99,7 @@ module DatadogAPIClient::V1
94
99
  :'host_filters' => :'String',
95
100
  :'new_client_id' => :'String',
96
101
  :'new_tenant_name' => :'String',
102
+ :'resource_collection_enabled' => :'Boolean',
97
103
  :'tenant_name' => :'String'
98
104
  }
99
105
  end
@@ -160,6 +166,10 @@ module DatadogAPIClient::V1
160
166
  self.new_tenant_name = attributes[:'new_tenant_name']
161
167
  end
162
168
 
169
+ if attributes.key?(:'resource_collection_enabled')
170
+ self.resource_collection_enabled = attributes[:'resource_collection_enabled']
171
+ end
172
+
163
173
  if attributes.key?(:'tenant_name')
164
174
  self.tenant_name = attributes[:'tenant_name']
165
175
  end
@@ -182,6 +192,7 @@ module DatadogAPIClient::V1
182
192
  host_filters == o.host_filters &&
183
193
  new_client_id == o.new_client_id &&
184
194
  new_tenant_name == o.new_tenant_name &&
195
+ resource_collection_enabled == o.resource_collection_enabled &&
185
196
  tenant_name == o.tenant_name
186
197
  end
187
198
 
@@ -189,7 +200,7 @@ module DatadogAPIClient::V1
189
200
  # @return [Integer] Hash code
190
201
  # @!visibility private
191
202
  def hash
192
- [app_service_plan_filters, automute, client_id, client_secret, container_app_filters, cspm_enabled, custom_metrics_enabled, errors, host_filters, new_client_id, new_tenant_name, tenant_name].hash
203
+ [app_service_plan_filters, automute, client_id, client_secret, container_app_filters, cspm_enabled, custom_metrics_enabled, errors, host_filters, new_client_id, new_tenant_name, resource_collection_enabled, tenant_name].hash
193
204
  end
194
205
  end
195
206
  end