datadog_api_client 2.24.0 → 2.25.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.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +2 -0
  4. data/.generator/schemas/v1/openapi.yaml +265 -8
  5. data/.generator/schemas/v2/openapi.yaml +1471 -32
  6. data/.generator/src/generator/openapi.py +4 -0
  7. data/CHANGELOG.md +41 -0
  8. data/examples/v1/azure-integration/CreateAzureIntegration.rb +1 -1
  9. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +7 -1
  10. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +7 -1
  11. data/examples/v1/dashboards/CreateDashboard_985012506.rb +61 -0
  12. data/examples/v1/synthetics/CreateSyntheticsAPITest_1717840259.rb +163 -0
  13. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +2 -0
  14. data/examples/v2/cloud-cost-management/DeleteCustomCostsFile.rb +5 -0
  15. data/examples/v2/cloud-cost-management/DeleteCustomCostsFile_372970393.rb +5 -0
  16. data/examples/v2/cloud-cost-management/GetCustomCostsFile.rb +5 -0
  17. data/examples/v2/cloud-cost-management/GetCustomCostsFile_1307381576.rb +5 -0
  18. data/examples/v2/cloud-cost-management/ListCustomCostsFiles.rb +5 -0
  19. data/examples/v2/cloud-cost-management/ListCustomCostsFiles_1968771127.rb +5 -0
  20. data/examples/v2/cloud-cost-management/UploadCustomCostsFile.rb +15 -0
  21. data/examples/v2/cloud-cost-management/UploadCustomCostsFile_4125168396.rb +19 -0
  22. data/examples/v2/network-device-monitoring/GetDevice.rb +5 -0
  23. data/examples/v2/network-device-monitoring/GetInterfaces.rb +5 -0
  24. data/examples/v2/network-device-monitoring/ListDeviceUserTags.rb +5 -0
  25. data/examples/v2/network-device-monitoring/ListDevices.rb +10 -0
  26. data/examples/v2/network-device-monitoring/UpdateDeviceUserTags.rb +18 -0
  27. data/examples/v2/roles/CreateRole.rb +0 -3
  28. data/examples/v2/security-monitoring/ConvertExistingSecurityMonitoringRule.rb +8 -0
  29. data/examples/v2/security-monitoring/ConvertSecurityMonitoringRuleFromJSONToTerraform.rb +36 -0
  30. data/examples/v2/service-scorecards/UpdateScorecardRule.rb +24 -0
  31. data/examples/v2/workflow-automation/CancelWorkflowInstance.rb +5 -0
  32. data/examples/v2/workflow-automation/CreateWorkflowInstance.rb +13 -0
  33. data/examples/v2/workflow-automation/GetWorkflowInstance.rb +5 -0
  34. data/examples/v2/workflow-automation/ListWorkflowInstances.rb +5 -0
  35. data/lib/datadog_api_client/configuration.rb +1 -0
  36. data/lib/datadog_api_client/inflector.rb +53 -1
  37. data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +1 -1
  38. data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
  39. data/lib/datadog_api_client/v1/api/monitors_api.rb +12 -1
  40. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +7 -3
  41. data/lib/datadog_api_client/v1/models/azure_account.rb +14 -1
  42. data/lib/datadog_api_client/v1/models/azure_account_metrics_config.rb +85 -0
  43. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +24 -1
  44. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +24 -1
  45. data/lib/datadog_api_client/v1/models/formula_and_function_cloud_cost_query_definition.rb +24 -1
  46. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +24 -1
  47. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
  48. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +24 -1
  49. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +24 -1
  50. data/lib/datadog_api_client/v1/models/formula_and_function_slo_query_definition.rb +24 -1
  51. data/lib/datadog_api_client/v1/models/formula_and_function_slo_query_type.rb +1 -0
  52. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -0
  53. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  54. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +1 -0
  55. data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
  56. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -0
  57. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +41 -1
  58. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +12 -1
  59. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_client.rb +12 -1
  60. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop.rb +12 -1
  61. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +12 -1
  62. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +21 -1
  63. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +21 -1
  64. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +61 -1
  65. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +81 -1
  66. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +61 -1
  67. data/lib/datadog_api_client/v2/api/api_management_api.rb +5 -5
  68. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +6 -0
  69. data/lib/datadog_api_client/v2/api/case_management_api.rb +13 -13
  70. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +260 -0
  71. data/lib/datadog_api_client/v2/api/network_device_monitoring_api.rb +362 -0
  72. data/lib/datadog_api_client/v2/api/organizations_api.rb +1 -1
  73. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +15 -7
  74. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +134 -0
  75. data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +79 -1
  76. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +8 -0
  77. data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +307 -0
  78. data/lib/datadog_api_client/v2/models/api_key_relationships.rb +9 -1
  79. data/lib/datadog_api_client/v2/models/authn_mapping_resource_type.rb +27 -0
  80. data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +21 -1
  81. data/lib/datadog_api_client/v2/models/custom_cost_get_response_meta.rb +80 -0
  82. data/lib/datadog_api_client/v2/models/custom_cost_list_response_meta.rb +90 -0
  83. data/lib/datadog_api_client/v2/models/custom_cost_upload_response_meta.rb +80 -0
  84. data/lib/datadog_api_client/v2/models/custom_costs_file_get_response.rb +90 -0
  85. data/lib/datadog_api_client/v2/models/custom_costs_file_line_item.rb +173 -0
  86. data/lib/datadog_api_client/v2/models/custom_costs_file_list_response.rb +92 -0
  87. data/lib/datadog_api_client/v2/models/custom_costs_file_metadata.rb +152 -0
  88. data/lib/datadog_api_client/v2/models/custom_costs_file_metadata_high_level.rb +100 -0
  89. data/lib/datadog_api_client/v2/models/custom_costs_file_metadata_with_content.rb +164 -0
  90. data/lib/datadog_api_client/v2/models/custom_costs_file_metadata_with_content_high_level.rb +100 -0
  91. data/lib/datadog_api_client/v2/models/custom_costs_file_upload_response.rb +90 -0
  92. data/lib/datadog_api_client/v2/models/custom_costs_file_usage_charge_period.rb +90 -0
  93. data/lib/datadog_api_client/v2/models/custom_costs_user.rb +100 -0
  94. data/lib/datadog_api_client/v2/models/device_attributes.rb +272 -0
  95. data/lib/datadog_api_client/v2/models/device_attributes_interface_statuses.rb +110 -0
  96. data/lib/datadog_api_client/v2/models/devices_list_data.rb +100 -0
  97. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +2 -2
  98. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +2 -2
  99. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
  100. data/lib/datadog_api_client/v2/models/get_device_attributes.rb +262 -0
  101. data/lib/datadog_api_client/v2/models/get_device_data.rb +100 -0
  102. data/lib/datadog_api_client/v2/models/get_device_response.rb +80 -0
  103. data/lib/datadog_api_client/v2/models/get_interfaces_data.rb +100 -0
  104. data/lib/datadog_api_client/v2/models/get_interfaces_response.rb +82 -0
  105. data/lib/datadog_api_client/v2/models/hourly_usage_attributes.rb +21 -1
  106. data/lib/datadog_api_client/v2/models/interface_attributes.rb +130 -0
  107. data/lib/datadog_api_client/v2/models/interface_attributes_status.rb +29 -0
  108. data/lib/datadog_api_client/v2/models/list_devices_response.rb +92 -0
  109. data/lib/datadog_api_client/v2/models/list_devices_response_metadata.rb +80 -0
  110. data/lib/datadog_api_client/v2/models/list_devices_response_metadata_page.rb +80 -0
  111. data/lib/datadog_api_client/v2/models/list_tags_response.rb +80 -0
  112. data/lib/datadog_api_client/v2/models/list_tags_response_data.rb +100 -0
  113. data/lib/datadog_api_client/v2/models/list_tags_response_data_attributes.rb +82 -0
  114. data/lib/datadog_api_client/v2/models/projected_cost_attributes.rb +21 -1
  115. data/lib/datadog_api_client/v2/models/role_relationships.rb +4 -14
  116. data/lib/datadog_api_client/v2/models/role_update_attributes.rb +32 -4
  117. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +1 -1
  118. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +1 -1
  119. data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +1 -1
  120. data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +1 -1
  121. data/lib/datadog_api_client/v2/models/security_monitoring_rule_convert_payload.rb +63 -0
  122. data/lib/datadog_api_client/v2/models/security_monitoring_rule_convert_response.rb +80 -0
  123. data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -0
  124. data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +1 -1
  125. data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +1 -1
  126. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +2 -2
  127. data/lib/datadog_api_client/v2/models/update_rule_request.rb +80 -0
  128. data/lib/datadog_api_client/v2/models/update_rule_request_data.rb +90 -0
  129. data/lib/datadog_api_client/v2/models/update_rule_response.rb +80 -0
  130. data/lib/datadog_api_client/v2/models/update_rule_response_data.rb +110 -0
  131. data/lib/datadog_api_client/v2/models/user_attributes.rb +11 -1
  132. data/lib/datadog_api_client/v2/models/workflow_instance_create_meta.rb +80 -0
  133. data/lib/datadog_api_client/v2/models/workflow_instance_create_request.rb +80 -0
  134. data/lib/datadog_api_client/v2/models/workflow_instance_create_response.rb +80 -0
  135. data/lib/datadog_api_client/v2/models/workflow_instance_create_response_data.rb +80 -0
  136. data/lib/datadog_api_client/v2/models/workflow_instance_list_item.rb +80 -0
  137. data/lib/datadog_api_client/v2/models/workflow_list_instances_response.rb +92 -0
  138. data/lib/datadog_api_client/v2/models/workflow_list_instances_response_meta.rb +80 -0
  139. data/lib/datadog_api_client/v2/models/workflow_list_instances_response_meta_page.rb +80 -0
  140. data/lib/datadog_api_client/v2/models/worklflow_cancel_instance_response.rb +80 -0
  141. data/lib/datadog_api_client/v2/models/worklflow_cancel_instance_response_data.rb +80 -0
  142. data/lib/datadog_api_client/v2/models/worklflow_get_instance_response.rb +80 -0
  143. data/lib/datadog_api_client/v2/models/worklflow_get_instance_response_data.rb +80 -0
  144. data/lib/datadog_api_client/v2/models/worklflow_get_instance_response_data_attributes.rb +80 -0
  145. data/lib/datadog_api_client/version.rb +1 -1
  146. metadata +76 -2
