datadog_api_client 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/poetry.lock +185 -0
- data/.generator/pyproject.toml +19 -0
- data/.generator/schemas/v1/openapi.yaml +1453 -1156
- data/.generator/schemas/v2/openapi.yaml +1061 -311
- data/.generator/src/generator/__init__.py +0 -0
- data/.generator/src/generator/__main__.py +3 -0
- data/.generator/src/generator/cli.py +97 -0
- data/.generator/src/generator/formatter.py +293 -0
- data/.generator/src/generator/openapi.py +347 -0
- data/.generator/src/generator/templates/api.j2 +223 -0
- data/.generator/{templates/api_client.mustache → src/generator/templates/api_client.j2} +169 -38
- data/.generator/{templates/api_error.mustache → src/generator/templates/api_error.j2} +2 -2
- data/.generator/src/generator/templates/api_info.j2 +12 -0
- data/.generator/{templates/configuration.mustache → src/generator/templates/configuration.j2} +105 -124
- data/.generator/src/generator/templates/model.j2 +18 -0
- data/.generator/src/generator/templates/model_base.j2 +242 -0
- data/.generator/src/generator/templates/model_enum.j2 +8 -0
- data/.generator/src/generator/templates/model_generic.j2 +265 -0
- data/.generator/src/generator/templates/model_oneof.j2 +90 -0
- data/.generator/src/generator/templates/package.j2 +60 -0
- data/.github/workflows/prepare_release.yml +14 -19
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +4 -2
- data/.github/workflows/test_integration.yml +6 -7
- data/.gitignore +7 -0
- data/.pre-commit-config.yaml +16 -7
- data/CHANGELOG.md +26 -1
- data/DEVELOPMENT.md +2 -3
- data/Gemfile +6 -6
- data/LICENSE-3rdparty.csv +0 -3
- data/Makefile +4 -15
- data/README.md +1 -2
- data/RELEASING.md +4 -3
- data/examples/generated/v2/incidents/UpdateIncident.rb +4 -1
- data/examples/v1/dashboards/DeleteDashboard.rb +8 -0
- data/examples/v1/dashboards/GetDashboard.rb +8 -0
- data/examples/v1/dashboards/RestoreDashboards.rb +17 -0
- data/examples/v1/dashboards/UpdateDashboard.rb +36 -0
- data/examples/v1/logs/ListLogs_235998668.rb +16 -0
- data/examples/v1/logs/SubmitLog_1920474053.rb +1 -1
- data/examples/v1/logs/SubmitLog_3418823904.rb +1 -1
- data/examples/v1/metrics/SubmitMetrics_2203981258.rb +1 -1
- data/examples/v1/monitors/CreateMonitor_440013737.rb +22 -0
- data/examples/v1/service-level-objectives/GetSLO.rb +8 -0
- data/examples/v1/service-level-objectives/GetSLOHistory.rb +11 -0
- data/examples/v1/service-level-objectives/ListSLOs.rb +11 -0
- data/examples/v1/service-level-objectives/UpdateSLO.rb +25 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +36 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +88 -0
- data/examples/v1/usage-metering/GetUsageCIApp.rb +8 -0
- data/examples/v1/usage-metering/GetUsageOnlineArchive.rb +8 -0
- data/examples/v2/audit/ListAuditLogs.rb +5 -0
- data/examples/v2/audit/SearchAuditLogs.rb +24 -0
- data/examples/v2/incidents/CreateIncident.rb +4 -4
- data/examples/v2/incidents/UpdateIncident.rb +2 -2
- data/examples/v2/incidents/UpdateIncident_1009194038.rb +23 -0
- data/examples/v2/incidents/UpdateIncident_3369341440.rb +29 -0
- data/examples/v2/logs/AggregateLogs_2955613758.rb +36 -0
- data/examples/v2/logs/ListLogs.rb +4 -4
- data/examples/v2/logs/SubmitLog_3496222707.rb +1 -1
- data/examples/v2/logs/SubmitLog_904601870.rb +1 -1
- data/examples/v2/rum/ListRUMEvents.rb +5 -0
- data/examples/v2/rum/SearchRUMEvents.rb +24 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +42 -0
- data/extract-code-blocks.awk +1 -1
- data/lib/datadog_api_client/v1/api/authentication_api.rb +5 -4
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +45 -38
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +54 -21
- data/lib/datadog_api_client/v1/api/azure_integration_api.rb +34 -17
- data/lib/datadog_api_client/v1/api/dashboard_lists_api.rb +21 -20
- data/lib/datadog_api_client/v1/api/dashboards_api.rb +44 -35
- data/lib/datadog_api_client/v1/api/downtimes_api.rb +31 -30
- data/lib/datadog_api_client/v1/api/events_api.rb +53 -25
- data/lib/datadog_api_client/v1/api/gcp_integration_api.rb +18 -11
- data/lib/datadog_api_client/v1/api/hosts_api.rb +28 -19
- data/lib/datadog_api_client/v1/api/ip_ranges_api.rb +4 -3
- data/lib/datadog_api_client/v1/api/key_management_api.rb +28 -27
- data/lib/datadog_api_client/v1/api/logs_api.rb +68 -11
- data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +38 -25
- data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +57 -34
- data/lib/datadog_api_client/v1/api/metrics_api.rb +48 -23
- data/lib/datadog_api_client/v1/api/monitors_api.rb +401 -59
- data/lib/datadog_api_client/v1/api/notebooks_api.rb +35 -32
- data/lib/datadog_api_client/v1/api/organizations_api.rb +54 -25
- data/lib/datadog_api_client/v1/api/pager_duty_integration_api.rb +15 -14
- data/lib/datadog_api_client/v1/api/service_checks_api.rb +14 -5
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +16 -15
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +93 -64
- data/lib/datadog_api_client/v1/api/slack_integration_api.rb +18 -17
- data/lib/datadog_api_client/v1/api/snapshots_api.rb +11 -8
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +117 -110
- data/lib/datadog_api_client/v1/api/tags_api.rb +30 -23
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +422 -222
- data/lib/datadog_api_client/v1/api/users_api.rb +40 -23
- data/lib/datadog_api_client/v1/api/webhooks_integration_api.rb +41 -34
- data/lib/datadog_api_client/v1/api_client.rb +2 -2
- data/lib/datadog_api_client/v1/api_error.rb +2 -2
- data/lib/datadog_api_client/v1/configuration.rb +64 -64
- data/lib/datadog_api_client/v1/{models/notebook_cell_create_request.rb → model_base.rb} +100 -118
- data/lib/datadog_api_client/v1/models/access_role.rb +4 -19
- data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +40 -140
- data/lib/datadog_api_client/v1/models/alert_graph_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +29 -139
- data/lib/datadog_api_client/v1/models/alert_value_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/api_error_response.rb +16 -138
- data/lib/datadog_api_client/v1/models/api_key.rb +8 -142
- data/lib/datadog_api_client/v1/models/api_key_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/api_key_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +18 -138
- data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +57 -142
- data/lib/datadog_api_client/v1/models/apm_stats_query_row_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/application_key.rb +8 -142
- data/lib/datadog_api_client/v1/models/application_key_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/application_key_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/authentication_validation_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_account.rb +18 -143
- data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +26 -139
- data/lib/datadog_api_client/v1/models/aws_account_create_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_account_delete_request.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_account_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_logs_async_error.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_logs_async_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_logs_lambda.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_logs_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_logs_list_services_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +26 -139
- data/lib/datadog_api_client/v1/models/aws_namespace.rb +4 -19
- data/lib/datadog_api_client/v1/models/aws_tag_filter.rb +7 -137
- data/lib/datadog_api_client/v1/models/aws_tag_filter_create_request.rb +7 -137
- data/lib/datadog_api_client/v1/models/aws_tag_filter_delete_request.rb +7 -137
- data/lib/datadog_api_client/v1/models/aws_tag_filter_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/azure_account.rb +8 -138
- data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +19 -139
- data/lib/datadog_api_client/v1/models/canceled_downtimes_ids.rb +6 -137
- data/lib/datadog_api_client/v1/models/change_widget_definition.rb +26 -147
- data/lib/datadog_api_client/v1/models/change_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/change_widget_request.rb +21 -139
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +18 -141
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +6 -137
- data/lib/datadog_api_client/v1/models/check_can_delete_slo_response.rb +8 -140
- data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +6 -137
- data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +40 -140
- data/lib/datadog_api_client/v1/models/check_status_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/content_encoding.rb +4 -19
- data/lib/datadog_api_client/v1/models/creator.rb +7 -138
- data/lib/datadog_api_client/v1/models/dashboard.rb +42 -141
- data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +27 -139
- data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +16 -138
- data/lib/datadog_api_client/v1/models/dashboard_delete_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/dashboard_layout_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/dashboard_list.rb +17 -138
- data/lib/datadog_api_client/v1/models/dashboard_list_delete_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/dashboard_list_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/dashboard_reflow_type.rb +6 -19
- data/lib/datadog_api_client/v1/models/dashboard_resource_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +16 -138
- data/lib/datadog_api_client/v1/models/dashboard_summary.rb +6 -137
- data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +7 -137
- data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +17 -139
- data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset.rb +6 -137
- data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +6 -137
- data/lib/datadog_api_client/v1/models/deleted_monitor.rb +6 -137
- data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +31 -148
- data/lib/datadog_api_client/v1/models/distribution_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +16 -137
- data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +6 -137
- data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +6 -137
- data/lib/datadog_api_client/v1/models/downtime.rb +38 -155
- data/lib/datadog_api_client/v1/models/downtime_child.rb +34 -155
- data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +25 -149
- data/lib/datadog_api_client/v1/models/event.rb +24 -145
- data/lib/datadog_api_client/v1/models/event_alert_type.rb +6 -19
- data/lib/datadog_api_client/v1/models/event_create_request.rb +37 -152
- data/lib/datadog_api_client/v1/models/event_create_response.rb +17 -298
- data/lib/datadog_api_client/v1/models/event_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/event_priority.rb +4 -19
- data/lib/datadog_api_client/v1/models/event_query_definition.rb +26 -139
- data/lib/datadog_api_client/v1/models/event_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +32 -140
- data/lib/datadog_api_client/v1/models/event_stream_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +29 -139
- data/lib/datadog_api_client/v1/models/event_timeline_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +78 -144
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +58 -142
- data/lib/datadog_api_client/v1/models/formula_and_function_event_aggregation.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +39 -140
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +17 -138
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +16 -138
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +17 -138
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +18 -138
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_aggregation.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_data_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +38 -140
- data/lib/datadog_api_client/v1/models/formula_and_function_process_query_data_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +39 -140
- data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +7 -62
- data/lib/datadog_api_client/v1/models/formula_and_function_response_format.rb +4 -19
- data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +28 -139
- data/lib/datadog_api_client/v1/models/free_text_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/funnel_query.rb +37 -140
- data/lib/datadog_api_client/v1/models/funnel_request_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/funnel_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/funnel_step.rb +26 -139
- data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +23 -147
- data/lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +28 -139
- data/lib/datadog_api_client/v1/models/gcp_account.rb +10 -139
- data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +48 -149
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +26 -139
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +16 -138
- data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +12 -139
- data/lib/datadog_api_client/v1/models/graph_snapshot.rb +9 -138
- data/lib/datadog_api_client/v1/models/group_widget_definition.rb +39 -140
- data/lib/datadog_api_client/v1/models/group_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +24 -147
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +15 -137
- data/lib/datadog_api_client/v1/models/host.rb +9 -140
- data/lib/datadog_api_client/v1/models/host_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_map_request.rb +14 -137
- data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +31 -139
- data/lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb +8 -137
- data/lib/datadog_api_client/v1/models/host_map_widget_definition_style.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_map_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/host_meta.rb +8 -138
- data/lib/datadog_api_client/v1/models/host_meta_install_method.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_metrics.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_mute_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_mute_settings.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_tags.rb +6 -137
- data/lib/datadog_api_client/v1/models/host_totals.rb +6 -137
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +8 -140
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_metadata.rb +7 -137
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_pagination.rb +6 -137
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/http_log_error.rb +19 -144
- data/lib/datadog_api_client/v1/models/http_log_item.rb +25 -141
- data/lib/datadog_api_client/v1/models/http_method.rb +4 -19
- data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +27 -139
- data/lib/datadog_api_client/v1/models/i_frame_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/idp_form_data.rb +16 -138
- data/lib/datadog_api_client/v1/models/idp_response.rb +16 -138
- data/lib/datadog_api_client/v1/models/image_widget_definition.rb +33 -139
- data/lib/datadog_api_client/v1/models/image_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/intake_payload_accepted.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_prefixes_agents.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_prefixes_api.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_prefixes_apm.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_prefixes_logs.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_prefixes_process.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics.rb +8 -143
- data/lib/datadog_api_client/v1/models/ip_prefixes_webhooks.rb +6 -137
- data/lib/datadog_api_client/v1/models/ip_ranges.rb +13 -137
- data/lib/datadog_api_client/v1/models/list_stream_column.rb +27 -139
- data/lib/datadog_api_client/v1/models/list_stream_column_width.rb +4 -19
- data/lib/datadog_api_client/v1/models/list_stream_query.rb +27 -139
- data/lib/datadog_api_client/v1/models/list_stream_response_format.rb +4 -19
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +25 -148
- data/lib/datadog_api_client/v1/models/list_stream_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +38 -140
- data/lib/datadog_api_client/v1/models/log.rb +7 -137
- data/lib/datadog_api_client/v1/models/log_content.rb +14 -145
- data/lib/datadog_api_client/v1/models/log_query_definition.rb +9 -138
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +17 -138
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +27 -139
- data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +16 -138
- data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +21 -138
- data/lib/datadog_api_client/v1/models/log_stream_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_api_error.rb +6 -137
- data/lib/datadog_api_client/v1/models/logs_api_error_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +60 -142
- data/lib/datadog_api_client/v1/models/logs_arithmetic_processor_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +43 -141
- data/lib/datadog_api_client/v1/models/logs_attribute_remapper_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_by_retention.rb +8 -137
- data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +7 -138
- data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +6 -137
- data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +6 -137
- data/lib/datadog_api_client/v1/models/logs_category_processor.rb +52 -142
- data/lib/datadog_api_client/v1/models/logs_category_processor_category.rb +7 -137
- data/lib/datadog_api_client/v1/models/logs_category_processor_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +46 -140
- data/lib/datadog_api_client/v1/models/logs_date_remapper_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_exclusion.rb +17 -138
- data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +20 -140
- data/lib/datadog_api_client/v1/models/logs_filter.rb +6 -137
- data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +41 -141
- data/lib/datadog_api_client/v1/models/logs_geo_ip_parser_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +42 -144
- data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +16 -138
- data/lib/datadog_api_client/v1/models/logs_grok_parser_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_index.rb +34 -142
- data/lib/datadog_api_client/v1/models/logs_index_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +28 -141
- data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +19 -139
- data/lib/datadog_api_client/v1/models/logs_list_request.rb +27 -143
- data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +28 -140
- data/lib/datadog_api_client/v1/models/logs_list_response.rb +8 -138
- data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +57 -144
- data/lib/datadog_api_client/v1/models/logs_lookup_processor_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +35 -140
- data/lib/datadog_api_client/v1/models/logs_message_remapper_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_pipeline.rb +22 -139
- data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +23 -139
- data/lib/datadog_api_client/v1/models/logs_pipeline_processor_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +18 -139
- data/lib/datadog_api_client/v1/models/logs_processor.rb +14 -69
- data/lib/datadog_api_client/v1/models/logs_query_compute.rb +16 -138
- data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +7 -138
- data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +7 -138
- data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +31 -140
- data/lib/datadog_api_client/v1/models/logs_service_remapper_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_sort.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +45 -140
- data/lib/datadog_api_client/v1/models/logs_status_remapper_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +52 -142
- data/lib/datadog_api_client/v1/models/logs_string_builder_processor_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +25 -139
- data/lib/datadog_api_client/v1/models/logs_trace_remapper_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_url_parser.rb +39 -140
- data/lib/datadog_api_client/v1/models/logs_url_parser_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +41 -141
- data/lib/datadog_api_client/v1/models/logs_user_agent_parser_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +4 -19
- data/lib/datadog_api_client/v1/models/metric_metadata.rb +6 -137
- data/lib/datadog_api_client/v1/models/metric_search_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/metric_search_response_results.rb +6 -137
- data/lib/datadog_api_client/v1/models/metrics_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/metrics_payload.rb +16 -138
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +12 -144
- data/lib/datadog_api_client/v1/models/metrics_query_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/metrics_query_unit.rb +6 -137
- data/lib/datadog_api_client/v1/models/monitor.rb +34 -145
- data/lib/datadog_api_client/v1/models/monitor_device_id.rb +4 -19
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_aggregation.rb +4 -19
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +39 -140
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +17 -138
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +16 -138
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +17 -138
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +18 -138
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +4 -19
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +3 -58
- data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +8 -137
- data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +6 -137
- data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts_status_item.rb +129 -0
- data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts_type_item.rb +129 -0
- data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +7 -137
- data/lib/datadog_api_client/v1/models/monitor_options.rb +46 -155
- data/lib/datadog_api_client/v1/models/monitor_options_aggregation.rb +6 -137
- data/lib/datadog_api_client/v1/models/monitor_overall_states.rb +4 -19
- data/lib/datadog_api_client/v1/models/monitor_renotify_status_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/monitor_search_response.rb +8 -137
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +6 -137
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts_muted_item.rb +129 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts_status_item.rb +129 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts_tag_item.rb +129 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts_type_item.rb +129 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +6 -137
- data/lib/datadog_api_client/v1/models/monitor_search_result.rb +13 -138
- data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +6 -137
- data/lib/datadog_api_client/v1/models/monitor_state.rb +9 -141
- data/lib/datadog_api_client/v1/models/monitor_state_group.rb +7 -137
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +32 -139
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/monitor_threshold_window_options.rb +7 -138
- data/lib/datadog_api_client/v1/models/monitor_thresholds.rb +7 -138
- data/lib/datadog_api_client/v1/models/monitor_type.rb +5 -19
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +14 -143
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +8 -140
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_metadata.rb +7 -137
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_pagination.rb +6 -137
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -19
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +6 -137
- data/lib/datadog_api_client/v1/models/note_widget_definition.rb +30 -139
- data/lib/datadog_api_client/v1/models/note_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +26 -139
- data/lib/datadog_api_client/v1/models/notebook_author.rb +6 -137
- data/lib/datadog_api_client/v1/models/notebook_cell_resource_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +39 -140
- data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +9 -63
- data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +5 -60
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +39 -140
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +9 -63
- data/lib/datadog_api_client/v1/models/notebook_create_data.rb +28 -139
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +32 -147
- data/lib/datadog_api_client/v1/models/notebook_create_request.rb +17 -138
- data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +23 -139
- data/lib/datadog_api_client/v1/models/notebook_global_time.rb +5 -60
- data/lib/datadog_api_client/v1/models/notebook_graph_size.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +21 -139
- data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +20 -139
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +17 -138
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +27 -139
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_metadata.rb +8 -138
- data/lib/datadog_api_client/v1/models/notebook_metadata_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +17 -138
- data/lib/datadog_api_client/v1/models/notebook_resource_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/notebook_response_data.rb +38 -140
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +33 -147
- data/lib/datadog_api_client/v1/models/notebook_split_by.rb +26 -139
- data/lib/datadog_api_client/v1/models/notebook_status.rb +4 -19
- data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +21 -139
- data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +21 -139
- data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +5 -59
- data/lib/datadog_api_client/v1/models/notebook_update_data.rb +28 -139
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +32 -147
- data/lib/datadog_api_client/v1/models/notebook_update_request.rb +17 -138
- data/lib/datadog_api_client/v1/models/notebooks_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +38 -140
- data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +13 -145
- data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +7 -137
- data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +6 -137
- data/lib/datadog_api_client/v1/models/organization.rb +18 -138
- data/lib/datadog_api_client/v1/models/organization_billing.rb +6 -137
- data/lib/datadog_api_client/v1/models/organization_create_body.rb +18 -141
- data/lib/datadog_api_client/v1/models/organization_create_response.rb +10 -137
- data/lib/datadog_api_client/v1/models/organization_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/organization_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/organization_settings.rb +12 -137
- data/lib/datadog_api_client/v1/models/organization_settings_saml.rb +8 -138
- data/lib/datadog_api_client/v1/models/organization_settings_saml_autocreate_users_domains.rb +6 -137
- data/lib/datadog_api_client/v1/models/organization_settings_saml_idp_initiated_login.rb +8 -138
- data/lib/datadog_api_client/v1/models/organization_settings_saml_strict_mode.rb +8 -138
- data/lib/datadog_api_client/v1/models/organization_subscription.rb +6 -137
- data/lib/datadog_api_client/v1/models/pager_duty_service.rb +26 -139
- data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +16 -138
- data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +16 -138
- data/lib/datadog_api_client/v1/models/pagination.rb +6 -137
- data/lib/datadog_api_client/v1/models/process_query_definition.rb +18 -141
- data/lib/datadog_api_client/v1/models/query_sort_order.rb +4 -19
- data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +23 -146
- data/lib/datadog_api_client/v1/models/query_value_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +19 -139
- data/lib/datadog_api_client/v1/models/response_meta_attributes.rb +7 -137
- data/lib/datadog_api_client/v1/models/scatter_plot_request.rb +15 -137
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +32 -139
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +9 -137
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/scatterplot_dimension.rb +4 -19
- data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +9 -139
- data/lib/datadog_api_client/v1/models/scatterplot_widget_aggregator.rb +4 -19
- data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +27 -139
- data/lib/datadog_api_client/v1/models/series.rb +29 -141
- data/lib/datadog_api_client/v1/models/service_check.rb +47 -141
- data/lib/datadog_api_client/v1/models/service_check_status.rb +4 -19
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +74 -150
- data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +29 -140
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +58 -146
- data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +31 -145
- data/lib/datadog_api_client/v1/models/service_map_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +51 -141
- data/lib/datadog_api_client/v1/models/service_summary_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/slack_integration_channel.rb +7 -137
- data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +6 -137
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +40 -141
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_response.rb +13 -138
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_response_data.rb +11 -139
- data/lib/datadog_api_client/v1/models/slo_correction.rb +8 -137
- data/lib/datadog_api_client/v1/models/slo_correction_category.rb +4 -19
- data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +18 -138
- data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +7 -137
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +40 -142
- data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/slo_correction_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +12 -139
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes_modifier.rb +6 -137
- data/lib/datadog_api_client/v1/models/slo_correction_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +8 -137
- data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +7 -137
- data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +10 -139
- data/lib/datadog_api_client/v1/models/slo_delete_response.rb +7 -140
- data/lib/datadog_api_client/v1/models/slo_error_timeframe.rb +5 -19
- data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +81 -143
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +39 -141
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata.rb +10 -139
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb +7 -138
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +11 -142
- data/lib/datadog_api_client/v1/models/slo_history_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/slo_history_response_data.rb +25 -143
- data/lib/datadog_api_client/v1/models/slo_history_response_error.rb +6 -137
- data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +26 -139
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +12 -145
- data/lib/datadog_api_client/v1/models/slo_list_response.rb +9 -138
- data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +7 -137
- data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +6 -137
- data/lib/datadog_api_client/v1/models/slo_response.rb +10 -138
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +44 -147
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +39 -142
- data/lib/datadog_api_client/v1/models/slo_timeframe.rb +4 -19
- data/lib/datadog_api_client/v1/models/slo_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +6 -19
- data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +29 -139
- data/lib/datadog_api_client/v1/models/slo_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +23 -144
- data/lib/datadog_api_client/v1/models/sunburst_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +5 -60
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +17 -138
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +17 -138
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +18 -139
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +53 -142
- data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +63 -142
- data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +9 -137
- data/lib/datadog_api_client/v1/models/synthetics_api_test_failure_code.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_data.rb +13 -143
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_failure.rb +7 -137
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full.rb +12 -137
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +17 -138
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short.rb +11 -137
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short_result.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_api_test_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +7 -61
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_operator.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +29 -139
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb +6 -138
- data/lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +42 -140
- data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +5 -60
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +17 -138
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +37 -140
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +37 -140
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +7 -137
- data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +10 -137
- data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +37 -140
- data/lib/datadog_api_client/v1/models/synthetics_browser_error_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +61 -142
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +29 -139
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_failure_code.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb +10 -138
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_failure.rb +7 -137
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb +12 -137
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +17 -138
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short.rb +11 -137
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short_result.rb +7 -137
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +29 -140
- data/lib/datadog_api_client/v1/models/synthetics_browser_variable_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_check_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_ci.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_git.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_pipeline.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_provider.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +21 -144
- data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +27 -139
- data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +8 -138
- data/lib/datadog_api_client/v1/models/synthetics_delete_tests_response.rb +8 -138
- data/lib/datadog_api_client/v1/models/synthetics_deleted_test.rb +8 -138
- data/lib/datadog_api_client/v1/models/synthetics_device.rb +47 -141
- data/lib/datadog_api_client/v1/models/synthetics_device_id.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_get_api_test_latest_results_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_get_browser_test_latest_results_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +49 -141
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +28 -139
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parser_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +8 -138
- data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_location.rb +8 -138
- data/lib/datadog_api_client/v1/models/synthetics_locations.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_parsing_options.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_playing_tab.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +37 -140
- data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response_result_encryption.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_authentication.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_config_decryption.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_issuer.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_subject.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_status.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_step.rb +7 -137
- data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +11 -139
- data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +27 -139
- data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +9 -137
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +14 -137
- data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +5 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_execution_rule.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_monitor_status.rb +7 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +28 -150
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +12 -144
- data/lib/datadog_api_client/v1/models/synthetics_test_options_retry.rb +10 -139
- data/lib/datadog_api_client/v1/models/synthetics_test_pause_status.rb +5 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +4 -19
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +18 -151
- data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +17 -141
- data/lib/datadog_api_client/v1/models/synthetics_timing.rb +8 -138
- data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +16 -138
- data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_location.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_run_result.rb +7 -137
- data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_tests_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +17 -138
- data/lib/datadog_api_client/v1/models/synthetics_update_test_pause_status_payload.rb +8 -137
- data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +17 -138
- data/lib/datadog_api_client/v1/models/synthetics_warning_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/table_widget_cell_display_mode.rb +4 -19
- data/lib/datadog_api_client/v1/models/table_widget_definition.rb +30 -139
- data/lib/datadog_api_client/v1/models/table_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/table_widget_has_search_bar.rb +4 -19
- data/lib/datadog_api_client/v1/models/table_widget_request.rb +20 -139
- data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +7 -140
- data/lib/datadog_api_client/v1/models/target_format_type.rb +6 -19
- data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +26 -145
- data/lib/datadog_api_client/v1/models/timeseries_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +16 -138
- data/lib/datadog_api_client/v1/models/timeseries_widget_legend_column.rb +4 -19
- data/lib/datadog_api_client/v1/models/timeseries_widget_legend_layout.rb +4 -19
- data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +20 -139
- data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +29 -139
- data/lib/datadog_api_client/v1/models/toplist_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +21 -142
- data/lib/datadog_api_client/v1/models/tree_map_color_by.rb +4 -19
- data/lib/datadog_api_client/v1/models/tree_map_group_by.rb +4 -19
- data/lib/datadog_api_client/v1/models/tree_map_size_by.rb +4 -19
- data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +23 -146
- data/lib/datadog_api_client/v1/models/tree_map_widget_definition_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +9 -139
- data/lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +8 -140
- data/lib/datadog_api_client/v1/models/usage_attribution_metadata.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +4 -19
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +4 -19
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +12 -139
- data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_audit_logs_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_billable_summary_body.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +38 -137
- data/lib/datadog_api_client/v1/models/usage_billable_summary_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +169 -0
- data/lib/datadog_api_client/v1/models/usage_ci_visibility_response.rb +121 -0
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_custom_reports_attributes.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_custom_reports_data.rb +8 -137
- data/lib/datadog_api_client/v1/models/usage_custom_reports_meta.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_custom_reports_page.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_custom_reports_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_cws_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_dbm_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_fargate_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_host_hour.rb +24 -146
- data/lib/datadog_api_client/v1/models/usage_hosts_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_incident_management_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_indexed_spans_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_indexed_spans_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_ingested_spans_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_ingested_spans_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_io_t_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_io_t_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +8 -138
- data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +8 -138
- data/lib/datadog_api_client/v1/models/usage_logs_by_index_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_logs_by_index_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +7 -138
- data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_logs_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_metric_category.rb +4 -19
- data/lib/datadog_api_client/v1/models/usage_network_flows_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_network_flows_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_network_hosts_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_network_hosts_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +149 -0
- data/lib/datadog_api_client/v1/models/usage_online_archive_response.rb +121 -0
- data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_profiling_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_reports_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +7 -138
- data/lib/datadog_api_client/v1/models/usage_rum_units_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_sds_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_snmp_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_sort.rb +4 -19
- data/lib/datadog_api_client/v1/models/usage_sort_direction.rb +4 -19
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_attributes.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_data.rb +8 -137
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_meta.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_page.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_response.rb +8 -137
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +57 -138
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +57 -138
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +58 -138
- data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_synthetics_api_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_synthetics_browser_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_synthetics_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_synthetics_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_timeseries_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_hour.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +7 -137
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/user.rb +7 -137
- data/lib/datadog_api_client/v1/models/user_disable_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/user_list_response.rb +6 -137
- data/lib/datadog_api_client/v1/models/user_response.rb +7 -137
- data/lib/datadog_api_client/v1/models/webhooks_integration.rb +36 -142
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +38 -141
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +28 -140
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_update_request.rb +11 -139
- data/lib/datadog_api_client/v1/models/webhooks_integration_encoding.rb +4 -19
- data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +19 -141
- data/lib/datadog_api_client/v1/models/widget.rb +24 -139
- data/lib/datadog_api_client/v1/models/widget_aggregator.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_axis.rb +6 -137
- data/lib/datadog_api_client/v1/models/widget_change_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_color_preference.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_comparator.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_compare_to.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +38 -140
- data/lib/datadog_api_client/v1/models/widget_custom_link.rb +6 -137
- data/lib/datadog_api_client/v1/models/widget_definition.rb +7 -62
- data/lib/datadog_api_client/v1/models/widget_display_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_event.rb +20 -139
- data/lib/datadog_api_client/v1/models/widget_event_size.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_field_sort.rb +27 -139
- data/lib/datadog_api_client/v1/models/widget_formula.rb +18 -138
- data/lib/datadog_api_client/v1/models/widget_formula_limit.rb +7 -137
- data/lib/datadog_api_client/v1/models/widget_grouping.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_horizontal_align.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_image_sizing.rb +5 -19
- data/lib/datadog_api_client/v1/models/widget_layout.rb +20 -162
- data/lib/datadog_api_client/v1/models/widget_layout_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_line_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_line_width.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_live_span.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_margin.rb +5 -19
- data/lib/datadog_api_client/v1/models/widget_marker.rb +21 -139
- data/lib/datadog_api_client/v1/models/widget_message_display.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_monitor_summary_display_format.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_node_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_order_by.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_palette.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_request_style.rb +8 -137
- data/lib/datadog_api_client/v1/models/widget_service_summary_display_format.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_size_format.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_sort.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_style.rb +6 -137
- data/lib/datadog_api_client/v1/models/widget_summary_type.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_text_align.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_tick_edge.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_time.rb +7 -137
- data/lib/datadog_api_client/v1/models/widget_time_windows.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_vertical_align.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_view_mode.rb +4 -19
- data/lib/datadog_api_client/v1/models/widget_viz_type.rb +4 -19
- data/lib/datadog_api_client/v1.rb +99 -68
- data/lib/datadog_api_client/v2/api/audit_api.rb +209 -0
- data/lib/datadog_api_client/v2/api/auth_n_mappings_api.rb +27 -22
- data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +29 -22
- data/lib/datadog_api_client/v2/api/dashboard_lists_api.rb +15 -14
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +36 -25
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +36 -25
- data/lib/datadog_api_client/v2/api/incidents_api.rb +28 -24
- data/lib/datadog_api_client/v2/api/key_management_api.rb +69 -56
- data/lib/datadog_api_client/v2/api/logs_api.rb +113 -21
- data/lib/datadog_api_client/v2/api/logs_archives_api.rb +57 -40
- data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +26 -21
- data/lib/datadog_api_client/v2/api/metrics_api.rb +87 -44
- data/lib/datadog_api_client/v2/api/processes_api.rb +12 -13
- data/lib/datadog_api_client/v2/api/roles_api.rb +127 -122
- data/lib/datadog_api_client/v2/api/rum_api.rb +209 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +93 -63
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +25 -20
- data/lib/datadog_api_client/v2/api/users_api.rb +71 -56
- data/lib/datadog_api_client/v2/api_client.rb +2 -2
- data/lib/datadog_api_client/v2/api_error.rb +2 -2
- data/lib/datadog_api_client/v2/configuration.rb +56 -56
- data/lib/datadog_api_client/v2/model_base.rb +252 -0
- data/lib/datadog_api_client/v2/models/api_error_response.rb +16 -138
- data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/api_key_create_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/api_key_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/api_key_relationships.rb +8 -137
- data/lib/datadog_api_client/v2/models/api_key_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +3 -58
- data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/api_key_update_data.rb +38 -140
- data/lib/datadog_api_client/v2/models/api_key_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/api_keys_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/api_keys_sort.rb +4 -19
- data/lib/datadog_api_client/v2/models/api_keys_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +17 -139
- data/lib/datadog_api_client/v2/models/application_key_create_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/application_key_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/application_key_relationships.rb +7 -137
- data/lib/datadog_api_client/v2/models/application_key_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +5 -60
- data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +7 -138
- data/lib/datadog_api_client/v2/models/application_key_update_data.rb +38 -140
- data/lib/datadog_api_client/v2/models/application_key_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/application_keys_sort.rb +4 -19
- data/lib/datadog_api_client/v2/models/application_keys_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/audit_logs_event.rb +141 -0
- data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +153 -0
- data/lib/datadog_api_client/v2/models/audit_logs_event_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/audit_logs_events_response.rb +141 -0
- data/lib/datadog_api_client/v2/models/audit_logs_query_filter.rb +145 -0
- data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +132 -0
- data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +145 -0
- data/lib/datadog_api_client/v2/models/audit_logs_response_links.rb +120 -0
- data/lib/datadog_api_client/v2/models/audit_logs_response_metadata.rb +162 -0
- data/lib/datadog_api_client/v2/models/audit_logs_response_page.rb +119 -0
- data/lib/datadog_api_client/v2/models/audit_logs_response_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/audit_logs_search_events_request.rb +150 -0
- data/lib/datadog_api_client/v2/models/audit_logs_sort.rb +27 -0
- data/lib/datadog_api_client/v2/models/audit_logs_warning.rb +139 -0
- data/lib/datadog_api_client/v2/models/auth_n_mapping.rb +29 -139
- data/lib/datadog_api_client/v2/models/auth_n_mapping_attributes.rb +8 -140
- data/lib/datadog_api_client/v2/models/auth_n_mapping_create_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/auth_n_mapping_create_data.rb +19 -138
- data/lib/datadog_api_client/v2/models/auth_n_mapping_create_relationships.rb +7 -137
- data/lib/datadog_api_client/v2/models/auth_n_mapping_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/auth_n_mapping_included.rb +5 -60
- data/lib/datadog_api_client/v2/models/auth_n_mapping_relationships.rb +8 -137
- data/lib/datadog_api_client/v2/models/auth_n_mapping_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/auth_n_mapping_update_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/auth_n_mapping_update_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/auth_n_mapping_update_relationships.rb +7 -137
- data/lib/datadog_api_client/v2/models/auth_n_mapping_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/auth_n_mappings_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/auth_n_mappings_sort.rb +4 -19
- data/lib/datadog_api_client/v2/models/auth_n_mappings_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +8 -137
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +26 -139
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_data.rb +8 -137
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rules_list_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/content_encoding.rb +4 -19
- data/lib/datadog_api_client/v2/models/creator.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +30 -142
- data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +27 -139
- data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +27 -139
- data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +16 -138
- data/lib/datadog_api_client/v2/models/dashboard_list_update_items_request.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_list_update_items_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/dashboard_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/full_api_key.rb +9 -137
- data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +8 -142
- data/lib/datadog_api_client/v2/models/full_application_key.rb +9 -137
- data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +9 -143
- data/lib/datadog_api_client/v2/models/http_log_error.rb +6 -137
- data/lib/datadog_api_client/v2/models/http_log_errors.rb +6 -137
- data/lib/datadog_api_client/v2/models/http_log_item.rb +15 -140
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +27 -142
- data/lib/datadog_api_client/v2/models/incident_create_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +27 -148
- data/lib/datadog_api_client/v2/models/incident_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +5 -60
- data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +8 -138
- data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +8 -138
- data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_field_attributes_value_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +6 -137
- data/lib/datadog_api_client/v2/models/incident_postmortem_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_related_object.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_response.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +21 -143
- data/lib/datadog_api_client/v2/models/incident_response_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +3 -58
- data/lib/datadog_api_client/v2/models/incident_response_meta.rb +7 -137
- data/lib/datadog_api_client/v2/models/incident_response_meta_pagination.rb +6 -137
- data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +12 -138
- data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +19 -138
- data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +3 -58
- data/lib/datadog_api_client/v2/models/incident_service_relationships.rb +8 -137
- data/lib/datadog_api_client/v2/models/incident_service_response.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_service_response_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/incident_service_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +19 -138
- data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_services_response.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +19 -138
- data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +3 -58
- data/lib/datadog_api_client/v2/models/incident_team_relationships.rb +8 -137
- data/lib/datadog_api_client/v2/models/incident_team_response.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_team_response_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/incident_team_response_data.rb +9 -137
- data/lib/datadog_api_client/v2/models/incident_team_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +19 -138
- data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_teams_response.rb +17 -138
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +3 -58
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_content_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +28 -139
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes_content.rb +6 -137
- data/lib/datadog_api_client/v2/models/incident_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/incident_update_attributes.rb +7 -140
- data/lib/datadog_api_client/v2/models/incident_update_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +11 -157
- data/lib/datadog_api_client/v2/models/incident_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/incidents_response.rb +17 -138
- data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/log.rb +8 -137
- data/lib/datadog_api_client/v2/models/log_attributes.rb +13 -142
- data/lib/datadog_api_client/v2/models/log_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +8 -143
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +6 -61
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +10 -137
- data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +8 -137
- data/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_aggregate_response_status.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +9 -137
- data/lib/datadog_api_client/v2/models/logs_aggregate_sort_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_aggregation_function.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_archive.rb +7 -137
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +30 -140
- data/lib/datadog_api_client/v2/models/logs_archive_create_request.rb +7 -137
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +39 -141
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +17 -138
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +3 -58
- data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +17 -138
- data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +3 -58
- data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +48 -141
- data/lib/datadog_api_client/v2/models/logs_archive_destination_azure_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +38 -140
- data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +38 -140
- data/lib/datadog_api_client/v2/models/logs_archive_destination_s3_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +26 -139
- data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +26 -139
- data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +26 -139
- data/lib/datadog_api_client/v2/models/logs_archive_order.rb +7 -137
- data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +18 -139
- data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +28 -139
- data/lib/datadog_api_client/v2/models/logs_archive_order_definition_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_archive_state.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_archives.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_compute.rb +20 -139
- data/lib/datadog_api_client/v2/models/logs_compute_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_group_by.rb +23 -138
- data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +42 -143
- data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +5 -60
- data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +6 -61
- data/lib/datadog_api_client/v2/models/logs_list_request.rb +11 -137
- data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +8 -140
- data/lib/datadog_api_client/v2/models/logs_list_response.rb +8 -137
- data/lib/datadog_api_client/v2/models/logs_list_response_links.rb +8 -138
- data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +18 -139
- data/lib/datadog_api_client/v2/models/logs_metric_compute_aggregation_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +18 -138
- data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +38 -140
- data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/logs_metric_filter.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +16 -138
- data/lib/datadog_api_client/v2/models/logs_metric_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/logs_metric_response_attributes.rb +8 -137
- data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +8 -138
- data/lib/datadog_api_client/v2/models/logs_metric_response_compute_aggregation_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_metric_response_data.rb +8 -137
- data/lib/datadog_api_client/v2/models/logs_metric_response_filter.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_metric_response_group_by.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_metric_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +7 -137
- data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/logs_metrics_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/logs_query_filter.rb +8 -137
- data/lib/datadog_api_client/v2/models/logs_query_options.rb +9 -139
- data/lib/datadog_api_client/v2/models/logs_response_metadata.rb +10 -138
- data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +8 -138
- data/lib/datadog_api_client/v2/models/logs_sort.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_sort_order.rb +4 -19
- data/lib/datadog_api_client/v2/models/logs_warning.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric.rb +7 -137
- data/lib/datadog_api_client/v2/models/metric_all_tags.rb +8 -137
- data/lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric_all_tags_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/metric_bulk_configure_tags_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +28 -139
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +28 -139
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_response.rb +8 -137
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +30 -140
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +28 -139
- data/lib/datadog_api_client/v2/models/metric_custom_space_aggregation.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_custom_time_aggregation.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_distinct_volume.rb +8 -137
- data/lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric_distinct_volume_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume.rb +8 -137
- data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +8 -137
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +25 -139
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +47 -141
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +26 -139
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/metric_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/metric_volumes.rb +3 -58
- data/lib/datadog_api_client/v2/models/metric_volumes_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +3 -58
- data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb +120 -0
- data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +159 -0
- data/lib/datadog_api_client/v2/models/organization.rb +18 -138
- data/lib/datadog_api_client/v2/models/organization_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/organizations_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/pagination.rb +6 -137
- data/lib/datadog_api_client/v2/models/partial_api_key.rb +9 -137
- data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +8 -142
- data/lib/datadog_api_client/v2/models/partial_application_key.rb +9 -137
- data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +9 -143
- data/lib/datadog_api_client/v2/models/partial_application_key_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/permission.rb +18 -138
- data/lib/datadog_api_client/v2/models/permission_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/permissions_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/permissions_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/process_summaries_meta.rb +7 -137
- data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +10 -143
- data/lib/datadog_api_client/v2/models/process_summaries_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/process_summary.rb +8 -137
- data/lib/datadog_api_client/v2/models/process_summary_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/process_summary_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/query_sort_order.rb +4 -19
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +27 -139
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +16 -138
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +17 -138
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +27 -139
- data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +17 -138
- data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +27 -139
- data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +16 -138
- data/lib/datadog_api_client/v2/models/relationship_to_permission.rb +7 -137
- data/lib/datadog_api_client/v2/models/relationship_to_permission_data.rb +7 -137
- data/lib/datadog_api_client/v2/models/relationship_to_permissions.rb +6 -137
- data/lib/datadog_api_client/v2/models/relationship_to_role.rb +7 -137
- data/lib/datadog_api_client/v2/models/relationship_to_role_data.rb +8 -138
- data/lib/datadog_api_client/v2/models/relationship_to_roles.rb +7 -138
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +17 -138
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +20 -144
- data/lib/datadog_api_client/v2/models/relationship_to_user.rb +17 -138
- data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +27 -139
- data/lib/datadog_api_client/v2/models/relationship_to_users.rb +16 -138
- data/lib/datadog_api_client/v2/models/response_meta_attributes.rb +7 -137
- data/lib/datadog_api_client/v2/models/role.rb +20 -139
- data/lib/datadog_api_client/v2/models/role_attributes.rb +7 -138
- data/lib/datadog_api_client/v2/models/role_clone.rb +28 -139
- data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/role_clone_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/role_create_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/role_create_data.rb +19 -138
- data/lib/datadog_api_client/v2/models/role_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/role_create_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/role_create_response_data.rb +20 -139
- data/lib/datadog_api_client/v2/models/role_relationships.rb +8 -137
- data/lib/datadog_api_client/v2/models/role_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/role_response_relationships.rb +7 -137
- data/lib/datadog_api_client/v2/models/role_update_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/role_update_data.rb +39 -141
- data/lib/datadog_api_client/v2/models/role_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/role_update_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/role_update_response_data.rb +20 -139
- data/lib/datadog_api_client/v2/models/roles_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/roles_sort.rb +4 -19
- data/lib/datadog_api_client/v2/models/roles_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/rum_event.rb +141 -0
- data/lib/datadog_api_client/v2/models/rum_event_attributes.rb +153 -0
- data/lib/datadog_api_client/v2/models/rum_event_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_events_response.rb +141 -0
- data/lib/datadog_api_client/v2/models/rum_query_filter.rb +145 -0
- data/lib/datadog_api_client/v2/models/rum_query_options.rb +132 -0
- data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +145 -0
- data/lib/datadog_api_client/v2/models/rum_response_links.rb +120 -0
- data/lib/datadog_api_client/v2/models/rum_response_metadata.rb +162 -0
- data/lib/datadog_api_client/v2/models/rum_response_page.rb +119 -0
- data/lib/datadog_api_client/v2/models/rum_response_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_search_events_request.rb +150 -0
- data/lib/datadog_api_client/v2/models/rum_sort.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_warning.rb +139 -0
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +21 -144
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/saml_assertion_attributes_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_filter.rb +8 -137
- data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +9 -140
- data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +57 -142
- data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +26 -139
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/security_filter_filtered_data_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_filter_meta.rb +6 -137
- data/lib/datadog_api_client/v2/models/security_filter_response.rb +8 -137
- data/lib/datadog_api_client/v2/models/security_filter_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +9 -140
- data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/security_filters_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_filter.rb +7 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_filter_action.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_list_rules_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +9 -138
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +19 -139
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +68 -143
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +5 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +5 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_impossible_travel_options.rb +120 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +5 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_max_signal_duration.rb +5 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +9 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_forget_after.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_duration.rb +5 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +25 -138
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +9 -138
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_aggregation.rb +5 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_create.rb +19 -139
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +8 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_severity.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +9 -140
- data/lib/datadog_api_client/v2/models/security_monitoring_signal.rb +9 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +10 -144
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb +9 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb +6 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +8 -140
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response.rb +10 -138
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_links.rb +8 -138
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta.rb +7 -137
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta_page.rb +8 -138
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_sort.rb +4 -19
- data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +26 -139
- data/lib/datadog_api_client/v2/models/service_account_create_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/service_account_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/user.rb +9 -137
- data/lib/datadog_api_client/v2/models/user_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/user_create_attributes.rb +16 -138
- data/lib/datadog_api_client/v2/models/user_create_data.rb +29 -139
- data/lib/datadog_api_client/v2/models/user_create_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/user_invitation_data.rb +28 -139
- data/lib/datadog_api_client/v2/models/user_invitation_data_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +17 -138
- data/lib/datadog_api_client/v2/models/user_invitation_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +8 -137
- data/lib/datadog_api_client/v2/models/user_invitations_request.rb +16 -138
- data/lib/datadog_api_client/v2/models/user_invitations_response.rb +6 -137
- data/lib/datadog_api_client/v2/models/user_invitations_type.rb +4 -19
- data/lib/datadog_api_client/v2/models/user_relationships.rb +7 -137
- data/lib/datadog_api_client/v2/models/user_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/user_response_included_item.rb +3 -58
- data/lib/datadog_api_client/v2/models/user_response_relationships.rb +10 -137
- data/lib/datadog_api_client/v2/models/user_update_attributes.rb +6 -137
- data/lib/datadog_api_client/v2/models/user_update_data.rb +38 -140
- data/lib/datadog_api_client/v2/models/user_update_request.rb +17 -138
- data/lib/datadog_api_client/v2/models/users_response.rb +7 -137
- data/lib/datadog_api_client/v2/models/users_type.rb +4 -19
- data/lib/datadog_api_client/v2.rb +83 -27
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/spec_helper.rb +3 -3
- metadata +87 -346
- data/.generator/openapitools.json +0 -33
- data/.generator/templates/Gemfile.mustache +0 -9
- data/.generator/templates/README.mustache +0 -82
- data/.generator/templates/Rakefile.mustache +0 -10
- data/.generator/templates/api.mustache +0 -216
- data/.generator/templates/api_client_faraday_partial.mustache +0 -138
- data/.generator/templates/api_client_spec.mustache +0 -220
- data/.generator/templates/api_client_typhoeus_partial.mustache +0 -166
- data/.generator/templates/api_doc.mustache +0 -105
- data/.generator/templates/api_info.mustache +0 -15
- data/.generator/templates/api_test.mustache +0 -47
- data/.generator/templates/base_object.mustache +0 -134
- data/.generator/templates/configuration_spec.mustache +0 -34
- data/.generator/templates/configuration_tls_faraday_partial.mustache +0 -29
- data/.generator/templates/configuration_tls_typhoeus_partial.mustache +0 -34
- data/.generator/templates/gem.mustache +0 -40
- data/.generator/templates/gemspec.mustache +0 -35
- data/.generator/templates/git_push.sh.mustache +0 -57
- data/.generator/templates/gitignore.mustache +0 -39
- data/.generator/templates/model.mustache +0 -26
- data/.generator/templates/model_doc.mustache +0 -12
- data/.generator/templates/model_test.mustache +0 -77
- data/.generator/templates/partial_model_enum_class.mustache +0 -21
- data/.generator/templates/partial_model_generic.mustache +0 -384
- data/.generator/templates/partial_model_generic_doc.mustache +0 -28
- data/.generator/templates/partial_oneof_module.mustache +0 -146
- data/.generator/templates/partial_oneof_module_doc.mustache +0 -92
- data/.generator/templates/rspec.mustache +0 -2
- data/.generator/templates/rubocop.mustache +0 -148
- data/.generator/templates/spec_helper.mustache +0 -103
- data/.generator/templates/travis.mustache +0 -14
- data/.generator/templates/version.mustache +0 -7
- data/.openapi-generator/FILES +0 -1036
- data/.openapi-generator/VERSION +0 -1
- data/.openapi-generator-ignore +0 -32
- data/examples/generated/v1/authentication/Validate.rb +0 -10
- data/examples/generated/v1/aws-integration/CreateAWSAccount.rb +0 -11
- data/examples/generated/v1/aws-integration/CreateAWSTagFilter.rb +0 -11
- data/examples/generated/v1/aws-integration/CreateNewAWSExternalId.rb +0 -11
- data/examples/generated/v1/aws-integration/DeleteAWSAccount.rb +0 -11
- data/examples/generated/v1/aws-integration/DeleteAWSTagFilter.rb +0 -11
- data/examples/generated/v1/aws-integration/ListAWSAccounts.rb +0 -15
- data/examples/generated/v1/aws-integration/ListAWSTagFilters.rb +0 -11
- data/examples/generated/v1/aws-integration/ListAvailableAWSNamespaces.rb +0 -10
- data/examples/generated/v1/aws-integration/UpdateAWSAccount.rb +0 -16
- data/examples/generated/v1/aws-logs-integration/CheckAWSLogsLambdaAsync.rb +0 -11
- data/examples/generated/v1/aws-logs-integration/CheckAWSLogsServicesAsync.rb +0 -11
- data/examples/generated/v1/aws-logs-integration/CreateAWSLambdaArn.rb +0 -11
- data/examples/generated/v1/aws-logs-integration/DeleteAWSLambdaArn.rb +0 -11
- data/examples/generated/v1/aws-logs-integration/EnableAWSLogServices.rb +0 -11
- data/examples/generated/v1/aws-logs-integration/ListAWSLogsIntegrations.rb +0 -10
- data/examples/generated/v1/aws-logs-integration/ListAWSLogsServices.rb +0 -10
- data/examples/generated/v1/azure-integration/CreateAzureIntegration.rb +0 -11
- data/examples/generated/v1/azure-integration/DeleteAzureIntegration.rb +0 -11
- data/examples/generated/v1/azure-integration/ListAzureIntegration.rb +0 -10
- data/examples/generated/v1/azure-integration/UpdateAzureHostFilters.rb +0 -11
- data/examples/generated/v1/azure-integration/UpdateAzureIntegration.rb +0 -11
- data/examples/generated/v1/dashboard-lists/CreateDashboardList.rb +0 -11
- data/examples/generated/v1/dashboard-lists/DeleteDashboardList.rb +0 -11
- data/examples/generated/v1/dashboard-lists/GetDashboardList.rb +0 -11
- data/examples/generated/v1/dashboard-lists/ListDashboardLists.rb +0 -10
- data/examples/generated/v1/dashboard-lists/UpdateDashboardList.rb +0 -12
- data/examples/generated/v1/dashboards/CreateDashboard.rb +0 -11
- data/examples/generated/v1/dashboards/DeleteDashboard.rb +0 -11
- data/examples/generated/v1/dashboards/DeleteDashboards.rb +0 -10
- data/examples/generated/v1/dashboards/GetDashboard.rb +0 -11
- data/examples/generated/v1/dashboards/ListDashboards.rb +0 -14
- data/examples/generated/v1/dashboards/RestoreDashboards.rb +0 -10
- data/examples/generated/v1/dashboards/UpdateDashboard.rb +0 -12
- data/examples/generated/v1/downtimes/CancelDowntime.rb +0 -10
- data/examples/generated/v1/downtimes/CancelDowntimesByScope.rb +0 -11
- data/examples/generated/v1/downtimes/CreateDowntime.rb +0 -11
- data/examples/generated/v1/downtimes/GetDowntime.rb +0 -11
- data/examples/generated/v1/downtimes/ListDowntimes.rb +0 -13
- data/examples/generated/v1/downtimes/ListMonitorDowntimes.rb +0 -11
- data/examples/generated/v1/downtimes/UpdateDowntime.rb +0 -12
- data/examples/generated/v1/events/CreateEvent.rb +0 -11
- data/examples/generated/v1/events/GetEvent.rb +0 -11
- data/examples/generated/v1/events/ListEvents.rb +0 -20
- data/examples/generated/v1/gcp-integration/CreateGCPIntegration.rb +0 -11
- data/examples/generated/v1/gcp-integration/DeleteGCPIntegration.rb +0 -11
- data/examples/generated/v1/gcp-integration/ListGCPIntegration.rb +0 -10
- data/examples/generated/v1/gcp-integration/UpdateGCPIntegration.rb +0 -11
- data/examples/generated/v1/hosts/GetHostTotals.rb +0 -13
- data/examples/generated/v1/hosts/ListHosts.rb +0 -20
- data/examples/generated/v1/hosts/MuteHost.rb +0 -12
- data/examples/generated/v1/hosts/UnmuteHost.rb +0 -11
- data/examples/generated/v1/ip-ranges/GetIPRanges.rb +0 -10
- data/examples/generated/v1/key-management/CreateApiKey.rb +0 -11
- data/examples/generated/v1/key-management/CreateApplicationKey.rb +0 -11
- data/examples/generated/v1/key-management/DeleteApiKey.rb +0 -11
- data/examples/generated/v1/key-management/DeleteApplicationKey.rb +0 -11
- data/examples/generated/v1/key-management/GetApiKey.rb +0 -11
- data/examples/generated/v1/key-management/GetApplicationKey.rb +0 -11
- data/examples/generated/v1/key-management/ListApiKeys.rb +0 -10
- data/examples/generated/v1/key-management/ListApplicationKeys.rb +0 -10
- data/examples/generated/v1/key-management/UpdateApiKey.rb +0 -12
- data/examples/generated/v1/key-management/UpdateApplicationKey.rb +0 -12
- data/examples/generated/v1/logs/ListLogs.rb +0 -11
- data/examples/generated/v1/logs-indexes/CreateLogsIndex.rb +0 -11
- data/examples/generated/v1/logs-indexes/GetLogsIndex.rb +0 -11
- data/examples/generated/v1/logs-indexes/GetLogsIndexOrder.rb +0 -10
- data/examples/generated/v1/logs-indexes/ListLogIndexes.rb +0 -10
- data/examples/generated/v1/logs-indexes/UpdateLogsIndex.rb +0 -12
- data/examples/generated/v1/logs-indexes/UpdateLogsIndexOrder.rb +0 -11
- data/examples/generated/v1/logs-pipelines/CreateLogsPipeline.rb +0 -11
- data/examples/generated/v1/logs-pipelines/DeleteLogsPipeline.rb +0 -10
- data/examples/generated/v1/logs-pipelines/GetLogsPipeline.rb +0 -11
- data/examples/generated/v1/logs-pipelines/GetLogsPipelineOrder.rb +0 -10
- data/examples/generated/v1/logs-pipelines/ListLogsPipelines.rb +0 -10
- data/examples/generated/v1/logs-pipelines/UpdateLogsPipeline.rb +0 -12
- data/examples/generated/v1/logs-pipelines/UpdateLogsPipelineOrder.rb +0 -11
- data/examples/generated/v1/metrics/GetMetricMetadata.rb +0 -11
- data/examples/generated/v1/metrics/ListActiveMetrics.rb +0 -15
- data/examples/generated/v1/metrics/ListMetrics.rb +0 -11
- data/examples/generated/v1/metrics/QueryMetrics.rb +0 -13
- data/examples/generated/v1/metrics/SubmitMetrics.rb +0 -14
- data/examples/generated/v1/metrics/UpdateMetricMetadata.rb +0 -12
- data/examples/generated/v1/monitors/CheckCanDeleteMonitor.rb +0 -11
- data/examples/generated/v1/monitors/CreateMonitor.rb +0 -11
- data/examples/generated/v1/monitors/DeleteMonitor.rb +0 -14
- data/examples/generated/v1/monitors/GetMonitor.rb +0 -14
- data/examples/generated/v1/monitors/ListMonitors.rb +0 -20
- data/examples/generated/v1/monitors/SearchMonitorGroups.rb +0 -16
- data/examples/generated/v1/monitors/SearchMonitors.rb +0 -16
- data/examples/generated/v1/monitors/UpdateMonitor.rb +0 -12
- data/examples/generated/v1/monitors/ValidateMonitor.rb +0 -11
- data/examples/generated/v1/notebooks/CreateNotebook.rb +0 -11
- data/examples/generated/v1/notebooks/DeleteNotebook.rb +0 -10
- data/examples/generated/v1/notebooks/GetNotebook.rb +0 -11
- data/examples/generated/v1/notebooks/ListNotebooks.rb +0 -22
- data/examples/generated/v1/notebooks/UpdateNotebook.rb +0 -12
- data/examples/generated/v1/organizations/CreateChildOrg.rb +0 -11
- data/examples/generated/v1/organizations/GetOrg.rb +0 -11
- data/examples/generated/v1/organizations/ListOrgs.rb +0 -10
- data/examples/generated/v1/organizations/UpdateOrg.rb +0 -12
- data/examples/generated/v1/organizations/UploadIDPForOrg.rb +0 -12
- data/examples/generated/v1/pager-duty-integration/CreatePagerDutyIntegrationService.rb +0 -11
- data/examples/generated/v1/pager-duty-integration/DeletePagerDutyIntegrationService.rb +0 -10
- data/examples/generated/v1/pager-duty-integration/GetPagerDutyIntegrationService.rb +0 -11
- data/examples/generated/v1/pager-duty-integration/UpdatePagerDutyIntegrationService.rb +0 -11
- data/examples/generated/v1/service-checks/SubmitServiceCheck.rb +0 -11
- data/examples/generated/v1/service-level-objective-corrections/CreateSLOCorrection.rb +0 -16
- data/examples/generated/v1/service-level-objective-corrections/DeleteSLOCorrection.rb +0 -15
- data/examples/generated/v1/service-level-objective-corrections/GetSLOCorrection.rb +0 -16
- data/examples/generated/v1/service-level-objective-corrections/ListSLOCorrection.rb +0 -15
- data/examples/generated/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +0 -17
- data/examples/generated/v1/service-level-objectives/CheckCanDeleteSLO.rb +0 -11
- data/examples/generated/v1/service-level-objectives/CreateSLO.rb +0 -11
- data/examples/generated/v1/service-level-objectives/DeleteSLO.rb +0 -14
- data/examples/generated/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb +0 -11
- data/examples/generated/v1/service-level-objectives/GetSLO.rb +0 -14
- data/examples/generated/v1/service-level-objectives/GetSLOCorrections.rb +0 -16
- data/examples/generated/v1/service-level-objectives/GetSLOHistory.rb +0 -22
- data/examples/generated/v1/service-level-objectives/ListSLOs.rb +0 -18
- data/examples/generated/v1/service-level-objectives/UpdateSLO.rb +0 -12
- data/examples/generated/v1/slack-integration/CreateSlackIntegrationChannel.rb +0 -12
- data/examples/generated/v1/slack-integration/GetSlackIntegrationChannel.rb +0 -12
- data/examples/generated/v1/slack-integration/GetSlackIntegrationChannels.rb +0 -11
- data/examples/generated/v1/slack-integration/RemoveSlackIntegrationChannel.rb +0 -11
- data/examples/generated/v1/slack-integration/UpdateSlackIntegrationChannel.rb +0 -13
- data/examples/generated/v1/snapshots/GetGraphSnapshot.rb +0 -18
- data/examples/generated/v1/synthetics/CreateGlobalVariable.rb +0 -11
- data/examples/generated/v1/synthetics/CreatePrivateLocation.rb +0 -11
- data/examples/generated/v1/synthetics/CreateSyntheticsApiTest.rb +0 -11
- data/examples/generated/v1/synthetics/CreateSyntheticsBrowserTest.rb +0 -11
- data/examples/generated/v1/synthetics/DeleteGlobalVariable.rb +0 -10
- data/examples/generated/v1/synthetics/DeletePrivateLocation.rb +0 -10
- data/examples/generated/v1/synthetics/DeleteTests.rb +0 -11
- data/examples/generated/v1/synthetics/EditGlobalVariable.rb +0 -12
- data/examples/generated/v1/synthetics/GetApiTest.rb +0 -11
- data/examples/generated/v1/synthetics/GetApiTestLatestResults.rb +0 -16
- data/examples/generated/v1/synthetics/GetApiTestResult.rb +0 -12
- data/examples/generated/v1/synthetics/GetBrowserTest.rb +0 -11
- data/examples/generated/v1/synthetics/GetBrowserTestLatestResults.rb +0 -16
- data/examples/generated/v1/synthetics/GetBrowserTestResult.rb +0 -12
- data/examples/generated/v1/synthetics/GetGlobalVariable.rb +0 -11
- data/examples/generated/v1/synthetics/GetPrivateLocation.rb +0 -11
- data/examples/generated/v1/synthetics/GetSyntheticsCiBatch.rb +0 -11
- data/examples/generated/v1/synthetics/GetTest.rb +0 -11
- data/examples/generated/v1/synthetics/ListGlobalVariables.rb +0 -10
- data/examples/generated/v1/synthetics/ListLocations.rb +0 -10
- data/examples/generated/v1/synthetics/ListTests.rb +0 -10
- data/examples/generated/v1/synthetics/TriggerCiTests.rb +0 -11
- data/examples/generated/v1/synthetics/TriggerTests.rb +0 -11
- data/examples/generated/v1/synthetics/UpdateApiTest.rb +0 -12
- data/examples/generated/v1/synthetics/UpdateBrowserTest.rb +0 -12
- data/examples/generated/v1/synthetics/UpdatePrivateLocation.rb +0 -12
- data/examples/generated/v1/synthetics/UpdateTestPauseStatus.rb +0 -12
- data/examples/generated/v1/tags/CreateHostTags.rb +0 -15
- data/examples/generated/v1/tags/DeleteHostTags.rb +0 -13
- data/examples/generated/v1/tags/GetHostTags.rb +0 -14
- data/examples/generated/v1/tags/ListHostTags.rb +0 -13
- data/examples/generated/v1/tags/UpdateHostTags.rb +0 -15
- data/examples/generated/v1/usage-metering/GetDailyCustomReports.rb +0 -21
- data/examples/generated/v1/usage-metering/GetHourlyUsageAttribution.rb +0 -22
- data/examples/generated/v1/usage-metering/GetIncidentManagement.rb +0 -14
- data/examples/generated/v1/usage-metering/GetIngestedSpans.rb +0 -14
- data/examples/generated/v1/usage-metering/GetMonthlyCustomReports.rb +0 -21
- data/examples/generated/v1/usage-metering/GetMonthlyUsageAttribution.rb +0 -24
- data/examples/generated/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +0 -16
- data/examples/generated/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +0 -16
- data/examples/generated/v1/usage-metering/GetUsageAnalyzedLogs.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageAttribution.rb +0 -25
- data/examples/generated/v1/usage-metering/GetUsageAuditLogs.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageBillableSummary.rb +0 -13
- data/examples/generated/v1/usage-metering/GetUsageCloudSecurityPostureManagement.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageCws.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageDbm.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageFargate.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageHosts.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageIndexedSpans.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageInternetOfThings.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageLambda.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageLogs.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageLogsByIndex.rb +0 -15
- data/examples/generated/v1/usage-metering/GetUsageLogsByRetention.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageNetworkFlows.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageNetworkHosts.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageProfiling.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageRumSessions.rb +0 -15
- data/examples/generated/v1/usage-metering/GetUsageRumUnits.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageSds.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageSnmp.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageSummary.rb +0 -15
- data/examples/generated/v1/usage-metering/GetUsageSynthetics.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageSyntheticsApi.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageSyntheticsBrowser.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageTimeseries.rb +0 -14
- data/examples/generated/v1/usage-metering/GetUsageTopAvgMetrics.rb +0 -17
- data/examples/generated/v1/users/CreateUser.rb +0 -11
- data/examples/generated/v1/users/DisableUser.rb +0 -11
- data/examples/generated/v1/users/GetUser.rb +0 -11
- data/examples/generated/v1/users/ListUsers.rb +0 -10
- data/examples/generated/v1/users/UpdateUser.rb +0 -12
- data/examples/generated/v1/webhooks-integration/CreateWebhooksIntegration.rb +0 -11
- data/examples/generated/v1/webhooks-integration/CreateWebhooksIntegrationCustomVariable.rb +0 -11
- data/examples/generated/v1/webhooks-integration/DeleteWebhooksIntegration.rb +0 -10
- data/examples/generated/v1/webhooks-integration/DeleteWebhooksIntegrationCustomVariable.rb +0 -10
- data/examples/generated/v1/webhooks-integration/GetWebhooksIntegration.rb +0 -11
- data/examples/generated/v1/webhooks-integration/GetWebhooksIntegrationCustomVariable.rb +0 -11
- data/examples/generated/v1/webhooks-integration/UpdateWebhooksIntegration.rb +0 -12
- data/examples/generated/v1/webhooks-integration/UpdateWebhooksIntegrationCustomVariable.rb +0 -12
- data/examples/generated/v2/authn-mappings/CreateAuthNMapping.rb +0 -11
- data/examples/generated/v2/authn-mappings/DeleteAuthNMapping.rb +0 -10
- data/examples/generated/v2/authn-mappings/GetAuthNMapping.rb +0 -11
- data/examples/generated/v2/authn-mappings/UpdateAuthNMapping.rb +0 -12
- data/examples/generated/v2/cloud-workload-security/CreateCloudWorkloadSecurityAgentRule.rb +0 -11
- data/examples/generated/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb +0 -10
- data/examples/generated/v2/cloud-workload-security/DownloadCloudWorkloadPolicyFile.rb +0 -10
- data/examples/generated/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb +0 -11
- data/examples/generated/v2/cloud-workload-security/ListCloudWorkloadSecurityAgentRules.rb +0 -10
- data/examples/generated/v2/cloud-workload-security/UpdateCloudWorkloadSecurityAgentRule.rb +0 -12
- data/examples/generated/v2/dashboard-lists/CreateDashboardListItems.rb +0 -12
- data/examples/generated/v2/dashboard-lists/DeleteDashboardListItems.rb +0 -12
- data/examples/generated/v2/dashboard-lists/GetDashboardListItems.rb +0 -11
- data/examples/generated/v2/dashboard-lists/UpdateDashboardListItems.rb +0 -12
- data/examples/generated/v2/incident-services/CreateIncidentService.rb +0 -16
- data/examples/generated/v2/incident-services/DeleteIncidentService.rb +0 -15
- data/examples/generated/v2/incident-services/GetIncidentService.rb +0 -19
- data/examples/generated/v2/incident-services/ListIncidentServices.rb +0 -21
- data/examples/generated/v2/incident-services/UpdateIncidentService.rb +0 -17
- data/examples/generated/v2/incident-teams/CreateIncidentTeam.rb +0 -16
- data/examples/generated/v2/incident-teams/DeleteIncidentTeam.rb +0 -15
- data/examples/generated/v2/incident-teams/GetIncidentTeam.rb +0 -19
- data/examples/generated/v2/incident-teams/ListIncidentTeams.rb +0 -21
- data/examples/generated/v2/incident-teams/UpdateIncidentTeam.rb +0 -17
- data/examples/generated/v2/incidents/CreateIncident.rb +0 -16
- data/examples/generated/v2/incidents/DeleteIncident.rb +0 -15
- data/examples/generated/v2/incidents/GetIncident.rb +0 -19
- data/examples/generated/v2/incidents/ListIncidents.rb +0 -20
- data/examples/generated/v2/key-management/CreateApiKey.rb +0 -11
- data/examples/generated/v2/key-management/CreateCurrentUserApplicationKey.rb +0 -11
- data/examples/generated/v2/key-management/DeleteApiKey.rb +0 -10
- data/examples/generated/v2/key-management/DeleteApplicationKey.rb +0 -10
- data/examples/generated/v2/key-management/DeleteCurrentUserApplicationKey.rb +0 -10
- data/examples/generated/v2/key-management/GetApiKey.rb +0 -14
- data/examples/generated/v2/key-management/GetApplicationKey.rb +0 -14
- data/examples/generated/v2/key-management/GetCurrentUserApplicationKey.rb +0 -11
- data/examples/generated/v2/key-management/ListApiKeys.rb +0 -21
- data/examples/generated/v2/key-management/ListApplicationKeys.rb +0 -18
- data/examples/generated/v2/key-management/ListCurrentUserApplicationKeys.rb +0 -18
- data/examples/generated/v2/key-management/UpdateApiKey.rb +0 -12
- data/examples/generated/v2/key-management/UpdateApplicationKey.rb +0 -12
- data/examples/generated/v2/key-management/UpdateCurrentUserApplicationKey.rb +0 -12
- data/examples/generated/v2/logs/AggregateLogs.rb +0 -11
- data/examples/generated/v2/logs/ListLogs.rb +0 -13
- data/examples/generated/v2/logs/ListLogsGet.rb +0 -19
- data/examples/generated/v2/logs/SubmitLog.rb +0 -15
- data/examples/generated/v2/logs-archives/AddReadRoleToArchive.rb +0 -11
- data/examples/generated/v2/logs-archives/CreateLogsArchive.rb +0 -11
- data/examples/generated/v2/logs-archives/DeleteLogsArchive.rb +0 -10
- data/examples/generated/v2/logs-archives/GetLogsArchive.rb +0 -11
- data/examples/generated/v2/logs-archives/GetLogsArchiveOrder.rb +0 -10
- data/examples/generated/v2/logs-archives/ListArchiveReadRoles.rb +0 -11
- data/examples/generated/v2/logs-archives/ListLogsArchives.rb +0 -10
- data/examples/generated/v2/logs-archives/RemoveRoleFromArchive.rb +0 -11
- data/examples/generated/v2/logs-archives/UpdateLogsArchive.rb +0 -12
- data/examples/generated/v2/logs-archives/UpdateLogsArchiveOrder.rb +0 -11
- data/examples/generated/v2/logs-metrics/CreateLogsMetric.rb +0 -11
- data/examples/generated/v2/logs-metrics/DeleteLogsMetric.rb +0 -10
- data/examples/generated/v2/logs-metrics/GetLogsMetric.rb +0 -11
- data/examples/generated/v2/logs-metrics/ListLogsMetrics.rb +0 -10
- data/examples/generated/v2/logs-metrics/UpdateLogsMetric.rb +0 -12
- data/examples/generated/v2/metrics/CreateBulkTagsMetricsConfiguration.rb +0 -11
- data/examples/generated/v2/metrics/CreateTagConfiguration.rb +0 -17
- data/examples/generated/v2/metrics/DeleteBulkTagsMetricsConfiguration.rb +0 -11
- data/examples/generated/v2/metrics/DeleteTagConfiguration.rb +0 -15
- data/examples/generated/v2/metrics/ListTagConfigurationByName.rb +0 -16
- data/examples/generated/v2/metrics/ListTagConfigurations.rb +0 -23
- data/examples/generated/v2/metrics/ListTagsByMetricName.rb +0 -11
- data/examples/generated/v2/metrics/ListVolumesByMetricName.rb +0 -11
- data/examples/generated/v2/metrics/UpdateTagConfiguration.rb +0 -17
- data/examples/generated/v2/processes/ListProcesses.rb +0 -18
- data/examples/generated/v2/roles/AddPermissionToRole.rb +0 -12
- data/examples/generated/v2/roles/CloneRole.rb +0 -12
- data/examples/generated/v2/roles/CreateRole.rb +0 -11
- data/examples/generated/v2/roles/DeleteRole.rb +0 -10
- data/examples/generated/v2/roles/GetRole.rb +0 -11
- data/examples/generated/v2/roles/ListPermissions.rb +0 -10
- data/examples/generated/v2/roles/ListRolePermissions.rb +0 -11
- data/examples/generated/v2/roles/ListRoleUsers.rb +0 -17
- data/examples/generated/v2/roles/ListRoles.rb +0 -16
- data/examples/generated/v2/roles/RemovePermissionFromRole.rb +0 -12
- data/examples/generated/v2/security-monitoring/CreateSecurityFilter.rb +0 -11
- data/examples/generated/v2/security-monitoring/CreateSecurityMonitoringRule.rb +0 -11
- data/examples/generated/v2/security-monitoring/DeleteSecurityFilter.rb +0 -10
- data/examples/generated/v2/security-monitoring/DeleteSecurityMonitoringRule.rb +0 -10
- data/examples/generated/v2/security-monitoring/GetSecurityFilter.rb +0 -11
- data/examples/generated/v2/security-monitoring/GetSecurityMonitoringRule.rb +0 -11
- data/examples/generated/v2/security-monitoring/ListSecurityFilters.rb +0 -10
- data/examples/generated/v2/security-monitoring/ListSecurityMonitoringRules.rb +0 -14
- data/examples/generated/v2/security-monitoring/ListSecurityMonitoringSignals.rb +0 -23
- data/examples/generated/v2/security-monitoring/SearchSecurityMonitoringSignals.rb +0 -18
- data/examples/generated/v2/security-monitoring/UpdateSecurityFilter.rb +0 -12
- data/examples/generated/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +0 -12
- data/examples/generated/v2/users/CreateServiceAccount.rb +0 -11
- data/examples/generated/v2/users/CreateUser.rb +0 -11
- data/examples/generated/v2/users/ListUsers.rb +0 -18
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +0 -122
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: support@datadoghq.com
|
8
|
-
Generated by: https://
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
9
|
|
10
10
|
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
11
|
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
@@ -22,13 +22,14 @@ module DatadogAPIClient::V1
|
|
22
22
|
def initialize(api_client = APIClient.default)
|
23
23
|
@api_client = api_client
|
24
24
|
end
|
25
|
+
|
25
26
|
# Get the list of available daily custom reports
|
26
27
|
# Get daily custom reports.
|
27
|
-
# @param [Hash]
|
28
|
-
# @option opts [Integer] :page_size The number of files to return in the response.
|
29
|
-
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature
|
30
|
-
# @option opts [UsageSortDirection] :sort_dir The direction to sort by:
|
31
|
-
# @option opts [UsageSort] :sort The field to sort by:
|
28
|
+
# @param opts [Hash] the optional parameters
|
29
|
+
# @option opts [Integer] :page_size The number of files to return in the response. `[default=60]`.
|
30
|
+
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
|
31
|
+
# @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
|
32
|
+
# @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
|
32
33
|
# @return [UsageCustomReportsResponse]
|
33
34
|
def get_daily_custom_reports(opts = {})
|
34
35
|
data, _status_code, _headers = get_daily_custom_reports_with_http_info(opts)
|
@@ -37,11 +38,11 @@ module DatadogAPIClient::V1
|
|
37
38
|
|
38
39
|
# Get the list of available daily custom reports
|
39
40
|
# Get daily custom reports.
|
40
|
-
# @param [Hash]
|
41
|
-
# @option opts [Integer] :page_size The number of files to return in the response.
|
42
|
-
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature
|
43
|
-
# @option opts [UsageSortDirection] :sort_dir The direction to sort by:
|
44
|
-
# @option opts [UsageSort] :sort The field to sort by:
|
41
|
+
# @param opts [Hash] the optional parameters
|
42
|
+
# @option opts [Integer] :page_size The number of files to return in the response. `[default=60]`.
|
43
|
+
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
|
44
|
+
# @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
|
45
|
+
# @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
|
45
46
|
# @return [Array<(UsageCustomReportsResponse, Integer, Hash)>] UsageCustomReportsResponse data, response status code and response headers
|
46
47
|
def get_daily_custom_reports_with_http_info(opts = {})
|
47
48
|
|
@@ -57,6 +58,14 @@ module DatadogAPIClient::V1
|
|
57
58
|
if @api_client.config.debugging
|
58
59
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_daily_custom_reports ...'
|
59
60
|
end
|
61
|
+
allowable_values = ['desc', 'asc']
|
62
|
+
if @api_client.config.client_side_validation && opts[:'sort_dir'] && !allowable_values.include?(opts[:'sort_dir'])
|
63
|
+
fail ArgumentError, "invalid value for \"sort_dir\", must be one of #{allowable_values}"
|
64
|
+
end
|
65
|
+
allowable_values = ['computed_on', 'size', 'start_date', 'end_date']
|
66
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
67
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
68
|
+
end
|
60
69
|
# resource path
|
61
70
|
local_var_path = '/api/v1/daily_custom_reports'
|
62
71
|
|
@@ -82,7 +91,7 @@ module DatadogAPIClient::V1
|
|
82
91
|
return_type = opts[:debug_return_type] || 'UsageCustomReportsResponse'
|
83
92
|
|
84
93
|
# auth_names
|
85
|
-
auth_names = opts[:debug_auth_names] || [:
|
94
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
86
95
|
|
87
96
|
new_options = opts.merge(
|
88
97
|
:operation => :get_daily_custom_reports,
|
@@ -103,10 +112,10 @@ module DatadogAPIClient::V1
|
|
103
112
|
|
104
113
|
# Get Hourly Usage Attribution
|
105
114
|
# Get Hourly Usage Attribution.
|
106
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
115
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
107
116
|
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve.
|
108
|
-
# @param [Hash]
|
109
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
117
|
+
# @param opts [Hash] the optional parameters
|
118
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
110
119
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
111
120
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
|
112
121
|
# @return [HourlyUsageAttributionResponse]
|
@@ -117,10 +126,10 @@ module DatadogAPIClient::V1
|
|
117
126
|
|
118
127
|
# Get Hourly Usage Attribution
|
119
128
|
# Get Hourly Usage Attribution.
|
120
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
129
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
121
130
|
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve.
|
122
|
-
# @param [Hash]
|
123
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
131
|
+
# @param opts [Hash] the optional parameters
|
132
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
124
133
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
125
134
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
|
126
135
|
# @return [Array<(HourlyUsageAttributionResponse, Integer, Hash)>] HourlyUsageAttributionResponse data, response status code and response headers
|
@@ -146,6 +155,11 @@ module DatadogAPIClient::V1
|
|
146
155
|
if @api_client.config.client_side_validation && usage_type.nil?
|
147
156
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
148
157
|
end
|
158
|
+
# verify enum value
|
159
|
+
allowable_values = ['api_usage', 'apm_host_usage', 'browser_usage', 'container_usage', 'custom_timeseries_usage', 'estimated_indexed_logs_usage', 'fargate_usage', 'functions_usage', 'indexed_logs_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_host_usage', 'snmp_usage']
|
160
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
161
|
+
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
162
|
+
end
|
149
163
|
# resource path
|
150
164
|
local_var_path = '/api/v1/usage/hourly-attribution'
|
151
165
|
|
@@ -172,7 +186,7 @@ module DatadogAPIClient::V1
|
|
172
186
|
return_type = opts[:debug_return_type] || 'HourlyUsageAttributionResponse'
|
173
187
|
|
174
188
|
# auth_names
|
175
|
-
auth_names = opts[:debug_auth_names] || [:
|
189
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
176
190
|
|
177
191
|
new_options = opts.merge(
|
178
192
|
:operation => :get_hourly_usage_attribution,
|
@@ -193,9 +207,9 @@ module DatadogAPIClient::V1
|
|
193
207
|
|
194
208
|
# Get hourly usage for incident management
|
195
209
|
# Get hourly usage for incident management.
|
196
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
197
|
-
# @param [Hash]
|
198
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
210
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
211
|
+
# @param opts [Hash] the optional parameters
|
212
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
199
213
|
# @return [UsageIncidentManagementResponse]
|
200
214
|
def get_incident_management(start_hr, opts = {})
|
201
215
|
data, _status_code, _headers = get_incident_management_with_http_info(start_hr, opts)
|
@@ -204,9 +218,9 @@ module DatadogAPIClient::V1
|
|
204
218
|
|
205
219
|
# Get hourly usage for incident management
|
206
220
|
# Get hourly usage for incident management.
|
207
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
208
|
-
# @param [Hash]
|
209
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
221
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
222
|
+
# @param opts [Hash] the optional parameters
|
223
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
210
224
|
# @return [Array<(UsageIncidentManagementResponse, Integer, Hash)>] UsageIncidentManagementResponse data, response status code and response headers
|
211
225
|
def get_incident_management_with_http_info(start_hr, opts = {})
|
212
226
|
|
@@ -249,7 +263,7 @@ module DatadogAPIClient::V1
|
|
249
263
|
return_type = opts[:debug_return_type] || 'UsageIncidentManagementResponse'
|
250
264
|
|
251
265
|
# auth_names
|
252
|
-
auth_names = opts[:debug_auth_names] || [:
|
266
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
253
267
|
|
254
268
|
new_options = opts.merge(
|
255
269
|
:operation => :get_incident_management,
|
@@ -270,9 +284,9 @@ module DatadogAPIClient::V1
|
|
270
284
|
|
271
285
|
# Get hourly usage for ingested spans
|
272
286
|
# Get hourly usage for ingested spans.
|
273
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
274
|
-
# @param [Hash]
|
275
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
287
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
288
|
+
# @param opts [Hash] the optional parameters
|
289
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
276
290
|
# @return [UsageIngestedSpansResponse]
|
277
291
|
def get_ingested_spans(start_hr, opts = {})
|
278
292
|
data, _status_code, _headers = get_ingested_spans_with_http_info(start_hr, opts)
|
@@ -281,9 +295,9 @@ module DatadogAPIClient::V1
|
|
281
295
|
|
282
296
|
# Get hourly usage for ingested spans
|
283
297
|
# Get hourly usage for ingested spans.
|
284
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
285
|
-
# @param [Hash]
|
286
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
298
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
299
|
+
# @param opts [Hash] the optional parameters
|
300
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
287
301
|
# @return [Array<(UsageIngestedSpansResponse, Integer, Hash)>] UsageIngestedSpansResponse data, response status code and response headers
|
288
302
|
def get_ingested_spans_with_http_info(start_hr, opts = {})
|
289
303
|
|
@@ -326,7 +340,7 @@ module DatadogAPIClient::V1
|
|
326
340
|
return_type = opts[:debug_return_type] || 'UsageIngestedSpansResponse'
|
327
341
|
|
328
342
|
# auth_names
|
329
|
-
auth_names = opts[:debug_auth_names] || [:
|
343
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
330
344
|
|
331
345
|
new_options = opts.merge(
|
332
346
|
:operation => :get_ingested_spans,
|
@@ -347,11 +361,11 @@ module DatadogAPIClient::V1
|
|
347
361
|
|
348
362
|
# Get the list of available monthly custom reports
|
349
363
|
# Get monthly custom reports.
|
350
|
-
# @param [Hash]
|
351
|
-
# @option opts [Integer] :page_size The number of files to return in the response
|
352
|
-
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature
|
353
|
-
# @option opts [UsageSortDirection] :sort_dir The direction to sort by:
|
354
|
-
# @option opts [UsageSort] :sort The field to sort by:
|
364
|
+
# @param opts [Hash] the optional parameters
|
365
|
+
# @option opts [Integer] :page_size The number of files to return in the response `[default=60].`
|
366
|
+
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
|
367
|
+
# @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
|
368
|
+
# @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
|
355
369
|
# @return [UsageCustomReportsResponse]
|
356
370
|
def get_monthly_custom_reports(opts = {})
|
357
371
|
data, _status_code, _headers = get_monthly_custom_reports_with_http_info(opts)
|
@@ -360,11 +374,11 @@ module DatadogAPIClient::V1
|
|
360
374
|
|
361
375
|
# Get the list of available monthly custom reports
|
362
376
|
# Get monthly custom reports.
|
363
|
-
# @param [Hash]
|
364
|
-
# @option opts [Integer] :page_size The number of files to return in the response
|
365
|
-
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature
|
366
|
-
# @option opts [UsageSortDirection] :sort_dir The direction to sort by:
|
367
|
-
# @option opts [UsageSort] :sort The field to sort by:
|
377
|
+
# @param opts [Hash] the optional parameters
|
378
|
+
# @option opts [Integer] :page_size The number of files to return in the response `[default=60].`
|
379
|
+
# @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
|
380
|
+
# @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
|
381
|
+
# @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
|
368
382
|
# @return [Array<(UsageCustomReportsResponse, Integer, Hash)>] UsageCustomReportsResponse data, response status code and response headers
|
369
383
|
def get_monthly_custom_reports_with_http_info(opts = {})
|
370
384
|
|
@@ -380,6 +394,14 @@ module DatadogAPIClient::V1
|
|
380
394
|
if @api_client.config.debugging
|
381
395
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_monthly_custom_reports ...'
|
382
396
|
end
|
397
|
+
allowable_values = ['desc', 'asc']
|
398
|
+
if @api_client.config.client_side_validation && opts[:'sort_dir'] && !allowable_values.include?(opts[:'sort_dir'])
|
399
|
+
fail ArgumentError, "invalid value for \"sort_dir\", must be one of #{allowable_values}"
|
400
|
+
end
|
401
|
+
allowable_values = ['computed_on', 'size', 'start_date', 'end_date']
|
402
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
403
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
404
|
+
end
|
383
405
|
# resource path
|
384
406
|
local_var_path = '/api/v1/monthly_custom_reports'
|
385
407
|
|
@@ -405,7 +427,7 @@ module DatadogAPIClient::V1
|
|
405
427
|
return_type = opts[:debug_return_type] || 'UsageCustomReportsResponse'
|
406
428
|
|
407
429
|
# auth_names
|
408
|
-
auth_names = opts[:debug_auth_names] || [:
|
430
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
409
431
|
|
410
432
|
new_options = opts.merge(
|
411
433
|
:operation => :get_monthly_custom_reports,
|
@@ -426,11 +448,11 @@ module DatadogAPIClient::V1
|
|
426
448
|
|
427
449
|
# Get Monthly Usage Attribution
|
428
450
|
# Get Monthly Usage Attribution.
|
429
|
-
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month:
|
430
|
-
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or
|
431
|
-
# @param [Hash]
|
432
|
-
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month:
|
433
|
-
# @option opts [UsageSortDirection] :sort_direction The direction to sort by:
|
451
|
+
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
452
|
+
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
453
|
+
# @param opts [Hash] the optional parameters
|
454
|
+
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
455
|
+
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
434
456
|
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
|
435
457
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
|
436
458
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
@@ -442,11 +464,11 @@ module DatadogAPIClient::V1
|
|
442
464
|
|
443
465
|
# Get Monthly Usage Attribution
|
444
466
|
# Get Monthly Usage Attribution.
|
445
|
-
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month:
|
446
|
-
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or
|
447
|
-
# @param [Hash]
|
448
|
-
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month:
|
449
|
-
# @option opts [UsageSortDirection] :sort_direction The direction to sort by:
|
467
|
+
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
468
|
+
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
469
|
+
# @param opts [Hash] the optional parameters
|
470
|
+
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
471
|
+
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
450
472
|
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
|
451
473
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
|
452
474
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
@@ -473,6 +495,19 @@ module DatadogAPIClient::V1
|
|
473
495
|
if @api_client.config.client_side_validation && fields.nil?
|
474
496
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
|
475
497
|
end
|
498
|
+
# verify enum value
|
499
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
|
500
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
501
|
+
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
502
|
+
end
|
503
|
+
allowable_values = ['desc', 'asc']
|
504
|
+
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
505
|
+
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
506
|
+
end
|
507
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
|
508
|
+
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
509
|
+
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
510
|
+
end
|
476
511
|
# resource path
|
477
512
|
local_var_path = '/api/v1/usage/monthly-attribution'
|
478
513
|
|
@@ -501,7 +536,7 @@ module DatadogAPIClient::V1
|
|
501
536
|
return_type = opts[:debug_return_type] || 'MonthlyUsageAttributionResponse'
|
502
537
|
|
503
538
|
# auth_names
|
504
|
-
auth_names = opts[:debug_auth_names] || [:
|
539
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
505
540
|
|
506
541
|
new_options = opts.merge(
|
507
542
|
:operation => :get_monthly_usage_attribution,
|
@@ -522,8 +557,8 @@ module DatadogAPIClient::V1
|
|
522
557
|
|
523
558
|
# Get specified daily custom reports
|
524
559
|
# Get specified daily custom reports.
|
525
|
-
# @param report_id [String] Date of the report in the format
|
526
|
-
# @param [Hash]
|
560
|
+
# @param report_id [String] Date of the report in the format `YYYY-MM-DD`.
|
561
|
+
# @param opts [Hash] the optional parameters
|
527
562
|
# @return [UsageSpecifiedCustomReportsResponse]
|
528
563
|
def get_specified_daily_custom_reports(report_id, opts = {})
|
529
564
|
data, _status_code, _headers = get_specified_daily_custom_reports_with_http_info(report_id, opts)
|
@@ -532,8 +567,8 @@ module DatadogAPIClient::V1
|
|
532
567
|
|
533
568
|
# Get specified daily custom reports
|
534
569
|
# Get specified daily custom reports.
|
535
|
-
# @param report_id [String] Date of the report in the format
|
536
|
-
# @param [Hash]
|
570
|
+
# @param report_id [String] Date of the report in the format `YYYY-MM-DD`.
|
571
|
+
# @param opts [Hash] the optional parameters
|
537
572
|
# @return [Array<(UsageSpecifiedCustomReportsResponse, Integer, Hash)>] UsageSpecifiedCustomReportsResponse data, response status code and response headers
|
538
573
|
def get_specified_daily_custom_reports_with_http_info(report_id, opts = {})
|
539
574
|
|
@@ -554,7 +589,7 @@ module DatadogAPIClient::V1
|
|
554
589
|
fail ArgumentError, "Missing the required parameter 'report_id' when calling UsageMeteringAPI.get_specified_daily_custom_reports"
|
555
590
|
end
|
556
591
|
# resource path
|
557
|
-
local_var_path = '/api/v1/daily_custom_reports/{report_id}'.sub('{
|
592
|
+
local_var_path = '/api/v1/daily_custom_reports/{report_id}'.sub('{report_id}', CGI.escape(report_id.to_s).gsub('%2F', '/'))
|
558
593
|
|
559
594
|
# query parameters
|
560
595
|
query_params = opts[:query_params] || {}
|
@@ -574,7 +609,7 @@ module DatadogAPIClient::V1
|
|
574
609
|
return_type = opts[:debug_return_type] || 'UsageSpecifiedCustomReportsResponse'
|
575
610
|
|
576
611
|
# auth_names
|
577
|
-
auth_names = opts[:debug_auth_names] || [:
|
612
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
578
613
|
|
579
614
|
new_options = opts.merge(
|
580
615
|
:operation => :get_specified_daily_custom_reports,
|
@@ -595,8 +630,8 @@ module DatadogAPIClient::V1
|
|
595
630
|
|
596
631
|
# Get specified monthly custom reports
|
597
632
|
# Get specified monthly custom reports.
|
598
|
-
# @param report_id [String] Date of the report in the format
|
599
|
-
# @param [Hash]
|
633
|
+
# @param report_id [String] Date of the report in the format `YYYY-MM-DD`.
|
634
|
+
# @param opts [Hash] the optional parameters
|
600
635
|
# @return [UsageSpecifiedCustomReportsResponse]
|
601
636
|
def get_specified_monthly_custom_reports(report_id, opts = {})
|
602
637
|
data, _status_code, _headers = get_specified_monthly_custom_reports_with_http_info(report_id, opts)
|
@@ -605,8 +640,8 @@ module DatadogAPIClient::V1
|
|
605
640
|
|
606
641
|
# Get specified monthly custom reports
|
607
642
|
# Get specified monthly custom reports.
|
608
|
-
# @param report_id [String] Date of the report in the format
|
609
|
-
# @param [Hash]
|
643
|
+
# @param report_id [String] Date of the report in the format `YYYY-MM-DD`.
|
644
|
+
# @param opts [Hash] the optional parameters
|
610
645
|
# @return [Array<(UsageSpecifiedCustomReportsResponse, Integer, Hash)>] UsageSpecifiedCustomReportsResponse data, response status code and response headers
|
611
646
|
def get_specified_monthly_custom_reports_with_http_info(report_id, opts = {})
|
612
647
|
|
@@ -627,7 +662,7 @@ module DatadogAPIClient::V1
|
|
627
662
|
fail ArgumentError, "Missing the required parameter 'report_id' when calling UsageMeteringAPI.get_specified_monthly_custom_reports"
|
628
663
|
end
|
629
664
|
# resource path
|
630
|
-
local_var_path = '/api/v1/monthly_custom_reports/{report_id}'.sub('{
|
665
|
+
local_var_path = '/api/v1/monthly_custom_reports/{report_id}'.sub('{report_id}', CGI.escape(report_id.to_s).gsub('%2F', '/'))
|
631
666
|
|
632
667
|
# query parameters
|
633
668
|
query_params = opts[:query_params] || {}
|
@@ -647,7 +682,7 @@ module DatadogAPIClient::V1
|
|
647
682
|
return_type = opts[:debug_return_type] || 'UsageSpecifiedCustomReportsResponse'
|
648
683
|
|
649
684
|
# auth_names
|
650
|
-
auth_names = opts[:debug_auth_names] || [:
|
685
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
651
686
|
|
652
687
|
new_options = opts.merge(
|
653
688
|
:operation => :get_specified_monthly_custom_reports,
|
@@ -668,9 +703,9 @@ module DatadogAPIClient::V1
|
|
668
703
|
|
669
704
|
# Get hourly usage for analyzed logs
|
670
705
|
# Get hourly usage for analyzed logs (Security Monitoring).
|
671
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
672
|
-
# @param [Hash]
|
673
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
706
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
707
|
+
# @param opts [Hash] the optional parameters
|
708
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
674
709
|
# @return [UsageAnalyzedLogsResponse]
|
675
710
|
def get_usage_analyzed_logs(start_hr, opts = {})
|
676
711
|
data, _status_code, _headers = get_usage_analyzed_logs_with_http_info(start_hr, opts)
|
@@ -679,9 +714,9 @@ module DatadogAPIClient::V1
|
|
679
714
|
|
680
715
|
# Get hourly usage for analyzed logs
|
681
716
|
# Get hourly usage for analyzed logs (Security Monitoring).
|
682
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
683
|
-
# @param [Hash]
|
684
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
717
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
718
|
+
# @param opts [Hash] the optional parameters
|
719
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
685
720
|
# @return [Array<(UsageAnalyzedLogsResponse, Integer, Hash)>] UsageAnalyzedLogsResponse data, response status code and response headers
|
686
721
|
def get_usage_analyzed_logs_with_http_info(start_hr, opts = {})
|
687
722
|
|
@@ -724,7 +759,7 @@ module DatadogAPIClient::V1
|
|
724
759
|
return_type = opts[:debug_return_type] || 'UsageAnalyzedLogsResponse'
|
725
760
|
|
726
761
|
# auth_names
|
727
|
-
auth_names = opts[:debug_auth_names] || [:
|
762
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
728
763
|
|
729
764
|
new_options = opts.merge(
|
730
765
|
:operation => :get_usage_analyzed_logs,
|
@@ -745,15 +780,15 @@ module DatadogAPIClient::V1
|
|
745
780
|
|
746
781
|
# Get Usage Attribution
|
747
782
|
# Get Usage Attribution.
|
748
|
-
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month:
|
749
|
-
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or
|
750
|
-
# @param [Hash]
|
751
|
-
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month:
|
752
|
-
# @option opts [UsageSortDirection] :sort_direction The direction to sort by:
|
753
|
-
# @option opts [UsageAttributionSort] :sort_name The field to sort by.
|
754
|
-
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to false.
|
755
|
-
# @option opts [Integer] :offset Number of records to skip before beginning to return.
|
756
|
-
# @option opts [Integer] :limit Maximum number of records to be returned.
|
783
|
+
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
784
|
+
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
785
|
+
# @param opts [Hash] the optional parameters
|
786
|
+
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
787
|
+
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
788
|
+
# @option opts [UsageAttributionSort] :sort_name The field to sort by.
|
789
|
+
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to false.
|
790
|
+
# @option opts [Integer] :offset Number of records to skip before beginning to return.
|
791
|
+
# @option opts [Integer] :limit Maximum number of records to be returned.
|
757
792
|
# @return [UsageAttributionResponse]
|
758
793
|
def get_usage_attribution(start_month, fields, opts = {})
|
759
794
|
data, _status_code, _headers = get_usage_attribution_with_http_info(start_month, fields, opts)
|
@@ -762,11 +797,11 @@ module DatadogAPIClient::V1
|
|
762
797
|
|
763
798
|
# Get Usage Attribution
|
764
799
|
# Get Usage Attribution.
|
765
|
-
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month:
|
766
|
-
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or
|
767
|
-
# @param [Hash]
|
768
|
-
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month:
|
769
|
-
# @option opts [UsageSortDirection] :sort_direction The direction to sort by:
|
800
|
+
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
801
|
+
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
802
|
+
# @param opts [Hash] the optional parameters
|
803
|
+
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
804
|
+
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
770
805
|
# @option opts [UsageAttributionSort] :sort_name The field to sort by.
|
771
806
|
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to false.
|
772
807
|
# @option opts [Integer] :offset Number of records to skip before beginning to return.
|
@@ -794,6 +829,19 @@ module DatadogAPIClient::V1
|
|
794
829
|
if @api_client.config.client_side_validation && fields.nil?
|
795
830
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_usage_attribution"
|
796
831
|
end
|
832
|
+
# verify enum value
|
833
|
+
allowable_values = ['custom_timeseries_usage', 'container_usage', 'snmp_percentage', 'apm_host_usage', 'browser_usage', 'npm_host_percentage', 'infra_host_usage', 'custom_timeseries_percentage', 'container_percentage', 'lambda_usage', 'api_usage', 'apm_host_percentage', 'infra_host_percentage', 'snmp_usage', 'browser_percentage', 'api_percentage', 'lambda_percentage', 'npm_host_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'fargate_usage', 'fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'dbm_hosts_usage', 'dbm_hosts_percentage', 'dbm_queries_usage', 'dbm_queries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', '*']
|
834
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
835
|
+
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
836
|
+
end
|
837
|
+
allowable_values = ['desc', 'asc']
|
838
|
+
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
839
|
+
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
840
|
+
end
|
841
|
+
allowable_values = ['api_percentage', 'snmp_usage', 'apm_host_usage', 'api_usage', 'container_usage', 'custom_timeseries_percentage', 'container_percentage', 'apm_host_percentage', 'npm_host_percentage', 'browser_percentage', 'browser_usage', 'infra_host_percentage', 'snmp_percentage', 'npm_host_usage', 'infra_host_usage', 'custom_timeseries_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'lambda_usage', 'lambda_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage']
|
842
|
+
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
843
|
+
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
844
|
+
end
|
797
845
|
# resource path
|
798
846
|
local_var_path = '/api/v1/usage/attribution'
|
799
847
|
|
@@ -823,7 +871,7 @@ module DatadogAPIClient::V1
|
|
823
871
|
return_type = opts[:debug_return_type] || 'UsageAttributionResponse'
|
824
872
|
|
825
873
|
# auth_names
|
826
|
-
auth_names = opts[:debug_auth_names] || [:
|
874
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
827
875
|
|
828
876
|
new_options = opts.merge(
|
829
877
|
:operation => :get_usage_attribution,
|
@@ -844,9 +892,9 @@ module DatadogAPIClient::V1
|
|
844
892
|
|
845
893
|
# Get hourly usage for audit logs
|
846
894
|
# Get hourly usage for audit logs.
|
847
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
848
|
-
# @param [Hash]
|
849
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
895
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
896
|
+
# @param opts [Hash] the optional parameters
|
897
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
850
898
|
# @return [UsageAuditLogsResponse]
|
851
899
|
def get_usage_audit_logs(start_hr, opts = {})
|
852
900
|
data, _status_code, _headers = get_usage_audit_logs_with_http_info(start_hr, opts)
|
@@ -855,9 +903,9 @@ module DatadogAPIClient::V1
|
|
855
903
|
|
856
904
|
# Get hourly usage for audit logs
|
857
905
|
# Get hourly usage for audit logs.
|
858
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
859
|
-
# @param [Hash]
|
860
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
906
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
907
|
+
# @param opts [Hash] the optional parameters
|
908
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
861
909
|
# @return [Array<(UsageAuditLogsResponse, Integer, Hash)>] UsageAuditLogsResponse data, response status code and response headers
|
862
910
|
def get_usage_audit_logs_with_http_info(start_hr, opts = {})
|
863
911
|
|
@@ -900,7 +948,7 @@ module DatadogAPIClient::V1
|
|
900
948
|
return_type = opts[:debug_return_type] || 'UsageAuditLogsResponse'
|
901
949
|
|
902
950
|
# auth_names
|
903
|
-
auth_names = opts[:debug_auth_names] || [:
|
951
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
904
952
|
|
905
953
|
new_options = opts.merge(
|
906
954
|
:operation => :get_usage_audit_logs,
|
@@ -921,8 +969,8 @@ module DatadogAPIClient::V1
|
|
921
969
|
|
922
970
|
# Get billable usage across your account
|
923
971
|
# Get billable usage across your account.
|
924
|
-
# @param [Hash]
|
925
|
-
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month:
|
972
|
+
# @param opts [Hash] the optional parameters
|
973
|
+
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month.
|
926
974
|
# @return [UsageBillableSummaryResponse]
|
927
975
|
def get_usage_billable_summary(opts = {})
|
928
976
|
data, _status_code, _headers = get_usage_billable_summary_with_http_info(opts)
|
@@ -931,8 +979,8 @@ module DatadogAPIClient::V1
|
|
931
979
|
|
932
980
|
# Get billable usage across your account
|
933
981
|
# Get billable usage across your account.
|
934
|
-
# @param [Hash]
|
935
|
-
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month:
|
982
|
+
# @param opts [Hash] the optional parameters
|
983
|
+
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month.
|
936
984
|
# @return [Array<(UsageBillableSummaryResponse, Integer, Hash)>] UsageBillableSummaryResponse data, response status code and response headers
|
937
985
|
def get_usage_billable_summary_with_http_info(opts = {})
|
938
986
|
|
@@ -970,7 +1018,7 @@ module DatadogAPIClient::V1
|
|
970
1018
|
return_type = opts[:debug_return_type] || 'UsageBillableSummaryResponse'
|
971
1019
|
|
972
1020
|
# auth_names
|
973
|
-
auth_names = opts[:debug_auth_names] || [:
|
1021
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
974
1022
|
|
975
1023
|
new_options = opts.merge(
|
976
1024
|
:operation => :get_usage_billable_summary,
|
@@ -989,11 +1037,88 @@ module DatadogAPIClient::V1
|
|
989
1037
|
return data, status_code, headers
|
990
1038
|
end
|
991
1039
|
|
1040
|
+
# Get hourly usage for CI Visibility
|
1041
|
+
# Get hourly usage for CI Visibility (Tests, Pipeline, Combo, and Spans).
|
1042
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1043
|
+
# @param opts [Hash] the optional parameters
|
1044
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1045
|
+
# @return [UsageCIVisibilityResponse]
|
1046
|
+
def get_usage_ci_app(start_hr, opts = {})
|
1047
|
+
data, _status_code, _headers = get_usage_ci_app_with_http_info(start_hr, opts)
|
1048
|
+
data
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
# Get hourly usage for CI Visibility
|
1052
|
+
# Get hourly usage for CI Visibility (Tests, Pipeline, Combo, and Spans).
|
1053
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1054
|
+
# @param opts [Hash] the optional parameters
|
1055
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1056
|
+
# @return [Array<(UsageCIVisibilityResponse, Integer, Hash)>] UsageCIVisibilityResponse data, response status code and response headers
|
1057
|
+
def get_usage_ci_app_with_http_info(start_hr, opts = {})
|
1058
|
+
|
1059
|
+
if @api_client.config.unstable_operations.has_key?(:get_usage_ci_app)
|
1060
|
+
unstable_enabled = @api_client.config.unstable_operations[:get_usage_ci_app]
|
1061
|
+
if unstable_enabled
|
1062
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_ci_app")
|
1063
|
+
else
|
1064
|
+
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_ci_app"))
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
if @api_client.config.debugging
|
1069
|
+
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_ci_app ...'
|
1070
|
+
end
|
1071
|
+
# verify the required parameter 'start_hr' is set
|
1072
|
+
if @api_client.config.client_side_validation && start_hr.nil?
|
1073
|
+
fail ArgumentError, "Missing the required parameter 'start_hr' when calling UsageMeteringAPI.get_usage_ci_app"
|
1074
|
+
end
|
1075
|
+
# resource path
|
1076
|
+
local_var_path = '/api/v1/usage/ci-app'
|
1077
|
+
|
1078
|
+
# query parameters
|
1079
|
+
query_params = opts[:query_params] || {}
|
1080
|
+
query_params[:'start_hr'] = start_hr
|
1081
|
+
query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil?
|
1082
|
+
|
1083
|
+
# header parameters
|
1084
|
+
header_params = opts[:header_params] || {}
|
1085
|
+
# HTTP header 'Accept' (if needed)
|
1086
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;datetime-format=rfc3339'])
|
1087
|
+
|
1088
|
+
# form parameters
|
1089
|
+
form_params = opts[:form_params] || {}
|
1090
|
+
|
1091
|
+
# http body (model)
|
1092
|
+
post_body = opts[:debug_body]
|
1093
|
+
|
1094
|
+
# return_type
|
1095
|
+
return_type = opts[:debug_return_type] || 'UsageCIVisibilityResponse'
|
1096
|
+
|
1097
|
+
# auth_names
|
1098
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1099
|
+
|
1100
|
+
new_options = opts.merge(
|
1101
|
+
:operation => :get_usage_ci_app,
|
1102
|
+
:header_params => header_params,
|
1103
|
+
:query_params => query_params,
|
1104
|
+
:form_params => form_params,
|
1105
|
+
:body => post_body,
|
1106
|
+
:auth_names => auth_names,
|
1107
|
+
:return_type => return_type
|
1108
|
+
)
|
1109
|
+
|
1110
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1111
|
+
if @api_client.config.debugging
|
1112
|
+
@api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_ci_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1113
|
+
end
|
1114
|
+
return data, status_code, headers
|
1115
|
+
end
|
1116
|
+
|
992
1117
|
# Get hourly usage for CSPM
|
993
1118
|
# Get hourly usage for Cloud Security Posture Management (CSPM).
|
994
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
995
|
-
# @param [Hash]
|
996
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1119
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1120
|
+
# @param opts [Hash] the optional parameters
|
1121
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
997
1122
|
# @return [UsageCloudSecurityPostureManagementResponse]
|
998
1123
|
def get_usage_cloud_security_posture_management(start_hr, opts = {})
|
999
1124
|
data, _status_code, _headers = get_usage_cloud_security_posture_management_with_http_info(start_hr, opts)
|
@@ -1002,9 +1127,9 @@ module DatadogAPIClient::V1
|
|
1002
1127
|
|
1003
1128
|
# Get hourly usage for CSPM
|
1004
1129
|
# Get hourly usage for Cloud Security Posture Management (CSPM).
|
1005
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1006
|
-
# @param [Hash]
|
1007
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1130
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1131
|
+
# @param opts [Hash] the optional parameters
|
1132
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1008
1133
|
# @return [Array<(UsageCloudSecurityPostureManagementResponse, Integer, Hash)>] UsageCloudSecurityPostureManagementResponse data, response status code and response headers
|
1009
1134
|
def get_usage_cloud_security_posture_management_with_http_info(start_hr, opts = {})
|
1010
1135
|
|
@@ -1047,7 +1172,7 @@ module DatadogAPIClient::V1
|
|
1047
1172
|
return_type = opts[:debug_return_type] || 'UsageCloudSecurityPostureManagementResponse'
|
1048
1173
|
|
1049
1174
|
# auth_names
|
1050
|
-
auth_names = opts[:debug_auth_names] || [:
|
1175
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1051
1176
|
|
1052
1177
|
new_options = opts.merge(
|
1053
1178
|
:operation => :get_usage_cloud_security_posture_management,
|
@@ -1068,9 +1193,9 @@ module DatadogAPIClient::V1
|
|
1068
1193
|
|
1069
1194
|
# Get hourly usage for Cloud Workload Security
|
1070
1195
|
# Get hourly usage for Cloud Workload Security.
|
1071
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1072
|
-
# @param [Hash]
|
1073
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1196
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1197
|
+
# @param opts [Hash] the optional parameters
|
1198
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1074
1199
|
# @return [UsageCWSResponse]
|
1075
1200
|
def get_usage_cws(start_hr, opts = {})
|
1076
1201
|
data, _status_code, _headers = get_usage_cws_with_http_info(start_hr, opts)
|
@@ -1079,9 +1204,9 @@ module DatadogAPIClient::V1
|
|
1079
1204
|
|
1080
1205
|
# Get hourly usage for Cloud Workload Security
|
1081
1206
|
# Get hourly usage for Cloud Workload Security.
|
1082
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1083
|
-
# @param [Hash]
|
1084
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1207
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1208
|
+
# @param opts [Hash] the optional parameters
|
1209
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1085
1210
|
# @return [Array<(UsageCWSResponse, Integer, Hash)>] UsageCWSResponse data, response status code and response headers
|
1086
1211
|
def get_usage_cws_with_http_info(start_hr, opts = {})
|
1087
1212
|
|
@@ -1124,7 +1249,7 @@ module DatadogAPIClient::V1
|
|
1124
1249
|
return_type = opts[:debug_return_type] || 'UsageCWSResponse'
|
1125
1250
|
|
1126
1251
|
# auth_names
|
1127
|
-
auth_names = opts[:debug_auth_names] || [:
|
1252
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1128
1253
|
|
1129
1254
|
new_options = opts.merge(
|
1130
1255
|
:operation => :get_usage_cws,
|
@@ -1145,9 +1270,9 @@ module DatadogAPIClient::V1
|
|
1145
1270
|
|
1146
1271
|
# Get hourly usage for Database Monitoring
|
1147
1272
|
# Get hourly usage for Database Monitoring
|
1148
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1149
|
-
# @param [Hash]
|
1150
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1273
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1274
|
+
# @param opts [Hash] the optional parameters
|
1275
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1151
1276
|
# @return [UsageDBMResponse]
|
1152
1277
|
def get_usage_dbm(start_hr, opts = {})
|
1153
1278
|
data, _status_code, _headers = get_usage_dbm_with_http_info(start_hr, opts)
|
@@ -1156,9 +1281,9 @@ module DatadogAPIClient::V1
|
|
1156
1281
|
|
1157
1282
|
# Get hourly usage for Database Monitoring
|
1158
1283
|
# Get hourly usage for Database Monitoring
|
1159
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1160
|
-
# @param [Hash]
|
1161
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1284
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1285
|
+
# @param opts [Hash] the optional parameters
|
1286
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1162
1287
|
# @return [Array<(UsageDBMResponse, Integer, Hash)>] UsageDBMResponse data, response status code and response headers
|
1163
1288
|
def get_usage_dbm_with_http_info(start_hr, opts = {})
|
1164
1289
|
|
@@ -1201,7 +1326,7 @@ module DatadogAPIClient::V1
|
|
1201
1326
|
return_type = opts[:debug_return_type] || 'UsageDBMResponse'
|
1202
1327
|
|
1203
1328
|
# auth_names
|
1204
|
-
auth_names = opts[:debug_auth_names] || [:
|
1329
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1205
1330
|
|
1206
1331
|
new_options = opts.merge(
|
1207
1332
|
:operation => :get_usage_dbm,
|
@@ -1223,7 +1348,7 @@ module DatadogAPIClient::V1
|
|
1223
1348
|
# Get hourly usage for Fargate
|
1224
1349
|
# Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
|
1225
1350
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1226
|
-
# @param [Hash]
|
1351
|
+
# @param opts [Hash] the optional parameters
|
1227
1352
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1228
1353
|
# @return [UsageFargateResponse]
|
1229
1354
|
def get_usage_fargate(start_hr, opts = {})
|
@@ -1234,7 +1359,7 @@ module DatadogAPIClient::V1
|
|
1234
1359
|
# Get hourly usage for Fargate
|
1235
1360
|
# Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
|
1236
1361
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1237
|
-
# @param [Hash]
|
1362
|
+
# @param opts [Hash] the optional parameters
|
1238
1363
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1239
1364
|
# @return [Array<(UsageFargateResponse, Integer, Hash)>] UsageFargateResponse data, response status code and response headers
|
1240
1365
|
def get_usage_fargate_with_http_info(start_hr, opts = {})
|
@@ -1278,7 +1403,7 @@ module DatadogAPIClient::V1
|
|
1278
1403
|
return_type = opts[:debug_return_type] || 'UsageFargateResponse'
|
1279
1404
|
|
1280
1405
|
# auth_names
|
1281
|
-
auth_names = opts[:debug_auth_names] || [:
|
1406
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1282
1407
|
|
1283
1408
|
new_options = opts.merge(
|
1284
1409
|
:operation => :get_usage_fargate,
|
@@ -1300,7 +1425,7 @@ module DatadogAPIClient::V1
|
|
1300
1425
|
# Get hourly usage for hosts and containers
|
1301
1426
|
# Get hourly usage for hosts and containers.
|
1302
1427
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1303
|
-
# @param [Hash]
|
1428
|
+
# @param opts [Hash] the optional parameters
|
1304
1429
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1305
1430
|
# @return [UsageHostsResponse]
|
1306
1431
|
def get_usage_hosts(start_hr, opts = {})
|
@@ -1311,7 +1436,7 @@ module DatadogAPIClient::V1
|
|
1311
1436
|
# Get hourly usage for hosts and containers
|
1312
1437
|
# Get hourly usage for hosts and containers.
|
1313
1438
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1314
|
-
# @param [Hash]
|
1439
|
+
# @param opts [Hash] the optional parameters
|
1315
1440
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1316
1441
|
# @return [Array<(UsageHostsResponse, Integer, Hash)>] UsageHostsResponse data, response status code and response headers
|
1317
1442
|
def get_usage_hosts_with_http_info(start_hr, opts = {})
|
@@ -1355,7 +1480,7 @@ module DatadogAPIClient::V1
|
|
1355
1480
|
return_type = opts[:debug_return_type] || 'UsageHostsResponse'
|
1356
1481
|
|
1357
1482
|
# auth_names
|
1358
|
-
auth_names = opts[:debug_auth_names] || [:
|
1483
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1359
1484
|
|
1360
1485
|
new_options = opts.merge(
|
1361
1486
|
:operation => :get_usage_hosts,
|
@@ -1376,9 +1501,9 @@ module DatadogAPIClient::V1
|
|
1376
1501
|
|
1377
1502
|
# Get hourly usage for indexed spans
|
1378
1503
|
# Get hourly usage for indexed spans.
|
1379
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1380
|
-
# @param [Hash]
|
1381
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1504
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1505
|
+
# @param opts [Hash] the optional parameters
|
1506
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1382
1507
|
# @return [UsageIndexedSpansResponse]
|
1383
1508
|
def get_usage_indexed_spans(start_hr, opts = {})
|
1384
1509
|
data, _status_code, _headers = get_usage_indexed_spans_with_http_info(start_hr, opts)
|
@@ -1387,9 +1512,9 @@ module DatadogAPIClient::V1
|
|
1387
1512
|
|
1388
1513
|
# Get hourly usage for indexed spans
|
1389
1514
|
# Get hourly usage for indexed spans.
|
1390
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1391
|
-
# @param [Hash]
|
1392
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1515
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1516
|
+
# @param opts [Hash] the optional parameters
|
1517
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1393
1518
|
# @return [Array<(UsageIndexedSpansResponse, Integer, Hash)>] UsageIndexedSpansResponse data, response status code and response headers
|
1394
1519
|
def get_usage_indexed_spans_with_http_info(start_hr, opts = {})
|
1395
1520
|
|
@@ -1432,7 +1557,7 @@ module DatadogAPIClient::V1
|
|
1432
1557
|
return_type = opts[:debug_return_type] || 'UsageIndexedSpansResponse'
|
1433
1558
|
|
1434
1559
|
# auth_names
|
1435
|
-
auth_names = opts[:debug_auth_names] || [:
|
1560
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1436
1561
|
|
1437
1562
|
new_options = opts.merge(
|
1438
1563
|
:operation => :get_usage_indexed_spans,
|
@@ -1453,9 +1578,9 @@ module DatadogAPIClient::V1
|
|
1453
1578
|
|
1454
1579
|
# Get hourly usage for IoT
|
1455
1580
|
# Get hourly usage for IoT.
|
1456
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1457
|
-
# @param [Hash]
|
1458
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1581
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1582
|
+
# @param opts [Hash] the optional parameters
|
1583
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1459
1584
|
# @return [UsageIoTResponse]
|
1460
1585
|
def get_usage_internet_of_things(start_hr, opts = {})
|
1461
1586
|
data, _status_code, _headers = get_usage_internet_of_things_with_http_info(start_hr, opts)
|
@@ -1464,9 +1589,9 @@ module DatadogAPIClient::V1
|
|
1464
1589
|
|
1465
1590
|
# Get hourly usage for IoT
|
1466
1591
|
# Get hourly usage for IoT.
|
1467
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1468
|
-
# @param [Hash]
|
1469
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1592
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1593
|
+
# @param opts [Hash] the optional parameters
|
1594
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1470
1595
|
# @return [Array<(UsageIoTResponse, Integer, Hash)>] UsageIoTResponse data, response status code and response headers
|
1471
1596
|
def get_usage_internet_of_things_with_http_info(start_hr, opts = {})
|
1472
1597
|
|
@@ -1509,7 +1634,7 @@ module DatadogAPIClient::V1
|
|
1509
1634
|
return_type = opts[:debug_return_type] || 'UsageIoTResponse'
|
1510
1635
|
|
1511
1636
|
# auth_names
|
1512
|
-
auth_names = opts[:debug_auth_names] || [:
|
1637
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1513
1638
|
|
1514
1639
|
new_options = opts.merge(
|
1515
1640
|
:operation => :get_usage_internet_of_things,
|
@@ -1531,7 +1656,7 @@ module DatadogAPIClient::V1
|
|
1531
1656
|
# Get hourly usage for Lambda
|
1532
1657
|
# Get hourly usage for lambda.
|
1533
1658
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1534
|
-
# @param [Hash]
|
1659
|
+
# @param opts [Hash] the optional parameters
|
1535
1660
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1536
1661
|
# @return [UsageLambdaResponse]
|
1537
1662
|
def get_usage_lambda(start_hr, opts = {})
|
@@ -1542,7 +1667,7 @@ module DatadogAPIClient::V1
|
|
1542
1667
|
# Get hourly usage for Lambda
|
1543
1668
|
# Get hourly usage for lambda.
|
1544
1669
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1545
|
-
# @param [Hash]
|
1670
|
+
# @param opts [Hash] the optional parameters
|
1546
1671
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1547
1672
|
# @return [Array<(UsageLambdaResponse, Integer, Hash)>] UsageLambdaResponse data, response status code and response headers
|
1548
1673
|
def get_usage_lambda_with_http_info(start_hr, opts = {})
|
@@ -1586,7 +1711,7 @@ module DatadogAPIClient::V1
|
|
1586
1711
|
return_type = opts[:debug_return_type] || 'UsageLambdaResponse'
|
1587
1712
|
|
1588
1713
|
# auth_names
|
1589
|
-
auth_names = opts[:debug_auth_names] || [:
|
1714
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1590
1715
|
|
1591
1716
|
new_options = opts.merge(
|
1592
1717
|
:operation => :get_usage_lambda,
|
@@ -1608,7 +1733,7 @@ module DatadogAPIClient::V1
|
|
1608
1733
|
# Get hourly usage for Logs
|
1609
1734
|
# Get hourly usage for logs.
|
1610
1735
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1611
|
-
# @param [Hash]
|
1736
|
+
# @param opts [Hash] the optional parameters
|
1612
1737
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1613
1738
|
# @return [UsageLogsResponse]
|
1614
1739
|
def get_usage_logs(start_hr, opts = {})
|
@@ -1619,7 +1744,7 @@ module DatadogAPIClient::V1
|
|
1619
1744
|
# Get hourly usage for Logs
|
1620
1745
|
# Get hourly usage for logs.
|
1621
1746
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1622
|
-
# @param [Hash]
|
1747
|
+
# @param opts [Hash] the optional parameters
|
1623
1748
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1624
1749
|
# @return [Array<(UsageLogsResponse, Integer, Hash)>] UsageLogsResponse data, response status code and response headers
|
1625
1750
|
def get_usage_logs_with_http_info(start_hr, opts = {})
|
@@ -1663,7 +1788,7 @@ module DatadogAPIClient::V1
|
|
1663
1788
|
return_type = opts[:debug_return_type] || 'UsageLogsResponse'
|
1664
1789
|
|
1665
1790
|
# auth_names
|
1666
|
-
auth_names = opts[:debug_auth_names] || [:
|
1791
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1667
1792
|
|
1668
1793
|
new_options = opts.merge(
|
1669
1794
|
:operation => :get_usage_logs,
|
@@ -1685,7 +1810,7 @@ module DatadogAPIClient::V1
|
|
1685
1810
|
# Get hourly usage for Logs by Index
|
1686
1811
|
# Get hourly usage for logs by index.
|
1687
1812
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1688
|
-
# @param [Hash]
|
1813
|
+
# @param opts [Hash] the optional parameters
|
1689
1814
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1690
1815
|
# @option opts [Array<String>] :index_name Comma-separated list of log index names.
|
1691
1816
|
# @return [UsageLogsByIndexResponse]
|
@@ -1697,7 +1822,7 @@ module DatadogAPIClient::V1
|
|
1697
1822
|
# Get hourly usage for Logs by Index
|
1698
1823
|
# Get hourly usage for logs by index.
|
1699
1824
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1700
|
-
# @param [Hash]
|
1825
|
+
# @param opts [Hash] the optional parameters
|
1701
1826
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1702
1827
|
# @option opts [Array<String>] :index_name Comma-separated list of log index names.
|
1703
1828
|
# @return [Array<(UsageLogsByIndexResponse, Integer, Hash)>] UsageLogsByIndexResponse data, response status code and response headers
|
@@ -1743,7 +1868,7 @@ module DatadogAPIClient::V1
|
|
1743
1868
|
return_type = opts[:debug_return_type] || 'UsageLogsByIndexResponse'
|
1744
1869
|
|
1745
1870
|
# auth_names
|
1746
|
-
auth_names = opts[:debug_auth_names] || [:
|
1871
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1747
1872
|
|
1748
1873
|
new_options = opts.merge(
|
1749
1874
|
:operation => :get_usage_logs_by_index,
|
@@ -1764,9 +1889,9 @@ module DatadogAPIClient::V1
|
|
1764
1889
|
|
1765
1890
|
# Get hourly logs usage by retention
|
1766
1891
|
# Get hourly usage for indexed logs by retention period.
|
1767
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1768
|
-
# @param [Hash]
|
1769
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1892
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1893
|
+
# @param opts [Hash] the optional parameters
|
1894
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1770
1895
|
# @return [UsageLogsByRetentionResponse]
|
1771
1896
|
def get_usage_logs_by_retention(start_hr, opts = {})
|
1772
1897
|
data, _status_code, _headers = get_usage_logs_by_retention_with_http_info(start_hr, opts)
|
@@ -1775,9 +1900,9 @@ module DatadogAPIClient::V1
|
|
1775
1900
|
|
1776
1901
|
# Get hourly logs usage by retention
|
1777
1902
|
# Get hourly usage for indexed logs by retention period.
|
1778
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1779
|
-
# @param [Hash]
|
1780
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1903
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1904
|
+
# @param opts [Hash] the optional parameters
|
1905
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1781
1906
|
# @return [Array<(UsageLogsByRetentionResponse, Integer, Hash)>] UsageLogsByRetentionResponse data, response status code and response headers
|
1782
1907
|
def get_usage_logs_by_retention_with_http_info(start_hr, opts = {})
|
1783
1908
|
|
@@ -1820,7 +1945,7 @@ module DatadogAPIClient::V1
|
|
1820
1945
|
return_type = opts[:debug_return_type] || 'UsageLogsByRetentionResponse'
|
1821
1946
|
|
1822
1947
|
# auth_names
|
1823
|
-
auth_names = opts[:debug_auth_names] || [:
|
1948
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1824
1949
|
|
1825
1950
|
new_options = opts.merge(
|
1826
1951
|
:operation => :get_usage_logs_by_retention,
|
@@ -1841,9 +1966,9 @@ module DatadogAPIClient::V1
|
|
1841
1966
|
|
1842
1967
|
# Get hourly usage for Network Flows
|
1843
1968
|
# Get hourly usage for network flows.
|
1844
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1845
|
-
# @param [Hash]
|
1846
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1969
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1970
|
+
# @param opts [Hash] the optional parameters
|
1971
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1847
1972
|
# @return [UsageNetworkFlowsResponse]
|
1848
1973
|
def get_usage_network_flows(start_hr, opts = {})
|
1849
1974
|
data, _status_code, _headers = get_usage_network_flows_with_http_info(start_hr, opts)
|
@@ -1852,9 +1977,9 @@ module DatadogAPIClient::V1
|
|
1852
1977
|
|
1853
1978
|
# Get hourly usage for Network Flows
|
1854
1979
|
# Get hourly usage for network flows.
|
1855
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1856
|
-
# @param [Hash]
|
1857
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
1980
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1981
|
+
# @param opts [Hash] the optional parameters
|
1982
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1858
1983
|
# @return [Array<(UsageNetworkFlowsResponse, Integer, Hash)>] UsageNetworkFlowsResponse data, response status code and response headers
|
1859
1984
|
def get_usage_network_flows_with_http_info(start_hr, opts = {})
|
1860
1985
|
|
@@ -1897,7 +2022,7 @@ module DatadogAPIClient::V1
|
|
1897
2022
|
return_type = opts[:debug_return_type] || 'UsageNetworkFlowsResponse'
|
1898
2023
|
|
1899
2024
|
# auth_names
|
1900
|
-
auth_names = opts[:debug_auth_names] || [:
|
2025
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1901
2026
|
|
1902
2027
|
new_options = opts.merge(
|
1903
2028
|
:operation => :get_usage_network_flows,
|
@@ -1919,7 +2044,7 @@ module DatadogAPIClient::V1
|
|
1919
2044
|
# Get hourly usage for Network Hosts
|
1920
2045
|
# Get hourly usage for network hosts.
|
1921
2046
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1922
|
-
# @param [Hash]
|
2047
|
+
# @param opts [Hash] the optional parameters
|
1923
2048
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1924
2049
|
# @return [UsageNetworkHostsResponse]
|
1925
2050
|
def get_usage_network_hosts(start_hr, opts = {})
|
@@ -1930,7 +2055,7 @@ module DatadogAPIClient::V1
|
|
1930
2055
|
# Get hourly usage for Network Hosts
|
1931
2056
|
# Get hourly usage for network hosts.
|
1932
2057
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1933
|
-
# @param [Hash]
|
2058
|
+
# @param opts [Hash] the optional parameters
|
1934
2059
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
1935
2060
|
# @return [Array<(UsageNetworkHostsResponse, Integer, Hash)>] UsageNetworkHostsResponse data, response status code and response headers
|
1936
2061
|
def get_usage_network_hosts_with_http_info(start_hr, opts = {})
|
@@ -1974,7 +2099,7 @@ module DatadogAPIClient::V1
|
|
1974
2099
|
return_type = opts[:debug_return_type] || 'UsageNetworkHostsResponse'
|
1975
2100
|
|
1976
2101
|
# auth_names
|
1977
|
-
auth_names = opts[:debug_auth_names] || [:
|
2102
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1978
2103
|
|
1979
2104
|
new_options = opts.merge(
|
1980
2105
|
:operation => :get_usage_network_hosts,
|
@@ -1993,11 +2118,88 @@ module DatadogAPIClient::V1
|
|
1993
2118
|
return data, status_code, headers
|
1994
2119
|
end
|
1995
2120
|
|
2121
|
+
# Get hourly usage for Online Archive
|
2122
|
+
# Get hourly usage for Online Archive.
|
2123
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2124
|
+
# @param opts [Hash] the optional parameters
|
2125
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2126
|
+
# @return [UsageOnlineArchiveResponse]
|
2127
|
+
def get_usage_online_archive(start_hr, opts = {})
|
2128
|
+
data, _status_code, _headers = get_usage_online_archive_with_http_info(start_hr, opts)
|
2129
|
+
data
|
2130
|
+
end
|
2131
|
+
|
2132
|
+
# Get hourly usage for Online Archive
|
2133
|
+
# Get hourly usage for Online Archive.
|
2134
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2135
|
+
# @param opts [Hash] the optional parameters
|
2136
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2137
|
+
# @return [Array<(UsageOnlineArchiveResponse, Integer, Hash)>] UsageOnlineArchiveResponse data, response status code and response headers
|
2138
|
+
def get_usage_online_archive_with_http_info(start_hr, opts = {})
|
2139
|
+
|
2140
|
+
if @api_client.config.unstable_operations.has_key?(:get_usage_online_archive)
|
2141
|
+
unstable_enabled = @api_client.config.unstable_operations[:get_usage_online_archive]
|
2142
|
+
if unstable_enabled
|
2143
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_online_archive")
|
2144
|
+
else
|
2145
|
+
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_online_archive"))
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
if @api_client.config.debugging
|
2150
|
+
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_online_archive ...'
|
2151
|
+
end
|
2152
|
+
# verify the required parameter 'start_hr' is set
|
2153
|
+
if @api_client.config.client_side_validation && start_hr.nil?
|
2154
|
+
fail ArgumentError, "Missing the required parameter 'start_hr' when calling UsageMeteringAPI.get_usage_online_archive"
|
2155
|
+
end
|
2156
|
+
# resource path
|
2157
|
+
local_var_path = '/api/v1/usage/online-archive'
|
2158
|
+
|
2159
|
+
# query parameters
|
2160
|
+
query_params = opts[:query_params] || {}
|
2161
|
+
query_params[:'start_hr'] = start_hr
|
2162
|
+
query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil?
|
2163
|
+
|
2164
|
+
# header parameters
|
2165
|
+
header_params = opts[:header_params] || {}
|
2166
|
+
# HTTP header 'Accept' (if needed)
|
2167
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;datetime-format=rfc3339'])
|
2168
|
+
|
2169
|
+
# form parameters
|
2170
|
+
form_params = opts[:form_params] || {}
|
2171
|
+
|
2172
|
+
# http body (model)
|
2173
|
+
post_body = opts[:debug_body]
|
2174
|
+
|
2175
|
+
# return_type
|
2176
|
+
return_type = opts[:debug_return_type] || 'UsageOnlineArchiveResponse'
|
2177
|
+
|
2178
|
+
# auth_names
|
2179
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2180
|
+
|
2181
|
+
new_options = opts.merge(
|
2182
|
+
:operation => :get_usage_online_archive,
|
2183
|
+
:header_params => header_params,
|
2184
|
+
:query_params => query_params,
|
2185
|
+
:form_params => form_params,
|
2186
|
+
:body => post_body,
|
2187
|
+
:auth_names => auth_names,
|
2188
|
+
:return_type => return_type
|
2189
|
+
)
|
2190
|
+
|
2191
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2192
|
+
if @api_client.config.debugging
|
2193
|
+
@api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_online_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2194
|
+
end
|
2195
|
+
return data, status_code, headers
|
2196
|
+
end
|
2197
|
+
|
1996
2198
|
# Get hourly usage for profiled hosts
|
1997
2199
|
# Get hourly usage for profiled hosts.
|
1998
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
1999
|
-
# @param [Hash]
|
2000
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
2200
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2201
|
+
# @param opts [Hash] the optional parameters
|
2202
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2001
2203
|
# @return [UsageProfilingResponse]
|
2002
2204
|
def get_usage_profiling(start_hr, opts = {})
|
2003
2205
|
data, _status_code, _headers = get_usage_profiling_with_http_info(start_hr, opts)
|
@@ -2006,9 +2208,9 @@ module DatadogAPIClient::V1
|
|
2006
2208
|
|
2007
2209
|
# Get hourly usage for profiled hosts
|
2008
2210
|
# Get hourly usage for profiled hosts.
|
2009
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
2010
|
-
# @param [Hash]
|
2011
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
2211
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2212
|
+
# @param opts [Hash] the optional parameters
|
2213
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2012
2214
|
# @return [Array<(UsageProfilingResponse, Integer, Hash)>] UsageProfilingResponse data, response status code and response headers
|
2013
2215
|
def get_usage_profiling_with_http_info(start_hr, opts = {})
|
2014
2216
|
|
@@ -2051,7 +2253,7 @@ module DatadogAPIClient::V1
|
|
2051
2253
|
return_type = opts[:debug_return_type] || 'UsageProfilingResponse'
|
2052
2254
|
|
2053
2255
|
# auth_names
|
2054
|
-
auth_names = opts[:debug_auth_names] || [:
|
2256
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2055
2257
|
|
2056
2258
|
new_options = opts.merge(
|
2057
2259
|
:operation => :get_usage_profiling,
|
@@ -2073,9 +2275,9 @@ module DatadogAPIClient::V1
|
|
2073
2275
|
# Get hourly usage for RUM Sessions
|
2074
2276
|
# Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.
|
2075
2277
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2076
|
-
# @param [Hash]
|
2278
|
+
# @param opts [Hash] the optional parameters
|
2077
2279
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2078
|
-
# @option opts [String] :type RUM type:
|
2280
|
+
# @option opts [String] :type RUM type: `[browser, mobile]`. Defaults to `browser`.
|
2079
2281
|
# @return [UsageRumSessionsResponse]
|
2080
2282
|
def get_usage_rum_sessions(start_hr, opts = {})
|
2081
2283
|
data, _status_code, _headers = get_usage_rum_sessions_with_http_info(start_hr, opts)
|
@@ -2085,9 +2287,9 @@ module DatadogAPIClient::V1
|
|
2085
2287
|
# Get hourly usage for RUM Sessions
|
2086
2288
|
# Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.
|
2087
2289
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2088
|
-
# @param [Hash]
|
2290
|
+
# @param opts [Hash] the optional parameters
|
2089
2291
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2090
|
-
# @option opts [String] :type RUM type:
|
2292
|
+
# @option opts [String] :type RUM type: `[browser, mobile]`. Defaults to `browser`.
|
2091
2293
|
# @return [Array<(UsageRumSessionsResponse, Integer, Hash)>] UsageRumSessionsResponse data, response status code and response headers
|
2092
2294
|
def get_usage_rum_sessions_with_http_info(start_hr, opts = {})
|
2093
2295
|
|
@@ -2131,7 +2333,7 @@ module DatadogAPIClient::V1
|
|
2131
2333
|
return_type = opts[:debug_return_type] || 'UsageRumSessionsResponse'
|
2132
2334
|
|
2133
2335
|
# auth_names
|
2134
|
-
auth_names = opts[:debug_auth_names] || [:
|
2336
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2135
2337
|
|
2136
2338
|
new_options = opts.merge(
|
2137
2339
|
:operation => :get_usage_rum_sessions,
|
@@ -2153,7 +2355,7 @@ module DatadogAPIClient::V1
|
|
2153
2355
|
# Get hourly usage for RUM Units
|
2154
2356
|
# Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.
|
2155
2357
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2156
|
-
# @param [Hash]
|
2358
|
+
# @param opts [Hash] the optional parameters
|
2157
2359
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2158
2360
|
# @return [UsageRumUnitsResponse]
|
2159
2361
|
def get_usage_rum_units(start_hr, opts = {})
|
@@ -2164,7 +2366,7 @@ module DatadogAPIClient::V1
|
|
2164
2366
|
# Get hourly usage for RUM Units
|
2165
2367
|
# Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.
|
2166
2368
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2167
|
-
# @param [Hash]
|
2369
|
+
# @param opts [Hash] the optional parameters
|
2168
2370
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2169
2371
|
# @return [Array<(UsageRumUnitsResponse, Integer, Hash)>] UsageRumUnitsResponse data, response status code and response headers
|
2170
2372
|
def get_usage_rum_units_with_http_info(start_hr, opts = {})
|
@@ -2208,7 +2410,7 @@ module DatadogAPIClient::V1
|
|
2208
2410
|
return_type = opts[:debug_return_type] || 'UsageRumUnitsResponse'
|
2209
2411
|
|
2210
2412
|
# auth_names
|
2211
|
-
auth_names = opts[:debug_auth_names] || [:
|
2413
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2212
2414
|
|
2213
2415
|
new_options = opts.merge(
|
2214
2416
|
:operation => :get_usage_rum_units,
|
@@ -2229,9 +2431,9 @@ module DatadogAPIClient::V1
|
|
2229
2431
|
|
2230
2432
|
# Get hourly usage for Sensitive Data Scanner
|
2231
2433
|
# Get hourly usage for Sensitive Data Scanner.
|
2232
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
2233
|
-
# @param [Hash]
|
2234
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
2434
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2435
|
+
# @param opts [Hash] the optional parameters
|
2436
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2235
2437
|
# @return [UsageSDSResponse]
|
2236
2438
|
def get_usage_sds(start_hr, opts = {})
|
2237
2439
|
data, _status_code, _headers = get_usage_sds_with_http_info(start_hr, opts)
|
@@ -2240,9 +2442,9 @@ module DatadogAPIClient::V1
|
|
2240
2442
|
|
2241
2443
|
# Get hourly usage for Sensitive Data Scanner
|
2242
2444
|
# Get hourly usage for Sensitive Data Scanner.
|
2243
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
2244
|
-
# @param [Hash]
|
2245
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
2445
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2446
|
+
# @param opts [Hash] the optional parameters
|
2447
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2246
2448
|
# @return [Array<(UsageSDSResponse, Integer, Hash)>] UsageSDSResponse data, response status code and response headers
|
2247
2449
|
def get_usage_sds_with_http_info(start_hr, opts = {})
|
2248
2450
|
|
@@ -2285,7 +2487,7 @@ module DatadogAPIClient::V1
|
|
2285
2487
|
return_type = opts[:debug_return_type] || 'UsageSDSResponse'
|
2286
2488
|
|
2287
2489
|
# auth_names
|
2288
|
-
auth_names = opts[:debug_auth_names] || [:
|
2490
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2289
2491
|
|
2290
2492
|
new_options = opts.merge(
|
2291
2493
|
:operation => :get_usage_sds,
|
@@ -2306,9 +2508,9 @@ module DatadogAPIClient::V1
|
|
2306
2508
|
|
2307
2509
|
# Get hourly usage for SNMP devices
|
2308
2510
|
# Get hourly usage for SNMP devices.
|
2309
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
2310
|
-
# @param [Hash]
|
2311
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
2511
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2512
|
+
# @param opts [Hash] the optional parameters
|
2513
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2312
2514
|
# @return [UsageSNMPResponse]
|
2313
2515
|
def get_usage_snmp(start_hr, opts = {})
|
2314
2516
|
data, _status_code, _headers = get_usage_snmp_with_http_info(start_hr, opts)
|
@@ -2317,9 +2519,9 @@ module DatadogAPIClient::V1
|
|
2317
2519
|
|
2318
2520
|
# Get hourly usage for SNMP devices
|
2319
2521
|
# Get hourly usage for SNMP devices.
|
2320
|
-
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour:
|
2321
|
-
# @param [Hash]
|
2322
|
-
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour:
|
2522
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2523
|
+
# @param opts [Hash] the optional parameters
|
2524
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
2323
2525
|
# @return [Array<(UsageSNMPResponse, Integer, Hash)>] UsageSNMPResponse data, response status code and response headers
|
2324
2526
|
def get_usage_snmp_with_http_info(start_hr, opts = {})
|
2325
2527
|
|
@@ -2362,7 +2564,7 @@ module DatadogAPIClient::V1
|
|
2362
2564
|
return_type = opts[:debug_return_type] || 'UsageSNMPResponse'
|
2363
2565
|
|
2364
2566
|
# auth_names
|
2365
|
-
auth_names = opts[:debug_auth_names] || [:
|
2567
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2366
2568
|
|
2367
2569
|
new_options = opts.merge(
|
2368
2570
|
:operation => :get_usage_snmp,
|
@@ -2383,9 +2585,9 @@ module DatadogAPIClient::V1
|
|
2383
2585
|
|
2384
2586
|
# Get usage across your multi-org account
|
2385
2587
|
# Get usage across your multi-org account. You must have the multi-org feature enabled.
|
2386
|
-
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month:
|
2387
|
-
# @param [Hash]
|
2388
|
-
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month:
|
2588
|
+
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
2589
|
+
# @param opts [Hash] the optional parameters
|
2590
|
+
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
2389
2591
|
# @option opts [Boolean] :include_org_details Include usage summaries for each sub-org.
|
2390
2592
|
# @return [UsageSummaryResponse]
|
2391
2593
|
def get_usage_summary(start_month, opts = {})
|
@@ -2395,9 +2597,9 @@ module DatadogAPIClient::V1
|
|
2395
2597
|
|
2396
2598
|
# Get usage across your multi-org account
|
2397
2599
|
# Get usage across your multi-org account. You must have the multi-org feature enabled.
|
2398
|
-
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month:
|
2399
|
-
# @param [Hash]
|
2400
|
-
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month:
|
2600
|
+
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
2601
|
+
# @param opts [Hash] the optional parameters
|
2602
|
+
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
2401
2603
|
# @option opts [Boolean] :include_org_details Include usage summaries for each sub-org.
|
2402
2604
|
# @return [Array<(UsageSummaryResponse, Integer, Hash)>] UsageSummaryResponse data, response status code and response headers
|
2403
2605
|
def get_usage_summary_with_http_info(start_month, opts = {})
|
@@ -2442,7 +2644,7 @@ module DatadogAPIClient::V1
|
|
2442
2644
|
return_type = opts[:debug_return_type] || 'UsageSummaryResponse'
|
2443
2645
|
|
2444
2646
|
# auth_names
|
2445
|
-
auth_names = opts[:debug_auth_names] || [:
|
2647
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2446
2648
|
|
2447
2649
|
new_options = opts.merge(
|
2448
2650
|
:operation => :get_usage_summary,
|
@@ -2464,7 +2666,7 @@ module DatadogAPIClient::V1
|
|
2464
2666
|
# Get hourly usage for Synthetics Checks
|
2465
2667
|
# Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/).
|
2466
2668
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2467
|
-
# @param [Hash]
|
2669
|
+
# @param opts [Hash] the optional parameters
|
2468
2670
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2469
2671
|
# @return [UsageSyntheticsResponse]
|
2470
2672
|
def get_usage_synthetics(start_hr, opts = {})
|
@@ -2475,7 +2677,7 @@ module DatadogAPIClient::V1
|
|
2475
2677
|
# Get hourly usage for Synthetics Checks
|
2476
2678
|
# Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/).
|
2477
2679
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2478
|
-
# @param [Hash]
|
2680
|
+
# @param opts [Hash] the optional parameters
|
2479
2681
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2480
2682
|
# @return [Array<(UsageSyntheticsResponse, Integer, Hash)>] UsageSyntheticsResponse data, response status code and response headers
|
2481
2683
|
def get_usage_synthetics_with_http_info(start_hr, opts = {})
|
@@ -2519,7 +2721,7 @@ module DatadogAPIClient::V1
|
|
2519
2721
|
return_type = opts[:debug_return_type] || 'UsageSyntheticsResponse'
|
2520
2722
|
|
2521
2723
|
# auth_names
|
2522
|
-
auth_names = opts[:debug_auth_names] || [:
|
2724
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2523
2725
|
|
2524
2726
|
new_options = opts.merge(
|
2525
2727
|
:operation => :get_usage_synthetics,
|
@@ -2541,7 +2743,7 @@ module DatadogAPIClient::V1
|
|
2541
2743
|
# Get hourly usage for Synthetics API Checks
|
2542
2744
|
# Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
|
2543
2745
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2544
|
-
# @param [Hash]
|
2746
|
+
# @param opts [Hash] the optional parameters
|
2545
2747
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2546
2748
|
# @return [UsageSyntheticsAPIResponse]
|
2547
2749
|
def get_usage_synthetics_api(start_hr, opts = {})
|
@@ -2552,7 +2754,7 @@ module DatadogAPIClient::V1
|
|
2552
2754
|
# Get hourly usage for Synthetics API Checks
|
2553
2755
|
# Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
|
2554
2756
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2555
|
-
# @param [Hash]
|
2757
|
+
# @param opts [Hash] the optional parameters
|
2556
2758
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2557
2759
|
# @return [Array<(UsageSyntheticsAPIResponse, Integer, Hash)>] UsageSyntheticsAPIResponse data, response status code and response headers
|
2558
2760
|
def get_usage_synthetics_api_with_http_info(start_hr, opts = {})
|
@@ -2596,7 +2798,7 @@ module DatadogAPIClient::V1
|
|
2596
2798
|
return_type = opts[:debug_return_type] || 'UsageSyntheticsAPIResponse'
|
2597
2799
|
|
2598
2800
|
# auth_names
|
2599
|
-
auth_names = opts[:debug_auth_names] || [:
|
2801
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2600
2802
|
|
2601
2803
|
new_options = opts.merge(
|
2602
2804
|
:operation => :get_usage_synthetics_api,
|
@@ -2618,7 +2820,7 @@ module DatadogAPIClient::V1
|
|
2618
2820
|
# Get hourly usage for Synthetics Browser Checks
|
2619
2821
|
# Get hourly usage for synthetics browser checks.
|
2620
2822
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2621
|
-
# @param [Hash]
|
2823
|
+
# @param opts [Hash] the optional parameters
|
2622
2824
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2623
2825
|
# @return [UsageSyntheticsBrowserResponse]
|
2624
2826
|
def get_usage_synthetics_browser(start_hr, opts = {})
|
@@ -2629,7 +2831,7 @@ module DatadogAPIClient::V1
|
|
2629
2831
|
# Get hourly usage for Synthetics Browser Checks
|
2630
2832
|
# Get hourly usage for synthetics browser checks.
|
2631
2833
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2632
|
-
# @param [Hash]
|
2834
|
+
# @param opts [Hash] the optional parameters
|
2633
2835
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2634
2836
|
# @return [Array<(UsageSyntheticsBrowserResponse, Integer, Hash)>] UsageSyntheticsBrowserResponse data, response status code and response headers
|
2635
2837
|
def get_usage_synthetics_browser_with_http_info(start_hr, opts = {})
|
@@ -2673,7 +2875,7 @@ module DatadogAPIClient::V1
|
|
2673
2875
|
return_type = opts[:debug_return_type] || 'UsageSyntheticsBrowserResponse'
|
2674
2876
|
|
2675
2877
|
# auth_names
|
2676
|
-
auth_names = opts[:debug_auth_names] || [:
|
2878
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2677
2879
|
|
2678
2880
|
new_options = opts.merge(
|
2679
2881
|
:operation => :get_usage_synthetics_browser,
|
@@ -2695,7 +2897,7 @@ module DatadogAPIClient::V1
|
|
2695
2897
|
# Get hourly usage for custom metrics
|
2696
2898
|
# Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
|
2697
2899
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2698
|
-
# @param [Hash]
|
2900
|
+
# @param opts [Hash] the optional parameters
|
2699
2901
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2700
2902
|
# @return [UsageTimeseriesResponse]
|
2701
2903
|
def get_usage_timeseries(start_hr, opts = {})
|
@@ -2706,7 +2908,7 @@ module DatadogAPIClient::V1
|
|
2706
2908
|
# Get hourly usage for custom metrics
|
2707
2909
|
# Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
|
2708
2910
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2709
|
-
# @param [Hash]
|
2911
|
+
# @param opts [Hash] the optional parameters
|
2710
2912
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
2711
2913
|
# @return [Array<(UsageTimeseriesResponse, Integer, Hash)>] UsageTimeseriesResponse data, response status code and response headers
|
2712
2914
|
def get_usage_timeseries_with_http_info(start_hr, opts = {})
|
@@ -2750,7 +2952,7 @@ module DatadogAPIClient::V1
|
|
2750
2952
|
return_type = opts[:debug_return_type] || 'UsageTimeseriesResponse'
|
2751
2953
|
|
2752
2954
|
# auth_names
|
2753
|
-
auth_names = opts[:debug_auth_names] || [:
|
2955
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2754
2956
|
|
2755
2957
|
new_options = opts.merge(
|
2756
2958
|
:operation => :get_usage_timeseries,
|
@@ -2771,11 +2973,11 @@ module DatadogAPIClient::V1
|
|
2771
2973
|
|
2772
2974
|
# Get all custom metrics by hourly average
|
2773
2975
|
# Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.
|
2774
|
-
# @param [Hash]
|
2976
|
+
# @param opts [Hash] the optional parameters
|
2775
2977
|
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both)
|
2776
2978
|
# @option opts [Time] :day Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for usage beginning at this hour. (Either month or day should be specified, but not both)
|
2777
2979
|
# @option opts [Array<String>] :names Comma-separated list of metric names.
|
2778
|
-
# @option opts [Integer] :limit Maximum number of results to return (between 1 and 5000) - defaults to 500 results if limit not specified.
|
2980
|
+
# @option opts [Integer] :limit Maximum number of results to return (between 1 and 5000) - defaults to 500 results if limit not specified.
|
2779
2981
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
2780
2982
|
# @return [UsageTopAvgMetricsResponse]
|
2781
2983
|
def get_usage_top_avg_metrics(opts = {})
|
@@ -2785,7 +2987,7 @@ module DatadogAPIClient::V1
|
|
2785
2987
|
|
2786
2988
|
# Get all custom metrics by hourly average
|
2787
2989
|
# Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.
|
2788
|
-
# @param [Hash]
|
2990
|
+
# @param opts [Hash] the optional parameters
|
2789
2991
|
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both)
|
2790
2992
|
# @option opts [Time] :day Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for usage beginning at this hour. (Either month or day should be specified, but not both)
|
2791
2993
|
# @option opts [Array<String>] :names Comma-separated list of metric names.
|
@@ -2809,11 +3011,9 @@ module DatadogAPIClient::V1
|
|
2809
3011
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 5000
|
2810
3012
|
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsageMeteringAPI.get_usage_top_avg_metrics, must be smaller than or equal to 5000.'
|
2811
3013
|
end
|
2812
|
-
|
2813
3014
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
2814
3015
|
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsageMeteringAPI.get_usage_top_avg_metrics, must be greater than or equal to 1.'
|
2815
3016
|
end
|
2816
|
-
|
2817
3017
|
# resource path
|
2818
3018
|
local_var_path = '/api/v1/usage/top_avg_metrics'
|
2819
3019
|
|
@@ -2840,7 +3040,7 @@ module DatadogAPIClient::V1
|
|
2840
3040
|
return_type = opts[:debug_return_type] || 'UsageTopAvgMetricsResponse'
|
2841
3041
|
|
2842
3042
|
# auth_names
|
2843
|
-
auth_names = opts[:debug_auth_names] || [:
|
3043
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
2844
3044
|
|
2845
3045
|
new_options = opts.merge(
|
2846
3046
|
:operation => :get_usage_top_avg_metrics,
|