datadog_api_client 2.19.0 → 2.21.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/conftest.py +5 -0
- data/.generator/schemas/v1/openapi.yaml +430 -172
- data/.generator/schemas/v2/openapi.yaml +3146 -165
- data/.generator/src/generator/templates/api.j2 +5 -5
- data/CHANGELOG.md +48 -0
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +3 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +25 -0
- data/examples/v1/logs-indexes/CreateLogsIndex.rb +5 -0
- data/examples/v1/logs-indexes/UpdateLogsIndex.rb +5 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +29 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/TriggerCITests.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +2 -1
- data/examples/v1/usage-metering/GetUsageLambda.rb +5 -2
- data/examples/v2/api-management/CreateOpenAPI.rb +11 -0
- data/examples/v2/api-management/DeleteOpenAPI.rb +11 -0
- data/examples/v2/api-management/GetOpenAPI.rb +11 -0
- data/examples/v2/api-management/UpdateOpenAPI.rb +14 -0
- data/examples/v2/case-management/ArchiveCase.rb +14 -0
- data/examples/v2/case-management/AssignCase.rb +20 -0
- data/examples/v2/case-management/CreateCase.rb +33 -0
- data/examples/v2/case-management/CreateProject.rb +15 -0
- data/examples/v2/case-management/DeleteProject.rb +5 -0
- data/examples/v2/case-management/GetCase.rb +8 -0
- data/examples/v2/case-management/GetProject.rb +5 -0
- data/examples/v2/case-management/GetProjects.rb +5 -0
- data/examples/v2/case-management/SearchCases.rb +5 -0
- data/examples/v2/case-management/SearchCases_3433960044.rb +5 -0
- data/examples/v2/case-management/UnarchiveCase.rb +14 -0
- data/examples/v2/case-management/UnassignCase.rb +14 -0
- data/examples/v2/case-management/UpdatePriority.rb +17 -0
- data/examples/v2/case-management/UpdateStatus.rb +17 -0
- data/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb +17 -0
- data/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.rb +8 -0
- data/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.rb +5 -0
- data/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.rb +8 -0
- data/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.rb +5 -0
- data/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.rb +20 -0
- data/examples/v2/dora-metrics/CreateDORAIncident.rb +6 -3
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +18 -0
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +21 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.rb +31 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.rb +31 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.rb +27 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.rb +32 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.rb +31 -0
- data/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb +8 -0
- data/examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb +8 -0
- data/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.rb +5 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +18 -0
- data/examples/v2/metrics/ListMetricAssets.rb +5 -0
- data/examples/v2/okta-integration/CreateOktaAccount.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +19 -0
- data/examples/v2/security-monitoring/DeleteSecurityMonitoringSuppression.rb +8 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringSuppression.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.rb +5 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb +17 -0
- data/examples/v2/teams/GetTeamMemberships_3799131168.rb +8 -0
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +1 -1
- data/lib/datadog_api_client/configuration.rb +4 -0
- data/lib/datadog_api_client/inflector.rb +134 -0
- data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -3
- data/lib/datadog_api_client/v1/api/organizations_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +8 -8
- data/lib/datadog_api_client/v1/models/dashboard.rb +5 -1
- data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +2 -0
- data/lib/datadog_api_client/v1/models/gcp_account.rb +14 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +6 -0
- data/lib/datadog_api_client/v1/models/log.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_daily_limit_reset.rb +90 -0
- data/lib/datadog_api_client/v1/models/logs_index.rb +36 -1
- data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +36 -1
- data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.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/monthly_usage_attribution_supported_metrics.rb +8 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +84 -4
- 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 +1 -1
- 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 +2 -2
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/split_config.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +83 -3
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +182 -102
- data/lib/datadog_api_client/v2/api/api_management_api.rb +319 -0
- data/lib/datadog_api_client/v2/api/case_management_api.rb +942 -0
- data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +392 -0
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +15 -0
- data/lib/datadog_api_client/v2/api/logs_custom_destinations_api.rb +355 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +69 -1
- data/lib/datadog_api_client/v2/api/organizations_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +329 -0
- data/lib/datadog_api_client/v2/api/service_definition_api.rb +2 -1
- data/lib/datadog_api_client/v2/api/teams_api.rb +22 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +6 -6
- data/lib/datadog_api_client/v2/models/case.rb +150 -0
- data/lib/datadog_api_client/v2/models/case3rd_party_ticket_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/case_assign.rb +119 -0
- data/lib/datadog_api_client/v2/models/case_assign_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_assign_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_attributes.rb +202 -0
- data/lib/datadog_api_client/v2/models/case_create.rb +129 -0
- data/lib/datadog_api_client/v2/models/case_create_attributes.rb +139 -0
- data/lib/datadog_api_client/v2/models/case_create_relationships.rb +116 -0
- data/lib/datadog_api_client/v2/models/case_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_empty.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_empty_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_priority.rb +31 -0
- data/lib/datadog_api_client/v2/models/case_relationships.rb +120 -0
- data/lib/datadog_api_client/v2/models/case_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/case_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/case_sortable_field.rb +28 -0
- data/lib/datadog_api_client/v2/models/case_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/case_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/case_update_priority.rb +119 -0
- data/lib/datadog_api_client/v2/models/case_update_priority_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_update_priority_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_update_status.rb +119 -0
- data/lib/datadog_api_client/v2/models/case_update_status_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_update_status_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/cases_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/cases_response_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/cases_response_meta_pagination.rb +100 -0
- data/lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +90 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_kill.rb +80 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/create_open_api_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/create_open_api_response_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/create_open_api_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/custom_destination_attribute_tags_restriction_list_type.rb +31 -0
- data/lib/datadog_api_client/v2/models/custom_destination_create_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb +193 -0
- data/lib/datadog_api_client/v2/models/custom_destination_create_request_definition.rb +119 -0
- data/lib/datadog_api_client/v2/models/custom_destination_elasticsearch_destination_auth.rb +119 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination.rb +64 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch.rb +181 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http.rb +141 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk.rb +141 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth.rb +63 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic.rb +140 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header.rb +140 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_attributes.rb +171 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_definition.rb +100 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination.rb +64 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch.rb +181 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http.rb +141 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk.rb +120 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth.rb +63 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic.rb +98 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header.rb +119 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_update_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb +169 -0
- data/lib/datadog_api_client/v2/models/custom_destination_update_request_definition.rb +129 -0
- data/lib/datadog_api_client/v2/models/custom_destinations_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +31 -20
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +14 -1
- data/lib/datadog_api_client/v2/models/jira_issue.rb +90 -0
- data/lib/datadog_api_client/v2/models/jira_issue_result.rb +110 -0
- data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +1 -12
- data/lib/datadog_api_client/v2/models/metric_asset_attributes.rb +80 -0
- data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_asset_response_data.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_asset_response_included.rb +65 -0
- data/lib/datadog_api_client/v2/models/metric_asset_response_relationships.rb +110 -0
- data/lib/datadog_api_client/v2/models/metric_asset_slo_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_slo_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_assets_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/metric_dashboard_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb +112 -0
- data/lib/datadog_api_client/v2/models/metric_dashboard_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_monitor_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_monitor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_notebook_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_notebook_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_slo_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_slo_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/nullable_user_relationship.rb +88 -0
- data/lib/datadog_api_client/v2/models/nullable_user_relationship_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/open_api_endpoint.rb +90 -0
- data/lib/datadog_api_client/v2/models/open_api_file.rb +80 -0
- data/lib/datadog_api_client/v2/models/project.rb +150 -0
- data/lib/datadog_api_client/v2/models/project_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/project_create.rb +119 -0
- data/lib/datadog_api_client/v2/models/project_create_attributes.rb +119 -0
- data/lib/datadog_api_client/v2/models/project_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/project_relationship.rb +98 -0
- data/lib/datadog_api_client/v2/models/project_relationship_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/project_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/project_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/project_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/projects_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression.rb +100 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +198 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +181 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +166 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppressions_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_user.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +1 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_now_ticket.rb +90 -0
- data/lib/datadog_api_client/v2/models/service_now_ticket_result.rb +80 -0
- data/lib/datadog_api_client/v2/models/update_open_api_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/update_open_api_response_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/update_open_api_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/user_relationship_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/user_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_team_included.rb +62 -0
- data/lib/datadog_api_client/v2/models/user_team_response.rb +16 -4
- data/lib/datadog_api_client/v2/models/users_relationship.rb +100 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +179 -3
- data/examples/v1/usage-metering/GetUsageLambda_3132428705.rb +0 -8
@@ -413,7 +413,7 @@ module DatadogAPIClient::V1
|
|
413
413
|
form_params['idp_file'] = idp_file
|
414
414
|
|
415
415
|
# http body (model)
|
416
|
-
post_body = opts[:debug_body]
|
416
|
+
post_body = opts[:debug_body]
|
417
417
|
|
418
418
|
# return_type
|
419
419
|
return_type = opts[:debug_return_type] || 'IdpResponse'
|
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
|
|
152
152
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
153
153
|
end
|
154
154
|
# verify enum value
|
155
|
-
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage']
|
155
|
+
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
|
156
156
|
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
157
157
|
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
158
158
|
end
|
@@ -472,7 +472,7 @@ module DatadogAPIClient::V1
|
|
472
472
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
|
473
473
|
end
|
474
474
|
# verify enum value
|
475
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', '*']
|
475
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
|
476
476
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
477
477
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
478
478
|
end
|
@@ -480,7 +480,7 @@ module DatadogAPIClient::V1
|
|
480
480
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
481
481
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
482
482
|
end
|
483
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', '*']
|
483
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
|
484
484
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
485
485
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
486
486
|
end
|
@@ -783,7 +783,7 @@ module DatadogAPIClient::V1
|
|
783
783
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_usage_attribution"
|
784
784
|
end
|
785
785
|
# verify enum value
|
786
|
-
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', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'appsec_usage', 'appsec_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'estimated_rum_usage_attribution_usage', 'estimated_rum_usage_attribution_percentage', '*']
|
786
|
+
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', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'appsec_usage', 'appsec_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'estimated_rum_usage_attribution_usage', 'estimated_rum_usage_attribution_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', '*']
|
787
787
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
788
788
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
789
789
|
end
|
@@ -791,7 +791,7 @@ module DatadogAPIClient::V1
|
|
791
791
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
792
792
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
793
793
|
end
|
794
|
-
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_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'estimated_rum_usage_attribution_usage', 'estimated_rum_usage_attribution_percentage']
|
794
|
+
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_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'estimated_rum_usage_attribution_usage', 'estimated_rum_usage_attribution_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage']
|
795
795
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
796
796
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
797
797
|
end
|
@@ -1530,7 +1530,7 @@ module DatadogAPIClient::V1
|
|
1530
1530
|
return data, status_code, headers
|
1531
1531
|
end
|
1532
1532
|
|
1533
|
-
# Get hourly usage for
|
1533
|
+
# Get hourly usage for Lambda.
|
1534
1534
|
#
|
1535
1535
|
# @see #get_usage_lambda_with_http_info
|
1536
1536
|
def get_usage_lambda(start_hr, opts = {})
|
@@ -1538,9 +1538,9 @@ module DatadogAPIClient::V1
|
|
1538
1538
|
data
|
1539
1539
|
end
|
1540
1540
|
|
1541
|
-
# Get hourly usage for
|
1541
|
+
# Get hourly usage for Lambda.
|
1542
1542
|
#
|
1543
|
-
# Get hourly usage for
|
1543
|
+
# Get hourly usage for Lambda.
|
1544
1544
|
# **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). Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/) for the associated migration guide.
|
1545
1545
|
#
|
1546
1546
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
@@ -37,7 +37,9 @@ module DatadogAPIClient::V1
|
|
37
37
|
# ID of the dashboard.
|
38
38
|
attr_accessor :id
|
39
39
|
|
40
|
-
# Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
|
40
|
+
# Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
|
41
|
+
#
|
42
|
+
# This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards.
|
41
43
|
attr_accessor :is_read_only
|
42
44
|
|
43
45
|
# Layout type of the dashboard.
|
@@ -55,6 +57,8 @@ module DatadogAPIClient::V1
|
|
55
57
|
attr_accessor :reflow_type
|
56
58
|
|
57
59
|
# A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
|
60
|
+
#
|
61
|
+
# This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards.
|
58
62
|
attr_accessor :restricted_roles
|
59
63
|
|
60
64
|
# List of team names representing ownership of a dashboard.
|
@@ -34,6 +34,8 @@ module DatadogAPIClient::V1
|
|
34
34
|
attr_accessor :id
|
35
35
|
|
36
36
|
# Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
|
37
|
+
#
|
38
|
+
# This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards.
|
37
39
|
attr_accessor :is_read_only
|
38
40
|
|
39
41
|
# Layout type of the dashboard.
|
@@ -40,6 +40,10 @@ module DatadogAPIClient::V1
|
|
40
40
|
# where `$CLIENT_EMAIL` is the email found in your JSON service account key.
|
41
41
|
attr_accessor :client_x509_cert_url
|
42
42
|
|
43
|
+
# Limit the Cloud Run revisions that are pulled into Datadog by using tags.
|
44
|
+
# Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
45
|
+
attr_accessor :cloud_run_revision_filters
|
46
|
+
|
43
47
|
# An array of errors.
|
44
48
|
attr_accessor :errors
|
45
49
|
|
@@ -81,6 +85,7 @@ module DatadogAPIClient::V1
|
|
81
85
|
:'client_email' => :'client_email',
|
82
86
|
:'client_id' => :'client_id',
|
83
87
|
:'client_x509_cert_url' => :'client_x509_cert_url',
|
88
|
+
:'cloud_run_revision_filters' => :'cloud_run_revision_filters',
|
84
89
|
:'errors' => :'errors',
|
85
90
|
:'host_filters' => :'host_filters',
|
86
91
|
:'is_cspm_enabled' => :'is_cspm_enabled',
|
@@ -104,6 +109,7 @@ module DatadogAPIClient::V1
|
|
104
109
|
:'client_email' => :'String',
|
105
110
|
:'client_id' => :'String',
|
106
111
|
:'client_x509_cert_url' => :'String',
|
112
|
+
:'cloud_run_revision_filters' => :'Array<String>',
|
107
113
|
:'errors' => :'Array<String>',
|
108
114
|
:'host_filters' => :'String',
|
109
115
|
:'is_cspm_enabled' => :'Boolean',
|
@@ -157,6 +163,12 @@ module DatadogAPIClient::V1
|
|
157
163
|
self.client_x509_cert_url = attributes[:'client_x509_cert_url']
|
158
164
|
end
|
159
165
|
|
166
|
+
if attributes.key?(:'cloud_run_revision_filters')
|
167
|
+
if (value = attributes[:'cloud_run_revision_filters']).is_a?(Array)
|
168
|
+
self.cloud_run_revision_filters = value
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
160
172
|
if attributes.key?(:'errors')
|
161
173
|
if (value = attributes[:'errors']).is_a?(Array)
|
162
174
|
self.errors = value
|
@@ -212,6 +224,7 @@ module DatadogAPIClient::V1
|
|
212
224
|
client_email == o.client_email &&
|
213
225
|
client_id == o.client_id &&
|
214
226
|
client_x509_cert_url == o.client_x509_cert_url &&
|
227
|
+
cloud_run_revision_filters == o.cloud_run_revision_filters &&
|
215
228
|
errors == o.errors &&
|
216
229
|
host_filters == o.host_filters &&
|
217
230
|
is_cspm_enabled == o.is_cspm_enabled &&
|
@@ -228,7 +241,7 @@ module DatadogAPIClient::V1
|
|
228
241
|
# @return [Integer] Hash code
|
229
242
|
# @!visibility private
|
230
243
|
def hash
|
231
|
-
[auth_provider_x509_cert_url, auth_uri, automute, client_email, client_id, client_x509_cert_url, errors, host_filters, is_cspm_enabled, is_security_command_center_enabled, private_key, private_key_id, project_id, resource_collection_enabled, token_uri, type].hash
|
244
|
+
[auth_provider_x509_cert_url, auth_uri, automute, client_email, client_id, client_x509_cert_url, cloud_run_revision_filters, errors, host_filters, is_cspm_enabled, is_security_command_center_enabled, private_key, private_key_id, project_id, resource_collection_enabled, token_uri, type].hash
|
232
245
|
end
|
233
246
|
end
|
234
247
|
end
|
@@ -27,6 +27,8 @@ module DatadogAPIClient::V1
|
|
27
27
|
APM_USM_USAGE = "apm_usm_usage".freeze
|
28
28
|
APPSEC_FARGATE_USAGE = "appsec_fargate_usage".freeze
|
29
29
|
APPSEC_USAGE = "appsec_usage".freeze
|
30
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = "asm_serverless_traced_invocations_usage".freeze
|
31
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
30
32
|
BROWSER_USAGE = "browser_usage".freeze
|
31
33
|
CI_PIPELINE_INDEXED_SPANS_USAGE = "ci_pipeline_indexed_spans_usage".freeze
|
32
34
|
CI_TEST_INDEXED_SPANS_USAGE = "ci_test_indexed_spans_usage".freeze
|
@@ -43,6 +45,8 @@ module DatadogAPIClient::V1
|
|
43
45
|
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
|
44
46
|
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
45
47
|
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
48
|
+
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze
|
49
|
+
ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage".freeze
|
46
50
|
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
47
51
|
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
48
52
|
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
@@ -70,6 +74,7 @@ module DatadogAPIClient::V1
|
|
70
74
|
NDM_NETFLOW_USAGE = "ndm_netflow_usage".freeze
|
71
75
|
NPM_HOST_USAGE = "npm_host_usage".freeze
|
72
76
|
OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze
|
77
|
+
OBS_PIPELINE_VCPU_USAGE = "obs_pipelines_vcpu_usage".freeze
|
73
78
|
PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
|
74
79
|
PROFILED_FARGATE_USAGE = "profiled_fargate_usage".freeze
|
75
80
|
PROFILED_HOST_USAGE = "profiled_host_usage".freeze
|
@@ -81,5 +86,6 @@ module DatadogAPIClient::V1
|
|
81
86
|
SNMP_USAGE = "snmp_usage".freeze
|
82
87
|
UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
|
83
88
|
VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage".freeze
|
89
|
+
WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage".freeze
|
84
90
|
end
|
85
91
|
end
|
@@ -24,7 +24,7 @@ module DatadogAPIClient::V1
|
|
24
24
|
# JSON object containing all log attributes and their associated values.
|
25
25
|
attr_accessor :content
|
26
26
|
|
27
|
-
#
|
27
|
+
# ID of the Log.
|
28
28
|
attr_accessor :id
|
29
29
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -0,0 +1,90 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V1 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V1
|
20
|
+
# Object containing options to override the default daily limit reset time.
|
21
|
+
class LogsDailyLimitReset
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).
|
25
|
+
attr_accessor :reset_time
|
26
|
+
|
27
|
+
# String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
|
28
|
+
attr_accessor :reset_utc_offset
|
29
|
+
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
31
|
+
# @!visibility private
|
32
|
+
def self.attribute_map
|
33
|
+
{
|
34
|
+
:'reset_time' => :'reset_time',
|
35
|
+
:'reset_utc_offset' => :'reset_utc_offset'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
# @!visibility private
|
41
|
+
def self.openapi_types
|
42
|
+
{
|
43
|
+
:'reset_time' => :'String',
|
44
|
+
:'reset_utc_offset' => :'String'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
50
|
+
# @!visibility private
|
51
|
+
def initialize(attributes = {})
|
52
|
+
if (!attributes.is_a?(Hash))
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::LogsDailyLimitReset` initialize method"
|
54
|
+
end
|
55
|
+
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::LogsDailyLimitReset`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
|
+
end
|
61
|
+
h[k.to_sym] = v
|
62
|
+
}
|
63
|
+
|
64
|
+
if attributes.key?(:'reset_time')
|
65
|
+
self.reset_time = attributes[:'reset_time']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.key?(:'reset_utc_offset')
|
69
|
+
self.reset_utc_offset = attributes[:'reset_utc_offset']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Checks equality by comparing each attribute.
|
74
|
+
# @param o [Object] Object to be compared
|
75
|
+
# @!visibility private
|
76
|
+
def ==(o)
|
77
|
+
return true if self.equal?(o)
|
78
|
+
self.class == o.class &&
|
79
|
+
reset_time == o.reset_time &&
|
80
|
+
reset_utc_offset == o.reset_utc_offset
|
81
|
+
end
|
82
|
+
|
83
|
+
# Calculates hash code according to all attributes.
|
84
|
+
# @return [Integer] Hash code
|
85
|
+
# @!visibility private
|
86
|
+
def hash
|
87
|
+
[reset_time, reset_utc_offset].hash
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -24,6 +24,12 @@ module DatadogAPIClient::V1
|
|
24
24
|
# The number of log events you can send in this index per day before you are rate-limited.
|
25
25
|
attr_accessor :daily_limit
|
26
26
|
|
27
|
+
# Object containing options to override the default daily limit reset time.
|
28
|
+
attr_accessor :daily_limit_reset
|
29
|
+
|
30
|
+
# A percentage threshold of the daily quota at which a Datadog warning event is generated.
|
31
|
+
attr_reader :daily_limit_warning_threshold_percentage
|
32
|
+
|
27
33
|
# An array of exclusion objects. The logs are tested against the query of each filter,
|
28
34
|
# following the order of the array. Only the first matching active exclusion matters,
|
29
35
|
# others (if any) are ignored.
|
@@ -48,6 +54,8 @@ module DatadogAPIClient::V1
|
|
48
54
|
def self.attribute_map
|
49
55
|
{
|
50
56
|
:'daily_limit' => :'daily_limit',
|
57
|
+
:'daily_limit_reset' => :'daily_limit_reset',
|
58
|
+
:'daily_limit_warning_threshold_percentage' => :'daily_limit_warning_threshold_percentage',
|
51
59
|
:'exclusion_filters' => :'exclusion_filters',
|
52
60
|
:'filter' => :'filter',
|
53
61
|
:'is_rate_limited' => :'is_rate_limited',
|
@@ -61,6 +69,8 @@ module DatadogAPIClient::V1
|
|
61
69
|
def self.openapi_types
|
62
70
|
{
|
63
71
|
:'daily_limit' => :'Integer',
|
72
|
+
:'daily_limit_reset' => :'LogsDailyLimitReset',
|
73
|
+
:'daily_limit_warning_threshold_percentage' => :'Float',
|
64
74
|
:'exclusion_filters' => :'Array<LogsExclusion>',
|
65
75
|
:'filter' => :'LogsFilter',
|
66
76
|
:'is_rate_limited' => :'Boolean',
|
@@ -89,6 +99,14 @@ module DatadogAPIClient::V1
|
|
89
99
|
self.daily_limit = attributes[:'daily_limit']
|
90
100
|
end
|
91
101
|
|
102
|
+
if attributes.key?(:'daily_limit_reset')
|
103
|
+
self.daily_limit_reset = attributes[:'daily_limit_reset']
|
104
|
+
end
|
105
|
+
|
106
|
+
if attributes.key?(:'daily_limit_warning_threshold_percentage')
|
107
|
+
self.daily_limit_warning_threshold_percentage = attributes[:'daily_limit_warning_threshold_percentage']
|
108
|
+
end
|
109
|
+
|
92
110
|
if attributes.key?(:'exclusion_filters')
|
93
111
|
if (value = attributes[:'exclusion_filters']).is_a?(Array)
|
94
112
|
self.exclusion_filters = value
|
@@ -116,11 +134,26 @@ module DatadogAPIClient::V1
|
|
116
134
|
# @return true if the model is valid
|
117
135
|
# @!visibility private
|
118
136
|
def valid?
|
137
|
+
return false if !@daily_limit_warning_threshold_percentage.nil? && @daily_limit_warning_threshold_percentage > 99.99
|
138
|
+
return false if !@daily_limit_warning_threshold_percentage.nil? && @daily_limit_warning_threshold_percentage < 50
|
119
139
|
return false if @filter.nil?
|
120
140
|
return false if @name.nil?
|
121
141
|
true
|
122
142
|
end
|
123
143
|
|
144
|
+
# Custom attribute writer method with validation
|
145
|
+
# @param daily_limit_warning_threshold_percentage [Object] Object to be assigned
|
146
|
+
# @!visibility private
|
147
|
+
def daily_limit_warning_threshold_percentage=(daily_limit_warning_threshold_percentage)
|
148
|
+
if !daily_limit_warning_threshold_percentage.nil? && daily_limit_warning_threshold_percentage > 99.99
|
149
|
+
fail ArgumentError, 'invalid value for "daily_limit_warning_threshold_percentage", must be smaller than or equal to 99.99.'
|
150
|
+
end
|
151
|
+
if !daily_limit_warning_threshold_percentage.nil? && daily_limit_warning_threshold_percentage < 50
|
152
|
+
fail ArgumentError, 'invalid value for "daily_limit_warning_threshold_percentage", must be greater than or equal to 50.'
|
153
|
+
end
|
154
|
+
@daily_limit_warning_threshold_percentage = daily_limit_warning_threshold_percentage
|
155
|
+
end
|
156
|
+
|
124
157
|
# Custom attribute writer method with validation
|
125
158
|
# @param filter [Object] Object to be assigned
|
126
159
|
# @!visibility private
|
@@ -148,6 +181,8 @@ module DatadogAPIClient::V1
|
|
148
181
|
return true if self.equal?(o)
|
149
182
|
self.class == o.class &&
|
150
183
|
daily_limit == o.daily_limit &&
|
184
|
+
daily_limit_reset == o.daily_limit_reset &&
|
185
|
+
daily_limit_warning_threshold_percentage == o.daily_limit_warning_threshold_percentage &&
|
151
186
|
exclusion_filters == o.exclusion_filters &&
|
152
187
|
filter == o.filter &&
|
153
188
|
is_rate_limited == o.is_rate_limited &&
|
@@ -159,7 +194,7 @@ module DatadogAPIClient::V1
|
|
159
194
|
# @return [Integer] Hash code
|
160
195
|
# @!visibility private
|
161
196
|
def hash
|
162
|
-
[daily_limit, exclusion_filters, filter, is_rate_limited, name, num_retention_days].hash
|
197
|
+
[daily_limit, daily_limit_reset, daily_limit_warning_threshold_percentage, exclusion_filters, filter, is_rate_limited, name, num_retention_days].hash
|
163
198
|
end
|
164
199
|
end
|
165
200
|
end
|
@@ -24,6 +24,12 @@ module DatadogAPIClient::V1
|
|
24
24
|
# The number of log events you can send in this index per day before you are rate-limited.
|
25
25
|
attr_accessor :daily_limit
|
26
26
|
|
27
|
+
# Object containing options to override the default daily limit reset time.
|
28
|
+
attr_accessor :daily_limit_reset
|
29
|
+
|
30
|
+
# A percentage threshold of the daily quota at which a Datadog warning event is generated.
|
31
|
+
attr_reader :daily_limit_warning_threshold_percentage
|
32
|
+
|
27
33
|
# If true, sets the `daily_limit` value to null and the index is not limited on a daily basis (any
|
28
34
|
# specified `daily_limit` value in the request is ignored). If false or omitted, the index's current
|
29
35
|
# `daily_limit` is maintained.
|
@@ -49,6 +55,8 @@ module DatadogAPIClient::V1
|
|
49
55
|
def self.attribute_map
|
50
56
|
{
|
51
57
|
:'daily_limit' => :'daily_limit',
|
58
|
+
:'daily_limit_reset' => :'daily_limit_reset',
|
59
|
+
:'daily_limit_warning_threshold_percentage' => :'daily_limit_warning_threshold_percentage',
|
52
60
|
:'disable_daily_limit' => :'disable_daily_limit',
|
53
61
|
:'exclusion_filters' => :'exclusion_filters',
|
54
62
|
:'filter' => :'filter',
|
@@ -61,6 +69,8 @@ module DatadogAPIClient::V1
|
|
61
69
|
def self.openapi_types
|
62
70
|
{
|
63
71
|
:'daily_limit' => :'Integer',
|
72
|
+
:'daily_limit_reset' => :'LogsDailyLimitReset',
|
73
|
+
:'daily_limit_warning_threshold_percentage' => :'Float',
|
64
74
|
:'disable_daily_limit' => :'Boolean',
|
65
75
|
:'exclusion_filters' => :'Array<LogsExclusion>',
|
66
76
|
:'filter' => :'LogsFilter',
|
@@ -88,6 +98,14 @@ module DatadogAPIClient::V1
|
|
88
98
|
self.daily_limit = attributes[:'daily_limit']
|
89
99
|
end
|
90
100
|
|
101
|
+
if attributes.key?(:'daily_limit_reset')
|
102
|
+
self.daily_limit_reset = attributes[:'daily_limit_reset']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.key?(:'daily_limit_warning_threshold_percentage')
|
106
|
+
self.daily_limit_warning_threshold_percentage = attributes[:'daily_limit_warning_threshold_percentage']
|
107
|
+
end
|
108
|
+
|
91
109
|
if attributes.key?(:'disable_daily_limit')
|
92
110
|
self.disable_daily_limit = attributes[:'disable_daily_limit']
|
93
111
|
end
|
@@ -111,10 +129,25 @@ module DatadogAPIClient::V1
|
|
111
129
|
# @return true if the model is valid
|
112
130
|
# @!visibility private
|
113
131
|
def valid?
|
132
|
+
return false if !@daily_limit_warning_threshold_percentage.nil? && @daily_limit_warning_threshold_percentage > 99.99
|
133
|
+
return false if !@daily_limit_warning_threshold_percentage.nil? && @daily_limit_warning_threshold_percentage < 50
|
114
134
|
return false if @filter.nil?
|
115
135
|
true
|
116
136
|
end
|
117
137
|
|
138
|
+
# Custom attribute writer method with validation
|
139
|
+
# @param daily_limit_warning_threshold_percentage [Object] Object to be assigned
|
140
|
+
# @!visibility private
|
141
|
+
def daily_limit_warning_threshold_percentage=(daily_limit_warning_threshold_percentage)
|
142
|
+
if !daily_limit_warning_threshold_percentage.nil? && daily_limit_warning_threshold_percentage > 99.99
|
143
|
+
fail ArgumentError, 'invalid value for "daily_limit_warning_threshold_percentage", must be smaller than or equal to 99.99.'
|
144
|
+
end
|
145
|
+
if !daily_limit_warning_threshold_percentage.nil? && daily_limit_warning_threshold_percentage < 50
|
146
|
+
fail ArgumentError, 'invalid value for "daily_limit_warning_threshold_percentage", must be greater than or equal to 50.'
|
147
|
+
end
|
148
|
+
@daily_limit_warning_threshold_percentage = daily_limit_warning_threshold_percentage
|
149
|
+
end
|
150
|
+
|
118
151
|
# Custom attribute writer method with validation
|
119
152
|
# @param filter [Object] Object to be assigned
|
120
153
|
# @!visibility private
|
@@ -132,6 +165,8 @@ module DatadogAPIClient::V1
|
|
132
165
|
return true if self.equal?(o)
|
133
166
|
self.class == o.class &&
|
134
167
|
daily_limit == o.daily_limit &&
|
168
|
+
daily_limit_reset == o.daily_limit_reset &&
|
169
|
+
daily_limit_warning_threshold_percentage == o.daily_limit_warning_threshold_percentage &&
|
135
170
|
disable_daily_limit == o.disable_daily_limit &&
|
136
171
|
exclusion_filters == o.exclusion_filters &&
|
137
172
|
filter == o.filter &&
|
@@ -142,7 +177,7 @@ module DatadogAPIClient::V1
|
|
142
177
|
# @return [Integer] Hash code
|
143
178
|
# @!visibility private
|
144
179
|
def hash
|
145
|
-
[daily_limit, disable_daily_limit, exclusion_filters, filter, num_retention_days].hash
|
180
|
+
[daily_limit, daily_limit_reset, daily_limit_warning_threshold_percentage, disable_daily_limit, exclusion_filters, filter, num_retention_days].hash
|
146
181
|
end
|
147
182
|
end
|
148
183
|
end
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V1
|
|
21
21
|
class MetricsPayload
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# A list of
|
24
|
+
# A list of timeseries to submit to Datadog.
|
25
25
|
attr_reader :series
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -42,7 +42,7 @@ module DatadogAPIClient::V1
|
|
42
42
|
# Metric name.
|
43
43
|
attr_accessor :metric
|
44
44
|
|
45
|
-
# List of points of the
|
45
|
+
# List of points of the timeseries in milliseconds.
|
46
46
|
attr_accessor :pointlist
|
47
47
|
|
48
48
|
# The index of the series' query within the request.
|
@@ -33,6 +33,8 @@ module DatadogAPIClient::V1
|
|
33
33
|
APM_USM_PERCENTAGE = "apm_usm_percentage".freeze
|
34
34
|
APPSEC_USAGE = "appsec_usage".freeze
|
35
35
|
APPSEC_PERCENTAGE = "appsec_percentage".freeze
|
36
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = "asm_serverless_traced_invocations_usage".freeze
|
37
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
36
38
|
BROWSER_USAGE = "browser_usage".freeze
|
37
39
|
BROWSER_PERCENTAGE = "browser_percentage".freeze
|
38
40
|
CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage".freeze
|
@@ -59,6 +61,8 @@ module DatadogAPIClient::V1
|
|
59
61
|
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
60
62
|
DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze
|
61
63
|
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
64
|
+
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze
|
65
|
+
ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage".freeze
|
62
66
|
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
63
67
|
ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze
|
64
68
|
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
@@ -85,6 +89,8 @@ module DatadogAPIClient::V1
|
|
85
89
|
NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
|
86
90
|
OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze
|
87
91
|
OBS_PIPELINE_BYTES_PERCENTAGE = "obs_pipeline_bytes_percentage".freeze
|
92
|
+
OBS_PIPELINES_VCPU_USAGE = "obs_pipelines_vcpu_usage".freeze
|
93
|
+
OBS_PIPELINES_VCPU_PERCENTAGE = "obs_pipelines_vcpu_percentage".freeze
|
88
94
|
PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
|
89
95
|
PROFILED_CONTAINER_PERCENTAGE = "profiled_container_percentage".freeze
|
90
96
|
PROFILED_FARGATE_USAGE = "profiled_fargate_usage".freeze
|
@@ -141,6 +147,8 @@ module DatadogAPIClient::V1
|
|
141
147
|
INGESTED_SPANS_BYTES_PERCENTAGE = "ingested_spans_bytes_percentage".freeze
|
142
148
|
SIEM_INGESTED_BYTES_USAGE = "siem_ingested_bytes_usage".freeze
|
143
149
|
SIEM_INGESTED_BYTES_PERCENTAGE = "siem_ingested_bytes_percentage".freeze
|
150
|
+
WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage".freeze
|
151
|
+
WORKFLOW_EXECUTIONS_PERCENTAGE = "workflow_executions_percentage".freeze
|
144
152
|
ALL = "*".freeze
|
145
153
|
end
|
146
154
|
end
|