@@ -53,6 +53,7 @@ module DatadogAPIClient
53
53
  "v1.aws_tag_filter_delete_request" => "AWSTagFilterDeleteRequest",
54
54
  "v1.aws_tag_filter_list_response" => "AWSTagFilterListResponse",
55
55
  "v1.azure_account" => "AzureAccount",
56
+ "v1.azure_account_metrics_config" => "AzureAccountMetricsConfig",
56
57
  "v1.cancel_downtimes_by_scope_request" => "CancelDowntimesByScopeRequest",
57
58
  "v1.canceled_downtimes_ids" => "CanceledDowntimesIds",
58
59
  "v1.change_widget_definition" => "ChangeWidgetDefinition",
@@ -918,6 +919,7 @@ module DatadogAPIClient
918
919
  "v2.authn_mapping_relationships" => "AuthNMappingRelationships",
919
920
  "v2.authn_mapping_relationship_to_role" => "AuthNMappingRelationshipToRole",
920
921
  "v2.authn_mapping_relationship_to_team" => "AuthNMappingRelationshipToTeam",
922
+ "v2.authn_mapping_resource_type" => "AuthNMappingResourceType",
921
923
  "v2.authn_mapping_response" => "AuthNMappingResponse",
922
924
  "v2.authn_mappings_response" => "AuthNMappingsResponse",
