datadog_api_client 2.16.0 → 2.17.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 +654 -11
- data/.generator/schemas/v2/openapi.yaml +1268 -206
- data/.generator/src/generator/formatter.py +4 -0
- data/.generator/src/generator/openapi.py +2 -0
- data/.generator/src/generator/templates/api_client.j2 +3 -0
- data/.generator/src/generator/templates/inflector.j2 +1 -1
- data/.generator/src/generator/templates/model_base.j2 +4 -0
- data/CHANGELOG.md +29 -0
- data/Gemfile +1 -0
- data/LICENSE-3rdparty.csv +1 -0
- data/datadog_api_client.gemspec +2 -0
- data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
- data/examples/v1/aws-integration/CreateAWSEventBridgeSource.rb +12 -0
- data/examples/v1/aws-integration/CreateAWSTagFilter.rb +1 -1
- data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -1
- data/examples/v1/aws-integration/DeleteAWSAccount.rb +1 -1
- data/examples/v1/aws-integration/DeleteAWSEventBridgeSource.rb +11 -0
- data/examples/v1/aws-integration/ListAWSEventBridgeSources.rb +5 -0
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +1 -0
- data/examples/v1/azure-integration/DeleteAzureIntegration.rb +1 -0
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +1 -0
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +1 -0
- data/examples/v1/dashboards/CreateDashboard_1213075383.rb +7 -0
- data/examples/v1/monitors/CreateMonitor_1539578087.rb +0 -1
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +3 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +3 -0
- data/examples/v2/confluent-cloud/DeleteConfluentAccount.rb +4 -1
- data/examples/v2/confluent-cloud/DeleteConfluentResource.rb +5 -0
- data/examples/v2/containers/ListContainers.rb +8 -0
- data/examples/v2/containers/ListContainers_2175733917.rb +11 -0
- data/examples/v2/containers/ListContainers_931009654.rb +11 -0
- data/examples/v2/downtimes/ListMonitorDowntimes.rb +1 -1
- data/examples/v2/key-management/CreateCurrentUserApplicationKey.rb +2 -7
- data/examples/v2/key-management/DeleteApplicationKey.rb +4 -1
- data/examples/v2/key-management/DeleteCurrentUserApplicationKey.rb +4 -1
- data/examples/v2/powerpack/CreatePowerpack.rb +1 -0
- data/examples/v2/powerpack/UpdatePowerpack.rb +1 -0
- data/examples/v2/security-monitoring/MuteFindings.rb +29 -0
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +1 -1
- data/examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb +27 -0
- data/examples/v2/service-scorecards/CreateScorecardRule.rb +19 -0
- data/examples/v2/service-scorecards/DeleteScorecardRule.rb +11 -0
- data/examples/v2/service-scorecards/ListScorecardOutcomes.rb +8 -0
- data/examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb +13 -0
- data/examples/v2/service-scorecards/ListScorecardRules.rb +8 -0
- data/examples/v2/service-scorecards/ListScorecardRules_4057666343.rb +13 -0
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +3 -1
- data/examples/v2/teams/ListTeams_3429963470.rb +12 -0
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +4 -1
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +4 -1
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +4 -1
- data/examples/v2/users/GetUser.rb +5 -2
- data/lib/datadog_api_client/api_client.rb +3 -0
- data/lib/datadog_api_client/configuration.rb +8 -1
- data/lib/datadog_api_client/inflector.rb +76 -9
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +194 -0
- data/lib/datadog_api_client/v1/api/monitors_api.rb +5 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/model_base.rb +4 -0
- data/lib/datadog_api_client/v1/models/aws_account.rb +2 -1
- data/lib/datadog_api_client/v1/models/aws_event_bridge_account_configuration.rb +105 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_create_request.rb +112 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_create_response.rb +110 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_create_status.rb +26 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_request.rb +100 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_response.rb +80 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_status.rb +26 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_list_response.rb +92 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_source.rb +90 -0
- data/lib/datadog_api_client/v1/models/azure_account.rb +12 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +21 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +42 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +421 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +11 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_display.rb +63 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_flat.rb +98 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_flat_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_legend.rb +28 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_scaling.rb +27 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +119 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_style.rb +90 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +6 -0
- data/lib/datadog_api_client/v2/api/containers_api.rb +129 -0
- data/lib/datadog_api_client/v2/api/key_management_api.rb +8 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +6 -3
- data/lib/datadog_api_client/v2/api/roles_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +66 -72
- data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +457 -0
- data/lib/datadog_api_client/v2/api/teams_api.rb +2 -0
- data/lib/datadog_api_client/v2/model_base.rb +4 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_request.rb → bulk_mute_findings_request.rb} +6 -6
- data/lib/datadog_api_client/v2/models/{mute_finding_request_attributes.rb → bulk_mute_findings_request_attributes.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{mute_finding_request_data.rb → bulk_mute_findings_request_data.rb} +28 -7
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta.rb +82 -0
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta_findings.rb +80 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_request_properties.rb → bulk_mute_findings_request_properties.rb} +6 -6
- data/lib/datadog_api_client/v2/models/{mute_finding_response.rb → bulk_mute_findings_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_response_data.rb → container.rb} +9 -9
- data/lib/datadog_api_client/v2/models/container_attributes.rb +183 -0
- data/lib/datadog_api_client/v2/models/container_group.rb +110 -0
- data/lib/datadog_api_client/v2/models/container_group_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/container_group_relationships.rb +80 -0
- data/lib/datadog_api_client/v2/models/container_group_relationships_link.rb +92 -0
- data/lib/datadog_api_client/v2/models/container_group_relationships_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/container_group_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/container_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/container_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/container_meta_page.rb +160 -0
- data/lib/datadog_api_client/v2/models/container_meta_page_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/container_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/containers_response.rb +102 -0
- data/lib/datadog_api_client/v2/models/containers_response_links.rb +130 -0
- data/lib/datadog_api_client/v2/models/create_rule_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/create_rule_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/create_rule_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/create_rule_response_data.rb +110 -0
- data/lib/datadog_api_client/v2/models/list_rules_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/list_rules_response_data_item.rb +110 -0
- data/lib/datadog_api_client/v2/models/list_rules_response_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/outcome_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_request_item.rb +150 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_response.rb +121 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_response_attributes.rb +120 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/outcomes_response.rb +104 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_data_item.rb +110 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_included_item.rb +100 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_included_rule_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/powerpack_group_widget.rb +14 -4
- data/lib/datadog_api_client/v2/models/relationship_to_outcome.rb +80 -0
- data/lib/datadog_api_client/v2/models/relationship_to_outcome_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/relationship_to_rule.rb +80 -0
- data/lib/datadog_api_client/v2/models/relationship_to_rule_data.rb +80 -0
- data/lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb +90 -0
- data/lib/datadog_api_client/v2/models/rule_attributes.rb +160 -0
- data/lib/datadog_api_client/v2/models/rule_outcome_relationships.rb +80 -0
- data/lib/datadog_api_client/v2/models/rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/scorecard_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +7 -7
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +8 -8
- data/lib/datadog_api_client/v2/models/state.rb +28 -0
- data/lib/datadog_api_client/v2/models/teams_field.rb +40 -0
- data/lib/datadog_api_client/v2/models/user_team_permission_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/widget_live_span.rb +40 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +113 -25
- data/examples/v2/confluent-cloud/DeleteConfluentAccount_2919241291.rb +0 -8
- data/examples/v2/downtimes/ListMonitorDowntimes_128979780.rb +0 -5
- data/examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb +0 -14
- data/examples/v2/key-management/DeleteApplicationKey_771691550.rb +0 -8
- data/examples/v2/key-management/DeleteCurrentUserApplicationKey_1266687064.rb +0 -8
- data/examples/v2/key-management/GetCurrentUserApplicationKey_1060640890.rb +0 -8
- data/examples/v2/key-management/ListApplicationKeys_2237010090.rb +0 -5
- data/examples/v2/key-management/ListCurrentUserApplicationKeys_1503860964.rb +0 -5
- data/examples/v2/security-monitoring/UpdateFinding.rb +0 -23
- data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +0 -5
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +0 -9
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring_3959166796.rb +0 -8
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations_1436752065.rb +0 -8
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines_970725512.rb +0 -8
- data/examples/v2/users/GetUser_3047557953.rb +0 -8
- data/lib/datadog_api_client/v2/models/mute_finding_response_attributes.rb +0 -191
- data/lib/datadog_api_client/v2/models/mute_finding_response_properties.rb +0 -114
@@ -30,6 +30,9 @@ module DatadogAPIClient::V2
|
|
30
30
|
# Fields to group by.
|
31
31
|
attr_accessor :group_by_fields
|
32
32
|
|
33
|
+
# When false, events without a group-by value are ignored by the rule. When true, events with missing group-by fields are processed with `N/A`, replacing the missing values.
|
34
|
+
attr_accessor :has_optional_group_by_fields
|
35
|
+
|
33
36
|
# (Deprecated) The target field to aggregate over when using the sum or max
|
34
37
|
# aggregations. `metrics` field should be used instead.
|
35
38
|
attr_accessor :metric
|
@@ -50,6 +53,7 @@ module DatadogAPIClient::V2
|
|
50
53
|
:'aggregation' => :'aggregation',
|
51
54
|
:'distinct_fields' => :'distinctFields',
|
52
55
|
:'group_by_fields' => :'groupByFields',
|
56
|
+
:'has_optional_group_by_fields' => :'hasOptionalGroupByFields',
|
53
57
|
:'metric' => :'metric',
|
54
58
|
:'metrics' => :'metrics',
|
55
59
|
:'name' => :'name',
|
@@ -64,6 +68,7 @@ module DatadogAPIClient::V2
|
|
64
68
|
:'aggregation' => :'SecurityMonitoringRuleQueryAggregation',
|
65
69
|
:'distinct_fields' => :'Array<String>',
|
66
70
|
:'group_by_fields' => :'Array<String>',
|
71
|
+
:'has_optional_group_by_fields' => :'Boolean',
|
67
72
|
:'metric' => :'String',
|
68
73
|
:'metrics' => :'Array<String>',
|
69
74
|
:'name' => :'String',
|
@@ -103,6 +108,10 @@ module DatadogAPIClient::V2
|
|
103
108
|
end
|
104
109
|
end
|
105
110
|
|
111
|
+
if attributes.key?(:'has_optional_group_by_fields')
|
112
|
+
self.has_optional_group_by_fields = attributes[:'has_optional_group_by_fields']
|
113
|
+
end
|
114
|
+
|
106
115
|
if attributes.key?(:'metric')
|
107
116
|
self.metric = attributes[:'metric']
|
108
117
|
end
|
@@ -131,6 +140,7 @@ module DatadogAPIClient::V2
|
|
131
140
|
aggregation == o.aggregation &&
|
132
141
|
distinct_fields == o.distinct_fields &&
|
133
142
|
group_by_fields == o.group_by_fields &&
|
143
|
+
has_optional_group_by_fields == o.has_optional_group_by_fields &&
|
134
144
|
metric == o.metric &&
|
135
145
|
metrics == o.metrics &&
|
136
146
|
name == o.name &&
|
@@ -141,7 +151,7 @@ module DatadogAPIClient::V2
|
|
141
151
|
# @return [Integer] Hash code
|
142
152
|
# @!visibility private
|
143
153
|
def hash
|
144
|
-
[aggregation, distinct_fields, group_by_fields, metric, metrics, name, query].hash
|
154
|
+
[aggregation, distinct_fields, group_by_fields, has_optional_group_by_fields, metric, metrics, name, query].hash
|
145
155
|
end
|
146
156
|
end
|
147
157
|
end
|
@@ -40,7 +40,7 @@ module DatadogAPIClient::V2
|
|
40
40
|
attr_accessor :integrations
|
41
41
|
|
42
42
|
# The service's programming language. Datadog recognizes the following languages: `dotnet`, `go`, `java`, `js`, `php`, `python`, `ruby`, and `c++`.
|
43
|
-
attr_accessor :
|
43
|
+
attr_accessor :languages
|
44
44
|
|
45
45
|
# The current life cycle phase of the service.
|
46
46
|
attr_accessor :lifecycle
|
@@ -73,7 +73,7 @@ module DatadogAPIClient::V2
|
|
73
73
|
:'description' => :'description',
|
74
74
|
:'extensions' => :'extensions',
|
75
75
|
:'integrations' => :'integrations',
|
76
|
-
:'
|
76
|
+
:'languages' => :'languages',
|
77
77
|
:'lifecycle' => :'lifecycle',
|
78
78
|
:'links' => :'links',
|
79
79
|
:'schema_version' => :'schema-version',
|
@@ -94,7 +94,7 @@ module DatadogAPIClient::V2
|
|
94
94
|
:'description' => :'String',
|
95
95
|
:'extensions' => :'Hash<String, Object>',
|
96
96
|
:'integrations' => :'ServiceDefinitionV2Dot2Integrations',
|
97
|
-
:'
|
97
|
+
:'languages' => :'Array<String>',
|
98
98
|
:'lifecycle' => :'String',
|
99
99
|
:'links' => :'Array<ServiceDefinitionV2Dot2Link>',
|
100
100
|
:'schema_version' => :'ServiceDefinitionV2Dot2Version',
|
@@ -147,9 +147,9 @@ module DatadogAPIClient::V2
|
|
147
147
|
self.integrations = attributes[:'integrations']
|
148
148
|
end
|
149
149
|
|
150
|
-
if attributes.key?(:'
|
151
|
-
if (value = attributes[:'
|
152
|
-
self.
|
150
|
+
if attributes.key?(:'languages')
|
151
|
+
if (value = attributes[:'languages']).is_a?(Array)
|
152
|
+
self.languages = value
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
@@ -227,7 +227,7 @@ module DatadogAPIClient::V2
|
|
227
227
|
description == o.description &&
|
228
228
|
extensions == o.extensions &&
|
229
229
|
integrations == o.integrations &&
|
230
|
-
|
230
|
+
languages == o.languages &&
|
231
231
|
lifecycle == o.lifecycle &&
|
232
232
|
links == o.links &&
|
233
233
|
schema_version == o.schema_version &&
|
@@ -241,7 +241,7 @@ module DatadogAPIClient::V2
|
|
241
241
|
# @return [Integer] Hash code
|
242
242
|
# @!visibility private
|
243
243
|
def hash
|
244
|
-
[application, contacts, dd_service, description, extensions, integrations,
|
244
|
+
[application, contacts, dd_service, description, extensions, integrations, languages, lifecycle, links, schema_version, tags, team, tier, type].hash
|
245
245
|
end
|
246
246
|
end
|
247
247
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 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::V2
|
20
|
+
# The state of the rule evaluation.
|
21
|
+
class State
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
PASS = "pass".freeze
|
25
|
+
FAIL = "fail".freeze
|
26
|
+
SKIP = "skip".freeze
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 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::V2
|
20
|
+
# Supported teams field.
|
21
|
+
class TeamsField
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
ID = "id".freeze
|
25
|
+
NAME = "name".freeze
|
26
|
+
HANDLE = "handle".freeze
|
27
|
+
SUMMARY = "summary".freeze
|
28
|
+
DESCRIPTION = "description".freeze
|
29
|
+
AVATAR = "avatar".freeze
|
30
|
+
BANNER = "banner".freeze
|
31
|
+
VISIBLE_MODULES = "visible_modules".freeze
|
32
|
+
HIDDEN_MODULES = "hidden_modules".freeze
|
33
|
+
CREATED_AT = "created_at".freeze
|
34
|
+
MODIFIED_AT = "modified_at".freeze
|
35
|
+
USER_COUNT = "user_count".freeze
|
36
|
+
LINK_COUNT = "link_count".freeze
|
37
|
+
TEAM_LINKS = "team_links".freeze
|
38
|
+
USER_TEAM_PERMISSIONS = "user_team_permissions".freeze
|
39
|
+
end
|
40
|
+
end
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
21
21
|
class UserTeamPermissionAttributes
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# Object of team permission actions and boolean values
|
24
|
+
# Object of team permission actions and boolean values that a logged in user can perform on this team.
|
25
25
|
attr_accessor :permissions
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 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::V2
|
20
|
+
# The available timeframes depend on the widget you are using.
|
21
|
+
class WidgetLiveSpan
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
PAST_ONE_MINUTE = "1m".freeze
|
25
|
+
PAST_FIVE_MINUTES = "5m".freeze
|
26
|
+
PAST_TEN_MINUTES = "10m".freeze
|
27
|
+
PAST_FIFTEEN_MINUTES = "15m".freeze
|
28
|
+
PAST_THIRTY_MINUTES = "30m".freeze
|
29
|
+
PAST_ONE_HOUR = "1h".freeze
|
30
|
+
PAST_FOUR_HOURS = "4h".freeze
|
31
|
+
PAST_ONE_DAY = "1d".freeze
|
32
|
+
PAST_TWO_DAYS = "2d".freeze
|
33
|
+
PAST_ONE_WEEK = "1w".freeze
|
34
|
+
PAST_ONE_MONTH = "1mo".freeze
|
35
|
+
PAST_THREE_MONTHS = "3mo".freeze
|
36
|
+
PAST_SIX_MONTHS = "6mo".freeze
|
37
|
+
PAST_ONE_YEAR = "1y".freeze
|
38
|
+
ALERT = "alert".freeze
|
39
|
+
end
|
40
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.17.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: 2023-
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -50,6 +50,26 @@ dependencies:
|
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '2.6'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: uuidtools
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 2.1.5
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.1.5
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.1.5
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 2.1.5
|
53
73
|
- !ruby/object:Gem::Dependency
|
54
74
|
name: rspec
|
55
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,11 +159,14 @@ files:
|
|
139
159
|
- datadog_api_client.gemspec
|
140
160
|
- examples/v1/authentication/Validate.rb
|
141
161
|
- examples/v1/aws-integration/CreateAWSAccount.rb
|
162
|
+
- examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
|
142
163
|
- examples/v1/aws-integration/CreateAWSTagFilter.rb
|
143
164
|
- examples/v1/aws-integration/CreateNewAWSExternalID.rb
|
144
165
|
- examples/v1/aws-integration/DeleteAWSAccount.rb
|
166
|
+
- examples/v1/aws-integration/DeleteAWSEventBridgeSource.rb
|
145
167
|
- examples/v1/aws-integration/DeleteAWSTagFilter.rb
|
146
168
|
- examples/v1/aws-integration/ListAWSAccounts.rb
|
169
|
+
- examples/v1/aws-integration/ListAWSEventBridgeSources.rb
|
147
170
|
- examples/v1/aws-integration/ListAWSTagFilters.rb
|
148
171
|
- examples/v1/aws-integration/ListAvailableAWSNamespaces.rb
|
149
172
|
- examples/v1/aws-integration/UpdateAWSAccount.rb
|
@@ -532,7 +555,7 @@ files:
|
|
532
555
|
- examples/v2/confluent-cloud/CreateConfluentAccount.rb
|
533
556
|
- examples/v2/confluent-cloud/CreateConfluentResource.rb
|
534
557
|
- examples/v2/confluent-cloud/DeleteConfluentAccount.rb
|
535
|
-
- examples/v2/confluent-cloud/
|
558
|
+
- examples/v2/confluent-cloud/DeleteConfluentResource.rb
|
536
559
|
- examples/v2/confluent-cloud/GetConfluentAccount.rb
|
537
560
|
- examples/v2/confluent-cloud/GetConfluentResource.rb
|
538
561
|
- examples/v2/confluent-cloud/ListConfluentAccount.rb
|
@@ -542,6 +565,9 @@ files:
|
|
542
565
|
- examples/v2/container-images/ListContainerImages.rb
|
543
566
|
- examples/v2/container-images/ListContainerImages_3088586393.rb
|
544
567
|
- examples/v2/container-images/ListContainerImages_3974828736.rb
|
568
|
+
- examples/v2/containers/ListContainers.rb
|
569
|
+
- examples/v2/containers/ListContainers_2175733917.rb
|
570
|
+
- examples/v2/containers/ListContainers_931009654.rb
|
545
571
|
- examples/v2/dashboard-lists/CreateDashboardListItems.rb
|
546
572
|
- examples/v2/dashboard-lists/CreateDashboardListItems_3995409989.rb
|
547
573
|
- examples/v2/dashboard-lists/CreateDashboardListItems_825696022.rb
|
@@ -556,7 +582,6 @@ files:
|
|
556
582
|
- examples/v2/downtimes/ListDowntimes.rb
|
557
583
|
- examples/v2/downtimes/ListDowntimes_805770330.rb
|
558
584
|
- examples/v2/downtimes/ListMonitorDowntimes.rb
|
559
|
-
- examples/v2/downtimes/ListMonitorDowntimes_128979780.rb
|
560
585
|
- examples/v2/downtimes/UpdateDowntime.rb
|
561
586
|
- examples/v2/events/ListEvents.rb
|
562
587
|
- examples/v2/events/ListEvents_1527584014.rb
|
@@ -619,22 +644,16 @@ files:
|
|
619
644
|
- examples/v2/ip-allowlist/UpdateIPAllowlist.rb
|
620
645
|
- examples/v2/key-management/CreateAPIKey.rb
|
621
646
|
- examples/v2/key-management/CreateCurrentUserApplicationKey.rb
|
622
|
-
- examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb
|
623
647
|
- examples/v2/key-management/CreateCurrentUserApplicationKey_3383369233.rb
|
624
648
|
- examples/v2/key-management/DeleteAPIKey.rb
|
625
649
|
- examples/v2/key-management/DeleteApplicationKey.rb
|
626
|
-
- examples/v2/key-management/DeleteApplicationKey_771691550.rb
|
627
650
|
- examples/v2/key-management/DeleteCurrentUserApplicationKey.rb
|
628
|
-
- examples/v2/key-management/DeleteCurrentUserApplicationKey_1266687064.rb
|
629
651
|
- examples/v2/key-management/GetAPIKey.rb
|
630
652
|
- examples/v2/key-management/GetApplicationKey.rb
|
631
653
|
- examples/v2/key-management/GetCurrentUserApplicationKey.rb
|
632
|
-
- examples/v2/key-management/GetCurrentUserApplicationKey_1060640890.rb
|
633
654
|
- examples/v2/key-management/ListAPIKeys.rb
|
634
655
|
- examples/v2/key-management/ListApplicationKeys.rb
|
635
|
-
- examples/v2/key-management/ListApplicationKeys_2237010090.rb
|
636
656
|
- examples/v2/key-management/ListCurrentUserApplicationKeys.rb
|
637
|
-
- examples/v2/key-management/ListCurrentUserApplicationKeys_1503860964.rb
|
638
657
|
- examples/v2/key-management/UpdateAPIKey.rb
|
639
658
|
- examples/v2/key-management/UpdateApplicationKey.rb
|
640
659
|
- examples/v2/key-management/UpdateCurrentUserApplicationKey.rb
|
@@ -752,9 +771,9 @@ files:
|
|
752
771
|
- examples/v2/security-monitoring/ListSecurityMonitoringRules.rb
|
753
772
|
- examples/v2/security-monitoring/ListSecurityMonitoringSignals.rb
|
754
773
|
- examples/v2/security-monitoring/ListSecurityMonitoringSignals_3960412991.rb
|
774
|
+
- examples/v2/security-monitoring/MuteFindings.rb
|
755
775
|
- examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb
|
756
776
|
- examples/v2/security-monitoring/SearchSecurityMonitoringSignals_1309350146.rb
|
757
|
-
- examples/v2/security-monitoring/UpdateFinding.rb
|
758
777
|
- examples/v2/security-monitoring/UpdateSecurityFilter.rb
|
759
778
|
- examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb
|
760
779
|
- examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb
|
@@ -782,6 +801,13 @@ files:
|
|
782
801
|
- examples/v2/service-definition/GetServiceDefinition.rb
|
783
802
|
- examples/v2/service-definition/ListServiceDefinitions.rb
|
784
803
|
- examples/v2/service-definition/ListServiceDefinitions_336468013.rb
|
804
|
+
- examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb
|
805
|
+
- examples/v2/service-scorecards/CreateScorecardRule.rb
|
806
|
+
- examples/v2/service-scorecards/DeleteScorecardRule.rb
|
807
|
+
- examples/v2/service-scorecards/ListScorecardOutcomes.rb
|
808
|
+
- examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
|
809
|
+
- examples/v2/service-scorecards/ListScorecardRules.rb
|
810
|
+
- examples/v2/service-scorecards/ListScorecardRules_4057666343.rb
|
785
811
|
- examples/v2/spans-metrics/CreateSpansMetric.rb
|
786
812
|
- examples/v2/spans-metrics/DeleteSpansMetric.rb
|
787
813
|
- examples/v2/spans-metrics/GetSpansMetric.rb
|
@@ -793,9 +819,7 @@ files:
|
|
793
819
|
- examples/v2/spans/ListSpansGet_1130763422.rb
|
794
820
|
- examples/v2/spans/ListSpans_3495563906.rb
|
795
821
|
- examples/v2/synthetics/GetOnDemandConcurrencyCap.rb
|
796
|
-
- examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb
|
797
822
|
- examples/v2/synthetics/SetOnDemandConcurrencyCap.rb
|
798
|
-
- examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb
|
799
823
|
- examples/v2/teams/CreateTeam.rb
|
800
824
|
- examples/v2/teams/CreateTeamLink.rb
|
801
825
|
- examples/v2/teams/CreateTeamMembership.rb
|
@@ -810,6 +834,7 @@ files:
|
|
810
834
|
- examples/v2/teams/GetTeamPermissionSettings.rb
|
811
835
|
- examples/v2/teams/GetUserMemberships.rb
|
812
836
|
- examples/v2/teams/ListTeams.rb
|
837
|
+
- examples/v2/teams/ListTeams_3429963470.rb
|
813
838
|
- examples/v2/teams/ListTeams_3592098458.rb
|
814
839
|
- examples/v2/teams/UpdateTeam.rb
|
815
840
|
- examples/v2/teams/UpdateTeamLink.rb
|
@@ -821,16 +846,12 @@ files:
|
|
821
846
|
- examples/v2/usage-metering/GetHistoricalCostByOrg.rb
|
822
847
|
- examples/v2/usage-metering/GetHourlyUsage.rb
|
823
848
|
- examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb
|
824
|
-
- examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring_3959166796.rb
|
825
849
|
- examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
|
826
|
-
- examples/v2/usage-metering/GetUsageLambdaTracedInvocations_1436752065.rb
|
827
850
|
- examples/v2/usage-metering/GetUsageObservabilityPipelines.rb
|
828
|
-
- examples/v2/usage-metering/GetUsageObservabilityPipelines_970725512.rb
|
829
851
|
- examples/v2/users/CreateUser.rb
|
830
852
|
- examples/v2/users/DisableUser.rb
|
831
853
|
- examples/v2/users/GetInvitation.rb
|
832
854
|
- examples/v2/users/GetUser.rb
|
833
|
-
- examples/v2/users/GetUser_3047557953.rb
|
834
855
|
- examples/v2/users/ListUserOrganizations.rb
|
835
856
|
- examples/v2/users/ListUserPermissions.rb
|
836
857
|
- examples/v2/users/ListUsers.rb
|
@@ -898,6 +919,15 @@ files:
|
|
898
919
|
- lib/datadog_api_client/v1/models/aws_account_create_response.rb
|
899
920
|
- lib/datadog_api_client/v1/models/aws_account_delete_request.rb
|
900
921
|
- lib/datadog_api_client/v1/models/aws_account_list_response.rb
|
922
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_account_configuration.rb
|
923
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_create_request.rb
|
924
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_create_response.rb
|
925
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_create_status.rb
|
926
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_delete_request.rb
|
927
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_delete_response.rb
|
928
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_delete_status.rb
|
929
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_list_response.rb
|
930
|
+
- lib/datadog_api_client/v1/models/aws_event_bridge_source.rb
|
901
931
|
- lib/datadog_api_client/v1/models/aws_logs_async_error.rb
|
902
932
|
- lib/datadog_api_client/v1/models/aws_logs_async_response.rb
|
903
933
|
- lib/datadog_api_client/v1/models/aws_logs_lambda.rb
|
@@ -1530,7 +1560,15 @@ files:
|
|
1530
1560
|
- lib/datadog_api_client/v1/models/timeseries_widget_request.rb
|
1531
1561
|
- lib/datadog_api_client/v1/models/toplist_widget_definition.rb
|
1532
1562
|
- lib/datadog_api_client/v1/models/toplist_widget_definition_type.rb
|
1563
|
+
- lib/datadog_api_client/v1/models/toplist_widget_display.rb
|
1564
|
+
- lib/datadog_api_client/v1/models/toplist_widget_flat.rb
|
1565
|
+
- lib/datadog_api_client/v1/models/toplist_widget_flat_type.rb
|
1566
|
+
- lib/datadog_api_client/v1/models/toplist_widget_legend.rb
|
1533
1567
|
- lib/datadog_api_client/v1/models/toplist_widget_request.rb
|
1568
|
+
- lib/datadog_api_client/v1/models/toplist_widget_scaling.rb
|
1569
|
+
- lib/datadog_api_client/v1/models/toplist_widget_stacked.rb
|
1570
|
+
- lib/datadog_api_client/v1/models/toplist_widget_stacked_type.rb
|
1571
|
+
- lib/datadog_api_client/v1/models/toplist_widget_style.rb
|
1534
1572
|
- lib/datadog_api_client/v1/models/topology_map_widget_definition.rb
|
1535
1573
|
- lib/datadog_api_client/v1/models/topology_map_widget_definition_type.rb
|
1536
1574
|
- lib/datadog_api_client/v1/models/topology_query.rb
|
@@ -1697,6 +1735,7 @@ files:
|
|
1697
1735
|
- lib/datadog_api_client/v2/api/cloudflare_integration_api.rb
|
1698
1736
|
- lib/datadog_api_client/v2/api/confluent_cloud_api.rb
|
1699
1737
|
- lib/datadog_api_client/v2/api/container_images_api.rb
|
1738
|
+
- lib/datadog_api_client/v2/api/containers_api.rb
|
1700
1739
|
- lib/datadog_api_client/v2/api/dashboard_lists_api.rb
|
1701
1740
|
- lib/datadog_api_client/v2/api/downtimes_api.rb
|
1702
1741
|
- lib/datadog_api_client/v2/api/events_api.rb
|
@@ -1723,6 +1762,7 @@ files:
|
|
1723
1762
|
- lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb
|
1724
1763
|
- lib/datadog_api_client/v2/api/service_accounts_api.rb
|
1725
1764
|
- lib/datadog_api_client/v2/api/service_definition_api.rb
|
1765
|
+
- lib/datadog_api_client/v2/api/service_scorecards_api.rb
|
1726
1766
|
- lib/datadog_api_client/v2/api/spans_api.rb
|
1727
1767
|
- lib/datadog_api_client/v2/api/spans_metrics_api.rb
|
1728
1768
|
- lib/datadog_api_client/v2/api/synthetics_api.rb
|
@@ -1785,6 +1825,14 @@ files:
|
|
1785
1825
|
- lib/datadog_api_client/v2/models/authn_mappings_response.rb
|
1786
1826
|
- lib/datadog_api_client/v2/models/authn_mappings_sort.rb
|
1787
1827
|
- lib/datadog_api_client/v2/models/authn_mappings_type.rb
|
1828
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_request.rb
|
1829
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_request_attributes.rb
|
1830
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_request_data.rb
|
1831
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta.rb
|
1832
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta_findings.rb
|
1833
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_request_properties.rb
|
1834
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_response.rb
|
1835
|
+
- lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb
|
1788
1836
|
- lib/datadog_api_client/v2/models/chargeback_breakdown.rb
|
1789
1837
|
- lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value.rb
|
1790
1838
|
- lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value_timeseries_point.rb
|
@@ -1904,6 +1952,14 @@ files:
|
|
1904
1952
|
- lib/datadog_api_client/v2/models/confluent_resource_response_data.rb
|
1905
1953
|
- lib/datadog_api_client/v2/models/confluent_resource_type.rb
|
1906
1954
|
- lib/datadog_api_client/v2/models/confluent_resources_response.rb
|
1955
|
+
- lib/datadog_api_client/v2/models/container.rb
|
1956
|
+
- lib/datadog_api_client/v2/models/container_attributes.rb
|
1957
|
+
- lib/datadog_api_client/v2/models/container_group.rb
|
1958
|
+
- lib/datadog_api_client/v2/models/container_group_attributes.rb
|
1959
|
+
- lib/datadog_api_client/v2/models/container_group_relationships.rb
|
1960
|
+
- lib/datadog_api_client/v2/models/container_group_relationships_link.rb
|
1961
|
+
- lib/datadog_api_client/v2/models/container_group_relationships_links.rb
|
1962
|
+
- lib/datadog_api_client/v2/models/container_group_type.rb
|
1907
1963
|
- lib/datadog_api_client/v2/models/container_image.rb
|
1908
1964
|
- lib/datadog_api_client/v2/models/container_image_attributes.rb
|
1909
1965
|
- lib/datadog_api_client/v2/models/container_image_flavor.rb
|
@@ -1921,11 +1977,22 @@ files:
|
|
1921
1977
|
- lib/datadog_api_client/v2/models/container_image_vulnerabilities.rb
|
1922
1978
|
- lib/datadog_api_client/v2/models/container_images_response.rb
|
1923
1979
|
- lib/datadog_api_client/v2/models/container_images_response_links.rb
|
1980
|
+
- lib/datadog_api_client/v2/models/container_item.rb
|
1981
|
+
- lib/datadog_api_client/v2/models/container_meta.rb
|
1982
|
+
- lib/datadog_api_client/v2/models/container_meta_page.rb
|
1983
|
+
- lib/datadog_api_client/v2/models/container_meta_page_type.rb
|
1984
|
+
- lib/datadog_api_client/v2/models/container_type.rb
|
1985
|
+
- lib/datadog_api_client/v2/models/containers_response.rb
|
1986
|
+
- lib/datadog_api_client/v2/models/containers_response_links.rb
|
1924
1987
|
- lib/datadog_api_client/v2/models/content_encoding.rb
|
1925
1988
|
- lib/datadog_api_client/v2/models/cost_by_org.rb
|
1926
1989
|
- lib/datadog_api_client/v2/models/cost_by_org_attributes.rb
|
1927
1990
|
- lib/datadog_api_client/v2/models/cost_by_org_response.rb
|
1928
1991
|
- lib/datadog_api_client/v2/models/cost_by_org_type.rb
|
1992
|
+
- lib/datadog_api_client/v2/models/create_rule_request.rb
|
1993
|
+
- lib/datadog_api_client/v2/models/create_rule_request_data.rb
|
1994
|
+
- lib/datadog_api_client/v2/models/create_rule_response.rb
|
1995
|
+
- lib/datadog_api_client/v2/models/create_rule_response_data.rb
|
1929
1996
|
- lib/datadog_api_client/v2/models/creator.rb
|
1930
1997
|
- lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb
|
1931
1998
|
- lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb
|
@@ -2197,6 +2264,9 @@ files:
|
|
2197
2264
|
- lib/datadog_api_client/v2/models/list_findings_page.rb
|
2198
2265
|
- lib/datadog_api_client/v2/models/list_findings_response.rb
|
2199
2266
|
- lib/datadog_api_client/v2/models/list_powerpacks_response.rb
|
2267
|
+
- lib/datadog_api_client/v2/models/list_rules_response.rb
|
2268
|
+
- lib/datadog_api_client/v2/models/list_rules_response_data_item.rb
|
2269
|
+
- lib/datadog_api_client/v2/models/list_rules_response_links.rb
|
2200
2270
|
- lib/datadog_api_client/v2/models/list_teams_include.rb
|
2201
2271
|
- lib/datadog_api_client/v2/models/list_teams_sort.rb
|
2202
2272
|
- lib/datadog_api_client/v2/models/log.rb
|
@@ -2355,14 +2425,6 @@ files:
|
|
2355
2425
|
- lib/datadog_api_client/v2/models/monitor_downtime_match_response_attributes.rb
|
2356
2426
|
- lib/datadog_api_client/v2/models/monitor_downtime_match_response_data.rb
|
2357
2427
|
- lib/datadog_api_client/v2/models/monitor_type.rb
|
2358
|
-
- lib/datadog_api_client/v2/models/mute_finding_request.rb
|
2359
|
-
- lib/datadog_api_client/v2/models/mute_finding_request_attributes.rb
|
2360
|
-
- lib/datadog_api_client/v2/models/mute_finding_request_data.rb
|
2361
|
-
- lib/datadog_api_client/v2/models/mute_finding_request_properties.rb
|
2362
|
-
- lib/datadog_api_client/v2/models/mute_finding_response.rb
|
2363
|
-
- lib/datadog_api_client/v2/models/mute_finding_response_attributes.rb
|
2364
|
-
- lib/datadog_api_client/v2/models/mute_finding_response_data.rb
|
2365
|
-
- lib/datadog_api_client/v2/models/mute_finding_response_properties.rb
|
2366
2428
|
- lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb
|
2367
2429
|
- lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb
|
2368
2430
|
- lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb
|
@@ -2384,6 +2446,20 @@ files:
|
|
2384
2446
|
- lib/datadog_api_client/v2/models/organization.rb
|
2385
2447
|
- lib/datadog_api_client/v2/models/organization_attributes.rb
|
2386
2448
|
- lib/datadog_api_client/v2/models/organizations_type.rb
|
2449
|
+
- lib/datadog_api_client/v2/models/outcome_type.rb
|
2450
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_attributes.rb
|
2451
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_request.rb
|
2452
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_request_data.rb
|
2453
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_request_item.rb
|
2454
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_response.rb
|
2455
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_response_attributes.rb
|
2456
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_response_meta.rb
|
2457
|
+
- lib/datadog_api_client/v2/models/outcomes_batch_type.rb
|
2458
|
+
- lib/datadog_api_client/v2/models/outcomes_response.rb
|
2459
|
+
- lib/datadog_api_client/v2/models/outcomes_response_data_item.rb
|
2460
|
+
- lib/datadog_api_client/v2/models/outcomes_response_included_item.rb
|
2461
|
+
- lib/datadog_api_client/v2/models/outcomes_response_included_rule_attributes.rb
|
2462
|
+
- lib/datadog_api_client/v2/models/outcomes_response_links.rb
|
2387
2463
|
- lib/datadog_api_client/v2/models/pagination.rb
|
2388
2464
|
- lib/datadog_api_client/v2/models/partial_api_key.rb
|
2389
2465
|
- lib/datadog_api_client/v2/models/partial_api_key_attributes.rb
|
@@ -2425,12 +2501,17 @@ files:
|
|
2425
2501
|
- lib/datadog_api_client/v2/models/relationship_to_organization.rb
|
2426
2502
|
- lib/datadog_api_client/v2/models/relationship_to_organization_data.rb
|
2427
2503
|
- lib/datadog_api_client/v2/models/relationship_to_organizations.rb
|
2504
|
+
- lib/datadog_api_client/v2/models/relationship_to_outcome.rb
|
2505
|
+
- lib/datadog_api_client/v2/models/relationship_to_outcome_data.rb
|
2428
2506
|
- lib/datadog_api_client/v2/models/relationship_to_permission.rb
|
2429
2507
|
- lib/datadog_api_client/v2/models/relationship_to_permission_data.rb
|
2430
2508
|
- lib/datadog_api_client/v2/models/relationship_to_permissions.rb
|
2431
2509
|
- lib/datadog_api_client/v2/models/relationship_to_role.rb
|
2432
2510
|
- lib/datadog_api_client/v2/models/relationship_to_role_data.rb
|
2433
2511
|
- lib/datadog_api_client/v2/models/relationship_to_roles.rb
|
2512
|
+
- lib/datadog_api_client/v2/models/relationship_to_rule.rb
|
2513
|
+
- lib/datadog_api_client/v2/models/relationship_to_rule_data.rb
|
2514
|
+
- lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb
|
2434
2515
|
- lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb
|
2435
2516
|
- lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb
|
2436
2517
|
- lib/datadog_api_client/v2/models/relationship_to_team_link_data.rb
|
@@ -2485,6 +2566,9 @@ files:
|
|
2485
2566
|
- lib/datadog_api_client/v2/models/roles_response.rb
|
2486
2567
|
- lib/datadog_api_client/v2/models/roles_sort.rb
|
2487
2568
|
- lib/datadog_api_client/v2/models/roles_type.rb
|
2569
|
+
- lib/datadog_api_client/v2/models/rule_attributes.rb
|
2570
|
+
- lib/datadog_api_client/v2/models/rule_outcome_relationships.rb
|
2571
|
+
- lib/datadog_api_client/v2/models/rule_type.rb
|
2488
2572
|
- lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb
|
2489
2573
|
- lib/datadog_api_client/v2/models/rum_aggregate_bucket_value_timeseries_point.rb
|
2490
2574
|
- lib/datadog_api_client/v2/models/rum_aggregate_request.rb
|
@@ -2547,6 +2631,7 @@ files:
|
|
2547
2631
|
- lib/datadog_api_client/v2/models/scalar_meta.rb
|
2548
2632
|
- lib/datadog_api_client/v2/models/scalar_query.rb
|
2549
2633
|
- lib/datadog_api_client/v2/models/scalar_response.rb
|
2634
|
+
- lib/datadog_api_client/v2/models/scorecard_type.rb
|
2550
2635
|
- lib/datadog_api_client/v2/models/security_filter.rb
|
2551
2636
|
- lib/datadog_api_client/v2/models/security_filter_attributes.rb
|
2552
2637
|
- lib/datadog_api_client/v2/models/security_filter_create_attributes.rb
|
@@ -2799,6 +2884,7 @@ files:
|
|
2799
2884
|
- lib/datadog_api_client/v2/models/spans_sort_order.rb
|
2800
2885
|
- lib/datadog_api_client/v2/models/spans_type.rb
|
2801
2886
|
- lib/datadog_api_client/v2/models/spans_warning.rb
|
2887
|
+
- lib/datadog_api_client/v2/models/state.rb
|
2802
2888
|
- lib/datadog_api_client/v2/models/team.rb
|
2803
2889
|
- lib/datadog_api_client/v2/models/team_attributes.rb
|
2804
2890
|
- lib/datadog_api_client/v2/models/team_create.rb
|
@@ -2831,6 +2917,7 @@ files:
|
|
2831
2917
|
- lib/datadog_api_client/v2/models/team_update_attributes.rb
|
2832
2918
|
- lib/datadog_api_client/v2/models/team_update_relationships.rb
|
2833
2919
|
- lib/datadog_api_client/v2/models/team_update_request.rb
|
2920
|
+
- lib/datadog_api_client/v2/models/teams_field.rb
|
2834
2921
|
- lib/datadog_api_client/v2/models/teams_response.rb
|
2835
2922
|
- lib/datadog_api_client/v2/models/teams_response_links.rb
|
2836
2923
|
- lib/datadog_api_client/v2/models/teams_response_meta.rb
|
@@ -2890,6 +2977,7 @@ files:
|
|
2890
2977
|
- lib/datadog_api_client/v2/models/user_update_request.rb
|
2891
2978
|
- lib/datadog_api_client/v2/models/users_response.rb
|
2892
2979
|
- lib/datadog_api_client/v2/models/users_type.rb
|
2980
|
+
- lib/datadog_api_client/v2/models/widget_live_span.rb
|
2893
2981
|
- lib/datadog_api_client/version.rb
|
2894
2982
|
- run-tests.sh
|
2895
2983
|
- spec/api_client_spec.rb
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Delete resource from Confluent account returns "OK" response
|
2
|
-
|
3
|
-
require "datadog_api_client"
|
4
|
-
api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
|
5
|
-
|
6
|
-
# there is a valid "confluent_account" in the system
|
7
|
-
CONFLUENT_ACCOUNT_DATA_ID = ENV["CONFLUENT_ACCOUNT_DATA_ID"]
|
8
|
-
api_instance.delete_confluent_account(CONFLUENT_ACCOUNT_DATA_ID)
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Create an Application key for current user returns "Created" response
|
2
|
-
|
3
|
-
require "datadog_api_client"
|
4
|
-
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
|
5
|
-
|
6
|
-
body = DatadogAPIClient::V2::ApplicationKeyCreateRequest.new({
|
7
|
-
data: DatadogAPIClient::V2::ApplicationKeyCreateData.new({
|
8
|
-
type: DatadogAPIClient::V2::ApplicationKeysType::APPLICATION_KEYS,
|
9
|
-
attributes: DatadogAPIClient::V2::ApplicationKeyCreateAttributes.new({
|
10
|
-
name: "Example-Key-Management",
|
11
|
-
}),
|
12
|
-
}),
|
13
|
-
})
|
14
|
-
p api_instance.create_current_user_application_key(body)
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Delete an Application key returns "No Content" response
|
2
|
-
|
3
|
-
require "datadog_api_client"
|
4
|
-
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
|
5
|
-
|
6
|
-
# there is a valid "application_key" in the system
|
7
|
-
APPLICATION_KEY_DATA_ID = ENV["APPLICATION_KEY_DATA_ID"]
|
8
|
-
api_instance.delete_application_key(APPLICATION_KEY_DATA_ID)
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Delete an Application key owned by current user returns "No Content" response
|
2
|
-
|
3
|
-
require "datadog_api_client"
|
4
|
-
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
|
5
|
-
|
6
|
-
# there is a valid "application_key" in the system
|
7
|
-
APPLICATION_KEY_DATA_ID = ENV["APPLICATION_KEY_DATA_ID"]
|
8
|
-
api_instance.delete_current_user_application_key(APPLICATION_KEY_DATA_ID)
|