datadog_api_client 2.21.0 → 2.23.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 +308 -695
- data/.generator/schemas/v2/openapi.yaml +664 -185
- data/.github/workflows/prepare_release.yml +2 -2
- data/.github/workflows/publish.yml +2 -2
- data/.github/workflows/release.yml +2 -2
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +41 -0
- data/Gemfile +1 -1
- data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
- data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -0
- data/examples/v1/aws-integration/UpdateAWSAccount.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb +118 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +9 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +8 -0
- data/examples/v1/synthetics/UpdateAPITest.rb +8 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -0
- data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter.rb +2 -2
- data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
- data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/CreateCSMThreatsAgentRule.rb +2 -2
- data/examples/v2/{cloud-workload-security → csm-threats}/CreateCloudWorkloadSecurityAgentRule.rb +2 -2
- data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCSMThreatsPolicy.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCloudWorkloadPolicyFile.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/GetCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/GetCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/ListCSMThreatsAgentRules.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/ListCloudWorkloadSecurityAgentRules.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCSMThreatsAgentRule.rb +1 -1
- data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -1
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +1 -1
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount.rb +1 -1
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +1 -1
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +1 -1
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +4 -0
- data/examples/v2/metrics/QueryScalarData_3112571352.rb +2 -2
- data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +3 -3
- data/examples/v2/roles/CreateRole.rb +14 -2
- data/examples/v2/roles/CreateRole_3862893229.rb +27 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +19 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb +42 -0
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +4 -0
- data/examples/v2/service-level-objectives/CreateSLOReportJob.rb +20 -0
- data/examples/v2/service-level-objectives/GetSLOReport.rb +8 -0
- data/examples/v2/service-level-objectives/GetSLOReportJobStatus.rb +11 -0
- data/lib/datadog_api_client/configuration.rb +3 -0
- data/lib/datadog_api_client/inflector.rb +26 -8
- data/lib/datadog_api_client/v1/api/authentication_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +3 -3
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +112 -135
- data/lib/datadog_api_client/v1/api/users_api.rb +1 -1
- data/lib/datadog_api_client/v1/models/aws_account.rb +12 -2
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +4 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/series.rb +1 -1
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +2 -1
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +7 -1
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +8 -1
- data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -1
- data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +14 -2
- data/lib/datadog_api_client/v1/models/slo_time_slice_interval.rb +29 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_timeframe.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +14 -4
- data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_meta_schema.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_operator.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target.rb +129 -0
- data/lib/datadog_api_client/v1/models/{usage_attribution_metadata.rb → synthetics_assertion_json_schema_target_target.rb} +19 -21
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +13 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb +175 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +11 -1
- data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +8 -2
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/case_management_api.rb +17 -16
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +10 -10
- data/lib/datadog_api_client/v2/api/{cloud_workload_security_api.rb → csm_threats_api.rb} +35 -35
- data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/logs_archives_api.rb +4 -4
- data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/metrics_api.rb +4 -4
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +69 -1
- data/lib/datadog_api_client/v2/api/service_level_objectives_api.rb +245 -0
- data/lib/datadog_api_client/v2/api/spans_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +22 -4
- data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +37 -54
- data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +2 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb +98 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb +98 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +14 -4
- data/lib/datadog_api_client/v2/models/authn_mapping_team.rb +100 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb +212 -0
- data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +37 -54
- data/lib/datadog_api_client/v2/models/custom_destination_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_query_filter.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_storage_tier.rb +2 -1
- data/lib/datadog_api_client/v2/models/metric_series.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_team.rb +80 -0
- data/lib/datadog_api_client/{v1/models/usage_attribution_response.rb → v2/models/relationship_to_team_data.rb} +21 -23
- data/lib/datadog_api_client/v2/models/retention_filter_create_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/retention_filter_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb +183 -0
- data/lib/datadog_api_client/v2/models/retention_filter_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +14 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +13 -14
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +13 -1
- data/lib/datadog_api_client/v2/models/slo_report_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb +160 -0
- data/lib/datadog_api_client/{v1/models/usage_attribution_pagination.rb → v2/models/slo_report_create_request_data.rb} +29 -51
- data/lib/datadog_api_client/v2/models/slo_report_interval.rb +27 -0
- data/lib/datadog_api_client/v2/models/slo_report_post_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/slo_report_post_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/slo_report_status.rb +29 -0
- data/lib/datadog_api_client/v2/models/slo_report_status_get_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb +80 -0
- data/lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/timeseries_response_series.rb +8 -0
- data/lib/datadog_api_client/v2/models/user_team_included.rb +2 -1
- data/lib/datadog_api_client/v2/models/user_teams_response.rb +13 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +70 -46
- data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -9
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -152
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +0 -63
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +0 -74
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +0 -590
metadata
CHANGED
@@ -1,95 +1,95 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datadog_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.20.0
|
20
17
|
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '0.20'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.20.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.20.0
|
30
27
|
- - "~>"
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '0.20'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.20.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: zeitwerk
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.6.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '2.6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.6.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.6.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '2.6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.6.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: uuidtools
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "
|
57
|
+
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: 2.1.5
|
60
|
-
- - "
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 2.1.5
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 2.1.5
|
70
|
-
- - "
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 2.1.5
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rspec
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 3.6.0
|
80
77
|
- - "~>"
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: '3.6'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.6.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 3.6.0
|
90
87
|
- - "~>"
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: '3.6'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 3.6.0
|
93
93
|
description: Collection of all Datadog Public API endpoints.
|
94
94
|
email:
|
95
95
|
- support@datadoghq.com
|
@@ -409,6 +409,7 @@ files:
|
|
409
409
|
- examples/v1/synthetics/CreatePrivateLocation.rb
|
410
410
|
- examples/v1/synthetics/CreateSyntheticsAPITest.rb
|
411
411
|
- examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb
|
412
|
+
- examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb
|
412
413
|
- examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb
|
413
414
|
- examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb
|
414
415
|
- examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb
|
@@ -462,7 +463,6 @@ files:
|
|
462
463
|
- examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb
|
463
464
|
- examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb
|
464
465
|
- examples/v1/usage-metering/GetUsageAnalyzedLogs.rb
|
465
|
-
- examples/v1/usage-metering/GetUsageAttribution.rb
|
466
466
|
- examples/v1/usage-metering/GetUsageAuditLogs.rb
|
467
467
|
- examples/v1/usage-metering/GetUsageBillableSummary.rb
|
468
468
|
- examples/v1/usage-metering/GetUsageCIApp.rb
|
@@ -572,18 +572,6 @@ files:
|
|
572
572
|
- examples/v2/cloud-cost-management/ListCostAzureUCConfigs.rb
|
573
573
|
- examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
|
574
574
|
- examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb
|
575
|
-
- examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb
|
576
|
-
- examples/v2/cloud-workload-security/CreateCloudWorkloadSecurityAgentRule.rb
|
577
|
-
- examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.rb
|
578
|
-
- examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
|
579
|
-
- examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.rb
|
580
|
-
- examples/v2/cloud-workload-security/DownloadCloudWorkloadPolicyFile.rb
|
581
|
-
- examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.rb
|
582
|
-
- examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
|
583
|
-
- examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.rb
|
584
|
-
- examples/v2/cloud-workload-security/ListCloudWorkloadSecurityAgentRules.rb
|
585
|
-
- examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.rb
|
586
|
-
- examples/v2/cloud-workload-security/UpdateCloudWorkloadSecurityAgentRule.rb
|
587
575
|
- examples/v2/cloudflare-integration/CreateCloudflareAccount.rb
|
588
576
|
- examples/v2/cloudflare-integration/DeleteCloudflareAccount.rb
|
589
577
|
- examples/v2/cloudflare-integration/GetCloudflareAccount.rb
|
@@ -605,6 +593,18 @@ files:
|
|
605
593
|
- examples/v2/containers/ListContainers.rb
|
606
594
|
- examples/v2/containers/ListContainers_2175733917.rb
|
607
595
|
- examples/v2/containers/ListContainers_931009654.rb
|
596
|
+
- examples/v2/csm-threats/CreateCSMThreatsAgentRule.rb
|
597
|
+
- examples/v2/csm-threats/CreateCloudWorkloadSecurityAgentRule.rb
|
598
|
+
- examples/v2/csm-threats/DeleteCSMThreatsAgentRule.rb
|
599
|
+
- examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.rb
|
600
|
+
- examples/v2/csm-threats/DownloadCSMThreatsPolicy.rb
|
601
|
+
- examples/v2/csm-threats/DownloadCloudWorkloadPolicyFile.rb
|
602
|
+
- examples/v2/csm-threats/GetCSMThreatsAgentRule.rb
|
603
|
+
- examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb
|
604
|
+
- examples/v2/csm-threats/ListCSMThreatsAgentRules.rb
|
605
|
+
- examples/v2/csm-threats/ListCloudWorkloadSecurityAgentRules.rb
|
606
|
+
- examples/v2/csm-threats/UpdateCSMThreatsAgentRule.rb
|
607
|
+
- examples/v2/csm-threats/UpdateCloudWorkloadSecurityAgentRule.rb
|
608
608
|
- examples/v2/dashboard-lists/CreateDashboardListItems.rb
|
609
609
|
- examples/v2/dashboard-lists/CreateDashboardListItems_3995409989.rb
|
610
610
|
- examples/v2/dashboard-lists/CreateDashboardListItems_825696022.rb
|
@@ -790,6 +790,7 @@ files:
|
|
790
790
|
- examples/v2/roles/AddUserToRole.rb
|
791
791
|
- examples/v2/roles/CloneRole.rb
|
792
792
|
- examples/v2/roles/CreateRole.rb
|
793
|
+
- examples/v2/roles/CreateRole_3862893229.rb
|
793
794
|
- examples/v2/roles/DeleteRole.rb
|
794
795
|
- examples/v2/roles/GetRole.rb
|
795
796
|
- examples/v2/roles/ListPermissions.rb
|
@@ -817,6 +818,7 @@ files:
|
|
817
818
|
- examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb
|
818
819
|
- examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb
|
819
820
|
- examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb
|
821
|
+
- examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb
|
820
822
|
- examples/v2/security-monitoring/DeleteSecurityFilter.rb
|
821
823
|
- examples/v2/security-monitoring/DeleteSecurityFilter_555029489.rb
|
822
824
|
- examples/v2/security-monitoring/DeleteSecurityMonitoringRule.rb
|
@@ -844,6 +846,7 @@ files:
|
|
844
846
|
- examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb
|
845
847
|
- examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb
|
846
848
|
- examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb
|
849
|
+
- examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb
|
847
850
|
- examples/v2/sensitive-data-scanner/CreateScanningGroup.rb
|
848
851
|
- examples/v2/sensitive-data-scanner/CreateScanningRule.rb
|
849
852
|
- examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb
|
@@ -868,6 +871,9 @@ files:
|
|
868
871
|
- examples/v2/service-definition/GetServiceDefinition.rb
|
869
872
|
- examples/v2/service-definition/ListServiceDefinitions.rb
|
870
873
|
- examples/v2/service-definition/ListServiceDefinitions_336468013.rb
|
874
|
+
- examples/v2/service-level-objectives/CreateSLOReportJob.rb
|
875
|
+
- examples/v2/service-level-objectives/GetSLOReport.rb
|
876
|
+
- examples/v2/service-level-objectives/GetSLOReportJobStatus.rb
|
871
877
|
- examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb
|
872
878
|
- examples/v2/service-scorecards/CreateScorecardRule.rb
|
873
879
|
- examples/v2/service-scorecards/DeleteScorecardRule.rb
|
@@ -1465,6 +1471,7 @@ files:
|
|
1465
1471
|
- lib/datadog_api_client/v1/models/slo_threshold.rb
|
1466
1472
|
- lib/datadog_api_client/v1/models/slo_time_slice_comparator.rb
|
1467
1473
|
- lib/datadog_api_client/v1/models/slo_time_slice_condition.rb
|
1474
|
+
- lib/datadog_api_client/v1/models/slo_time_slice_interval.rb
|
1468
1475
|
- lib/datadog_api_client/v1/models/slo_time_slice_query.rb
|
1469
1476
|
- lib/datadog_api_client/v1/models/slo_time_slice_spec.rb
|
1470
1477
|
- lib/datadog_api_client/v1/models/slo_timeframe.rb
|
@@ -1506,6 +1513,10 @@ files:
|
|
1506
1513
|
- lib/datadog_api_client/v1/models/synthetics_assertion_json_path_operator.rb
|
1507
1514
|
- lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb
|
1508
1515
|
- lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb
|
1516
|
+
- lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_meta_schema.rb
|
1517
|
+
- lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_operator.rb
|
1518
|
+
- lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target.rb
|
1519
|
+
- lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target_target.rb
|
1509
1520
|
- lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb
|
1510
1521
|
- lib/datadog_api_client/v1/models/synthetics_assertion_target.rb
|
1511
1522
|
- lib/datadog_api_client/v1/models/synthetics_assertion_timings_scope.rb
|
@@ -1612,6 +1623,7 @@ files:
|
|
1612
1623
|
- lib/datadog_api_client/v1/models/synthetics_test_pause_status.rb
|
1613
1624
|
- lib/datadog_api_client/v1/models/synthetics_test_process_status.rb
|
1614
1625
|
- lib/datadog_api_client/v1/models/synthetics_test_request.rb
|
1626
|
+
- lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb
|
1615
1627
|
- lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb
|
1616
1628
|
- lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb
|
1617
1629
|
- lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb
|
@@ -1666,13 +1678,6 @@ files:
|
|
1666
1678
|
- lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb
|
1667
1679
|
- lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb
|
1668
1680
|
- lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb
|
1669
|
-
- lib/datadog_api_client/v1/models/usage_attribution_body.rb
|
1670
|
-
- lib/datadog_api_client/v1/models/usage_attribution_metadata.rb
|
1671
|
-
- lib/datadog_api_client/v1/models/usage_attribution_pagination.rb
|
1672
|
-
- lib/datadog_api_client/v1/models/usage_attribution_response.rb
|
1673
|
-
- lib/datadog_api_client/v1/models/usage_attribution_sort.rb
|
1674
|
-
- lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb
|
1675
|
-
- lib/datadog_api_client/v1/models/usage_attribution_values.rb
|
1676
1681
|
- lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb
|
1677
1682
|
- lib/datadog_api_client/v1/models/usage_audit_logs_response.rb
|
1678
1683
|
- lib/datadog_api_client/v1/models/usage_billable_summary_body.rb
|
@@ -1816,11 +1821,11 @@ files:
|
|
1816
1821
|
- lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb
|
1817
1822
|
- lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb
|
1818
1823
|
- lib/datadog_api_client/v2/api/cloud_cost_management_api.rb
|
1819
|
-
- lib/datadog_api_client/v2/api/cloud_workload_security_api.rb
|
1820
1824
|
- lib/datadog_api_client/v2/api/cloudflare_integration_api.rb
|
1821
1825
|
- lib/datadog_api_client/v2/api/confluent_cloud_api.rb
|
1822
1826
|
- lib/datadog_api_client/v2/api/container_images_api.rb
|
1823
1827
|
- lib/datadog_api_client/v2/api/containers_api.rb
|
1828
|
+
- lib/datadog_api_client/v2/api/csm_threats_api.rb
|
1824
1829
|
- lib/datadog_api_client/v2/api/dashboard_lists_api.rb
|
1825
1830
|
- lib/datadog_api_client/v2/api/dora_metrics_api.rb
|
1826
1831
|
- lib/datadog_api_client/v2/api/downtimes_api.rb
|
@@ -1850,6 +1855,7 @@ files:
|
|
1850
1855
|
- lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb
|
1851
1856
|
- lib/datadog_api_client/v2/api/service_accounts_api.rb
|
1852
1857
|
- lib/datadog_api_client/v2/api/service_definition_api.rb
|
1858
|
+
- lib/datadog_api_client/v2/api/service_level_objectives_api.rb
|
1853
1859
|
- lib/datadog_api_client/v2/api/service_scorecards_api.rb
|
1854
1860
|
- lib/datadog_api_client/v2/api/spans_api.rb
|
1855
1861
|
- lib/datadog_api_client/v2/api/spans_metrics_api.rb
|
@@ -1912,8 +1918,12 @@ files:
|
|
1912
1918
|
- lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb
|
1913
1919
|
- lib/datadog_api_client/v2/models/authn_mapping_create_request.rb
|
1914
1920
|
- lib/datadog_api_client/v2/models/authn_mapping_included.rb
|
1921
|
+
- lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb
|
1922
|
+
- lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb
|
1915
1923
|
- lib/datadog_api_client/v2/models/authn_mapping_relationships.rb
|
1916
1924
|
- lib/datadog_api_client/v2/models/authn_mapping_response.rb
|
1925
|
+
- lib/datadog_api_client/v2/models/authn_mapping_team.rb
|
1926
|
+
- lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb
|
1917
1927
|
- lib/datadog_api_client/v2/models/authn_mapping_update_attributes.rb
|
1918
1928
|
- lib/datadog_api_client/v2/models/authn_mapping_update_data.rb
|
1919
1929
|
- lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb
|
@@ -2802,6 +2812,8 @@ files:
|
|
2802
2812
|
- lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb
|
2803
2813
|
- lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb
|
2804
2814
|
- lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb
|
2815
|
+
- lib/datadog_api_client/v2/models/relationship_to_team.rb
|
2816
|
+
- lib/datadog_api_client/v2/models/relationship_to_team_data.rb
|
2805
2817
|
- lib/datadog_api_client/v2/models/relationship_to_team_link_data.rb
|
2806
2818
|
- lib/datadog_api_client/v2/models/relationship_to_team_links.rb
|
2807
2819
|
- lib/datadog_api_client/v2/models/relationship_to_user.rb
|
@@ -2829,8 +2841,10 @@ files:
|
|
2829
2841
|
- lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb
|
2830
2842
|
- lib/datadog_api_client/v2/models/retention_filter_create_data.rb
|
2831
2843
|
- lib/datadog_api_client/v2/models/retention_filter_create_request.rb
|
2844
|
+
- lib/datadog_api_client/v2/models/retention_filter_create_response.rb
|
2832
2845
|
- lib/datadog_api_client/v2/models/retention_filter_response.rb
|
2833
2846
|
- lib/datadog_api_client/v2/models/retention_filter_type.rb
|
2847
|
+
- lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb
|
2834
2848
|
- lib/datadog_api_client/v2/models/retention_filter_update_data.rb
|
2835
2849
|
- lib/datadog_api_client/v2/models/retention_filter_update_request.rb
|
2836
2850
|
- lib/datadog_api_client/v2/models/retention_filter_without_attributes.rb
|
@@ -3134,6 +3148,16 @@ files:
|
|
3134
3148
|
- lib/datadog_api_client/v2/models/service_now_ticket_result.rb
|
3135
3149
|
- lib/datadog_api_client/v2/models/slack_integration_metadata.rb
|
3136
3150
|
- lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb
|
3151
|
+
- lib/datadog_api_client/v2/models/slo_report_create_request.rb
|
3152
|
+
- lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb
|
3153
|
+
- lib/datadog_api_client/v2/models/slo_report_create_request_data.rb
|
3154
|
+
- lib/datadog_api_client/v2/models/slo_report_interval.rb
|
3155
|
+
- lib/datadog_api_client/v2/models/slo_report_post_response.rb
|
3156
|
+
- lib/datadog_api_client/v2/models/slo_report_post_response_data.rb
|
3157
|
+
- lib/datadog_api_client/v2/models/slo_report_status.rb
|
3158
|
+
- lib/datadog_api_client/v2/models/slo_report_status_get_response.rb
|
3159
|
+
- lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb
|
3160
|
+
- lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb
|
3137
3161
|
- lib/datadog_api_client/v2/models/sort_direction.rb
|
3138
3162
|
- lib/datadog_api_client/v2/models/span.rb
|
3139
3163
|
- lib/datadog_api_client/v2/models/spans_aggregate_bucket.rb
|
@@ -3332,7 +3356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3332
3356
|
- !ruby/object:Gem::Version
|
3333
3357
|
version: '0'
|
3334
3358
|
requirements: []
|
3335
|
-
rubygems_version: 3.
|
3359
|
+
rubygems_version: 3.1.6
|
3336
3360
|
signing_key:
|
3337
3361
|
specification_version: 4
|
3338
3362
|
summary: Datadog API Collection Ruby Gem
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# Get usage attribution returns "OK" response
|
2
|
-
|
3
|
-
require "datadog_api_client"
|
4
|
-
api_instance = DatadogAPIClient::V1::UsageMeteringAPI.new
|
5
|
-
opts = {
|
6
|
-
offset: 0,
|
7
|
-
limit: 1,
|
8
|
-
}
|
9
|
-
p api_instance.get_usage_attribution((Time.now + -3 * 86400), UsageAttributionSupportedMetrics::ALL, opts)
|
@@ -1,152 +0,0 @@
|
|
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
|
-
# Usage Summary by tag for a given organization.
|
21
|
-
class UsageAttributionBody
|
22
|
-
include BaseGenericModel
|
23
|
-
|
24
|
-
# Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].
|
25
|
-
attr_accessor :month
|
26
|
-
|
27
|
-
# The name of the organization.
|
28
|
-
attr_accessor :org_name
|
29
|
-
|
30
|
-
# The organization public ID.
|
31
|
-
attr_accessor :public_id
|
32
|
-
|
33
|
-
# The source of the usage attribution tag configuration and the selected tags in the format `<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
|
34
|
-
attr_accessor :tag_config_source
|
35
|
-
|
36
|
-
# Tag keys and values.
|
37
|
-
#
|
38
|
-
# A `null` value here means that the requested tag breakdown cannot be applied because it does not match the [tags
|
39
|
-
# configured for usage attribution](https://docs.datadoghq.com/account_management/billing/usage_attribution/#getting-started).
|
40
|
-
# In this scenario the API returns the total usage, not broken down by tags.
|
41
|
-
attr_accessor :tags
|
42
|
-
|
43
|
-
# Shows the the most recent hour in the current month for all organizations for which all usages were calculated.
|
44
|
-
attr_accessor :updated_at
|
45
|
-
|
46
|
-
# Fields in Usage Summary by tag(s).
|
47
|
-
attr_accessor :values
|
48
|
-
|
49
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
50
|
-
# @!visibility private
|
51
|
-
def self.attribute_map
|
52
|
-
{
|
53
|
-
:'month' => :'month',
|
54
|
-
:'org_name' => :'org_name',
|
55
|
-
:'public_id' => :'public_id',
|
56
|
-
:'tag_config_source' => :'tag_config_source',
|
57
|
-
:'tags' => :'tags',
|
58
|
-
:'updated_at' => :'updated_at',
|
59
|
-
:'values' => :'values'
|
60
|
-
}
|
61
|
-
end
|
62
|
-
|
63
|
-
# Attribute type mapping.
|
64
|
-
# @!visibility private
|
65
|
-
def self.openapi_types
|
66
|
-
{
|
67
|
-
:'month' => :'Time',
|
68
|
-
:'org_name' => :'String',
|
69
|
-
:'public_id' => :'String',
|
70
|
-
:'tag_config_source' => :'String',
|
71
|
-
:'tags' => :'Hash<String, Array<String>>',
|
72
|
-
:'updated_at' => :'String',
|
73
|
-
:'values' => :'UsageAttributionValues'
|
74
|
-
}
|
75
|
-
end
|
76
|
-
|
77
|
-
# List of attributes with nullable: true
|
78
|
-
# @!visibility private
|
79
|
-
def self.openapi_nullable
|
80
|
-
Set.new([
|
81
|
-
:'tags',
|
82
|
-
])
|
83
|
-
end
|
84
|
-
|
85
|
-
# Initializes the object
|
86
|
-
# @param attributes [Hash] Model attributes in the form of hash
|
87
|
-
# @!visibility private
|
88
|
-
def initialize(attributes = {})
|
89
|
-
if (!attributes.is_a?(Hash))
|
90
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageAttributionBody` initialize method"
|
91
|
-
end
|
92
|
-
|
93
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
94
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
95
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
96
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::UsageAttributionBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
97
|
-
end
|
98
|
-
h[k.to_sym] = v
|
99
|
-
}
|
100
|
-
|
101
|
-
if attributes.key?(:'month')
|
102
|
-
self.month = attributes[:'month']
|
103
|
-
end
|
104
|
-
|
105
|
-
if attributes.key?(:'org_name')
|
106
|
-
self.org_name = attributes[:'org_name']
|
107
|
-
end
|
108
|
-
|
109
|
-
if attributes.key?(:'public_id')
|
110
|
-
self.public_id = attributes[:'public_id']
|
111
|
-
end
|
112
|
-
|
113
|
-
if attributes.key?(:'tag_config_source')
|
114
|
-
self.tag_config_source = attributes[:'tag_config_source']
|
115
|
-
end
|
116
|
-
|
117
|
-
if attributes.key?(:'tags')
|
118
|
-
self.tags = attributes[:'tags']
|
119
|
-
end
|
120
|
-
|
121
|
-
if attributes.key?(:'updated_at')
|
122
|
-
self.updated_at = attributes[:'updated_at']
|
123
|
-
end
|
124
|
-
|
125
|
-
if attributes.key?(:'values')
|
126
|
-
self.values = attributes[:'values']
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
|
-
# Checks equality by comparing each attribute.
|
131
|
-
# @param o [Object] Object to be compared
|
132
|
-
# @!visibility private
|
133
|
-
def ==(o)
|
134
|
-
return true if self.equal?(o)
|
135
|
-
self.class == o.class &&
|
136
|
-
month == o.month &&
|
137
|
-
org_name == o.org_name &&
|
138
|
-
public_id == o.public_id &&
|
139
|
-
tag_config_source == o.tag_config_source &&
|
140
|
-
tags == o.tags &&
|
141
|
-
updated_at == o.updated_at &&
|
142
|
-
values == o.values
|
143
|
-
end
|
144
|
-
|
145
|
-
# Calculates hash code according to all attributes.
|
146
|
-
# @return [Integer] Hash code
|
147
|
-
# @!visibility private
|
148
|
-
def hash
|
149
|
-
[month, org_name, public_id, tag_config_source, tags, updated_at, values].hash
|
150
|
-
end
|
151
|
-
end
|
152
|
-
end
|
@@ -1,63 +0,0 @@
|
|
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
|
-
# The field to sort by.
|
21
|
-
class UsageAttributionSort
|
22
|
-
include BaseEnumModel
|
23
|
-
|
24
|
-
API_PERCENTAGE = "api_percentage".freeze
|
25
|
-
SNMP_USAGE = "snmp_usage".freeze
|
26
|
-
APM_HOST_USAGE = "apm_host_usage".freeze
|
27
|
-
API_USAGE = "api_usage".freeze
|
28
|
-
APPSEC_USAGE = "appsec_usage".freeze
|
29
|
-
APPSEC_PERCENTAGE = "appsec_percentage".freeze
|
30
|
-
CONTAINER_USAGE = "container_usage".freeze
|
31
|
-
CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage".freeze
|
32
|
-
CONTAINER_PERCENTAGE = "container_percentage".freeze
|
33
|
-
APM_HOST_PERCENTAGE = "apm_host_percentage".freeze
|
34
|
-
NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
|
35
|
-
BROWSER_PERCENTAGE = "browser_percentage".freeze
|
36
|
-
BROWSER_USAGE = "browser_usage".freeze
|
37
|
-
INFRA_HOST_PERCENTAGE = "infra_host_percentage".freeze
|
38
|
-
SNMP_PERCENTAGE = "snmp_percentage".freeze
|
39
|
-
NPM_HOST_USAGE = "npm_host_usage".freeze
|
40
|
-
INFRA_HOST_USAGE = "infra_host_usage".freeze
|
41
|
-
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
|
42
|
-
LAMBDA_FUNCTIONS_USAGE = "lambda_functions_usage".freeze
|
43
|
-
LAMBDA_FUNCTIONS_PERCENTAGE = "lambda_functions_percentage".freeze
|
44
|
-
LAMBDA_INVOCATIONS_USAGE = "lambda_invocations_usage".freeze
|
45
|
-
LAMBDA_INVOCATIONS_PERCENTAGE = "lambda_invocations_percentage".freeze
|
46
|
-
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
47
|
-
ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze
|
48
|
-
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
49
|
-
ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_logs_percentage".freeze
|
50
|
-
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
51
|
-
ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze
|
52
|
-
ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze
|
53
|
-
ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze
|
54
|
-
APM_FARGATE_USAGE = "apm_fargate_usage".freeze
|
55
|
-
APM_FARGATE_PERCENTAGE = "apm_fargate_percentage".freeze
|
56
|
-
APPSEC_FARGATE_USAGE = "appsec_fargate_usage".freeze
|
57
|
-
APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
|
58
|
-
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = "estimated_rum_usage_attribution_usage".freeze
|
59
|
-
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = "estimated_rum_usage_attribution_percentage".freeze
|
60
|
-
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = "asm_serverless_traced_invocations_usage".freeze
|
61
|
-
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
62
|
-
end
|
63
|
-
end
|
@@ -1,74 +0,0 @@
|
|
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
|
-
# Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all).
|
21
|
-
class UsageAttributionSupportedMetrics
|
22
|
-
include BaseEnumModel
|
23
|
-
|
24
|
-
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
|
25
|
-
CONTAINER_USAGE = "container_usage".freeze
|
26
|
-
SNMP_PERCENTAGE = "snmp_percentage".freeze
|
27
|
-
APM_HOST_USAGE = "apm_host_usage".freeze
|
28
|
-
BROWSER_USAGE = "browser_usage".freeze
|
29
|
-
NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
|
30
|
-
INFRA_HOST_USAGE = "infra_host_usage".freeze
|
31
|
-
CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage".freeze
|
32
|
-
CONTAINER_PERCENTAGE = "container_percentage".freeze
|
33
|
-
API_USAGE = "api_usage".freeze
|
34
|
-
APM_HOST_PERCENTAGE = "apm_host_percentage".freeze
|
35
|
-
INFRA_HOST_PERCENTAGE = "infra_host_percentage".freeze
|
36
|
-
SNMP_USAGE = "snmp_usage".freeze
|
37
|
-
BROWSER_PERCENTAGE = "browser_percentage".freeze
|
38
|
-
API_PERCENTAGE = "api_percentage".freeze
|
39
|
-
NPM_HOST_USAGE = "npm_host_usage".freeze
|
40
|
-
LAMBDA_FUNCTIONS_USAGE = "lambda_functions_usage".freeze
|
41
|
-
LAMBDA_FUNCTIONS_PERCENTAGE = "lambda_functions_percentage".freeze
|
42
|
-
LAMBDA_INVOCATIONS_USAGE = "lambda_invocations_usage".freeze
|
43
|
-
LAMBDA_INVOCATIONS_PERCENTAGE = "lambda_invocations_percentage".freeze
|
44
|
-
FARGATE_USAGE = "fargate_usage".freeze
|
45
|
-
FARGATE_PERCENTAGE = "fargate_percentage".freeze
|
46
|
-
PROFILED_HOST_USAGE = "profiled_host_usage".freeze
|
47
|
-
PROFILED_HOST_PERCENTAGE = "profiled_host_percentage".freeze
|
48
|
-
PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
|
49
|
-
PROFILED_CONTAINER_PERCENTAGE = "profiled_container_percentage".freeze
|
50
|
-
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
51
|
-
DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage".freeze
|
52
|
-
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
53
|
-
DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze
|
54
|
-
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
55
|
-
ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze
|
56
|
-
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
57
|
-
ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_logs_percentage".freeze
|
58
|
-
APPSEC_USAGE = "appsec_usage".freeze
|
59
|
-
APPSEC_PERCENTAGE = "appsec_percentage".freeze
|
60
|
-
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
61
|
-
ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze
|
62
|
-
ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze
|
63
|
-
ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze
|
64
|
-
APM_FARGATE_USAGE = "apm_fargate_usage".freeze
|
65
|
-
APM_FARGATE_PERCENTAGE = "apm_fargate_percentage".freeze
|
66
|
-
APPSEC_FARGATE_USAGE = "appsec_fargate_usage".freeze
|
67
|
-
APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
|
68
|
-
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = "estimated_rum_usage_attribution_usage".freeze
|
69
|
-
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = "estimated_rum_usage_attribution_percentage".freeze
|
70
|
-
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = "asm_serverless_traced_invocations_usage".freeze
|
71
|
-
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
72
|
-
ALL = "*".freeze
|
73
|
-
end
|
74
|
-
end
|