923
925
  "v2.authn_mappings_sort" => "AuthNMappingsSort",
@@ -1169,6 +1171,19 @@ module DatadogAPIClient
1169
1171
  "v2.create_rule_response" => "CreateRuleResponse",
1170
1172
  "v2.create_rule_response_data" => "CreateRuleResponseData",
1171
1173
  "v2.creator" => "Creator",
1174
+ "v2.custom_cost_get_response_meta" => "CustomCostGetResponseMeta",
1175
+ "v2.custom_cost_list_response_meta" => "CustomCostListResponseMeta",
1176
+ "v2.custom_costs_file_get_response" => "CustomCostsFileGetResponse",
1177
+ "v2.custom_costs_file_line_item" => "CustomCostsFileLineItem",
1178
+ "v2.custom_costs_file_list_response" => "CustomCostsFileListResponse",
1179
+ "v2.custom_costs_file_metadata" => "CustomCostsFileMetadata",
1180
+ "v2.custom_costs_file_metadata_high_level" => "CustomCostsFileMetadataHighLevel",
1181
+ "v2.custom_costs_file_metadata_with_content" => "CustomCostsFileMetadataWithContent",
1182
+ "v2.custom_costs_file_metadata_with_content_high_level" => "CustomCostsFileMetadataWithContentHighLevel",
1183
+ "v2.custom_costs_file_upload_response" => "CustomCostsFileUploadResponse",
1184
+ "v2.custom_costs_file_usage_charge_period" => "CustomCostsFileUsageChargePeriod",
1185
+ "v2.custom_costs_user" => "CustomCostsUser",
1186
+ "v2.custom_cost_upload_response_meta" => "CustomCostUploadResponseMeta",
1172
1187
  "v2.custom_destination_attribute_tags_restriction_list_type" => "CustomDestinationAttributeTagsRestrictionListType",
1173
1188
  "v2.custom_destination_create_request" => "CustomDestinationCreateRequest",
1174
1189
  "v2.custom_destination_create_request_attributes" => "CustomDestinationCreateRequestAttributes",
@@ -1221,6 +1236,9 @@ module DatadogAPIClient
1221
1236
  "v2.detailed_finding" => "DetailedFinding",
1222
1237
  "v2.detailed_finding_attributes" => "DetailedFindingAttributes",
1223
1238
  "v2.detailed_finding_type" => "DetailedFindingType",
1239
+ "v2.device_attributes" => "DeviceAttributes",
1240
+ "v2.device_attributes_interface_statuses" => "DeviceAttributesInterfaceStatuses",
1241
+ "v2.devices_list_data" => "DevicesListData",
1224
1242
  "v2.dora_deployment_request" => "DORADeploymentRequest",
1225
1243
  "v2.dora_deployment_request_attributes" => "DORADeploymentRequestAttributes",
1226
1244
  "v2.dora_deployment_request_data" => "DORADeploymentRequestData",
@@ -1343,7 +1361,12 @@ module DatadogAPIClient
1343
1361
  "v2.gcpsts_service_accounts_response" => "GCPSTSServiceAccountsResponse",
1344
1362
  "v2.gcpsts_service_account_update_request" => "GCPSTSServiceAccountUpdateRequest",
1345
1363
  "v2.gcpsts_service_account_update_request_data" => "GCPSTSServiceAccountUpdateRequestData",
1364
+ "v2.get_device_attributes" => "GetDeviceAttributes",
1365
+ "v2.get_device_data" => "GetDeviceData",
1366
+ "v2.get_device_response" => "GetDeviceResponse",
1346
1367
  "v2.get_finding_response" => "GetFindingResponse",
