datadog_api_client 1.9.0 → 2.0.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/schemas/v1/openapi.yaml +1486 -273
- data/.generator/schemas/v2/openapi.yaml +2348 -146
- data/.generator/src/generator/cli.py +57 -40
- data/.generator/src/generator/formatter.py +20 -1
- data/.generator/src/generator/openapi.py +15 -9
- data/.generator/src/generator/templates/api.j2 +14 -13
- data/.generator/src/generator/templates/api_client.j2 +64 -15
- data/.generator/src/generator/templates/configuration.j2 +12 -8
- data/.generator/src/generator/templates/example.j2 +1 -1
- data/.generator/src/generator/templates/inflector.j2 +28 -0
- data/.generator/src/generator/templates/model_base.j2 +2 -2
- data/.generator/src/generator/templates/model_generic.j2 +42 -3
- data/.generator/src/generator/templates/model_oneof.j2 +1 -1
- data/.generator/src/generator/templates/package.j2 +7 -12
- data/.github/workflows/approved_status.yml +0 -2
- data/.github/workflows/codeql-analysis.yml +49 -0
- data/.github/workflows/docs.yml +1 -1
- data/.github/workflows/prepare_release.yml +16 -4
- data/.github/workflows/publish.yml +1 -1
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +4 -6
- data/.github/workflows/test_integration.yml +1 -8
- data/.pre-commit-config.yaml +3 -12
- data/CHANGELOG.md +91 -0
- data/Gemfile +1 -0
- data/Makefile +2 -3
- data/README.md +16 -0
- data/check-examples.sh +0 -2
- data/datadog_api_client.gemspec +2 -0
- data/examples/v1/aws-integration/UpdateAWSAccount.rb +8 -4
- data/examples/v1/dashboards/CreateDashboard_1442588603.rb +61 -0
- data/examples/v1/dashboards/CreateDashboard_252716965.rb +52 -0
- data/examples/v1/dashboards/CreateDashboard_3882428227.rb +60 -0
- data/examples/v1/downtimes/CreateDowntime_1393233946.rb +3 -0
- data/examples/v1/downtimes/CreateDowntime_2908359488.rb +4 -0
- data/examples/v1/downtimes/CreateDowntime_3059354445.rb +4 -0
- data/examples/v1/downtimes/UpdateDowntime.rb +1 -0
- data/examples/v1/events/ListEvents.rb +1 -1
- data/examples/v1/metrics/SubmitDistributionPoints.rb +22 -0
- data/examples/v1/metrics/SubmitDistributionPoints_3109558960.rb +25 -0
- data/examples/v1/monitors/CreateMonitor_1969035628.rb +52 -0
- data/examples/v1/monitors/CreateMonitor_2520912138.rb +22 -0
- data/examples/v1/organizations/DowngradeOrg.rb +5 -0
- data/examples/v1/organizations/UpdateOrg.rb +1 -0
- data/examples/v1/security-monitoring/AddSecurityMonitoringSignalToIncident.rb +9 -0
- data/examples/v1/security-monitoring/EditSecurityMonitoringSignalAssignee.rb +9 -0
- data/examples/v1/security-monitoring/EditSecurityMonitoringSignalState.rb +10 -0
- data/examples/v1/service-level-objective-corrections/CreateSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/CreateSLOCorrection_1326388368.rb +0 -3
- data/examples/v1/service-level-objective-corrections/DeleteSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/GetSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objectives/GetSLOCorrections.rb +0 -3
- data/examples/v1/service-level-objectives/GetSLOHistory.rb +1 -1
- data/examples/v1/service-level-objectives/SearchSLO.rb +16 -0
- data/examples/v1/snapshots/GetGraphSnapshot.rb +2 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +8 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +44 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +67 -0
- data/examples/v1/synthetics/GetAPITestLatestResults.rb +1 -1
- data/examples/v1/synthetics/GetAPITestResult.rb +1 -1
- data/examples/v1/synthetics/GetBrowserTestLatestResults.rb +1 -1
- data/examples/v1/synthetics/GetBrowserTestResult.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +8 -0
- data/examples/v1/usage-metering/GetDailyCustomReports.rb +1 -1
- data/examples/v1/usage-metering/GetHourlyUsageAttribution.rb +1 -4
- data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +1 -1
- data/examples/v1/usage-metering/GetMonthlyUsageAttribution.rb +1 -4
- data/examples/v1/usage-metering/{GetMonthlyUsageAttribution_3738504447.rb → GetMonthlyUsageAttribution_3849653599.rb} +1 -1
- data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +1 -1
- data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +1 -1
- data/examples/v1/usage-metering/GetUsageAttribution.rb +2 -2
- data/examples/v1/usage-metering/GetUsageCIApp.rb +2 -5
- data/examples/v1/usage-metering/GetUsageCIApp_1064440884.rb +8 -0
- data/examples/v1/usage-metering/GetUsageCWS.rb +2 -5
- data/examples/v1/usage-metering/GetUsageCWS_736958514.rb +8 -0
- data/examples/v1/usage-metering/GetUsageDBM.rb +2 -5
- data/examples/v1/usage-metering/GetUsageDBM_3446806203.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLambda.rb +2 -5
- data/examples/v1/usage-metering/GetUsageLambda_3132428705.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLogs.rb +2 -5
- data/examples/v1/usage-metering/GetUsageLogsByIndex.rb +2 -5
- data/examples/v1/usage-metering/GetUsageLogsByIndex_1025184776.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLogs_2562396405.rb +8 -0
- data/examples/v1/usage-metering/GetUsageNetworkFlows.rb +2 -5
- data/examples/v1/usage-metering/GetUsageNetworkFlows_1239422069.rb +8 -0
- data/examples/v1/usage-metering/GetUsageNetworkHosts.rb +2 -5
- data/examples/v1/usage-metering/GetUsageNetworkHosts_1249907835.rb +8 -0
- data/examples/v1/usage-metering/GetUsageOnlineArchive.rb +2 -5
- data/examples/v1/usage-metering/GetUsageOnlineArchive_1501172903.rb +8 -0
- data/examples/v1/usage-metering/GetUsageRumSessions.rb +2 -5
- data/examples/v1/usage-metering/GetUsageRumSessions_3271366243.rb +9 -0
- data/examples/v1/usage-metering/GetUsageRumSessions_714937291.rb +8 -0
- data/examples/v1/usage-metering/GetUsageRumUnits.rb +2 -5
- data/examples/v1/usage-metering/GetUsageRumUnits_3959755399.rb +8 -0
- data/examples/v1/usage-metering/GetUsageSDS.rb +2 -5
- data/examples/v1/usage-metering/GetUsageSDS_271128478.rb +8 -0
- data/examples/v1/usage-metering/GetUsageSynthetics.rb +1 -1
- data/examples/v1/usage-metering/GetUsageSyntheticsAPI.rb +2 -5
- data/examples/v1/usage-metering/GetUsageSyntheticsAPI_4048033529.rb +8 -0
- data/examples/v1/usage-metering/GetUsageSyntheticsBrowser.rb +2 -5
- data/examples/v1/usage-metering/GetUsageSyntheticsBrowser_1704663299.rb +8 -0
- data/examples/v2/events/ListEvents.rb +8 -0
- data/examples/v2/events/ListEvents_2663715109.rb +14 -0
- data/examples/v2/events/SearchEvents.rb +23 -0
- data/examples/v2/incident-services/CreateIncidentService.rb +1 -1
- data/examples/v2/incident-services/DeleteIncidentService.rb +1 -1
- data/examples/v2/incident-services/GetIncidentService.rb +1 -1
- data/examples/v2/incident-services/ListIncidentServices.rb +1 -1
- data/examples/v2/incident-services/UpdateIncidentService.rb +1 -1
- data/examples/v2/incident-teams/CreateIncidentTeam.rb +1 -1
- data/examples/v2/incident-teams/DeleteIncidentTeam.rb +1 -1
- data/examples/v2/incident-teams/GetIncidentTeam.rb +1 -1
- data/examples/v2/incident-teams/ListIncidentTeams.rb +1 -1
- data/examples/v2/incident-teams/UpdateIncidentTeam.rb +1 -1
- data/examples/v2/incidents/CreateIncident.rb +1 -1
- data/examples/v2/incidents/DeleteIncident.rb +1 -1
- data/examples/v2/incidents/GetIncident.rb +1 -1
- data/examples/v2/incidents/ListIncidents.rb +1 -1
- data/examples/v2/incidents/UpdateIncident.rb +1 -1
- data/examples/v2/incidents/UpdateIncident_1009194038.rb +1 -1
- data/examples/v2/incidents/UpdateIncident_3369341440.rb +1 -1
- data/examples/v2/logs/SubmitLog.rb +1 -0
- data/examples/v2/logs-archives/CreateLogsArchive.rb +1 -0
- data/examples/v2/logs-archives/UpdateLogsArchive.rb +1 -0
- data/examples/v2/metrics/CreateTagConfiguration.rb +0 -3
- data/examples/v2/metrics/DeleteTagConfiguration.rb +0 -3
- data/examples/v2/metrics/EstimateMetricsOutputSeries.rb +9 -0
- data/examples/v2/metrics/ListTagConfigurationByName.rb +0 -3
- data/examples/v2/metrics/ListTagConfigurations.rb +0 -3
- data/examples/v2/metrics/ListTagConfigurations_103226315.rb +0 -3
- data/examples/v2/metrics/ListTagConfigurations_1799362914.rb +0 -3
- data/examples/v2/metrics/SubmitMetrics.rb +26 -0
- data/examples/v2/metrics/UpdateTagConfiguration.rb +0 -3
- data/examples/v2/opsgenie-integration/CreateOpsgenieService.rb +16 -0
- data/examples/v2/opsgenie-integration/DeleteOpsgenieService.rb +8 -0
- data/examples/v2/opsgenie-integration/GetOpsgenieService.rb +8 -0
- data/examples/v2/opsgenie-integration/ListOpsgenieServices.rb +5 -0
- data/examples/v2/opsgenie-integration/UpdateOpsgenieService.rb +21 -0
- data/examples/v2/security-monitoring/EditSecurityMonitoringSignalAssignee.rb +15 -0
- data/examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb +15 -0
- data/examples/v2/security-monitoring/EditSecurityMonitoringSignalState.rb +14 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringSignals.rb +0 -3
- data/examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb +0 -3
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +5 -0
- data/examples/v2/usage-metering/GetCostByOrg.rb +5 -0
- data/examples/v2/usage-metering/GetEstimatedCostByOrg.rb +8 -0
- data/examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb +11 -0
- data/examples/v2/usage-metering/GetEstimatedCostByOrg_3186693804.rb +11 -0
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +5 -0
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring_3959166796.rb +8 -0
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +5 -0
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations_1436752065.rb +8 -0
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +2 -5
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines_970725512.rb +8 -0
- data/lib/datadog_api_client/{v2/api_client.rb → api_client.rb} +64 -15
- data/lib/datadog_api_client/api_key_configuration.rb +1 -18
- data/lib/datadog_api_client/{v1/configuration.rb → configuration.rb} +133 -35
- data/lib/datadog_api_client/inflector.rb +1293 -0
- data/lib/datadog_api_client/models.rb +66 -0
- data/lib/datadog_api_client/v1/api/authentication_api.rb +3 -11
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +19 -91
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +15 -71
- data/lib/datadog_api_client/v1/api/azure_integration_api.rb +11 -51
- data/lib/datadog_api_client/v1/api/dashboard_lists_api.rb +11 -51
- data/lib/datadog_api_client/v1/api/dashboards_api.rb +15 -71
- data/lib/datadog_api_client/v1/api/downtimes_api.rb +15 -71
- data/lib/datadog_api_client/v1/api/events_api.rb +9 -33
- data/lib/datadog_api_client/v1/api/gcp_integration_api.rb +9 -41
- data/lib/datadog_api_client/v1/api/hosts_api.rb +9 -41
- data/lib/datadog_api_client/v1/api/ip_ranges_api.rb +3 -11
- data/lib/datadog_api_client/v1/api/key_management_api.rb +21 -101
- data/lib/datadog_api_client/v1/api/logs_api.rb +5 -21
- data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +13 -61
- data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +15 -71
- data/lib/datadog_api_client/v1/api/metrics_api.rb +87 -62
- data/lib/datadog_api_client/v1/api/monitors_api.rb +90 -157
- data/lib/datadog_api_client/v1/api/notebooks_api.rb +11 -51
- data/lib/datadog_api_client/v1/api/organizations_api.rb +77 -52
- data/lib/datadog_api_client/v1/api/pager_duty_integration_api.rb +9 -41
- data/lib/datadog_api_client/v1/api/security_monitoring_api.rb +242 -0
- data/lib/datadog_api_client/v1/api/service_checks_api.rb +3 -11
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +12 -52
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +100 -94
- data/lib/datadog_api_client/v1/api/slack_integration_api.rb +11 -51
- data/lib/datadog_api_client/v1/api/snapshots_api.rb +7 -11
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +55 -271
- data/lib/datadog_api_client/v1/api/tags_api.rb +11 -51
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +184 -427
- data/lib/datadog_api_client/v1/api/users_api.rb +11 -51
- data/lib/datadog_api_client/v1/api/webhooks_integration_api.rb +17 -81
- data/lib/datadog_api_client/v1/model_base.rb +2 -2
- data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +142 -0
- data/lib/datadog_api_client/v1/models/distribution_point_item.rb +63 -0
- data/lib/datadog_api_client/v1/models/distribution_points_content_encoding.rb +26 -0
- data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +124 -0
- data/lib/datadog_api_client/v1/models/distribution_points_series.rb +179 -0
- data/lib/datadog_api_client/v1/models/distribution_points_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_query.rb +64 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +21 -1
- data/lib/datadog_api_client/v1/models/downtime.rb +11 -1
- data/lib/datadog_api_client/v1/models/downtime_child.rb +11 -1
- data/lib/datadog_api_client/v1/models/event.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +1 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +5 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +9 -0
- data/lib/datadog_api_client/v1/models/http_log_item.rb +29 -4
- data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics_private_locations.rb +125 -0
- data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
- data/lib/datadog_api_client/v1/models/logs_category_processor.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_list_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_sort.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +2 -2
- data/lib/datadog_api_client/v1/models/{monitor_search_response_counts_tag_item.rb → monitor_search_count_item.rb} +3 -3
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +4 -4
- data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +6 -2
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +18 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +146 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +68 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_global_time.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +1 -1
- data/lib/datadog_api_client/v1/models/org_downgraded_response.rb +111 -0
- data/lib/datadog_api_client/v1/models/organization.rb +14 -4
- data/lib/datadog_api_client/v1/models/search_slo_response.rb +131 -0
- data/lib/datadog_api_client/v1/models/{monitor_group_search_response_counts_status_item.rb → search_slo_response_data.rb} +19 -19
- data/lib/datadog_api_client/v1/models/{monitor_group_search_response_counts_type_item.rb → search_slo_response_data_attributes.rb} +21 -19
- data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets.rb +197 -0
- data/lib/datadog_api_client/v1/models/{monitor_search_response_counts_type_item.rb → search_slo_response_data_attributes_facets_object_int.rb} +7 -7
- data/lib/datadog_api_client/v1/models/{monitor_search_response_counts_muted_item.rb → search_slo_response_data_attributes_facets_object_string.rb} +7 -7
- data/lib/datadog_api_client/v1/models/search_slo_response_links.rb +151 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_meta.rb +111 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_meta_page.rb +181 -0
- data/lib/datadog_api_client/v1/models/series.rb +2 -2
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +1 -1
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/signal_archive_reason.rb +29 -0
- data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +132 -0
- data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +152 -0
- data/lib/datadog_api_client/v1/models/signal_triage_state.rb +28 -0
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +4 -4
- data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/successful_signal_update_response.rb +111 -0
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +11 -0
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +152 -0
- data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +111 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +31 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +21 -1
- data/lib/datadog_api_client/v1/models/tree_map_color_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_size_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +28 -6
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +6 -2
- data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +6 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +6 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +474 -4
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +18 -4
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -1
- data/lib/datadog_api_client/v2/api/audit_api.rb +11 -25
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +11 -53
- data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +14 -62
- data/lib/datadog_api_client/v2/api/dashboard_lists_api.rb +9 -41
- data/lib/datadog_api_client/v2/api/events_api.rb +228 -0
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +36 -46
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +36 -46
- data/lib/datadog_api_client/v2/api/incidents_api.rb +39 -48
- data/lib/datadog_api_client/v2/api/key_management_api.rb +29 -141
- data/lib/datadog_api_client/v2/api/logs_api.rb +15 -45
- data/lib/datadog_api_client/v2/api/logs_archives_api.rb +21 -101
- data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +11 -51
- data/lib/datadog_api_client/v2/api/metrics_api.rb +179 -94
- data/lib/datadog_api_client/v2/api/opsgenie_integration_api.rb +355 -0
- data/lib/datadog_api_client/v2/api/organizations_api.rb +3 -11
- data/lib/datadog_api_client/v2/api/processes_api.rb +6 -13
- data/lib/datadog_api_client/v2/api/roles_api.rb +27 -131
- data/lib/datadog_api_client/v2/api/rum_api.rb +13 -35
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +247 -125
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +11 -51
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +382 -14
- data/lib/datadog_api_client/v2/api/users_api.rb +21 -101
- data/lib/datadog_api_client/v2/model_base.rb +2 -2
- data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping.rb +1 -13
- data/lib/datadog_api_client/v2/models/authn_mapping_attributes.rb +1 -12
- data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_response.rb +16 -4
- data/lib/datadog_api_client/v2/models/authn_mappings_response.rb +13 -1
- data/lib/datadog_api_client/v2/models/chargeback_breakdown.rb +131 -0
- data/lib/datadog_api_client/v2/models/cost_by_org.rb +133 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +153 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/event.rb +141 -0
- data/lib/datadog_api_client/v2/models/event_attributes.rb +305 -0
- data/lib/datadog_api_client/v2/models/event_priority.rb +27 -0
- data/lib/datadog_api_client/v2/models/event_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/event_response_attributes.rb +133 -0
- data/lib/datadog_api_client/v2/models/event_status_type.rb +35 -0
- data/lib/datadog_api_client/v2/models/event_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/events_list_request.rb +142 -0
- data/lib/datadog_api_client/v2/models/events_list_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/events_list_response_links.rb +112 -0
- data/lib/datadog_api_client/v2/models/events_query_filter.rb +137 -0
- data/lib/datadog_api_client/v2/models/events_query_options.rb +124 -0
- data/lib/datadog_api_client/v2/models/events_request_page.rb +134 -0
- data/lib/datadog_api_client/v2/models/events_response_metadata.rb +144 -0
- data/lib/datadog_api_client/v2/models/events_response_metadata_page.rb +112 -0
- data/lib/datadog_api_client/v2/models/events_sort.rb +27 -0
- data/lib/datadog_api_client/v2/models/events_warning.rb +131 -0
- data/lib/datadog_api_client/v2/models/hourly_usage.rb +133 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_attributes.rb +163 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_measurement.rb +122 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_metadata.rb +111 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_pagination.rb +112 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_type.rb +2 -0
- data/lib/datadog_api_client/v2/models/http_log_item.rb +40 -4
- data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/intake_payload_accepted.rb +113 -0
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_estimate.rb +133 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_attributes.rb +133 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_response.rb +111 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/metric_intake_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/metric_metadata.rb +111 -0
- data/lib/datadog_api_client/v2/models/metric_origin.rb +170 -0
- data/lib/datadog_api_client/v2/models/metric_payload.rb +124 -0
- data/lib/datadog_api_client/v2/models/metric_point.rb +122 -0
- data/lib/datadog_api_client/{v1/models/monitor_search_response_counts_status_item.rb → v2/models/metric_resource.rb} +21 -21
- data/lib/datadog_api_client/v2/models/metric_series.rb +220 -0
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +0 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +0 -2
- data/lib/datadog_api_client/v2/models/metric_volumes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_type.rb +215 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +174 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_region_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +122 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_response_attributes.rb +132 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_attributes.rb +142 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +1 -5
- data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +1 -1
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +1 -5
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_hardcoded_evaluator_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +30 -4
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_method.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_threshold.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +23 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_create.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_archive_reason.rb +29 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +132 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +134 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state.rb +28 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +152 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +248 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_data.rb +111 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +122 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +152 -0
- data/lib/datadog_api_client/v2/models/usage_application_security_monitoring_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/usage_lambda_traced_invocations_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/user_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2.rb +77 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/lib/datadog_api_client.rb +11 -5
- data/spec/{v1/api_client_spec.rb → api_client_spec.rb} +32 -32
- data/spec/{v1/configuration_spec.rb → configuration_spec.rb} +3 -3
- data/spec/spec_helper.rb +1 -3
- metadata +191 -28
- data/.dockerignore +0 -1
- data/.generator/src/generator/templates/api_error.j2 +0 -49
- data/extract-code-blocks.awk +0 -81
- data/extract-code-blocks.sh +0 -3
- data/lib/datadog_api_client/v1/api_client.rb +0 -456
- data/lib/datadog_api_client/v1/api_error.rb +0 -60
- data/lib/datadog_api_client/v1.rb +0 -789
- data/lib/datadog_api_client/v2/api_error.rb +0 -60
- data/lib/datadog_api_client/v2/configuration.rb +0 -427
- data/spec/v2/api_client_spec.rb +0 -210
- data/spec/v2/configuration_spec.rb +0 -45
@@ -19,7 +19,7 @@ module DatadogAPIClient::V1
|
|
19
19
|
class UsageMeteringAPI
|
20
20
|
attr_accessor :api_client
|
21
21
|
|
22
|
-
def initialize(api_client = APIClient.default)
|
22
|
+
def initialize(api_client = DatadogAPIClient::APIClient.default)
|
23
23
|
@api_client = api_client
|
24
24
|
end
|
25
25
|
|
@@ -42,14 +42,11 @@ module DatadogAPIClient::V1
|
|
42
42
|
# @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
|
43
43
|
# @return [Array<(UsageCustomReportsResponse, Integer, Hash)>] UsageCustomReportsResponse data, response status code and response headers
|
44
44
|
def get_daily_custom_reports_with_http_info(opts = {})
|
45
|
-
|
46
|
-
if
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
else
|
51
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_daily_custom_reports"))
|
52
|
-
end
|
45
|
+
unstable_enabled = @api_client.config.unstable_operations["v1.get_daily_custom_reports".to_sym]
|
46
|
+
if unstable_enabled
|
47
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v1.get_daily_custom_reports")
|
48
|
+
else
|
49
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v1.get_daily_custom_reports"))
|
53
50
|
end
|
54
51
|
|
55
52
|
if @api_client.config.debugging
|
@@ -97,7 +94,8 @@ module DatadogAPIClient::V1
|
|
97
94
|
:form_params => form_params,
|
98
95
|
:body => post_body,
|
99
96
|
:auth_names => auth_names,
|
100
|
-
:return_type => return_type
|
97
|
+
:return_type => return_type,
|
98
|
+
:api_version => "V1"
|
101
99
|
)
|
102
100
|
|
103
101
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -107,7 +105,7 @@ module DatadogAPIClient::V1
|
|
107
105
|
return data, status_code, headers
|
108
106
|
end
|
109
107
|
|
110
|
-
# Get
|
108
|
+
# Get hourly usage attribution.
|
111
109
|
#
|
112
110
|
# @see #get_hourly_usage_attribution_with_http_info
|
113
111
|
def get_hourly_usage_attribution(start_hr, usage_type, opts = {})
|
@@ -115,9 +113,9 @@ module DatadogAPIClient::V1
|
|
115
113
|
data
|
116
114
|
end
|
117
115
|
|
118
|
-
# Get
|
116
|
+
# Get hourly usage attribution.
|
119
117
|
#
|
120
|
-
# Get
|
118
|
+
# Get hourly usage attribution.
|
121
119
|
#
|
122
120
|
# This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is
|
123
121
|
# set in the response. If it is, make another request and pass `next_record_id` as a parameter.
|
@@ -139,18 +137,10 @@ module DatadogAPIClient::V1
|
|
139
137
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
140
138
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
141
139
|
# @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. To see which tags are available, look for the value of `tag_config_source` in the API response.
|
140
|
+
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to `true`.
|
142
141
|
# @return [Array<(HourlyUsageAttributionResponse, Integer, Hash)>] HourlyUsageAttributionResponse data, response status code and response headers
|
143
142
|
def get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts = {})
|
144
143
|
|
145
|
-
if @api_client.config.unstable_operations.has_key?(:get_hourly_usage_attribution)
|
146
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_hourly_usage_attribution]
|
147
|
-
if unstable_enabled
|
148
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_hourly_usage_attribution")
|
149
|
-
else
|
150
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_hourly_usage_attribution"))
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
144
|
if @api_client.config.debugging
|
155
145
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_hourly_usage_attribution ...'
|
156
146
|
end
|
@@ -163,7 +153,7 @@ module DatadogAPIClient::V1
|
|
163
153
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
164
154
|
end
|
165
155
|
# verify enum value
|
166
|
-
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']
|
156
|
+
allowable_values = ['api_usage', 'apm_host_usage', 'appsec_usage', 'browser_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'indexed_logs_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_host_usage', 'snmp_usage']
|
167
157
|
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
168
158
|
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
169
159
|
end
|
@@ -177,6 +167,7 @@ module DatadogAPIClient::V1
|
|
177
167
|
query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil?
|
178
168
|
query_params[:'next_record_id'] = opts[:'next_record_id'] if !opts[:'next_record_id'].nil?
|
179
169
|
query_params[:'tag_breakdown_keys'] = opts[:'tag_breakdown_keys'] if !opts[:'tag_breakdown_keys'].nil?
|
170
|
+
query_params[:'include_descendants'] = opts[:'include_descendants'] if !opts[:'include_descendants'].nil?
|
180
171
|
|
181
172
|
# header parameters
|
182
173
|
header_params = opts[:header_params] || {}
|
@@ -202,7 +193,8 @@ module DatadogAPIClient::V1
|
|
202
193
|
:form_params => form_params,
|
203
194
|
:body => post_body,
|
204
195
|
:auth_names => auth_names,
|
205
|
-
:return_type => return_type
|
196
|
+
:return_type => return_type,
|
197
|
+
:api_version => "V1"
|
206
198
|
)
|
207
199
|
|
208
200
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -223,6 +215,7 @@ module DatadogAPIClient::V1
|
|
223
215
|
# Get hourly usage for incident management.
|
224
216
|
#
|
225
217
|
# Get hourly usage for incident management.
|
218
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
226
219
|
#
|
227
220
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
228
221
|
# @param opts [Hash] the optional parameters
|
@@ -230,15 +223,6 @@ module DatadogAPIClient::V1
|
|
230
223
|
# @return [Array<(UsageIncidentManagementResponse, Integer, Hash)>] UsageIncidentManagementResponse data, response status code and response headers
|
231
224
|
def get_incident_management_with_http_info(start_hr, opts = {})
|
232
225
|
|
233
|
-
if @api_client.config.unstable_operations.has_key?(:get_incident_management)
|
234
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_incident_management]
|
235
|
-
if unstable_enabled
|
236
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_incident_management")
|
237
|
-
else
|
238
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_incident_management"))
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
226
|
if @api_client.config.debugging
|
243
227
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_incident_management ...'
|
244
228
|
end
|
@@ -278,7 +262,8 @@ module DatadogAPIClient::V1
|
|
278
262
|
:form_params => form_params,
|
279
263
|
:body => post_body,
|
280
264
|
:auth_names => auth_names,
|
281
|
-
:return_type => return_type
|
265
|
+
:return_type => return_type,
|
266
|
+
:api_version => "V1"
|
282
267
|
)
|
283
268
|
|
284
269
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -299,6 +284,7 @@ module DatadogAPIClient::V1
|
|
299
284
|
# Get hourly usage for ingested spans.
|
300
285
|
#
|
301
286
|
# Get hourly usage for ingested spans.
|
287
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
302
288
|
#
|
303
289
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
304
290
|
# @param opts [Hash] the optional parameters
|
@@ -306,15 +292,6 @@ module DatadogAPIClient::V1
|
|
306
292
|
# @return [Array<(UsageIngestedSpansResponse, Integer, Hash)>] UsageIngestedSpansResponse data, response status code and response headers
|
307
293
|
def get_ingested_spans_with_http_info(start_hr, opts = {})
|
308
294
|
|
309
|
-
if @api_client.config.unstable_operations.has_key?(:get_ingested_spans)
|
310
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_ingested_spans]
|
311
|
-
if unstable_enabled
|
312
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_ingested_spans")
|
313
|
-
else
|
314
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_ingested_spans"))
|
315
|
-
end
|
316
|
-
end
|
317
|
-
|
318
295
|
if @api_client.config.debugging
|
319
296
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_ingested_spans ...'
|
320
297
|
end
|
@@ -354,7 +331,8 @@ module DatadogAPIClient::V1
|
|
354
331
|
:form_params => form_params,
|
355
332
|
:body => post_body,
|
356
333
|
:auth_names => auth_names,
|
357
|
-
:return_type => return_type
|
334
|
+
:return_type => return_type,
|
335
|
+
:api_version => "V1"
|
358
336
|
)
|
359
337
|
|
360
338
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -383,14 +361,11 @@ module DatadogAPIClient::V1
|
|
383
361
|
# @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
|
384
362
|
# @return [Array<(UsageCustomReportsResponse, Integer, Hash)>] UsageCustomReportsResponse data, response status code and response headers
|
385
363
|
def get_monthly_custom_reports_with_http_info(opts = {})
|
386
|
-
|
387
|
-
if
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
else
|
392
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_monthly_custom_reports"))
|
393
|
-
end
|
364
|
+
unstable_enabled = @api_client.config.unstable_operations["v1.get_monthly_custom_reports".to_sym]
|
365
|
+
if unstable_enabled
|
366
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v1.get_monthly_custom_reports")
|
367
|
+
else
|
368
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v1.get_monthly_custom_reports"))
|
394
369
|
end
|
395
370
|
|
396
371
|
if @api_client.config.debugging
|
@@ -438,7 +413,8 @@ module DatadogAPIClient::V1
|
|
438
413
|
:form_params => form_params,
|
439
414
|
:body => post_body,
|
440
415
|
:auth_names => auth_names,
|
441
|
-
:return_type => return_type
|
416
|
+
:return_type => return_type,
|
417
|
+
:api_version => "V1"
|
442
418
|
)
|
443
419
|
|
444
420
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -448,7 +424,7 @@ module DatadogAPIClient::V1
|
|
448
424
|
return data, status_code, headers
|
449
425
|
end
|
450
426
|
|
451
|
-
# Get
|
427
|
+
# Get monthly usage attribution.
|
452
428
|
#
|
453
429
|
# @see #get_monthly_usage_attribution_with_http_info
|
454
430
|
def get_monthly_usage_attribution(start_month, fields, opts = {})
|
@@ -456,9 +432,9 @@ module DatadogAPIClient::V1
|
|
456
432
|
data
|
457
433
|
end
|
458
434
|
|
459
|
-
# Get
|
435
|
+
# Get monthly usage attribution.
|
460
436
|
#
|
461
|
-
# Get
|
437
|
+
# Get monthly usage attribution.
|
462
438
|
#
|
463
439
|
# This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is
|
464
440
|
# set in the response. If it is, make another request and pass `next_record_id` as a parameter.
|
@@ -482,18 +458,10 @@ module DatadogAPIClient::V1
|
|
482
458
|
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
|
483
459
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value of `tag_config_source` in the API response.
|
484
460
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
461
|
+
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to `true`.
|
485
462
|
# @return [Array<(MonthlyUsageAttributionResponse, Integer, Hash)>] MonthlyUsageAttributionResponse data, response status code and response headers
|
486
463
|
def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {})
|
487
464
|
|
488
|
-
if @api_client.config.unstable_operations.has_key?(:get_monthly_usage_attribution)
|
489
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_monthly_usage_attribution]
|
490
|
-
if unstable_enabled
|
491
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_monthly_usage_attribution")
|
492
|
-
else
|
493
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_monthly_usage_attribution"))
|
494
|
-
end
|
495
|
-
end
|
496
|
-
|
497
465
|
if @api_client.config.debugging
|
498
466
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_monthly_usage_attribution ...'
|
499
467
|
end
|
@@ -506,7 +474,7 @@ module DatadogAPIClient::V1
|
|
506
474
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
|
507
475
|
end
|
508
476
|
# verify enum value
|
509
|
-
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', '*']
|
477
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_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', '*']
|
510
478
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
511
479
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
512
480
|
end
|
@@ -514,7 +482,7 @@ module DatadogAPIClient::V1
|
|
514
482
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
515
483
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
516
484
|
end
|
517
|
-
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', '*']
|
485
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_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', '*']
|
518
486
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
519
487
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
520
488
|
end
|
@@ -530,6 +498,7 @@ module DatadogAPIClient::V1
|
|
530
498
|
query_params[:'sort_name'] = opts[:'sort_name'] if !opts[:'sort_name'].nil?
|
531
499
|
query_params[:'tag_breakdown_keys'] = opts[:'tag_breakdown_keys'] if !opts[:'tag_breakdown_keys'].nil?
|
532
500
|
query_params[:'next_record_id'] = opts[:'next_record_id'] if !opts[:'next_record_id'].nil?
|
501
|
+
query_params[:'include_descendants'] = opts[:'include_descendants'] if !opts[:'include_descendants'].nil?
|
533
502
|
|
534
503
|
# header parameters
|
535
504
|
header_params = opts[:header_params] || {}
|
@@ -555,7 +524,8 @@ module DatadogAPIClient::V1
|
|
555
524
|
:form_params => form_params,
|
556
525
|
:body => post_body,
|
557
526
|
:auth_names => auth_names,
|
558
|
-
:return_type => return_type
|
527
|
+
:return_type => return_type,
|
528
|
+
:api_version => "V1"
|
559
529
|
)
|
560
530
|
|
561
531
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -581,14 +551,11 @@ module DatadogAPIClient::V1
|
|
581
551
|
# @param opts [Hash] the optional parameters
|
582
552
|
# @return [Array<(UsageSpecifiedCustomReportsResponse, Integer, Hash)>] UsageSpecifiedCustomReportsResponse data, response status code and response headers
|
583
553
|
def get_specified_daily_custom_reports_with_http_info(report_id, opts = {})
|
584
|
-
|
585
|
-
if
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
else
|
590
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_specified_daily_custom_reports"))
|
591
|
-
end
|
554
|
+
unstable_enabled = @api_client.config.unstable_operations["v1.get_specified_daily_custom_reports".to_sym]
|
555
|
+
if unstable_enabled
|
556
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v1.get_specified_daily_custom_reports")
|
557
|
+
else
|
558
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v1.get_specified_daily_custom_reports"))
|
592
559
|
end
|
593
560
|
|
594
561
|
if @api_client.config.debugging
|
@@ -628,7 +595,8 @@ module DatadogAPIClient::V1
|
|
628
595
|
:form_params => form_params,
|
629
596
|
:body => post_body,
|
630
597
|
:auth_names => auth_names,
|
631
|
-
:return_type => return_type
|
598
|
+
:return_type => return_type,
|
599
|
+
:api_version => "V1"
|
632
600
|
)
|
633
601
|
|
634
602
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -654,14 +622,11 @@ module DatadogAPIClient::V1
|
|
654
622
|
# @param opts [Hash] the optional parameters
|
655
623
|
# @return [Array<(UsageSpecifiedCustomReportsResponse, Integer, Hash)>] UsageSpecifiedCustomReportsResponse data, response status code and response headers
|
656
624
|
def get_specified_monthly_custom_reports_with_http_info(report_id, opts = {})
|
657
|
-
|
658
|
-
if
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
else
|
663
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_specified_monthly_custom_reports"))
|
664
|
-
end
|
625
|
+
unstable_enabled = @api_client.config.unstable_operations["v1.get_specified_monthly_custom_reports".to_sym]
|
626
|
+
if unstable_enabled
|
627
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v1.get_specified_monthly_custom_reports")
|
628
|
+
else
|
629
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v1.get_specified_monthly_custom_reports"))
|
665
630
|
end
|
666
631
|
|
667
632
|
if @api_client.config.debugging
|
@@ -701,7 +666,8 @@ module DatadogAPIClient::V1
|
|
701
666
|
:form_params => form_params,
|
702
667
|
:body => post_body,
|
703
668
|
:auth_names => auth_names,
|
704
|
-
:return_type => return_type
|
669
|
+
:return_type => return_type,
|
670
|
+
:api_version => "V1"
|
705
671
|
)
|
706
672
|
|
707
673
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -722,6 +688,7 @@ module DatadogAPIClient::V1
|
|
722
688
|
# Get hourly usage for analyzed logs.
|
723
689
|
#
|
724
690
|
# Get hourly usage for analyzed logs (Security Monitoring).
|
691
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
725
692
|
#
|
726
693
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
727
694
|
# @param opts [Hash] the optional parameters
|
@@ -729,15 +696,6 @@ module DatadogAPIClient::V1
|
|
729
696
|
# @return [Array<(UsageAnalyzedLogsResponse, Integer, Hash)>] UsageAnalyzedLogsResponse data, response status code and response headers
|
730
697
|
def get_usage_analyzed_logs_with_http_info(start_hr, opts = {})
|
731
698
|
|
732
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_analyzed_logs)
|
733
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_analyzed_logs]
|
734
|
-
if unstable_enabled
|
735
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_analyzed_logs")
|
736
|
-
else
|
737
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_analyzed_logs"))
|
738
|
-
end
|
739
|
-
end
|
740
|
-
|
741
699
|
if @api_client.config.debugging
|
742
700
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_analyzed_logs ...'
|
743
701
|
end
|
@@ -777,7 +735,8 @@ module DatadogAPIClient::V1
|
|
777
735
|
:form_params => form_params,
|
778
736
|
:body => post_body,
|
779
737
|
:auth_names => auth_names,
|
780
|
-
:return_type => return_type
|
738
|
+
:return_type => return_type,
|
739
|
+
:api_version => "V1"
|
781
740
|
)
|
782
741
|
|
783
742
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -787,7 +746,7 @@ module DatadogAPIClient::V1
|
|
787
746
|
return data, status_code, headers
|
788
747
|
end
|
789
748
|
|
790
|
-
# Get
|
749
|
+
# Get usage attribution.
|
791
750
|
#
|
792
751
|
# @see #get_usage_attribution_with_http_info
|
793
752
|
def get_usage_attribution(start_month, fields, opts = {})
|
@@ -795,9 +754,9 @@ module DatadogAPIClient::V1
|
|
795
754
|
data
|
796
755
|
end
|
797
756
|
|
798
|
-
# Get
|
757
|
+
# Get usage attribution.
|
799
758
|
#
|
800
|
-
# Get
|
759
|
+
# Get usage attribution.
|
801
760
|
#
|
802
761
|
# @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.
|
803
762
|
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
@@ -810,14 +769,11 @@ module DatadogAPIClient::V1
|
|
810
769
|
# @option opts [Integer] :limit Maximum number of records to be returned.
|
811
770
|
# @return [Array<(UsageAttributionResponse, Integer, Hash)>] UsageAttributionResponse data, response status code and response headers
|
812
771
|
def get_usage_attribution_with_http_info(start_month, fields, opts = {})
|
813
|
-
|
814
|
-
if
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
else
|
819
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_attribution"))
|
820
|
-
end
|
772
|
+
unstable_enabled = @api_client.config.unstable_operations["v1.get_usage_attribution".to_sym]
|
773
|
+
if unstable_enabled
|
774
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v1.get_usage_attribution")
|
775
|
+
else
|
776
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v1.get_usage_attribution"))
|
821
777
|
end
|
822
778
|
|
823
779
|
if @api_client.config.debugging
|
@@ -832,7 +788,7 @@ module DatadogAPIClient::V1
|
|
832
788
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_usage_attribution"
|
833
789
|
end
|
834
790
|
# verify enum value
|
835
|
-
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', 'api_usage', 'apm_host_percentage', 'infra_host_percentage', 'snmp_usage', 'browser_percentage', 'api_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', '*']
|
791
|
+
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', 'api_usage', 'apm_host_percentage', 'infra_host_percentage', 'snmp_usage', 'browser_percentage', 'api_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', 'appsec_usage', 'appsec_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', '*']
|
836
792
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
837
793
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
838
794
|
end
|
@@ -840,7 +796,7 @@ module DatadogAPIClient::V1
|
|
840
796
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
841
797
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
842
798
|
end
|
843
|
-
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', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage']
|
799
|
+
allowable_values = ['api_percentage', 'snmp_usage', 'apm_host_usage', 'api_usage', 'appsec_usage', 'appsec_percentage', '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', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage']
|
844
800
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
845
801
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
846
802
|
end
|
@@ -882,7 +838,8 @@ module DatadogAPIClient::V1
|
|
882
838
|
:form_params => form_params,
|
883
839
|
:body => post_body,
|
884
840
|
:auth_names => auth_names,
|
885
|
-
:return_type => return_type
|
841
|
+
:return_type => return_type,
|
842
|
+
:api_version => "V1"
|
886
843
|
)
|
887
844
|
|
888
845
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -903,6 +860,7 @@ module DatadogAPIClient::V1
|
|
903
860
|
# Get hourly usage for audit logs.
|
904
861
|
#
|
905
862
|
# Get hourly usage for audit logs.
|
863
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
906
864
|
#
|
907
865
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
908
866
|
# @param opts [Hash] the optional parameters
|
@@ -910,15 +868,6 @@ module DatadogAPIClient::V1
|
|
910
868
|
# @return [Array<(UsageAuditLogsResponse, Integer, Hash)>] UsageAuditLogsResponse data, response status code and response headers
|
911
869
|
def get_usage_audit_logs_with_http_info(start_hr, opts = {})
|
912
870
|
|
913
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_audit_logs)
|
914
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_audit_logs]
|
915
|
-
if unstable_enabled
|
916
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_audit_logs")
|
917
|
-
else
|
918
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_audit_logs"))
|
919
|
-
end
|
920
|
-
end
|
921
|
-
|
922
871
|
if @api_client.config.debugging
|
923
872
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_audit_logs ...'
|
924
873
|
end
|
@@ -958,7 +907,8 @@ module DatadogAPIClient::V1
|
|
958
907
|
:form_params => form_params,
|
959
908
|
:body => post_body,
|
960
909
|
:auth_names => auth_names,
|
961
|
-
:return_type => return_type
|
910
|
+
:return_type => return_type,
|
911
|
+
:api_version => "V1"
|
962
912
|
)
|
963
913
|
|
964
914
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -985,15 +935,6 @@ module DatadogAPIClient::V1
|
|
985
935
|
# @return [Array<(UsageBillableSummaryResponse, Integer, Hash)>] UsageBillableSummaryResponse data, response status code and response headers
|
986
936
|
def get_usage_billable_summary_with_http_info(opts = {})
|
987
937
|
|
988
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_billable_summary)
|
989
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_billable_summary]
|
990
|
-
if unstable_enabled
|
991
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_billable_summary")
|
992
|
-
else
|
993
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_billable_summary"))
|
994
|
-
end
|
995
|
-
end
|
996
|
-
|
997
938
|
if @api_client.config.debugging
|
998
939
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_billable_summary ...'
|
999
940
|
end
|
@@ -1028,7 +969,8 @@ module DatadogAPIClient::V1
|
|
1028
969
|
:form_params => form_params,
|
1029
970
|
:body => post_body,
|
1030
971
|
:auth_names => auth_names,
|
1031
|
-
:return_type => return_type
|
972
|
+
:return_type => return_type,
|
973
|
+
:api_version => "V1"
|
1032
974
|
)
|
1033
975
|
|
1034
976
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1038,7 +980,7 @@ module DatadogAPIClient::V1
|
|
1038
980
|
return data, status_code, headers
|
1039
981
|
end
|
1040
982
|
|
1041
|
-
# Get hourly usage for CI
|
983
|
+
# Get hourly usage for CI visibility.
|
1042
984
|
#
|
1043
985
|
# @see #get_usage_ci_app_with_http_info
|
1044
986
|
def get_usage_ci_app(start_hr, opts = {})
|
@@ -1046,9 +988,10 @@ module DatadogAPIClient::V1
|
|
1046
988
|
data
|
1047
989
|
end
|
1048
990
|
|
1049
|
-
# Get hourly usage for CI
|
991
|
+
# Get hourly usage for CI visibility.
|
1050
992
|
#
|
1051
|
-
# Get hourly usage for CI
|
993
|
+
# Get hourly usage for CI visibility (tests, pipeline, and spans).
|
994
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1052
995
|
#
|
1053
996
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1054
997
|
# @param opts [Hash] the optional parameters
|
@@ -1056,15 +999,6 @@ module DatadogAPIClient::V1
|
|
1056
999
|
# @return [Array<(UsageCIVisibilityResponse, Integer, Hash)>] UsageCIVisibilityResponse data, response status code and response headers
|
1057
1000
|
def get_usage_ci_app_with_http_info(start_hr, opts = {})
|
1058
1001
|
|
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
1002
|
if @api_client.config.debugging
|
1069
1003
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_ci_app ...'
|
1070
1004
|
end
|
@@ -1104,7 +1038,8 @@ module DatadogAPIClient::V1
|
|
1104
1038
|
:form_params => form_params,
|
1105
1039
|
:body => post_body,
|
1106
1040
|
:auth_names => auth_names,
|
1107
|
-
:return_type => return_type
|
1041
|
+
:return_type => return_type,
|
1042
|
+
:api_version => "V1"
|
1108
1043
|
)
|
1109
1044
|
|
1110
1045
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1124,7 +1059,8 @@ module DatadogAPIClient::V1
|
|
1124
1059
|
|
1125
1060
|
# Get hourly usage for CSPM.
|
1126
1061
|
#
|
1127
|
-
# Get hourly usage for
|
1062
|
+
# Get hourly usage for cloud security posture management (CSPM).
|
1063
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1128
1064
|
#
|
1129
1065
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1130
1066
|
# @param opts [Hash] the optional parameters
|
@@ -1132,15 +1068,6 @@ module DatadogAPIClient::V1
|
|
1132
1068
|
# @return [Array<(UsageCloudSecurityPostureManagementResponse, Integer, Hash)>] UsageCloudSecurityPostureManagementResponse data, response status code and response headers
|
1133
1069
|
def get_usage_cloud_security_posture_management_with_http_info(start_hr, opts = {})
|
1134
1070
|
|
1135
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_cloud_security_posture_management)
|
1136
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_cloud_security_posture_management]
|
1137
|
-
if unstable_enabled
|
1138
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_cloud_security_posture_management")
|
1139
|
-
else
|
1140
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_cloud_security_posture_management"))
|
1141
|
-
end
|
1142
|
-
end
|
1143
|
-
|
1144
1071
|
if @api_client.config.debugging
|
1145
1072
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_cloud_security_posture_management ...'
|
1146
1073
|
end
|
@@ -1180,7 +1107,8 @@ module DatadogAPIClient::V1
|
|
1180
1107
|
:form_params => form_params,
|
1181
1108
|
:body => post_body,
|
1182
1109
|
:auth_names => auth_names,
|
1183
|
-
:return_type => return_type
|
1110
|
+
:return_type => return_type,
|
1111
|
+
:api_version => "V1"
|
1184
1112
|
)
|
1185
1113
|
|
1186
1114
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1190,7 +1118,7 @@ module DatadogAPIClient::V1
|
|
1190
1118
|
return data, status_code, headers
|
1191
1119
|
end
|
1192
1120
|
|
1193
|
-
# Get hourly usage for
|
1121
|
+
# Get hourly usage for cloud workload security.
|
1194
1122
|
#
|
1195
1123
|
# @see #get_usage_cws_with_http_info
|
1196
1124
|
def get_usage_cws(start_hr, opts = {})
|
@@ -1198,9 +1126,10 @@ module DatadogAPIClient::V1
|
|
1198
1126
|
data
|
1199
1127
|
end
|
1200
1128
|
|
1201
|
-
# Get hourly usage for
|
1129
|
+
# Get hourly usage for cloud workload security.
|
1202
1130
|
#
|
1203
|
-
# Get hourly usage for
|
1131
|
+
# Get hourly usage for cloud workload security.
|
1132
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1204
1133
|
#
|
1205
1134
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1206
1135
|
# @param opts [Hash] the optional parameters
|
@@ -1208,15 +1137,6 @@ module DatadogAPIClient::V1
|
|
1208
1137
|
# @return [Array<(UsageCWSResponse, Integer, Hash)>] UsageCWSResponse data, response status code and response headers
|
1209
1138
|
def get_usage_cws_with_http_info(start_hr, opts = {})
|
1210
1139
|
|
1211
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_cws)
|
1212
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_cws]
|
1213
|
-
if unstable_enabled
|
1214
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_cws")
|
1215
|
-
else
|
1216
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_cws"))
|
1217
|
-
end
|
1218
|
-
end
|
1219
|
-
|
1220
1140
|
if @api_client.config.debugging
|
1221
1141
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_cws ...'
|
1222
1142
|
end
|
@@ -1256,7 +1176,8 @@ module DatadogAPIClient::V1
|
|
1256
1176
|
:form_params => form_params,
|
1257
1177
|
:body => post_body,
|
1258
1178
|
:auth_names => auth_names,
|
1259
|
-
:return_type => return_type
|
1179
|
+
:return_type => return_type,
|
1180
|
+
:api_version => "V1"
|
1260
1181
|
)
|
1261
1182
|
|
1262
1183
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1266,7 +1187,7 @@ module DatadogAPIClient::V1
|
|
1266
1187
|
return data, status_code, headers
|
1267
1188
|
end
|
1268
1189
|
|
1269
|
-
# Get hourly usage for
|
1190
|
+
# Get hourly usage for database monitoring.
|
1270
1191
|
#
|
1271
1192
|
# @see #get_usage_dbm_with_http_info
|
1272
1193
|
def get_usage_dbm(start_hr, opts = {})
|
@@ -1274,9 +1195,10 @@ module DatadogAPIClient::V1
|
|
1274
1195
|
data
|
1275
1196
|
end
|
1276
1197
|
|
1277
|
-
# Get hourly usage for
|
1198
|
+
# Get hourly usage for database monitoring.
|
1278
1199
|
#
|
1279
|
-
# Get hourly usage for
|
1200
|
+
# Get hourly usage for database monitoring
|
1201
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1280
1202
|
#
|
1281
1203
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1282
1204
|
# @param opts [Hash] the optional parameters
|
@@ -1284,15 +1206,6 @@ module DatadogAPIClient::V1
|
|
1284
1206
|
# @return [Array<(UsageDBMResponse, Integer, Hash)>] UsageDBMResponse data, response status code and response headers
|
1285
1207
|
def get_usage_dbm_with_http_info(start_hr, opts = {})
|
1286
1208
|
|
1287
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_dbm)
|
1288
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_dbm]
|
1289
|
-
if unstable_enabled
|
1290
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_dbm")
|
1291
|
-
else
|
1292
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_dbm"))
|
1293
|
-
end
|
1294
|
-
end
|
1295
|
-
|
1296
1209
|
if @api_client.config.debugging
|
1297
1210
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_dbm ...'
|
1298
1211
|
end
|
@@ -1332,7 +1245,8 @@ module DatadogAPIClient::V1
|
|
1332
1245
|
:form_params => form_params,
|
1333
1246
|
:body => post_body,
|
1334
1247
|
:auth_names => auth_names,
|
1335
|
-
:return_type => return_type
|
1248
|
+
:return_type => return_type,
|
1249
|
+
:api_version => "V1"
|
1336
1250
|
)
|
1337
1251
|
|
1338
1252
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1353,6 +1267,7 @@ module DatadogAPIClient::V1
|
|
1353
1267
|
# Get hourly usage for Fargate.
|
1354
1268
|
#
|
1355
1269
|
# Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
|
1270
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1356
1271
|
#
|
1357
1272
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1358
1273
|
# @param opts [Hash] the optional parameters
|
@@ -1360,15 +1275,6 @@ module DatadogAPIClient::V1
|
|
1360
1275
|
# @return [Array<(UsageFargateResponse, Integer, Hash)>] UsageFargateResponse data, response status code and response headers
|
1361
1276
|
def get_usage_fargate_with_http_info(start_hr, opts = {})
|
1362
1277
|
|
1363
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_fargate)
|
1364
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_fargate]
|
1365
|
-
if unstable_enabled
|
1366
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_fargate")
|
1367
|
-
else
|
1368
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_fargate"))
|
1369
|
-
end
|
1370
|
-
end
|
1371
|
-
|
1372
1278
|
if @api_client.config.debugging
|
1373
1279
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_fargate ...'
|
1374
1280
|
end
|
@@ -1408,7 +1314,8 @@ module DatadogAPIClient::V1
|
|
1408
1314
|
:form_params => form_params,
|
1409
1315
|
:body => post_body,
|
1410
1316
|
:auth_names => auth_names,
|
1411
|
-
:return_type => return_type
|
1317
|
+
:return_type => return_type,
|
1318
|
+
:api_version => "V1"
|
1412
1319
|
)
|
1413
1320
|
|
1414
1321
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1429,6 +1336,7 @@ module DatadogAPIClient::V1
|
|
1429
1336
|
# Get hourly usage for hosts and containers.
|
1430
1337
|
#
|
1431
1338
|
# Get hourly usage for hosts and containers.
|
1339
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1432
1340
|
#
|
1433
1341
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1434
1342
|
# @param opts [Hash] the optional parameters
|
@@ -1436,15 +1344,6 @@ module DatadogAPIClient::V1
|
|
1436
1344
|
# @return [Array<(UsageHostsResponse, Integer, Hash)>] UsageHostsResponse data, response status code and response headers
|
1437
1345
|
def get_usage_hosts_with_http_info(start_hr, opts = {})
|
1438
1346
|
|
1439
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_hosts)
|
1440
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_hosts]
|
1441
|
-
if unstable_enabled
|
1442
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_hosts")
|
1443
|
-
else
|
1444
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_hosts"))
|
1445
|
-
end
|
1446
|
-
end
|
1447
|
-
|
1448
1347
|
if @api_client.config.debugging
|
1449
1348
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_hosts ...'
|
1450
1349
|
end
|
@@ -1484,7 +1383,8 @@ module DatadogAPIClient::V1
|
|
1484
1383
|
:form_params => form_params,
|
1485
1384
|
:body => post_body,
|
1486
1385
|
:auth_names => auth_names,
|
1487
|
-
:return_type => return_type
|
1386
|
+
:return_type => return_type,
|
1387
|
+
:api_version => "V1"
|
1488
1388
|
)
|
1489
1389
|
|
1490
1390
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1505,6 +1405,7 @@ module DatadogAPIClient::V1
|
|
1505
1405
|
# Get hourly usage for indexed spans.
|
1506
1406
|
#
|
1507
1407
|
# Get hourly usage for indexed spans.
|
1408
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1508
1409
|
#
|
1509
1410
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1510
1411
|
# @param opts [Hash] the optional parameters
|
@@ -1512,15 +1413,6 @@ module DatadogAPIClient::V1
|
|
1512
1413
|
# @return [Array<(UsageIndexedSpansResponse, Integer, Hash)>] UsageIndexedSpansResponse data, response status code and response headers
|
1513
1414
|
def get_usage_indexed_spans_with_http_info(start_hr, opts = {})
|
1514
1415
|
|
1515
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_indexed_spans)
|
1516
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_indexed_spans]
|
1517
|
-
if unstable_enabled
|
1518
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_indexed_spans")
|
1519
|
-
else
|
1520
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_indexed_spans"))
|
1521
|
-
end
|
1522
|
-
end
|
1523
|
-
|
1524
1416
|
if @api_client.config.debugging
|
1525
1417
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_indexed_spans ...'
|
1526
1418
|
end
|
@@ -1560,7 +1452,8 @@ module DatadogAPIClient::V1
|
|
1560
1452
|
:form_params => form_params,
|
1561
1453
|
:body => post_body,
|
1562
1454
|
:auth_names => auth_names,
|
1563
|
-
:return_type => return_type
|
1455
|
+
:return_type => return_type,
|
1456
|
+
:api_version => "V1"
|
1564
1457
|
)
|
1565
1458
|
|
1566
1459
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1581,6 +1474,7 @@ module DatadogAPIClient::V1
|
|
1581
1474
|
# Get hourly usage for IoT.
|
1582
1475
|
#
|
1583
1476
|
# Get hourly usage for IoT.
|
1477
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1584
1478
|
#
|
1585
1479
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1586
1480
|
# @param opts [Hash] the optional parameters
|
@@ -1588,15 +1482,6 @@ module DatadogAPIClient::V1
|
|
1588
1482
|
# @return [Array<(UsageIoTResponse, Integer, Hash)>] UsageIoTResponse data, response status code and response headers
|
1589
1483
|
def get_usage_internet_of_things_with_http_info(start_hr, opts = {})
|
1590
1484
|
|
1591
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_internet_of_things)
|
1592
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_internet_of_things]
|
1593
|
-
if unstable_enabled
|
1594
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_internet_of_things")
|
1595
|
-
else
|
1596
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_internet_of_things"))
|
1597
|
-
end
|
1598
|
-
end
|
1599
|
-
|
1600
1485
|
if @api_client.config.debugging
|
1601
1486
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_internet_of_things ...'
|
1602
1487
|
end
|
@@ -1636,7 +1521,8 @@ module DatadogAPIClient::V1
|
|
1636
1521
|
:form_params => form_params,
|
1637
1522
|
:body => post_body,
|
1638
1523
|
:auth_names => auth_names,
|
1639
|
-
:return_type => return_type
|
1524
|
+
:return_type => return_type,
|
1525
|
+
:api_version => "V1"
|
1640
1526
|
)
|
1641
1527
|
|
1642
1528
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1646,7 +1532,7 @@ module DatadogAPIClient::V1
|
|
1646
1532
|
return data, status_code, headers
|
1647
1533
|
end
|
1648
1534
|
|
1649
|
-
# Get hourly usage for
|
1535
|
+
# Get hourly usage for lambda.
|
1650
1536
|
#
|
1651
1537
|
# @see #get_usage_lambda_with_http_info
|
1652
1538
|
def get_usage_lambda(start_hr, opts = {})
|
@@ -1654,9 +1540,10 @@ module DatadogAPIClient::V1
|
|
1654
1540
|
data
|
1655
1541
|
end
|
1656
1542
|
|
1657
|
-
# Get hourly usage for
|
1543
|
+
# Get hourly usage for lambda.
|
1658
1544
|
#
|
1659
1545
|
# Get hourly usage for lambda.
|
1546
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1660
1547
|
#
|
1661
1548
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1662
1549
|
# @param opts [Hash] the optional parameters
|
@@ -1664,15 +1551,6 @@ module DatadogAPIClient::V1
|
|
1664
1551
|
# @return [Array<(UsageLambdaResponse, Integer, Hash)>] UsageLambdaResponse data, response status code and response headers
|
1665
1552
|
def get_usage_lambda_with_http_info(start_hr, opts = {})
|
1666
1553
|
|
1667
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_lambda)
|
1668
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_lambda]
|
1669
|
-
if unstable_enabled
|
1670
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_lambda")
|
1671
|
-
else
|
1672
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_lambda"))
|
1673
|
-
end
|
1674
|
-
end
|
1675
|
-
|
1676
1554
|
if @api_client.config.debugging
|
1677
1555
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_lambda ...'
|
1678
1556
|
end
|
@@ -1712,7 +1590,8 @@ module DatadogAPIClient::V1
|
|
1712
1590
|
:form_params => form_params,
|
1713
1591
|
:body => post_body,
|
1714
1592
|
:auth_names => auth_names,
|
1715
|
-
:return_type => return_type
|
1593
|
+
:return_type => return_type,
|
1594
|
+
:api_version => "V1"
|
1716
1595
|
)
|
1717
1596
|
|
1718
1597
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1722,7 +1601,7 @@ module DatadogAPIClient::V1
|
|
1722
1601
|
return data, status_code, headers
|
1723
1602
|
end
|
1724
1603
|
|
1725
|
-
# Get hourly usage for
|
1604
|
+
# Get hourly usage for logs.
|
1726
1605
|
#
|
1727
1606
|
# @see #get_usage_logs_with_http_info
|
1728
1607
|
def get_usage_logs(start_hr, opts = {})
|
@@ -1730,9 +1609,10 @@ module DatadogAPIClient::V1
|
|
1730
1609
|
data
|
1731
1610
|
end
|
1732
1611
|
|
1733
|
-
# Get hourly usage for
|
1612
|
+
# Get hourly usage for logs.
|
1734
1613
|
#
|
1735
1614
|
# Get hourly usage for logs.
|
1615
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1736
1616
|
#
|
1737
1617
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
1738
1618
|
# @param opts [Hash] the optional parameters
|
@@ -1740,15 +1620,6 @@ module DatadogAPIClient::V1
|
|
1740
1620
|
# @return [Array<(UsageLogsResponse, Integer, Hash)>] UsageLogsResponse data, response status code and response headers
|
1741
1621
|
def get_usage_logs_with_http_info(start_hr, opts = {})
|
1742
1622
|
|
1743
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_logs)
|
1744
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_logs]
|
1745
|
-
if unstable_enabled
|
1746
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_logs")
|
1747
|
-
else
|
1748
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_logs"))
|
1749
|
-
end
|
1750
|
-
end
|
1751
|
-
|
1752
1623
|
if @api_client.config.debugging
|
1753
1624
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_logs ...'
|
1754
1625
|
end
|
@@ -1788,7 +1659,8 @@ module DatadogAPIClient::V1
|
|
1788
1659
|
:form_params => form_params,
|
1789
1660
|
:body => post_body,
|
1790
1661
|
:auth_names => auth_names,
|
1791
|
-
:return_type => return_type
|
1662
|
+
:return_type => return_type,
|
1663
|
+
:api_version => "V1"
|
1792
1664
|
)
|
1793
1665
|
|
1794
1666
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1798,7 +1670,7 @@ module DatadogAPIClient::V1
|
|
1798
1670
|
return data, status_code, headers
|
1799
1671
|
end
|
1800
1672
|
|
1801
|
-
# Get hourly usage for
|
1673
|
+
# Get hourly usage for logs by index.
|
1802
1674
|
#
|
1803
1675
|
# @see #get_usage_logs_by_index_with_http_info
|
1804
1676
|
def get_usage_logs_by_index(start_hr, opts = {})
|
@@ -1806,7 +1678,7 @@ module DatadogAPIClient::V1
|
|
1806
1678
|
data
|
1807
1679
|
end
|
1808
1680
|
|
1809
|
-
# Get hourly usage for
|
1681
|
+
# Get hourly usage for logs by index.
|
1810
1682
|
#
|
1811
1683
|
# Get hourly usage for logs by index.
|
1812
1684
|
#
|
@@ -1817,15 +1689,6 @@ module DatadogAPIClient::V1
|
|
1817
1689
|
# @return [Array<(UsageLogsByIndexResponse, Integer, Hash)>] UsageLogsByIndexResponse data, response status code and response headers
|
1818
1690
|
def get_usage_logs_by_index_with_http_info(start_hr, opts = {})
|
1819
1691
|
|
1820
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_logs_by_index)
|
1821
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_logs_by_index]
|
1822
|
-
if unstable_enabled
|
1823
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_logs_by_index")
|
1824
|
-
else
|
1825
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_logs_by_index"))
|
1826
|
-
end
|
1827
|
-
end
|
1828
|
-
|
1829
1692
|
if @api_client.config.debugging
|
1830
1693
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_logs_by_index ...'
|
1831
1694
|
end
|
@@ -1866,7 +1729,8 @@ module DatadogAPIClient::V1
|
|
1866
1729
|
:form_params => form_params,
|
1867
1730
|
:body => post_body,
|
1868
1731
|
:auth_names => auth_names,
|
1869
|
-
:return_type => return_type
|
1732
|
+
:return_type => return_type,
|
1733
|
+
:api_version => "V1"
|
1870
1734
|
)
|
1871
1735
|
|
1872
1736
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1887,6 +1751,7 @@ module DatadogAPIClient::V1
|
|
1887
1751
|
# Get hourly logs usage by retention.
|
1888
1752
|
#
|
1889
1753
|
# Get hourly usage for indexed logs by retention period.
|
1754
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1890
1755
|
#
|
1891
1756
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1892
1757
|
# @param opts [Hash] the optional parameters
|
@@ -1894,15 +1759,6 @@ module DatadogAPIClient::V1
|
|
1894
1759
|
# @return [Array<(UsageLogsByRetentionResponse, Integer, Hash)>] UsageLogsByRetentionResponse data, response status code and response headers
|
1895
1760
|
def get_usage_logs_by_retention_with_http_info(start_hr, opts = {})
|
1896
1761
|
|
1897
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_logs_by_retention)
|
1898
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_logs_by_retention]
|
1899
|
-
if unstable_enabled
|
1900
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_logs_by_retention")
|
1901
|
-
else
|
1902
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_logs_by_retention"))
|
1903
|
-
end
|
1904
|
-
end
|
1905
|
-
|
1906
1762
|
if @api_client.config.debugging
|
1907
1763
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_logs_by_retention ...'
|
1908
1764
|
end
|
@@ -1942,7 +1798,8 @@ module DatadogAPIClient::V1
|
|
1942
1798
|
:form_params => form_params,
|
1943
1799
|
:body => post_body,
|
1944
1800
|
:auth_names => auth_names,
|
1945
|
-
:return_type => return_type
|
1801
|
+
:return_type => return_type,
|
1802
|
+
:api_version => "V1"
|
1946
1803
|
)
|
1947
1804
|
|
1948
1805
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -1952,7 +1809,7 @@ module DatadogAPIClient::V1
|
|
1952
1809
|
return data, status_code, headers
|
1953
1810
|
end
|
1954
1811
|
|
1955
|
-
#
|
1812
|
+
# get hourly usage for network flows.
|
1956
1813
|
#
|
1957
1814
|
# @see #get_usage_network_flows_with_http_info
|
1958
1815
|
def get_usage_network_flows(start_hr, opts = {})
|
@@ -1960,9 +1817,10 @@ module DatadogAPIClient::V1
|
|
1960
1817
|
data
|
1961
1818
|
end
|
1962
1819
|
|
1963
|
-
#
|
1820
|
+
# get hourly usage for network flows.
|
1964
1821
|
#
|
1965
1822
|
# Get hourly usage for network flows.
|
1823
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
1966
1824
|
#
|
1967
1825
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1968
1826
|
# @param opts [Hash] the optional parameters
|
@@ -1970,15 +1828,6 @@ module DatadogAPIClient::V1
|
|
1970
1828
|
# @return [Array<(UsageNetworkFlowsResponse, Integer, Hash)>] UsageNetworkFlowsResponse data, response status code and response headers
|
1971
1829
|
def get_usage_network_flows_with_http_info(start_hr, opts = {})
|
1972
1830
|
|
1973
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_network_flows)
|
1974
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_network_flows]
|
1975
|
-
if unstable_enabled
|
1976
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_network_flows")
|
1977
|
-
else
|
1978
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_network_flows"))
|
1979
|
-
end
|
1980
|
-
end
|
1981
|
-
|
1982
1831
|
if @api_client.config.debugging
|
1983
1832
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_network_flows ...'
|
1984
1833
|
end
|
@@ -2018,7 +1867,8 @@ module DatadogAPIClient::V1
|
|
2018
1867
|
:form_params => form_params,
|
2019
1868
|
:body => post_body,
|
2020
1869
|
:auth_names => auth_names,
|
2021
|
-
:return_type => return_type
|
1870
|
+
:return_type => return_type,
|
1871
|
+
:api_version => "V1"
|
2022
1872
|
)
|
2023
1873
|
|
2024
1874
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2028,7 +1878,7 @@ module DatadogAPIClient::V1
|
|
2028
1878
|
return data, status_code, headers
|
2029
1879
|
end
|
2030
1880
|
|
2031
|
-
# Get hourly usage for
|
1881
|
+
# Get hourly usage for network hosts.
|
2032
1882
|
#
|
2033
1883
|
# @see #get_usage_network_hosts_with_http_info
|
2034
1884
|
def get_usage_network_hosts(start_hr, opts = {})
|
@@ -2036,9 +1886,10 @@ module DatadogAPIClient::V1
|
|
2036
1886
|
data
|
2037
1887
|
end
|
2038
1888
|
|
2039
|
-
# Get hourly usage for
|
1889
|
+
# Get hourly usage for network hosts.
|
2040
1890
|
#
|
2041
1891
|
# Get hourly usage for network hosts.
|
1892
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2042
1893
|
#
|
2043
1894
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2044
1895
|
# @param opts [Hash] the optional parameters
|
@@ -2046,15 +1897,6 @@ module DatadogAPIClient::V1
|
|
2046
1897
|
# @return [Array<(UsageNetworkHostsResponse, Integer, Hash)>] UsageNetworkHostsResponse data, response status code and response headers
|
2047
1898
|
def get_usage_network_hosts_with_http_info(start_hr, opts = {})
|
2048
1899
|
|
2049
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_network_hosts)
|
2050
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_network_hosts]
|
2051
|
-
if unstable_enabled
|
2052
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_network_hosts")
|
2053
|
-
else
|
2054
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_network_hosts"))
|
2055
|
-
end
|
2056
|
-
end
|
2057
|
-
|
2058
1900
|
if @api_client.config.debugging
|
2059
1901
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_network_hosts ...'
|
2060
1902
|
end
|
@@ -2094,7 +1936,8 @@ module DatadogAPIClient::V1
|
|
2094
1936
|
:form_params => form_params,
|
2095
1937
|
:body => post_body,
|
2096
1938
|
:auth_names => auth_names,
|
2097
|
-
:return_type => return_type
|
1939
|
+
:return_type => return_type,
|
1940
|
+
:api_version => "V1"
|
2098
1941
|
)
|
2099
1942
|
|
2100
1943
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2104,7 +1947,7 @@ module DatadogAPIClient::V1
|
|
2104
1947
|
return data, status_code, headers
|
2105
1948
|
end
|
2106
1949
|
|
2107
|
-
# Get hourly usage for
|
1950
|
+
# Get hourly usage for online archive.
|
2108
1951
|
#
|
2109
1952
|
# @see #get_usage_online_archive_with_http_info
|
2110
1953
|
def get_usage_online_archive(start_hr, opts = {})
|
@@ -2112,9 +1955,10 @@ module DatadogAPIClient::V1
|
|
2112
1955
|
data
|
2113
1956
|
end
|
2114
1957
|
|
2115
|
-
# Get hourly usage for
|
1958
|
+
# Get hourly usage for online archive.
|
2116
1959
|
#
|
2117
|
-
# Get hourly usage for
|
1960
|
+
# Get hourly usage for online archive.
|
1961
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2118
1962
|
#
|
2119
1963
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2120
1964
|
# @param opts [Hash] the optional parameters
|
@@ -2122,15 +1966,6 @@ module DatadogAPIClient::V1
|
|
2122
1966
|
# @return [Array<(UsageOnlineArchiveResponse, Integer, Hash)>] UsageOnlineArchiveResponse data, response status code and response headers
|
2123
1967
|
def get_usage_online_archive_with_http_info(start_hr, opts = {})
|
2124
1968
|
|
2125
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_online_archive)
|
2126
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_online_archive]
|
2127
|
-
if unstable_enabled
|
2128
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_online_archive")
|
2129
|
-
else
|
2130
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_online_archive"))
|
2131
|
-
end
|
2132
|
-
end
|
2133
|
-
|
2134
1969
|
if @api_client.config.debugging
|
2135
1970
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_online_archive ...'
|
2136
1971
|
end
|
@@ -2170,7 +2005,8 @@ module DatadogAPIClient::V1
|
|
2170
2005
|
:form_params => form_params,
|
2171
2006
|
:body => post_body,
|
2172
2007
|
:auth_names => auth_names,
|
2173
|
-
:return_type => return_type
|
2008
|
+
:return_type => return_type,
|
2009
|
+
:api_version => "V1"
|
2174
2010
|
)
|
2175
2011
|
|
2176
2012
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2191,6 +2027,7 @@ module DatadogAPIClient::V1
|
|
2191
2027
|
# Get hourly usage for profiled hosts.
|
2192
2028
|
#
|
2193
2029
|
# Get hourly usage for profiled hosts.
|
2030
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2194
2031
|
#
|
2195
2032
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2196
2033
|
# @param opts [Hash] the optional parameters
|
@@ -2198,15 +2035,6 @@ module DatadogAPIClient::V1
|
|
2198
2035
|
# @return [Array<(UsageProfilingResponse, Integer, Hash)>] UsageProfilingResponse data, response status code and response headers
|
2199
2036
|
def get_usage_profiling_with_http_info(start_hr, opts = {})
|
2200
2037
|
|
2201
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_profiling)
|
2202
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_profiling]
|
2203
|
-
if unstable_enabled
|
2204
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_profiling")
|
2205
|
-
else
|
2206
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_profiling"))
|
2207
|
-
end
|
2208
|
-
end
|
2209
|
-
|
2210
2038
|
if @api_client.config.debugging
|
2211
2039
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_profiling ...'
|
2212
2040
|
end
|
@@ -2246,7 +2074,8 @@ module DatadogAPIClient::V1
|
|
2246
2074
|
:form_params => form_params,
|
2247
2075
|
:body => post_body,
|
2248
2076
|
:auth_names => auth_names,
|
2249
|
-
:return_type => return_type
|
2077
|
+
:return_type => return_type,
|
2078
|
+
:api_version => "V1"
|
2250
2079
|
)
|
2251
2080
|
|
2252
2081
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2256,7 +2085,7 @@ module DatadogAPIClient::V1
|
|
2256
2085
|
return data, status_code, headers
|
2257
2086
|
end
|
2258
2087
|
|
2259
|
-
# Get hourly usage for RUM
|
2088
|
+
# Get hourly usage for RUM sessions.
|
2260
2089
|
#
|
2261
2090
|
# @see #get_usage_rum_sessions_with_http_info
|
2262
2091
|
def get_usage_rum_sessions(start_hr, opts = {})
|
@@ -2264,9 +2093,10 @@ module DatadogAPIClient::V1
|
|
2264
2093
|
data
|
2265
2094
|
end
|
2266
2095
|
|
2267
|
-
# Get hourly usage for RUM
|
2096
|
+
# Get hourly usage for RUM sessions.
|
2268
2097
|
#
|
2269
2098
|
# Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.
|
2099
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2270
2100
|
#
|
2271
2101
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2272
2102
|
# @param opts [Hash] the optional parameters
|
@@ -2275,15 +2105,6 @@ module DatadogAPIClient::V1
|
|
2275
2105
|
# @return [Array<(UsageRumSessionsResponse, Integer, Hash)>] UsageRumSessionsResponse data, response status code and response headers
|
2276
2106
|
def get_usage_rum_sessions_with_http_info(start_hr, opts = {})
|
2277
2107
|
|
2278
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_rum_sessions)
|
2279
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_rum_sessions]
|
2280
|
-
if unstable_enabled
|
2281
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_rum_sessions")
|
2282
|
-
else
|
2283
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_rum_sessions"))
|
2284
|
-
end
|
2285
|
-
end
|
2286
|
-
|
2287
2108
|
if @api_client.config.debugging
|
2288
2109
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_rum_sessions ...'
|
2289
2110
|
end
|
@@ -2324,7 +2145,8 @@ module DatadogAPIClient::V1
|
|
2324
2145
|
:form_params => form_params,
|
2325
2146
|
:body => post_body,
|
2326
2147
|
:auth_names => auth_names,
|
2327
|
-
:return_type => return_type
|
2148
|
+
:return_type => return_type,
|
2149
|
+
:api_version => "V1"
|
2328
2150
|
)
|
2329
2151
|
|
2330
2152
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2334,7 +2156,7 @@ module DatadogAPIClient::V1
|
|
2334
2156
|
return data, status_code, headers
|
2335
2157
|
end
|
2336
2158
|
|
2337
|
-
# Get hourly usage for RUM
|
2159
|
+
# Get hourly usage for RUM units.
|
2338
2160
|
#
|
2339
2161
|
# @see #get_usage_rum_units_with_http_info
|
2340
2162
|
def get_usage_rum_units(start_hr, opts = {})
|
@@ -2342,9 +2164,10 @@ module DatadogAPIClient::V1
|
|
2342
2164
|
data
|
2343
2165
|
end
|
2344
2166
|
|
2345
|
-
# Get hourly usage for RUM
|
2167
|
+
# Get hourly usage for RUM units.
|
2346
2168
|
#
|
2347
2169
|
# Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.
|
2170
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2348
2171
|
#
|
2349
2172
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2350
2173
|
# @param opts [Hash] the optional parameters
|
@@ -2352,15 +2175,6 @@ module DatadogAPIClient::V1
|
|
2352
2175
|
# @return [Array<(UsageRumUnitsResponse, Integer, Hash)>] UsageRumUnitsResponse data, response status code and response headers
|
2353
2176
|
def get_usage_rum_units_with_http_info(start_hr, opts = {})
|
2354
2177
|
|
2355
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_rum_units)
|
2356
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_rum_units]
|
2357
|
-
if unstable_enabled
|
2358
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_rum_units")
|
2359
|
-
else
|
2360
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_rum_units"))
|
2361
|
-
end
|
2362
|
-
end
|
2363
|
-
|
2364
2178
|
if @api_client.config.debugging
|
2365
2179
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_rum_units ...'
|
2366
2180
|
end
|
@@ -2400,7 +2214,8 @@ module DatadogAPIClient::V1
|
|
2400
2214
|
:form_params => form_params,
|
2401
2215
|
:body => post_body,
|
2402
2216
|
:auth_names => auth_names,
|
2403
|
-
:return_type => return_type
|
2217
|
+
:return_type => return_type,
|
2218
|
+
:api_version => "V1"
|
2404
2219
|
)
|
2405
2220
|
|
2406
2221
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2410,7 +2225,7 @@ module DatadogAPIClient::V1
|
|
2410
2225
|
return data, status_code, headers
|
2411
2226
|
end
|
2412
2227
|
|
2413
|
-
# Get hourly usage for
|
2228
|
+
# Get hourly usage for sensitive data scanner.
|
2414
2229
|
#
|
2415
2230
|
# @see #get_usage_sds_with_http_info
|
2416
2231
|
def get_usage_sds(start_hr, opts = {})
|
@@ -2418,9 +2233,10 @@ module DatadogAPIClient::V1
|
|
2418
2233
|
data
|
2419
2234
|
end
|
2420
2235
|
|
2421
|
-
# Get hourly usage for
|
2236
|
+
# Get hourly usage for sensitive data scanner.
|
2422
2237
|
#
|
2423
|
-
# Get hourly usage for
|
2238
|
+
# Get hourly usage for sensitive data scanner.
|
2239
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2424
2240
|
#
|
2425
2241
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2426
2242
|
# @param opts [Hash] the optional parameters
|
@@ -2428,15 +2244,6 @@ module DatadogAPIClient::V1
|
|
2428
2244
|
# @return [Array<(UsageSDSResponse, Integer, Hash)>] UsageSDSResponse data, response status code and response headers
|
2429
2245
|
def get_usage_sds_with_http_info(start_hr, opts = {})
|
2430
2246
|
|
2431
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_sds)
|
2432
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_sds]
|
2433
|
-
if unstable_enabled
|
2434
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_sds")
|
2435
|
-
else
|
2436
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_sds"))
|
2437
|
-
end
|
2438
|
-
end
|
2439
|
-
|
2440
2247
|
if @api_client.config.debugging
|
2441
2248
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_sds ...'
|
2442
2249
|
end
|
@@ -2476,7 +2283,8 @@ module DatadogAPIClient::V1
|
|
2476
2283
|
:form_params => form_params,
|
2477
2284
|
:body => post_body,
|
2478
2285
|
:auth_names => auth_names,
|
2479
|
-
:return_type => return_type
|
2286
|
+
:return_type => return_type,
|
2287
|
+
:api_version => "V1"
|
2480
2288
|
)
|
2481
2289
|
|
2482
2290
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2497,6 +2305,7 @@ module DatadogAPIClient::V1
|
|
2497
2305
|
# Get hourly usage for SNMP devices.
|
2498
2306
|
#
|
2499
2307
|
# Get hourly usage for SNMP devices.
|
2308
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2500
2309
|
#
|
2501
2310
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
2502
2311
|
# @param opts [Hash] the optional parameters
|
@@ -2504,15 +2313,6 @@ module DatadogAPIClient::V1
|
|
2504
2313
|
# @return [Array<(UsageSNMPResponse, Integer, Hash)>] UsageSNMPResponse data, response status code and response headers
|
2505
2314
|
def get_usage_snmp_with_http_info(start_hr, opts = {})
|
2506
2315
|
|
2507
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_snmp)
|
2508
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_snmp]
|
2509
|
-
if unstable_enabled
|
2510
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_snmp")
|
2511
|
-
else
|
2512
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_snmp"))
|
2513
|
-
end
|
2514
|
-
end
|
2515
|
-
|
2516
2316
|
if @api_client.config.debugging
|
2517
2317
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_snmp ...'
|
2518
2318
|
end
|
@@ -2552,7 +2352,8 @@ module DatadogAPIClient::V1
|
|
2552
2352
|
:form_params => form_params,
|
2553
2353
|
:body => post_body,
|
2554
2354
|
:auth_names => auth_names,
|
2555
|
-
:return_type => return_type
|
2355
|
+
:return_type => return_type,
|
2356
|
+
:api_version => "V1"
|
2556
2357
|
)
|
2557
2358
|
|
2558
2359
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2581,15 +2382,6 @@ module DatadogAPIClient::V1
|
|
2581
2382
|
# @return [Array<(UsageSummaryResponse, Integer, Hash)>] UsageSummaryResponse data, response status code and response headers
|
2582
2383
|
def get_usage_summary_with_http_info(start_month, opts = {})
|
2583
2384
|
|
2584
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_summary)
|
2585
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_summary]
|
2586
|
-
if unstable_enabled
|
2587
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_summary")
|
2588
|
-
else
|
2589
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_summary"))
|
2590
|
-
end
|
2591
|
-
end
|
2592
|
-
|
2593
2385
|
if @api_client.config.debugging
|
2594
2386
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_summary ...'
|
2595
2387
|
end
|
@@ -2630,7 +2422,8 @@ module DatadogAPIClient::V1
|
|
2630
2422
|
:form_params => form_params,
|
2631
2423
|
:body => post_body,
|
2632
2424
|
:auth_names => auth_names,
|
2633
|
-
:return_type => return_type
|
2425
|
+
:return_type => return_type,
|
2426
|
+
:api_version => "V1"
|
2634
2427
|
)
|
2635
2428
|
|
2636
2429
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2640,7 +2433,7 @@ module DatadogAPIClient::V1
|
|
2640
2433
|
return data, status_code, headers
|
2641
2434
|
end
|
2642
2435
|
|
2643
|
-
# Get hourly usage for
|
2436
|
+
# Get hourly usage for synthetics checks.
|
2644
2437
|
#
|
2645
2438
|
# @see #get_usage_synthetics_with_http_info
|
2646
2439
|
def get_usage_synthetics(start_hr, opts = {})
|
@@ -2648,9 +2441,10 @@ module DatadogAPIClient::V1
|
|
2648
2441
|
data
|
2649
2442
|
end
|
2650
2443
|
|
2651
|
-
# Get hourly usage for
|
2444
|
+
# Get hourly usage for synthetics checks.
|
2652
2445
|
#
|
2653
|
-
# Get hourly usage for [
|
2446
|
+
# Get hourly usage for [synthetics checks](https://docs.datadoghq.com/synthetics/).
|
2447
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2654
2448
|
#
|
2655
2449
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2656
2450
|
# @param opts [Hash] the optional parameters
|
@@ -2658,15 +2452,6 @@ module DatadogAPIClient::V1
|
|
2658
2452
|
# @return [Array<(UsageSyntheticsResponse, Integer, Hash)>] UsageSyntheticsResponse data, response status code and response headers
|
2659
2453
|
def get_usage_synthetics_with_http_info(start_hr, opts = {})
|
2660
2454
|
|
2661
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_synthetics)
|
2662
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_synthetics]
|
2663
|
-
if unstable_enabled
|
2664
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_synthetics")
|
2665
|
-
else
|
2666
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_synthetics"))
|
2667
|
-
end
|
2668
|
-
end
|
2669
|
-
|
2670
2455
|
if @api_client.config.debugging
|
2671
2456
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_synthetics ...'
|
2672
2457
|
end
|
@@ -2706,7 +2491,8 @@ module DatadogAPIClient::V1
|
|
2706
2491
|
:form_params => form_params,
|
2707
2492
|
:body => post_body,
|
2708
2493
|
:auth_names => auth_names,
|
2709
|
-
:return_type => return_type
|
2494
|
+
:return_type => return_type,
|
2495
|
+
:api_version => "V1"
|
2710
2496
|
)
|
2711
2497
|
|
2712
2498
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2716,7 +2502,7 @@ module DatadogAPIClient::V1
|
|
2716
2502
|
return data, status_code, headers
|
2717
2503
|
end
|
2718
2504
|
|
2719
|
-
# Get hourly usage for
|
2505
|
+
# Get hourly usage for synthetics API checks.
|
2720
2506
|
#
|
2721
2507
|
# @see #get_usage_synthetics_api_with_http_info
|
2722
2508
|
def get_usage_synthetics_api(start_hr, opts = {})
|
@@ -2724,9 +2510,10 @@ module DatadogAPIClient::V1
|
|
2724
2510
|
data
|
2725
2511
|
end
|
2726
2512
|
|
2727
|
-
# Get hourly usage for
|
2513
|
+
# Get hourly usage for synthetics API checks.
|
2728
2514
|
#
|
2729
2515
|
# Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
|
2516
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2730
2517
|
#
|
2731
2518
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2732
2519
|
# @param opts [Hash] the optional parameters
|
@@ -2734,15 +2521,6 @@ module DatadogAPIClient::V1
|
|
2734
2521
|
# @return [Array<(UsageSyntheticsAPIResponse, Integer, Hash)>] UsageSyntheticsAPIResponse data, response status code and response headers
|
2735
2522
|
def get_usage_synthetics_api_with_http_info(start_hr, opts = {})
|
2736
2523
|
|
2737
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_synthetics_api)
|
2738
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_synthetics_api]
|
2739
|
-
if unstable_enabled
|
2740
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_synthetics_api")
|
2741
|
-
else
|
2742
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_synthetics_api"))
|
2743
|
-
end
|
2744
|
-
end
|
2745
|
-
|
2746
2524
|
if @api_client.config.debugging
|
2747
2525
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_synthetics_api ...'
|
2748
2526
|
end
|
@@ -2782,7 +2560,8 @@ module DatadogAPIClient::V1
|
|
2782
2560
|
:form_params => form_params,
|
2783
2561
|
:body => post_body,
|
2784
2562
|
:auth_names => auth_names,
|
2785
|
-
:return_type => return_type
|
2563
|
+
:return_type => return_type,
|
2564
|
+
:api_version => "V1"
|
2786
2565
|
)
|
2787
2566
|
|
2788
2567
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2792,7 +2571,7 @@ module DatadogAPIClient::V1
|
|
2792
2571
|
return data, status_code, headers
|
2793
2572
|
end
|
2794
2573
|
|
2795
|
-
# Get hourly usage for
|
2574
|
+
# Get hourly usage for synthetics browser checks.
|
2796
2575
|
#
|
2797
2576
|
# @see #get_usage_synthetics_browser_with_http_info
|
2798
2577
|
def get_usage_synthetics_browser(start_hr, opts = {})
|
@@ -2800,9 +2579,10 @@ module DatadogAPIClient::V1
|
|
2800
2579
|
data
|
2801
2580
|
end
|
2802
2581
|
|
2803
|
-
# Get hourly usage for
|
2582
|
+
# Get hourly usage for synthetics browser checks.
|
2804
2583
|
#
|
2805
2584
|
# Get hourly usage for synthetics browser checks.
|
2585
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2806
2586
|
#
|
2807
2587
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2808
2588
|
# @param opts [Hash] the optional parameters
|
@@ -2810,15 +2590,6 @@ module DatadogAPIClient::V1
|
|
2810
2590
|
# @return [Array<(UsageSyntheticsBrowserResponse, Integer, Hash)>] UsageSyntheticsBrowserResponse data, response status code and response headers
|
2811
2591
|
def get_usage_synthetics_browser_with_http_info(start_hr, opts = {})
|
2812
2592
|
|
2813
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_synthetics_browser)
|
2814
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_synthetics_browser]
|
2815
|
-
if unstable_enabled
|
2816
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_synthetics_browser")
|
2817
|
-
else
|
2818
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_synthetics_browser"))
|
2819
|
-
end
|
2820
|
-
end
|
2821
|
-
|
2822
2593
|
if @api_client.config.debugging
|
2823
2594
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_synthetics_browser ...'
|
2824
2595
|
end
|
@@ -2858,7 +2629,8 @@ module DatadogAPIClient::V1
|
|
2858
2629
|
:form_params => form_params,
|
2859
2630
|
:body => post_body,
|
2860
2631
|
:auth_names => auth_names,
|
2861
|
-
:return_type => return_type
|
2632
|
+
:return_type => return_type,
|
2633
|
+
:api_version => "V1"
|
2862
2634
|
)
|
2863
2635
|
|
2864
2636
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2879,6 +2651,7 @@ module DatadogAPIClient::V1
|
|
2879
2651
|
# Get hourly usage for custom metrics.
|
2880
2652
|
#
|
2881
2653
|
# Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
|
2654
|
+
# **Note:** hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)
|
2882
2655
|
#
|
2883
2656
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
2884
2657
|
# @param opts [Hash] the optional parameters
|
@@ -2886,15 +2659,6 @@ module DatadogAPIClient::V1
|
|
2886
2659
|
# @return [Array<(UsageTimeseriesResponse, Integer, Hash)>] UsageTimeseriesResponse data, response status code and response headers
|
2887
2660
|
def get_usage_timeseries_with_http_info(start_hr, opts = {})
|
2888
2661
|
|
2889
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_timeseries)
|
2890
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_timeseries]
|
2891
|
-
if unstable_enabled
|
2892
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_timeseries")
|
2893
|
-
else
|
2894
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_timeseries"))
|
2895
|
-
end
|
2896
|
-
end
|
2897
|
-
|
2898
2662
|
if @api_client.config.debugging
|
2899
2663
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_timeseries ...'
|
2900
2664
|
end
|
@@ -2934,7 +2698,8 @@ module DatadogAPIClient::V1
|
|
2934
2698
|
:form_params => form_params,
|
2935
2699
|
:body => post_body,
|
2936
2700
|
:auth_names => auth_names,
|
2937
|
-
:return_type => return_type
|
2701
|
+
:return_type => return_type,
|
2702
|
+
:api_version => "V1"
|
2938
2703
|
)
|
2939
2704
|
|
2940
2705
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
@@ -2965,15 +2730,6 @@ module DatadogAPIClient::V1
|
|
2965
2730
|
# @return [Array<(UsageTopAvgMetricsResponse, Integer, Hash)>] UsageTopAvgMetricsResponse data, response status code and response headers
|
2966
2731
|
def get_usage_top_avg_metrics_with_http_info(opts = {})
|
2967
2732
|
|
2968
|
-
if @api_client.config.unstable_operations.has_key?(:get_usage_top_avg_metrics)
|
2969
|
-
unstable_enabled = @api_client.config.unstable_operations[:get_usage_top_avg_metrics]
|
2970
|
-
if unstable_enabled
|
2971
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_top_avg_metrics")
|
2972
|
-
else
|
2973
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_top_avg_metrics"))
|
2974
|
-
end
|
2975
|
-
end
|
2976
|
-
|
2977
2733
|
if @api_client.config.debugging
|
2978
2734
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_top_avg_metrics ...'
|
2979
2735
|
end
|
@@ -3018,7 +2774,8 @@ module DatadogAPIClient::V1
|
|
3018
2774
|
:form_params => form_params,
|
3019
2775
|
:body => post_body,
|
3020
2776
|
:auth_names => auth_names,
|
3021
|
-
:return_type => return_type
|
2777
|
+
:return_type => return_type,
|
2778
|
+
:api_version => "V1"
|
3022
2779
|
)
|
3023
2780
|
|
3024
2781
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|