datadog_api_client 2.18.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +1 -1
- data/.generator/poetry.lock +69 -69
- data/.generator/schemas/v1/openapi.yaml +286 -55
- data/.generator/schemas/v2/openapi.yaml +2021 -226
- data/.generator/src/generator/templates/api.j2 +5 -5
- data/.generator/src/generator/templates/model_generic.j2 +2 -2
- data/CHANGELOG.md +38 -0
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +4 -4
- data/examples/v1/azure-integration/DeleteAzureIntegration.rb +2 -15
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +4 -4
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +4 -5
- data/examples/v1/gcp-integration/DeleteGCPIntegration.rb +2 -14
- data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +4 -5
- data/examples/v1/logs-indexes/CreateLogsIndex.rb +5 -0
- data/examples/v1/logs-indexes/UpdateLogsIndex.rb +5 -0
- data/examples/v1/service-level-objectives/CreateSLO_3765703239.rb +46 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/TriggerCITests.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -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/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +0 -3
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +0 -3
- data/examples/v2/cloud-cost-management/CreateCostAWSCURConfig.rb +18 -0
- data/examples/v2/cloud-cost-management/CreateCostAzureUCConfigs.rb +29 -0
- data/examples/v2/cloud-cost-management/DeleteCostAWSCURConfig.rb +5 -0
- data/examples/v2/cloud-cost-management/DeleteCostAzureUCConfig.rb +5 -0
- data/examples/v2/cloud-cost-management/GetCloudCostActivity.rb +5 -0
- data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostAWSCURConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostAzureUCConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb +14 -0
- data/examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb +14 -0
- data/examples/v2/cloudflare-integration/CreateCloudflareAccount.rb +1 -1
- data/examples/v2/cloudflare-integration/UpdateCloudflareAccount.rb +4 -1
- data/examples/v2/downtimes/ListMonitorDowntimes_3316718253.rb +5 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +16 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +16 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +17 -0
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +19 -0
- data/examples/v2/okta-integration/CreateOktaAccount.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_3367706049.rb +46 -0
- 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/sensitive-data-scanner/CreateScanningRule.rb +7 -0
- data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +7 -10
- data/examples/v2/teams/CreateTeamMembership.rb +6 -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 -1
- data/lib/datadog_api_client/inflector.rb +74 -0
- data/lib/datadog_api_client/v1/api/downtimes_api.rb +28 -7
- data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/organizations_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- 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 +22 -2
- 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/organization.rb +1 -1
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +11 -1
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +11 -1
- 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_data_source_query_definition.rb +62 -0
- data/lib/datadog_api_client/v1/models/slo_formula.rb +98 -0
- 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/slo_response_data.rb +11 -1
- data/lib/datadog_api_client/v1/models/slo_sli_spec.rb +62 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_comparator.rb +29 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +141 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_query.rb +131 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +99 -0
- data/lib/datadog_api_client/v1/models/slo_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +1 -0
- data/lib/datadog_api_client/v1/models/split_config.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
- 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 +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/api_management_api.rb +319 -0
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +0 -6
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +680 -0
- data/lib/datadog_api_client/v2/api/downtimes_api.rb +25 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -2
- 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/teams_api.rb +22 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v2/models/aws_cur_config.rb +129 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_attributes.rb +305 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_attributes.rb +202 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cur_configs_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/aws_related_account.rb +129 -0
- data/lib/datadog_api_client/v2/models/aws_related_account_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/aws_related_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_related_accounts_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config.rb +378 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair.rb +129 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair_attributes.rb +110 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pairs_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_attributes.rb +192 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/azure_uc_configs_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/bill_config.rb +161 -0
- data/lib/datadog_api_client/v2/models/ci_app_git_info.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_cost_activity.rb +119 -0
- data/lib/datadog_api_client/v2/models/cloud_cost_activity_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/cloud_cost_activity_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/cloud_cost_activity_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +28 -4
- data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +28 -4
- data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +28 -4
- 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/dora_deployment_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/dora_git_info.rb +2 -2
- data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +25 -5
- data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
- 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/relationship_to_user_team_team.rb +98 -0
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_team_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +14 -4
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_third_party_options.rb +114 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
- 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_third_party_root_query.rb +92 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case.rb +112 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case_create.rb +130 -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 +134 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +46 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +33 -1
- 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_team_attributes.rb +24 -1
- data/lib/datadog_api_client/v2/models/user_team_relationships.rb +11 -1
- data/lib/datadog_api_client/v2/models/user_team_team_type.rb +26 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +103 -3
- data/examples/v1/usage-metering/GetUsageLambda_3132428705.rb +0 -8
|
@@ -97,13 +97,13 @@ module DatadogAPIClient::V1
|
|
|
97
97
|
# @!visibility private
|
|
98
98
|
def valid?
|
|
99
99
|
return false if @limit.nil?
|
|
100
|
-
return false if @limit >
|
|
100
|
+
return false if @limit > 500
|
|
101
101
|
return false if @limit < 1
|
|
102
102
|
return false if @sort.nil?
|
|
103
103
|
return false if @split_dimensions.nil?
|
|
104
104
|
return false if @split_dimensions.length > 1
|
|
105
105
|
return false if @split_dimensions.length < 1
|
|
106
|
-
return false if !@static_splits.nil? && @static_splits.length >
|
|
106
|
+
return false if !@static_splits.nil? && @static_splits.length > 500
|
|
107
107
|
true
|
|
108
108
|
end
|
|
109
109
|
|
|
@@ -114,8 +114,8 @@ module DatadogAPIClient::V1
|
|
|
114
114
|
if limit.nil?
|
|
115
115
|
fail ArgumentError, 'invalid value for "limit", limit cannot be nil.'
|
|
116
116
|
end
|
|
117
|
-
if limit >
|
|
118
|
-
fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to
|
|
117
|
+
if limit > 500
|
|
118
|
+
fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 500.'
|
|
119
119
|
end
|
|
120
120
|
if limit < 1
|
|
121
121
|
fail ArgumentError, 'invalid value for "limit", must be greater than or equal to 1.'
|
|
@@ -153,8 +153,8 @@ module DatadogAPIClient::V1
|
|
|
153
153
|
# @param static_splits [Object] Object to be assigned
|
|
154
154
|
# @!visibility private
|
|
155
155
|
def static_splits=(static_splits)
|
|
156
|
-
if !static_splits.nil? && static_splits.length >
|
|
157
|
-
fail ArgumentError, 'invalid value for "static_splits", number of items must be less than or equal to
|
|
156
|
+
if !static_splits.nil? && static_splits.length > 500
|
|
157
|
+
fail ArgumentError, 'invalid value for "static_splits", number of items must be less than or equal to 500.'
|
|
158
158
|
end
|
|
159
159
|
@static_splits = static_splits
|
|
160
160
|
end
|
|
@@ -45,6 +45,9 @@ module DatadogAPIClient::V1
|
|
|
45
45
|
# A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
|
|
46
46
|
attr_accessor :compressed_json_descriptor
|
|
47
47
|
|
|
48
|
+
# A protobuf file that needs to be gzipped first then base64 encoded.
|
|
49
|
+
attr_accessor :compressed_proto_file
|
|
50
|
+
|
|
48
51
|
# DNS server to use for DNS tests.
|
|
49
52
|
attr_accessor :dns_server
|
|
50
53
|
|
|
@@ -116,6 +119,7 @@ module DatadogAPIClient::V1
|
|
|
116
119
|
:'certificate' => :'certificate',
|
|
117
120
|
:'certificate_domains' => :'certificateDomains',
|
|
118
121
|
:'compressed_json_descriptor' => :'compressedJsonDescriptor',
|
|
122
|
+
:'compressed_proto_file' => :'compressedProtoFile',
|
|
119
123
|
:'dns_server' => :'dnsServer',
|
|
120
124
|
:'dns_server_port' => :'dnsServerPort',
|
|
121
125
|
:'follow_redirects' => :'follow_redirects',
|
|
@@ -150,6 +154,7 @@ module DatadogAPIClient::V1
|
|
|
150
154
|
:'certificate' => :'SyntheticsTestRequestCertificate',
|
|
151
155
|
:'certificate_domains' => :'Array<String>',
|
|
152
156
|
:'compressed_json_descriptor' => :'String',
|
|
157
|
+
:'compressed_proto_file' => :'String',
|
|
153
158
|
:'dns_server' => :'String',
|
|
154
159
|
:'dns_server_port' => :'Integer',
|
|
155
160
|
:'follow_redirects' => :'Boolean',
|
|
@@ -222,6 +227,10 @@ module DatadogAPIClient::V1
|
|
|
222
227
|
self.compressed_json_descriptor = attributes[:'compressed_json_descriptor']
|
|
223
228
|
end
|
|
224
229
|
|
|
230
|
+
if attributes.key?(:'compressed_proto_file')
|
|
231
|
+
self.compressed_proto_file = attributes[:'compressed_proto_file']
|
|
232
|
+
end
|
|
233
|
+
|
|
225
234
|
if attributes.key?(:'dns_server')
|
|
226
235
|
self.dns_server = attributes[:'dns_server']
|
|
227
236
|
end
|
|
@@ -350,6 +359,7 @@ module DatadogAPIClient::V1
|
|
|
350
359
|
certificate == o.certificate &&
|
|
351
360
|
certificate_domains == o.certificate_domains &&
|
|
352
361
|
compressed_json_descriptor == o.compressed_json_descriptor &&
|
|
362
|
+
compressed_proto_file == o.compressed_proto_file &&
|
|
353
363
|
dns_server == o.dns_server &&
|
|
354
364
|
dns_server_port == o.dns_server_port &&
|
|
355
365
|
follow_redirects == o.follow_redirects &&
|
|
@@ -375,7 +385,7 @@ module DatadogAPIClient::V1
|
|
|
375
385
|
# @return [Integer] Hash code
|
|
376
386
|
# @!visibility private
|
|
377
387
|
def hash
|
|
378
|
-
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, dns_server, dns_server_port, follow_redirects, headers, host, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url].hash
|
|
388
|
+
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, compressed_proto_file, dns_server, dns_server_port, follow_redirects, headers, host, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url].hash
|
|
379
389
|
end
|
|
380
390
|
end
|
|
381
391
|
end
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Number of
|
|
20
|
+
# Number of Lambda functions and sum of the invocations of all Lambda functions
|
|
21
21
|
# for each hour for a given organization.
|
|
22
22
|
class UsageLambdaHour
|
|
23
23
|
include BaseGenericModel
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Response containing the number of
|
|
20
|
+
# Response containing the number of Lambda functions and sum of the invocations of all Lambda functions
|
|
21
21
|
# for each hour for a given organization.
|
|
22
22
|
class UsageLambdaResponse
|
|
23
23
|
include BaseGenericModel
|
|
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
|
|
|
27
27
|
# Shows the 99th percentile of all Azure app services using APM over all hours in the current date all organizations.
|
|
28
28
|
attr_accessor :apm_azure_app_service_host_top99p
|
|
29
29
|
|
|
30
|
+
# Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
|
|
31
|
+
attr_accessor :apm_devsecops_host_top99p
|
|
32
|
+
|
|
30
33
|
# Shows the average of all APM ECS Fargate tasks over all hours in the current date for all organizations.
|
|
31
34
|
attr_accessor :apm_fargate_count_avg
|
|
32
35
|
|
|
@@ -333,6 +336,7 @@ module DatadogAPIClient::V1
|
|
|
333
336
|
{
|
|
334
337
|
:'agent_host_top99p' => :'agent_host_top99p',
|
|
335
338
|
:'apm_azure_app_service_host_top99p' => :'apm_azure_app_service_host_top99p',
|
|
339
|
+
:'apm_devsecops_host_top99p' => :'apm_devsecops_host_top99p',
|
|
336
340
|
:'apm_fargate_count_avg' => :'apm_fargate_count_avg',
|
|
337
341
|
:'apm_host_top99p' => :'apm_host_top99p',
|
|
338
342
|
:'appsec_fargate_count_avg' => :'appsec_fargate_count_avg',
|
|
@@ -442,6 +446,7 @@ module DatadogAPIClient::V1
|
|
|
442
446
|
{
|
|
443
447
|
:'agent_host_top99p' => :'Integer',
|
|
444
448
|
:'apm_azure_app_service_host_top99p' => :'Integer',
|
|
449
|
+
:'apm_devsecops_host_top99p' => :'Integer',
|
|
445
450
|
:'apm_fargate_count_avg' => :'Integer',
|
|
446
451
|
:'apm_host_top99p' => :'Integer',
|
|
447
452
|
:'appsec_fargate_count_avg' => :'Integer',
|
|
@@ -569,6 +574,10 @@ module DatadogAPIClient::V1
|
|
|
569
574
|
self.apm_azure_app_service_host_top99p = attributes[:'apm_azure_app_service_host_top99p']
|
|
570
575
|
end
|
|
571
576
|
|
|
577
|
+
if attributes.key?(:'apm_devsecops_host_top99p')
|
|
578
|
+
self.apm_devsecops_host_top99p = attributes[:'apm_devsecops_host_top99p']
|
|
579
|
+
end
|
|
580
|
+
|
|
572
581
|
if attributes.key?(:'apm_fargate_count_avg')
|
|
573
582
|
self.apm_fargate_count_avg = attributes[:'apm_fargate_count_avg']
|
|
574
583
|
end
|
|
@@ -980,6 +989,7 @@ module DatadogAPIClient::V1
|
|
|
980
989
|
self.class == o.class &&
|
|
981
990
|
agent_host_top99p == o.agent_host_top99p &&
|
|
982
991
|
apm_azure_app_service_host_top99p == o.apm_azure_app_service_host_top99p &&
|
|
992
|
+
apm_devsecops_host_top99p == o.apm_devsecops_host_top99p &&
|
|
983
993
|
apm_fargate_count_avg == o.apm_fargate_count_avg &&
|
|
984
994
|
apm_host_top99p == o.apm_host_top99p &&
|
|
985
995
|
appsec_fargate_count_avg == o.appsec_fargate_count_avg &&
|
|
@@ -1086,7 +1096,7 @@ module DatadogAPIClient::V1
|
|
|
1086
1096
|
# @return [Integer] Hash code
|
|
1087
1097
|
# @!visibility private
|
|
1088
1098
|
def hash
|
|
1089
|
-
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_aas_count_top99p, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
|
1099
|
+
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_devsecops_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_aas_count_top99p, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
|
1090
1100
|
end
|
|
1091
1101
|
end
|
|
1092
1102
|
end
|
|
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
|
|
|
27
27
|
# Shows the 99th percentile of all Azure app services using APM over all hours in the current date for the given org.
|
|
28
28
|
attr_accessor :apm_azure_app_service_host_top99p
|
|
29
29
|
|
|
30
|
+
# Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
|
|
31
|
+
attr_accessor :apm_devsecops_host_top99p
|
|
32
|
+
|
|
30
33
|
# Shows the average of all APM ECS Fargate tasks over all hours in the current months for the given org.
|
|
31
34
|
attr_accessor :apm_fargate_count_avg
|
|
32
35
|
|
|
@@ -345,6 +348,7 @@ module DatadogAPIClient::V1
|
|
|
345
348
|
{
|
|
346
349
|
:'agent_host_top99p' => :'agent_host_top99p',
|
|
347
350
|
:'apm_azure_app_service_host_top99p' => :'apm_azure_app_service_host_top99p',
|
|
351
|
+
:'apm_devsecops_host_top99p' => :'apm_devsecops_host_top99p',
|
|
348
352
|
:'apm_fargate_count_avg' => :'apm_fargate_count_avg',
|
|
349
353
|
:'apm_host_top99p' => :'apm_host_top99p',
|
|
350
354
|
:'appsec_fargate_count_avg' => :'appsec_fargate_count_avg',
|
|
@@ -458,6 +462,7 @@ module DatadogAPIClient::V1
|
|
|
458
462
|
{
|
|
459
463
|
:'agent_host_top99p' => :'Integer',
|
|
460
464
|
:'apm_azure_app_service_host_top99p' => :'Integer',
|
|
465
|
+
:'apm_devsecops_host_top99p' => :'Integer',
|
|
461
466
|
:'apm_fargate_count_avg' => :'Integer',
|
|
462
467
|
:'apm_host_top99p' => :'Integer',
|
|
463
468
|
:'appsec_fargate_count_avg' => :'Integer',
|
|
@@ -589,6 +594,10 @@ module DatadogAPIClient::V1
|
|
|
589
594
|
self.apm_azure_app_service_host_top99p = attributes[:'apm_azure_app_service_host_top99p']
|
|
590
595
|
end
|
|
591
596
|
|
|
597
|
+
if attributes.key?(:'apm_devsecops_host_top99p')
|
|
598
|
+
self.apm_devsecops_host_top99p = attributes[:'apm_devsecops_host_top99p']
|
|
599
|
+
end
|
|
600
|
+
|
|
592
601
|
if attributes.key?(:'apm_fargate_count_avg')
|
|
593
602
|
self.apm_fargate_count_avg = attributes[:'apm_fargate_count_avg']
|
|
594
603
|
end
|
|
@@ -1014,6 +1023,7 @@ module DatadogAPIClient::V1
|
|
|
1014
1023
|
self.class == o.class &&
|
|
1015
1024
|
agent_host_top99p == o.agent_host_top99p &&
|
|
1016
1025
|
apm_azure_app_service_host_top99p == o.apm_azure_app_service_host_top99p &&
|
|
1026
|
+
apm_devsecops_host_top99p == o.apm_devsecops_host_top99p &&
|
|
1017
1027
|
apm_fargate_count_avg == o.apm_fargate_count_avg &&
|
|
1018
1028
|
apm_host_top99p == o.apm_host_top99p &&
|
|
1019
1029
|
appsec_fargate_count_avg == o.appsec_fargate_count_avg &&
|
|
@@ -1124,7 +1134,7 @@ module DatadogAPIClient::V1
|
|
|
1124
1134
|
# @return [Integer] Hash code
|
|
1125
1135
|
# @!visibility private
|
|
1126
1136
|
def hash
|
|
1127
|
-
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_historical_ts_avg, custom_live_ts_avg, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, profiling_aas_count_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
|
1137
|
+
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_devsecops_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_historical_ts_avg, custom_live_ts_avg, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, profiling_aas_count_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
|
1128
1138
|
end
|
|
1129
1139
|
end
|
|
1130
1140
|
end
|
|
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
|
|
|
27
27
|
# Shows the 99th percentile of all Azure app services using APM over all hours in the current months all organizations.
|
|
28
28
|
attr_accessor :apm_azure_app_service_host_top99p_sum
|
|
29
29
|
|
|
30
|
+
# Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current months for all organizations.
|
|
31
|
+
attr_accessor :apm_devsecops_host_top99p_sum
|
|
32
|
+
|
|
30
33
|
# Shows the average of all APM ECS Fargate tasks over all hours in the current months for all organizations.
|
|
31
34
|
attr_accessor :apm_fargate_count_avg_sum
|
|
32
35
|
|
|
@@ -366,6 +369,7 @@ module DatadogAPIClient::V1
|
|
|
366
369
|
{
|
|
367
370
|
:'agent_host_top99p_sum' => :'agent_host_top99p_sum',
|
|
368
371
|
:'apm_azure_app_service_host_top99p_sum' => :'apm_azure_app_service_host_top99p_sum',
|
|
372
|
+
:'apm_devsecops_host_top99p_sum' => :'apm_devsecops_host_top99p_sum',
|
|
369
373
|
:'apm_fargate_count_avg_sum' => :'apm_fargate_count_avg_sum',
|
|
370
374
|
:'apm_host_top99p_sum' => :'apm_host_top99p_sum',
|
|
371
375
|
:'appsec_fargate_count_avg_sum' => :'appsec_fargate_count_avg_sum',
|
|
@@ -486,6 +490,7 @@ module DatadogAPIClient::V1
|
|
|
486
490
|
{
|
|
487
491
|
:'agent_host_top99p_sum' => :'Integer',
|
|
488
492
|
:'apm_azure_app_service_host_top99p_sum' => :'Integer',
|
|
493
|
+
:'apm_devsecops_host_top99p_sum' => :'Integer',
|
|
489
494
|
:'apm_fargate_count_avg_sum' => :'Integer',
|
|
490
495
|
:'apm_host_top99p_sum' => :'Integer',
|
|
491
496
|
:'appsec_fargate_count_avg_sum' => :'Integer',
|
|
@@ -624,6 +629,10 @@ module DatadogAPIClient::V1
|
|
|
624
629
|
self.apm_azure_app_service_host_top99p_sum = attributes[:'apm_azure_app_service_host_top99p_sum']
|
|
625
630
|
end
|
|
626
631
|
|
|
632
|
+
if attributes.key?(:'apm_devsecops_host_top99p_sum')
|
|
633
|
+
self.apm_devsecops_host_top99p_sum = attributes[:'apm_devsecops_host_top99p_sum']
|
|
634
|
+
end
|
|
635
|
+
|
|
627
636
|
if attributes.key?(:'apm_fargate_count_avg_sum')
|
|
628
637
|
self.apm_fargate_count_avg_sum = attributes[:'apm_fargate_count_avg_sum']
|
|
629
638
|
end
|
|
@@ -1079,6 +1088,7 @@ module DatadogAPIClient::V1
|
|
|
1079
1088
|
self.class == o.class &&
|
|
1080
1089
|
agent_host_top99p_sum == o.agent_host_top99p_sum &&
|
|
1081
1090
|
apm_azure_app_service_host_top99p_sum == o.apm_azure_app_service_host_top99p_sum &&
|
|
1091
|
+
apm_devsecops_host_top99p_sum == o.apm_devsecops_host_top99p_sum &&
|
|
1082
1092
|
apm_fargate_count_avg_sum == o.apm_fargate_count_avg_sum &&
|
|
1083
1093
|
apm_host_top99p_sum == o.apm_host_top99p_sum &&
|
|
1084
1094
|
appsec_fargate_count_avg_sum == o.appsec_fargate_count_avg_sum &&
|
|
@@ -1196,7 +1206,7 @@ module DatadogAPIClient::V1
|
|
|
1196
1206
|
# @return [Integer] Hash code
|
|
1197
1207
|
# @!visibility private
|
|
1198
1208
|
def hash
|
|
1199
|
-
[agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_fargate_count_avg_sum, apm_host_top99p_sum, appsec_fargate_count_avg_sum, audit_logs_lines_indexed_agg_sum, audit_trail_enabled_hwm_sum, avg_profiled_fargate_tasks_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, browser_rum_lite_session_count_agg_sum, browser_rum_replay_session_count_agg_sum, browser_rum_units_agg_sum, ci_pipeline_indexed_spans_agg_sum, ci_test_indexed_spans_agg_sum, ci_visibility_itr_committers_hwm_sum, ci_visibility_pipeline_committers_hwm_sum, ci_visibility_test_committers_hwm_sum, cloud_cost_management_aws_host_count_avg_sum, cloud_cost_management_azure_host_count_avg_sum, cloud_cost_management_host_count_avg_sum, cloud_siem_events_agg_sum, container_avg_sum, container_excl_agent_avg_sum, container_hwm_sum, csm_container_enterprise_compliance_count_agg_sum, csm_container_enterprise_cws_count_agg_sum, csm_container_enterprise_total_count_agg_sum, csm_host_enterprise_aas_host_count_top99p_sum, csm_host_enterprise_aws_host_count_top99p_sum, csm_host_enterprise_azure_host_count_top99p_sum, csm_host_enterprise_compliance_host_count_top99p_sum, csm_host_enterprise_cws_host_count_top99p_sum, csm_host_enterprise_gcp_host_count_top99p_sum, csm_host_enterprise_total_host_count_top99p_sum, cspm_aas_host_top99p_sum, cspm_aws_host_top99p_sum, cspm_azure_host_top99p_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_gcp_host_top99p_sum, cspm_host_top99p_sum, custom_historical_ts_sum, custom_live_ts_sum, custom_ts_sum, cws_containers_avg_sum, cws_host_top99p_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, forwarding_events_bytes_agg_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_lite_session_count_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_flutter_agg_sum, mobile_rum_session_count_ios_agg_sum, mobile_rum_session_count_reactnative_agg_sum, mobile_rum_session_count_roku_agg_sum, mobile_rum_units_agg_sum, ndm_netflow_events_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, observability_pipelines_bytes_processed_agg_sum, online_archive_events_count_agg_sum, opentelemetry_apm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_aas_count_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_browser_and_mobile_session_count, rum_session_count_agg_sum, rum_total_session_count_agg_sum, rum_units_agg_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg_sum, serverless_apps_google_count_avg_sum, serverless_apps_total_count_avg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, synthetics_mobile_test_runs_agg_sum, synthetics_parallel_testing_max_slots_hwm_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, universal_service_monitoring_host_top99p_sum, usage, vsphere_host_top99p_sum, vuln_management_host_count_top99p_sum, workflow_executions_usage_agg_sum].hash
|
|
1209
|
+
[agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_devsecops_host_top99p_sum, apm_fargate_count_avg_sum, apm_host_top99p_sum, appsec_fargate_count_avg_sum, audit_logs_lines_indexed_agg_sum, audit_trail_enabled_hwm_sum, avg_profiled_fargate_tasks_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, browser_rum_lite_session_count_agg_sum, browser_rum_replay_session_count_agg_sum, browser_rum_units_agg_sum, ci_pipeline_indexed_spans_agg_sum, ci_test_indexed_spans_agg_sum, ci_visibility_itr_committers_hwm_sum, ci_visibility_pipeline_committers_hwm_sum, ci_visibility_test_committers_hwm_sum, cloud_cost_management_aws_host_count_avg_sum, cloud_cost_management_azure_host_count_avg_sum, cloud_cost_management_host_count_avg_sum, cloud_siem_events_agg_sum, container_avg_sum, container_excl_agent_avg_sum, container_hwm_sum, csm_container_enterprise_compliance_count_agg_sum, csm_container_enterprise_cws_count_agg_sum, csm_container_enterprise_total_count_agg_sum, csm_host_enterprise_aas_host_count_top99p_sum, csm_host_enterprise_aws_host_count_top99p_sum, csm_host_enterprise_azure_host_count_top99p_sum, csm_host_enterprise_compliance_host_count_top99p_sum, csm_host_enterprise_cws_host_count_top99p_sum, csm_host_enterprise_gcp_host_count_top99p_sum, csm_host_enterprise_total_host_count_top99p_sum, cspm_aas_host_top99p_sum, cspm_aws_host_top99p_sum, cspm_azure_host_top99p_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_gcp_host_top99p_sum, cspm_host_top99p_sum, custom_historical_ts_sum, custom_live_ts_sum, custom_ts_sum, cws_containers_avg_sum, cws_host_top99p_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, forwarding_events_bytes_agg_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_lite_session_count_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_flutter_agg_sum, mobile_rum_session_count_ios_agg_sum, mobile_rum_session_count_reactnative_agg_sum, mobile_rum_session_count_roku_agg_sum, mobile_rum_units_agg_sum, ndm_netflow_events_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, observability_pipelines_bytes_processed_agg_sum, online_archive_events_count_agg_sum, opentelemetry_apm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_aas_count_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_browser_and_mobile_session_count, rum_session_count_agg_sum, rum_total_session_count_agg_sum, rum_units_agg_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg_sum, serverless_apps_google_count_avg_sum, serverless_apps_total_count_avg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, synthetics_mobile_test_runs_agg_sum, synthetics_parallel_testing_max_slots_hwm_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, universal_service_monitoring_host_top99p_sum, usage, vsphere_host_top99p_sum, vuln_management_host_count_top99p_sum, workflow_executions_usage_agg_sum].hash
|
|
1200
1210
|
end
|
|
1201
1211
|
end
|
|
1202
1212
|
end
|
|
@@ -0,0 +1,319 @@
|
|
|
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 'cgi'
|
|
17
|
+
|
|
18
|
+
module DatadogAPIClient::V2
|
|
19
|
+
class APIManagementAPI
|
|
20
|
+
attr_accessor :api_client
|
|
21
|
+
|
|
22
|
+
def initialize(api_client = DatadogAPIClient::APIClient.default)
|
|
23
|
+
@api_client = api_client
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Create a new API.
|
|
27
|
+
#
|
|
28
|
+
# @see #create_open_api_with_http_info
|
|
29
|
+
def create_open_api(opts = {})
|
|
30
|
+
data, _status_code, _headers = create_open_api_with_http_info(opts)
|
|
31
|
+
data
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Create a new API.
|
|
35
|
+
#
|
|
36
|
+
# Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html) specification given.
|
|
37
|
+
# It supports version `2.0`, `3.0` and `3.1` of the specification. A specific extension section, `x-datadog`,
|
|
38
|
+
# let you specify the `teamHandle` for your team responsible for the API in Datadog.
|
|
39
|
+
# It returns the created API ID.
|
|
40
|
+
#
|
|
41
|
+
#
|
|
42
|
+
# @param opts [Hash] the optional parameters
|
|
43
|
+
# @option opts [File] :openapi_spec_file Binary `OpenAPI` spec file
|
|
44
|
+
# @return [Array<(CreateOpenAPIResponse, Integer, Hash)>] CreateOpenAPIResponse data, response status code and response headers
|
|
45
|
+
def create_open_api_with_http_info(opts = {})
|
|
46
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.create_open_api".to_sym]
|
|
47
|
+
if unstable_enabled
|
|
48
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_open_api")
|
|
49
|
+
else
|
|
50
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_open_api"))
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
if @api_client.config.debugging
|
|
54
|
+
@api_client.config.logger.debug 'Calling API: APIManagementAPI.create_open_api ...'
|
|
55
|
+
end
|
|
56
|
+
# resource path
|
|
57
|
+
local_var_path = '/api/v2/apicatalog/openapi'
|
|
58
|
+
|
|
59
|
+
# query parameters
|
|
60
|
+
query_params = opts[:query_params] || {}
|
|
61
|
+
|
|
62
|
+
# header parameters
|
|
63
|
+
header_params = opts[:header_params] || {}
|
|
64
|
+
# HTTP header 'Accept' (if needed)
|
|
65
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
66
|
+
# HTTP header 'Content-Type'
|
|
67
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
|
68
|
+
|
|
69
|
+
# form parameters
|
|
70
|
+
form_params = opts[:form_params] || {}
|
|
71
|
+
form_params['openapi_spec_file'] = opts[:'openapi_spec_file'] if !opts[:'openapi_spec_file'].nil?
|
|
72
|
+
|
|
73
|
+
# http body (model)
|
|
74
|
+
post_body = opts[:debug_body]
|
|
75
|
+
|
|
76
|
+
# return_type
|
|
77
|
+
return_type = opts[:debug_return_type] || 'CreateOpenAPIResponse'
|
|
78
|
+
|
|
79
|
+
# auth_names
|
|
80
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
81
|
+
|
|
82
|
+
new_options = opts.merge(
|
|
83
|
+
:operation => :create_open_api,
|
|
84
|
+
:header_params => header_params,
|
|
85
|
+
:query_params => query_params,
|
|
86
|
+
:form_params => form_params,
|
|
87
|
+
:body => post_body,
|
|
88
|
+
:auth_names => auth_names,
|
|
89
|
+
:return_type => return_type,
|
|
90
|
+
:api_version => "V2"
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
94
|
+
if @api_client.config.debugging
|
|
95
|
+
@api_client.config.logger.debug "API called: APIManagementAPI#create_open_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
96
|
+
end
|
|
97
|
+
return data, status_code, headers
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Delete an API.
|
|
101
|
+
#
|
|
102
|
+
# @see #delete_open_api_with_http_info
|
|
103
|
+
def delete_open_api(id, opts = {})
|
|
104
|
+
delete_open_api_with_http_info(id, opts)
|
|
105
|
+
nil
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Delete an API.
|
|
109
|
+
#
|
|
110
|
+
# Delete a specific API by ID.
|
|
111
|
+
#
|
|
112
|
+
# @param id [UUID] ID of the API to delete
|
|
113
|
+
# @param opts [Hash] the optional parameters
|
|
114
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
115
|
+
def delete_open_api_with_http_info(id, opts = {})
|
|
116
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_open_api".to_sym]
|
|
117
|
+
if unstable_enabled
|
|
118
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_open_api")
|
|
119
|
+
else
|
|
120
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_open_api"))
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
if @api_client.config.debugging
|
|
124
|
+
@api_client.config.logger.debug 'Calling API: APIManagementAPI.delete_open_api ...'
|
|
125
|
+
end
|
|
126
|
+
# verify the required parameter 'id' is set
|
|
127
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
128
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling APIManagementAPI.delete_open_api"
|
|
129
|
+
end
|
|
130
|
+
# resource path
|
|
131
|
+
local_var_path = '/api/v2/apicatalog/api/{id}'.sub('{id}', CGI.escape(id.to_s).gsub('%2F', '/'))
|
|
132
|
+
|
|
133
|
+
# query parameters
|
|
134
|
+
query_params = opts[:query_params] || {}
|
|
135
|
+
|
|
136
|
+
# header parameters
|
|
137
|
+
header_params = opts[:header_params] || {}
|
|
138
|
+
# HTTP header 'Accept' (if needed)
|
|
139
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
140
|
+
|
|
141
|
+
# form parameters
|
|
142
|
+
form_params = opts[:form_params] || {}
|
|
143
|
+
|
|
144
|
+
# http body (model)
|
|
145
|
+
post_body = opts[:debug_body]
|
|
146
|
+
|
|
147
|
+
# return_type
|
|
148
|
+
return_type = opts[:debug_return_type]
|
|
149
|
+
|
|
150
|
+
# auth_names
|
|
151
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
152
|
+
|
|
153
|
+
new_options = opts.merge(
|
|
154
|
+
:operation => :delete_open_api,
|
|
155
|
+
:header_params => header_params,
|
|
156
|
+
:query_params => query_params,
|
|
157
|
+
:form_params => form_params,
|
|
158
|
+
:body => post_body,
|
|
159
|
+
:auth_names => auth_names,
|
|
160
|
+
:return_type => return_type,
|
|
161
|
+
:api_version => "V2"
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
165
|
+
if @api_client.config.debugging
|
|
166
|
+
@api_client.config.logger.debug "API called: APIManagementAPI#delete_open_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
167
|
+
end
|
|
168
|
+
return data, status_code, headers
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Get an API.
|
|
172
|
+
#
|
|
173
|
+
# @see #get_open_api_with_http_info
|
|
174
|
+
def get_open_api(id, opts = {})
|
|
175
|
+
data, _status_code, _headers = get_open_api_with_http_info(id, opts)
|
|
176
|
+
data
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Get an API.
|
|
180
|
+
#
|
|
181
|
+
# Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file.
|
|
182
|
+
#
|
|
183
|
+
# @param id [UUID] ID of the API to retrieve
|
|
184
|
+
# @param opts [Hash] the optional parameters
|
|
185
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
186
|
+
def get_open_api_with_http_info(id, opts = {})
|
|
187
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.get_open_api".to_sym]
|
|
188
|
+
if unstable_enabled
|
|
189
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_open_api")
|
|
190
|
+
else
|
|
191
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_open_api"))
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if @api_client.config.debugging
|
|
195
|
+
@api_client.config.logger.debug 'Calling API: APIManagementAPI.get_open_api ...'
|
|
196
|
+
end
|
|
197
|
+
# verify the required parameter 'id' is set
|
|
198
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
199
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling APIManagementAPI.get_open_api"
|
|
200
|
+
end
|
|
201
|
+
# resource path
|
|
202
|
+
local_var_path = '/api/v2/apicatalog/api/{id}/openapi'.sub('{id}', CGI.escape(id.to_s).gsub('%2F', '/'))
|
|
203
|
+
|
|
204
|
+
# query parameters
|
|
205
|
+
query_params = opts[:query_params] || {}
|
|
206
|
+
|
|
207
|
+
# header parameters
|
|
208
|
+
header_params = opts[:header_params] || {}
|
|
209
|
+
# HTTP header 'Accept' (if needed)
|
|
210
|
+
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data', 'application/json'])
|
|
211
|
+
|
|
212
|
+
# form parameters
|
|
213
|
+
form_params = opts[:form_params] || {}
|
|
214
|
+
|
|
215
|
+
# http body (model)
|
|
216
|
+
post_body = opts[:debug_body]
|
|
217
|
+
|
|
218
|
+
# return_type
|
|
219
|
+
return_type = opts[:debug_return_type] || 'File'
|
|
220
|
+
|
|
221
|
+
# auth_names
|
|
222
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
223
|
+
|
|
224
|
+
new_options = opts.merge(
|
|
225
|
+
:operation => :get_open_api,
|
|
226
|
+
:header_params => header_params,
|
|
227
|
+
:query_params => query_params,
|
|
228
|
+
:form_params => form_params,
|
|
229
|
+
:body => post_body,
|
|
230
|
+
:auth_names => auth_names,
|
|
231
|
+
:return_type => return_type,
|
|
232
|
+
:api_version => "V2"
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
236
|
+
if @api_client.config.debugging
|
|
237
|
+
@api_client.config.logger.debug "API called: APIManagementAPI#get_open_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
238
|
+
end
|
|
239
|
+
return data, status_code, headers
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Update an API.
|
|
243
|
+
#
|
|
244
|
+
# @see #update_open_api_with_http_info
|
|
245
|
+
def update_open_api(id, opts = {})
|
|
246
|
+
data, _status_code, _headers = update_open_api_with_http_info(id, opts)
|
|
247
|
+
data
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Update an API.
|
|
251
|
+
#
|
|
252
|
+
# Update information about a specific API. The given content will replace all API content of the given ID.
|
|
253
|
+
# The ID is returned by the create API, or can be found in the URL in the API catalog UI.
|
|
254
|
+
#
|
|
255
|
+
#
|
|
256
|
+
# @param id [UUID] ID of the API to modify
|
|
257
|
+
# @param opts [Hash] the optional parameters
|
|
258
|
+
# @option opts [File] :openapi_spec_file Binary `OpenAPI` spec file
|
|
259
|
+
# @return [Array<(UpdateOpenAPIResponse, Integer, Hash)>] UpdateOpenAPIResponse data, response status code and response headers
|
|
260
|
+
def update_open_api_with_http_info(id, opts = {})
|
|
261
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.update_open_api".to_sym]
|
|
262
|
+
if unstable_enabled
|
|
263
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_open_api")
|
|
264
|
+
else
|
|
265
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_open_api"))
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
if @api_client.config.debugging
|
|
269
|
+
@api_client.config.logger.debug 'Calling API: APIManagementAPI.update_open_api ...'
|
|
270
|
+
end
|
|
271
|
+
# verify the required parameter 'id' is set
|
|
272
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
273
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling APIManagementAPI.update_open_api"
|
|
274
|
+
end
|
|
275
|
+
# resource path
|
|
276
|
+
local_var_path = '/api/v2/apicatalog/api/{id}/openapi'.sub('{id}', CGI.escape(id.to_s).gsub('%2F', '/'))
|
|
277
|
+
|
|
278
|
+
# query parameters
|
|
279
|
+
query_params = opts[:query_params] || {}
|
|
280
|
+
|
|
281
|
+
# header parameters
|
|
282
|
+
header_params = opts[:header_params] || {}
|
|
283
|
+
# HTTP header 'Accept' (if needed)
|
|
284
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
285
|
+
# HTTP header 'Content-Type'
|
|
286
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
|
287
|
+
|
|
288
|
+
# form parameters
|
|
289
|
+
form_params = opts[:form_params] || {}
|
|
290
|
+
form_params['openapi_spec_file'] = opts[:'openapi_spec_file'] if !opts[:'openapi_spec_file'].nil?
|
|
291
|
+
|
|
292
|
+
# http body (model)
|
|
293
|
+
post_body = opts[:debug_body]
|
|
294
|
+
|
|
295
|
+
# return_type
|
|
296
|
+
return_type = opts[:debug_return_type] || 'UpdateOpenAPIResponse'
|
|
297
|
+
|
|
298
|
+
# auth_names
|
|
299
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
300
|
+
|
|
301
|
+
new_options = opts.merge(
|
|
302
|
+
:operation => :update_open_api,
|
|
303
|
+
:header_params => header_params,
|
|
304
|
+
:query_params => query_params,
|
|
305
|
+
:form_params => form_params,
|
|
306
|
+
:body => post_body,
|
|
307
|
+
:auth_names => auth_names,
|
|
308
|
+
:return_type => return_type,
|
|
309
|
+
:api_version => "V2"
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
313
|
+
if @api_client.config.debugging
|
|
314
|
+
@api_client.config.logger.debug "API called: APIManagementAPI#update_open_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
315
|
+
end
|
|
316
|
+
return data, status_code, headers
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
end
|
|
@@ -108,12 +108,6 @@ module DatadogAPIClient::V2
|
|
|
108
108
|
# @param opts [Hash] the optional parameters
|
|
109
109
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
110
110
|
def create_ci_app_pipeline_event_with_http_info(body, opts = {})
|
|
111
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.create_ci_app_pipeline_event".to_sym]
|
|
112
|
-
if unstable_enabled
|
|
113
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_ci_app_pipeline_event")
|
|
114
|
-
else
|
|
115
|
-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_ci_app_pipeline_event"))
|
|
116
|
-
end
|
|
117
111
|
|
|
118
112
|
if @api_client.config.debugging
|
|
119
113
|
@api_client.config.logger.debug 'Calling API: CIVisibilityPipelinesAPI.create_ci_app_pipeline_event ...'
|