1368
+ "v2.get_interfaces_data" => "GetInterfacesData",
1369
+ "v2.get_interfaces_response" => "GetInterfacesResponse",
1347
1370
  "v2.get_team_memberships_sort" => "GetTeamMembershipsSort",
1348
1371
  "v2.group_scalar_column" => "GroupScalarColumn",
1349
1372
  "v2.hourly_usage" => "HourlyUsage",
@@ -1477,6 +1500,8 @@ module DatadogAPIClient
1477
1500
  "v2.incident_update_request" => "IncidentUpdateRequest",
1478
1501
  "v2.incident_user_defined_field_type" => "IncidentUserDefinedFieldType",
1479
1502
  "v2.intake_payload_accepted" => "IntakePayloadAccepted",
1503
+ "v2.interface_attributes" => "InterfaceAttributes",
1504
+ "v2.interface_attributes_status" => "InterfaceAttributesStatus",
1480
1505
  "v2.ip_allowlist_attributes" => "IPAllowlistAttributes",
1481
1506
  "v2.ip_allowlist_data" => "IPAllowlistData",
1482
1507
  "v2.ip_allowlist_entry" => "IPAllowlistEntry",
@@ -1498,6 +1523,9 @@ module DatadogAPIClient
1498
1523
  "v2.list_apis_response_meta" => "ListAPIsResponseMeta",
1499
1524
  "v2.list_apis_response_meta_pagination" => "ListAPIsResponseMetaPagination",
1500
1525
  "v2.list_application_keys_response" => "ListApplicationKeysResponse",
1526
+ "v2.list_devices_response" => "ListDevicesResponse",
1527
+ "v2.list_devices_response_metadata" => "ListDevicesResponseMetadata",
1528
+ "v2.list_devices_response_metadata_page" => "ListDevicesResponseMetadataPage",
1501
1529
  "v2.list_downtimes_response" => "ListDowntimesResponse",
1502
1530
  "v2.list_findings_meta" => "ListFindingsMeta",
1503
1531
  "v2.list_findings_page" => "ListFindingsPage",
@@ -1506,6 +1534,9 @@ module DatadogAPIClient
1506
1534
  "v2.list_rules_response" => "ListRulesResponse",
1507
1535
  "v2.list_rules_response_data_item" => "ListRulesResponseDataItem",
1508
1536
  "v2.list_rules_response_links" => "ListRulesResponseLinks",
1537
+ "v2.list_tags_response" => "ListTagsResponse",
1538
+ "v2.list_tags_response_data" => "ListTagsResponseData",
1539
+ "v2.list_tags_response_data_attributes" => "ListTagsResponseDataAttributes",
1509
1540
  "v2.list_teams_include" => "ListTeamsInclude",
1510
1541
  "v2.list_teams_sort" => "ListTeamsSort",
1511
1542
  "v2.log" => "Log",
@@ -1967,6 +1998,8 @@ module DatadogAPIClient
1967
1998
  "v2.security_monitoring_list_rules_response" => "SecurityMonitoringListRulesResponse",
1968
1999
  "v2.security_monitoring_rule_case" => "SecurityMonitoringRuleCase",
1969
2000
  "v2.security_monitoring_rule_case_create" => "SecurityMonitoringRuleCaseCreate",
2001
+ "v2.security_monitoring_rule_convert_payload" => "SecurityMonitoringRuleConvertPayload",
2002
+ "v2.security_monitoring_rule_convert_response" => "SecurityMonitoringRuleConvertResponse",
1970
2003
  "v2.security_monitoring_rule_create_payload" => "SecurityMonitoringRuleCreatePayload",
1971
2004
  "v2.security_monitoring_rule_detection_method" => "SecurityMonitoringRuleDetectionMethod",
1972
2005
  "v2.security_monitoring_rule_evaluation_window" => "SecurityMonitoringRuleEvaluationWindow",
@@ -2291,6 +2324,10 @@ module DatadogAPIClient
2291
2324
  "v2.update_open_api_response" => "UpdateOpenAPIResponse",
2292
2325
  "v2.update_open_api_response_attributes" => "UpdateOpenAPIResponseAttributes",
2293
2326
  "v2.update_open_api_response_data" => "UpdateOpenAPIResponseData",
2327
+ "v2.update_rule_request" => "UpdateRuleRequest",
2328
+ "v2.update_rule_request_data" => "UpdateRuleRequestData",
2329
+ "v2.update_rule_response" => "UpdateRuleResponse",
2330
+ "v2.update_rule_response_data" => "UpdateRuleResponseData",
2294
2331
  "v2.usage_application_security_monitoring_response" => "UsageApplicationSecurityMonitoringResponse",
2295
2332
  "v2.usage_attributes_object" => "UsageAttributesObject",
2296
2333
  "v2.usage_data_object" => "UsageDataObject",
@@ -2341,6 +2378,19 @@ module DatadogAPIClient
2341
2378
  "v2.user_update_data" => "UserUpdateData",
2342
2379
  "v2.user_update_request" => "UserUpdateRequest",
2343
2380
  "v2.widget_live_span" => "WidgetLiveSpan",
2381
+ "v2.workflow_instance_create_meta" => "WorkflowInstanceCreateMeta",
2382
+ "v2.workflow_instance_create_request" => "WorkflowInstanceCreateRequest",
2383
+ "v2.workflow_instance_create_response" => "WorkflowInstanceCreateResponse",
2384
+ "v2.workflow_instance_create_response_data" => "WorkflowInstanceCreateResponseData",
2385
+ "v2.workflow_instance_list_item" => "WorkflowInstanceListItem",
2386
+ "v2.workflow_list_instances_response" => "WorkflowListInstancesResponse",
2387
+ "v2.workflow_list_instances_response_meta" => "WorkflowListInstancesResponseMeta",
2388
+ "v2.workflow_list_instances_response_meta_page" => "WorkflowListInstancesResponseMetaPage",
2389
+ "v2.worklflow_cancel_instance_response" => "WorklflowCancelInstanceResponse",
2390
+ "v2.worklflow_cancel_instance_response_data" => "WorklflowCancelInstanceResponseData",
2391
+ "v2.worklflow_get_instance_response" => "WorklflowGetInstanceResponse",
2392
+ "v2.worklflow_get_instance_response_data" => "WorklflowGetInstanceResponseData",
2393
+ "v2.worklflow_get_instance_response_data_attributes" => "WorklflowGetInstanceResponseDataAttributes",
2344
2394
  # APIs
2345
2395
  "v1.authentication_api" => "AuthenticationAPI",
2346
2396
  "v1.aws_integration_api" => "AWSIntegrationAPI",
@@ -2403,6 +2453,7 @@ module DatadogAPIClient
2403
2453
  "v2.logs_metrics_api" => "LogsMetricsAPI",
2404
2454
  "v2.metrics_api" => "MetricsAPI",
2405
2455
  "v2.monitors_api" => "MonitorsAPI",
2456
+ "v2.network_device_monitoring_api" => "NetworkDeviceMonitoringAPI",
2406
2457
  "v2.okta_integration_api" => "OktaIntegrationAPI",
2407
2458
  "v2.opsgenie_integration_api" => "OpsgenieIntegrationAPI",
2408
2459
  "v2.organizations_api" => "OrganizationsAPI",
@@ -2422,7 +2473,8 @@ module DatadogAPIClient
2422
2473
  "v2.synthetics_api" => "SyntheticsAPI",
2423
2474
  "v2.teams_api" => "TeamsAPI",
2424
2475
  "v2.usage_metering_api" => "UsageMeteringAPI",
2425
- "v2.users_api" => "UsersAPI"
2476
+ "v2.users_api" => "UsersAPI",
2477
+ "v2.workflow_automation_api" => "WorkflowAutomationAPI"
2426
2478
  }
2427
2479
  end
2428
2480
  end
@@ -77,7 +77,7 @@ module DatadogAPIClient::V1
77
77
  return_type = opts[:debug_return_type] || 'AWSLogsAsyncResponse'
78
78
 
79
79
  # auth_names
80
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
80
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
81
81
 
82
82
  new_options = opts.merge(
83
83
  :operation => :check_aws_logs_lambda_async,
@@ -105,7 +105,7 @@ module DatadogAPIClient::V1
105
105
  # @option opts [String] :filter String to filter search results.
106
106
  # @option opts [String] :sort_field Sort hosts by this field.
107
107
  # @option opts [String] :sort_dir Direction of sort. Options include `asc` and `desc`.
108
- # @option opts [Integer] :start Host result to start search from.
108
+ # @option opts [Integer] :start Specify the starting point for the host search results. For example, if you set `count` to 100 and the first 100 results have already been returned, you can set `start` to `101` to get the next 100 results.
109
109
  # @option opts [Integer] :count Number of hosts to return. Max 1000.
110
110
  # @option opts [Integer] :from Number of seconds since UNIX epoch from which you want to search your hosts.
111
111
  # @option opts [Boolean] :include_muted_hosts_data Include information on the muted status of hosts and when the mute expires.
@@ -109,7 +109,6 @@ module DatadogAPIClient::V1
109
109
  # - APM: `query alert` or `trace-analytics alert`
110
110
  # - composite: `composite`
111
111
  # - custom: `service check`
112
- # - event: `event alert`
113
112
  # - forecast: `query alert`
114
113
  # - host: `service check`
115
114
  # - integration: `query alert` or `service check`
@@ -126,6 +125,7 @@ module DatadogAPIClient::V1
126
125
  # - audit: `audit alert`
127
126
  # - error-tracking: `error-tracking alert`
128
127
  # - database-monitoring: `database-monitoring alert`
128
+ # - network-performance: `network-performance alert`
129
129
  #
130
130
  # **Notes**:
131
131
  # - Synthetic monitors are created through the Synthetics API. See the [Synthetics API](https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
@@ -280,6 +280,17 @@ module DatadogAPIClient::V1
280
280
  # - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
281
281
  # - `#` an integer or decimal number used to set the threshold.
282
282
  #
283
+ # **Network Performance Alert Query**
284
+ #
285
+ # Example: `network-performance(query).rollup(rollup_method[, measure]).last(time_window) operator #`
286
+ #
287
+ # - `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
288
+ # - `rollup_method` The stats roll-up method - supports `count`, `avg`, and `cardinality`.
289
+ # - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use.
290
+ # - `time_window` #m (between 1 and 2880), #h (between 1 and 48).
291
+ # - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
292
+ # - `#` an integer or decimal number used to set the threshold.
293
+ #
283
294
  # @param body [Monitor] Create a monitor request body.
284
295
  # @param opts [Hash] the optional parameters
285
296
  # @return [Array<(Monitor, Integer, Hash)>] Monitor data, response status code and response headers
@@ -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', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
155
+ allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_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
@@ -478,7 +478,7 @@ module DatadogAPIClient::V1
478
478
  fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
479
479
  end
480
480
  # verify enum value
481
- 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', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_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', 'error_tracking_usage', 'error_tracking_percentage', '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', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_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', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
481
+ 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', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_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', 'error_tracking_usage', 'error_tracking_percentage', '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', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_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', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
482
482
  if @api_client.config.client_side_validation && !allowable_values.include?(fields)
483
483
  fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
484
484
  end
@@ -486,7 +486,7 @@ module DatadogAPIClient::V1
486
486
  if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
487
487
  fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
488
488
  end
489
- 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', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_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', 'error_tracking_usage', 'error_tracking_percentage', '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', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_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', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
489
+ 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', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_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', 'error_tracking_usage', 'error_tracking_percentage', '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', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_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', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
490
490
  if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
491
491
  fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
492
492
  end
@@ -839,6 +839,7 @@ module DatadogAPIClient::V1
839
839
  #
840
840
  # @param opts [Hash] the optional parameters
841
841
  # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month.
842
+ # @option opts [Boolean] :include_connected_accounts Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`.
842
843
  # @return [Array<(UsageBillableSummaryResponse, Integer, Hash)>] UsageBillableSummaryResponse data, response status code and response headers
843
844
  def get_usage_billable_summary_with_http_info(opts = {})
844
845
 
@@ -851,6 +852,7 @@ module DatadogAPIClient::V1
851
852
  # query parameters
852
853
  query_params = opts[:query_params] || {}
853
854
  query_params[:'month'] = opts[:'month'] if !opts[:'month'].nil?
855
+ query_params[:'include_connected_accounts'] = opts[:'include_connected_accounts'] if !opts[:'include_connected_accounts'].nil?
854
856
 
855
857
  # header parameters
856
858
  header_params = opts[:header_params] || {}
@@ -2345,6 +2347,7 @@ module DatadogAPIClient::V1
2345
2347
  # @param opts [Hash] the optional parameters
2346
2348
  # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
2347
2349
  # @option opts [Boolean] :include_org_details Include usage summaries for each sub-org.
2350
+ # @option opts [Boolean] :include_connected_accounts Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`.
2348
2351
  # @return [Array<(UsageSummaryResponse, Integer, Hash)>] UsageSummaryResponse data, response status code and response headers
2349
2352
  def get_usage_summary_with_http_info(start_month, opts = {})
2350
2353
 
@@ -2363,6 +2366,7 @@ module DatadogAPIClient::V1
2363
2366
  query_params[:'start_month'] = start_month
2364
2367
  query_params[:'end_month'] = opts[:'end_month'] if !opts[:'end_month'].nil?
2365
2368
  query_params[:'include_org_details'] = opts[:'include_org_details'] if !opts[:'include_org_details'].nil?
2369
+ query_params[:'include_connected_accounts'] = opts[:'include_connected_accounts'] if !opts[:'include_connected_accounts'].nil?
2366
2370
 
2367
2371
  # header parameters
2368
2372
  header_params = opts[:header_params] || {}
@@ -52,6 +52,12 @@ module DatadogAPIClient::V1
52
52
  # Only hosts that match one of the defined tags are imported into Datadog.
53
53
  attr_accessor :host_filters
54
54
 
55
+ # Dictionary containing the key `excluded_resource_providers` which has to be a list of Microsoft Azure Resource Provider names.
56
+ # This feature is currently being beta tested.
57
+ # In order to enable all resource providers for metric collection, pass:
58
+ # `metrics_config: {"excluded_resource_providers": []}` (i.e., an empty list for `excluded_resource_providers`).
59
+ attr_accessor :metrics_config
60
+
55
61
  # Your New Azure web application ID.
56
62
  attr_accessor :new_client_id
57
63
 
@@ -77,6 +83,7 @@ module DatadogAPIClient::V1
77
83
  :'custom_metrics_enabled' => :'custom_metrics_enabled',
78
84
  :'errors' => :'errors',
79
85
  :'host_filters' => :'host_filters',
86
+ :'metrics_config' => :'metrics_config',
80
87
  :'new_client_id' => :'new_client_id',
81
88
  :'new_tenant_name' => :'new_tenant_name',
82
89
  :'resource_collection_enabled' => :'resource_collection_enabled',
@@ -97,6 +104,7 @@ module DatadogAPIClient::V1
97
104
  :'custom_metrics_enabled' => :'Boolean',
98
105
  :'errors' => :'Array<String>',
99
106
  :'host_filters' => :'String',
107
+ :'metrics_config' => :'AzureAccountMetricsConfig',
100
108
  :'new_client_id' => :'String',
101
109
  :'new_tenant_name' => :'String',
102
110
  :'resource_collection_enabled' => :'Boolean',
@@ -158,6 +166,10 @@ module DatadogAPIClient::V1
158
166
  self.host_filters = attributes[:'host_filters']
159
167
  end
160
168
 
169
+ if attributes.key?(:'metrics_config')
170
+ self.metrics_config = attributes[:'metrics_config']
171
+ end
172
+
161
173
  if attributes.key?(:'new_client_id')
162
174
  self.new_client_id = attributes[:'new_client_id']
163
175
  end
@@ -190,6 +202,7 @@ module DatadogAPIClient::V1
190
202
  custom_metrics_enabled == o.custom_metrics_enabled &&
191
203
  errors == o.errors &&
192
204
  host_filters == o.host_filters &&
205
+ metrics_config == o.metrics_config &&
193
206
  new_client_id == o.new_client_id &&
194
207
  new_tenant_name == o.new_tenant_name &&
195
208
  resource_collection_enabled == o.resource_collection_enabled &&
@@ -200,7 +213,7 @@ module DatadogAPIClient::V1
200
213
  # @return [Integer] Hash code
201
214
  # @!visibility private
202
215
  def 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
216
+ [app_service_plan_filters, automute, client_id, client_secret, container_app_filters, cspm_enabled, custom_metrics_enabled, errors, host_filters, metrics_config, new_client_id, new_tenant_name, resource_collection_enabled, tenant_name].hash
204
217
  end
205
218
  end
206
219
  end
@@ -0,0 +1,85 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Dictionary containing the key `excluded_resource_providers` which has to be a list of Microsoft Azure Resource Provider names.
21
+ # This feature is currently being beta tested.
22
+ # In order to enable all resource providers for metric collection, pass:
23
+ # `metrics_config: {"excluded_resource_providers": []}` (i.e., an empty list for `excluded_resource_providers`).
24
+ class AzureAccountMetricsConfig
25
+ include BaseGenericModel
26
+
27
+ # List of Microsoft Azure Resource Providers to exclude from metric collection.
28
+ attr_accessor :excluded_resource_providers
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ # @!visibility private
32
+ def self.attribute_map
33
+ {
34
+ :'excluded_resource_providers' => :'excluded_resource_providers'
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ # @!visibility private
40
+ def self.openapi_types
41
+ {
42
+ :'excluded_resource_providers' => :'Array<String>'
43
+ }
44
+ end
45
+
46
+ # Initializes the object
47
+ # @param attributes [Hash] Model attributes in the form of hash
48
+ # @!visibility private
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::AzureAccountMetricsConfig` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::AzureAccountMetricsConfig`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'excluded_resource_providers')
63
+ if (value = attributes[:'excluded_resource_providers']).is_a?(Array)
64
+ self.excluded_resource_providers = value
65
+ end
66
+ end
67
+ end
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param o [Object] Object to be compared
71
+ # @!visibility private
72
+ def ==(o)
73
+ return true if self.equal?(o)
74
+ self.class == o.class &&
75
+ excluded_resource_providers == o.excluded_resource_providers
76
+ end
77
+
78
+ # Calculates hash code according to all attributes.
79
+ # @return [Integer] Hash code
80
+ # @!visibility private
81
+ def hash
82
+ [excluded_resource_providers].hash
83
+ end
84
+ end
85
+ end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
21
21
  class FormulaAndFunctionApmDependencyStatsQueryDefinition
22
22
  include BaseGenericModel
23
23
 
24
+ # The source organization UUID for cross organization queries. Feature in Private Beta.
25
+ attr_reader :cross_org_uuids
26
+
24
27
  # Data source for APM dependency stats queries.
25
28
  attr_reader :data_source
26
29
 
@@ -55,6 +58,7 @@ module DatadogAPIClient::V1
55
58
  # @!visibility private
56
59
  def self.attribute_map
57
60
  {
61
+ :'cross_org_uuids' => :'cross_org_uuids',
58
62
  :'data_source' => :'data_source',
59
63
  :'env' => :'env',
60
64
  :'is_upstream' => :'is_upstream',
@@ -72,6 +76,7 @@ module DatadogAPIClient::V1
72
76
  # @!visibility private
73
77
  def self.openapi_types
74
78
  {
79
+ :'cross_org_uuids' => :'Array<String>',
75
80
  :'data_source' => :'FormulaAndFunctionApmDependencyStatsDataSource',
76
81
  :'env' => :'String',
77
82
  :'is_upstream' => :'Boolean',
@@ -101,6 +106,12 @@ module DatadogAPIClient::V1
101
106
  h[k.to_sym] = v
102
107
  }
103
108
 
109
+ if attributes.key?(:'cross_org_uuids')
110
+ if (value = attributes[:'cross_org_uuids']).is_a?(Array)
111
+ self.cross_org_uuids = value
112
+ end
113
+ end
114
+
104
115
  if attributes.key?(:'data_source')
105
116
  self.data_source = attributes[:'data_source']
106
117
  end
@@ -146,6 +157,7 @@ module DatadogAPIClient::V1
146
157
  # @return true if the model is valid
147
158
  # @!visibility private
148
159
  def valid?
160
+ return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
149
161
  return false if @data_source.nil?
150
162
  return false if @env.nil?
151
163
  return false if @name.nil?
@@ -156,6 +168,16 @@ module DatadogAPIClient::V1
156
168
  true
157
169
  end
158
170
 
171
+ # Custom attribute writer method with validation
172
+ # @param cross_org_uuids [Object] Object to be assigned
173
+ # @!visibility private
174
+ def cross_org_uuids=(cross_org_uuids)
175
+ if !cross_org_uuids.nil? && cross_org_uuids.length > 1
176
+ fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
177
+ end
178
+ @cross_org_uuids = cross_org_uuids
179
+ end
180
+
159
181
  # Custom attribute writer method with validation
160
182
  # @param data_source [Object] Object to be assigned
161
183
  # @!visibility private
@@ -232,6 +254,7 @@ module DatadogAPIClient::V1
232
254
  def ==(o)
233
255
  return true if self.equal?(o)
234
256
  self.class == o.class &&
257
+ cross_org_uuids == o.cross_org_uuids &&
235
258
  data_source == o.data_source &&
236
259
  env == o.env &&
237
260
  is_upstream == o.is_upstream &&
@@ -248,7 +271,7 @@ module DatadogAPIClient::V1
248
271
  # @return [Integer] Hash code
249
272
  # @!visibility private
250
273
  def hash
251
- [data_source, env, is_upstream, name, operation_name, primary_tag_name, primary_tag_value, resource_name, service, stat].hash
274
+ [cross_org_uuids, data_source, env, is_upstream, name, operation_name, primary_tag_name, primary_tag_value, resource_name, service, stat].hash
252
275
  end
253
276
  end
254
277
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
21
21
  class FormulaAndFunctionApmResourceStatsQueryDefinition
22
22
  include BaseGenericModel
23
23
 
24
+ # The source organization UUID for cross organization queries. Feature in Private Beta.
25
+ attr_reader :cross_org_uuids
26
+
24
27
  # Data source for APM resource stats queries.
25
28
  attr_reader :data_source
26
29
 
@@ -55,6 +58,7 @@ module DatadogAPIClient::V1
55
58
  # @!visibility private
56
59
  def self.attribute_map
57
60
  {
61
+ :'cross_org_uuids' => :'cross_org_uuids',
58
62
  :'data_source' => :'data_source',
59
63
  :'env' => :'env',
60
64
  :'group_by' => :'group_by',
@@ -72,6 +76,7 @@ module DatadogAPIClient::V1
72
76
  # @!visibility private
73
77
  def self.openapi_types
74
78
  {
79
+ :'cross_org_uuids' => :'Array<String>',
75
80
  :'data_source' => :'FormulaAndFunctionApmResourceStatsDataSource',
76
81
  :'env' => :'String',
77
82
  :'group_by' => :'Array<String>',
@@ -101,6 +106,12 @@ module DatadogAPIClient::V1
101
106
  h[k.to_sym] = v
102
107
  }
103
108
 
109
+ if attributes.key?(:'cross_org_uuids')
110
+ if (value = attributes[:'cross_org_uuids']).is_a?(Array)
111
+ self.cross_org_uuids = value
112
+ end
113
+ end
114
+
104
115
  if attributes.key?(:'data_source')
105
116
  self.data_source = attributes[:'data_source']
106
117
  end
@@ -148,6 +159,7 @@ module DatadogAPIClient::V1
148
159
  # @return true if the model is valid
149
160
  # @!visibility private
150
161
  def valid?
162
+ return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
151
163
  return false if @data_source.nil?
152
164
  return false if @env.nil?
153
165
  return false if @name.nil?
@@ -156,6 +168,16 @@ module DatadogAPIClient::V1
156
168
  true
157
169
  end
158
170
 
171
+ # Custom attribute writer method with validation
172
+ # @param cross_org_uuids [Object] Object to be assigned
173
+ # @!visibility private
174
+ def cross_org_uuids=(cross_org_uuids)
175
+ if !cross_org_uuids.nil? && cross_org_uuids.length > 1
176
+ fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
177
+ end
178
+ @cross_org_uuids = cross_org_uuids
179
+ end
180
+
159
181
  # Custom attribute writer method with validation
160
182
  # @param data_source [Object] Object to be assigned
161
183
  # @!visibility private
@@ -212,6 +234,7 @@ module DatadogAPIClient::V1
212
234
  def ==(o)
213
235
  return true if self.equal?(o)
214
236
  self.class == o.class &&
237
+ cross_org_uuids == o.cross_org_uuids &&
215
238
  data_source == o.data_source &&
216
239
  env == o.env &&
217
240
  group_by == o.group_by &&
@@ -228,7 +251,7 @@ module DatadogAPIClient::V1
228
251
  # @return [Integer] Hash code
229
252
  # @!visibility private
230
253
  def hash
231
- [data_source, env, group_by, name, operation_name, primary_tag_name, primary_tag_value, resource_name, service, stat].hash
254
+ [cross_org_uuids, data_source, env, group_by, name, operation_name, primary_tag_name, primary_tag_value, resource_name, service, stat].hash
232
255
  end
233
256
  end
234
257
  end