datadog_api_client 2.17.0 → 2.18.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/schemas/v1/openapi.yaml +145 -5
- data/.generator/schemas/v2/openapi.yaml +1306 -45
- data/.generator/src/generator/cli.py +5 -0
- data/.generator/src/generator/templates/datadog_api_client.j2 +19 -0
- data/.pre-commit-config.yaml +1 -1
- data/CHANGELOG.md +25 -0
- data/examples/v1/aws-integration/CreateAWSAccount.rb +2 -2
- data/examples/v1/aws-integration/DeleteAWSAccount.rb +1 -1
- data/examples/v1/aws-integration/UpdateAWSAccount.rb +6 -6
- 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_1284514532.rb +3 -0
- data/examples/v1/synthetics/PatchTest.rb +22 -0
- data/examples/v2/container-images/ListContainerImages.rb +0 -3
- data/examples/v2/container-images/ListContainerImages_3088586393.rb +0 -3
- data/examples/v2/container-images/ListContainerImages_3974828736.rb +0 -3
- data/examples/v2/containers/ListContainers.rb +0 -3
- data/examples/v2/containers/ListContainers_2175733917.rb +0 -3
- data/examples/v2/containers/ListContainers_931009654.rb +0 -3
- data/examples/v2/dora-metrics/CreateDORADeployment.rb +23 -0
- data/examples/v2/dora-metrics/CreateDORAIncident.rb +25 -0
- data/examples/v2/events/ListEvents.rb +0 -3
- data/examples/v2/events/ListEvents_1527584014.rb +0 -3
- data/examples/v2/events/ListEvents_2663715109.rb +0 -3
- data/examples/v2/events/SearchEvents.rb +0 -3
- data/examples/v2/events/SearchEvents_3856995058.rb +0 -3
- data/examples/v2/okta-integration/CreateOktaAccount.rb +19 -0
- data/examples/v2/okta-integration/DeleteOktaAccount.rb +5 -0
- data/examples/v2/okta-integration/GetOktaAccount.rb +8 -0
- data/examples/v2/okta-integration/ListOktaAccounts.rb +5 -0
- data/examples/v2/okta-integration/UpdateOktaAccount.rb +20 -0
- data/examples/v2/usage-metering/GetActiveBillingDimensions.rb +8 -0
- data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +8 -0
- data/examples/v2/usage-metering/GetProjectedCost.rb +8 -0
- data/lib/datadog_api_client/configuration.rb +4 -4
- data/lib/datadog_api_client/inflector.rb +61 -0
- data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -1
- data/lib/datadog_api_client/v1/models/azure_account.rb +13 -2
- data/lib/datadog_api_client/v1/models/synthetics_patch_test_body.rb +82 -0
- data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation.rb +100 -0
- data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation_name.rb +31 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
- data/lib/datadog_api_client/v1/models/widget_live_span.rb +2 -0
- data/lib/datadog_api_client/v2/api/container_images_api.rb +0 -6
- data/lib/datadog_api_client/v2/api/containers_api.rb +0 -6
- data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +181 -0
- data/lib/datadog_api_client/v2/api/events_api.rb +0 -12
- data/lib/datadog_api_client/v2/api/okta_integration_api.rb +355 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +241 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_attributes.rb +92 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_body.rb +100 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/api_keys_response.rb +14 -4
- data/lib/datadog_api_client/v2/models/api_keys_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/api_keys_response_meta_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/application_key_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/application_key_response_meta_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/cost_attribution_aggregates_body.rb +100 -0
- data/lib/datadog_api_client/v2/models/cost_attribution_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +170 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_response_data.rb +108 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/dora_git_info.rb +125 -0
- data/lib/datadog_api_client/v2/models/dora_incident_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +179 -0
- data/lib/datadog_api_client/v2/models/dora_incident_request_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_incident_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_incident_response_data.rb +108 -0
- data/lib/datadog_api_client/v2/models/dora_incident_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +24 -4
- data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +14 -4
- data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +9 -19
- data/lib/datadog_api_client/v2/models/incident_impacts_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_integration_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_non_datadog_creator.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_responders_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +69 -4
- data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +42 -4
- data/lib/datadog_api_client/v2/models/incident_severity.rb +31 -0
- data/lib/datadog_api_client/v2/models/incident_todo_attributes.rb +24 -4
- data/lib/datadog_api_client/v2/models/incident_todo_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_todo_response_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +8 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +14 -4
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb +151 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_body.rb +100 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_meta.rb +92 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_pagination.rb +88 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/okta_account.rb +129 -0
- data/lib/datadog_api_client/v2/models/okta_account_attributes.rb +170 -0
- data/lib/datadog_api_client/v2/models/okta_account_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/okta_account_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/okta_account_response_data.rb +140 -0
- data/lib/datadog_api_client/v2/models/okta_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/okta_account_update_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/okta_account_update_request_attributes.rb +149 -0
- data/lib/datadog_api_client/v2/models/okta_account_update_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/okta_accounts_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +24 -4
- data/lib/datadog_api_client/v2/models/powerpack_relationships.rb +2 -2
- data/lib/datadog_api_client/v2/models/powerpacks_response_meta_pagination.rb +8 -0
- data/lib/datadog_api_client/v2/models/projected_cost.rb +100 -0
- data/lib/datadog_api_client/v2/models/projected_cost_attributes.rb +132 -0
- data/lib/datadog_api_client/v2/models/projected_cost_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/projected_cost_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_impact_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_impacts.rb +100 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_responder_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_responders.rb +100 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_field_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_fields.rb +100 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +1 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/sort_direction.rb +27 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/lib/datadog_api_client.rb +16 -1
- metadata +75 -2
|
@@ -610,6 +610,9 @@ module DatadogAPIClient
|
|
|
610
610
|
"v1.synthetics_location" => "SyntheticsLocation",
|
|
611
611
|
"v1.synthetics_locations" => "SyntheticsLocations",
|
|
612
612
|
"v1.synthetics_parsing_options" => "SyntheticsParsingOptions",
|
|
613
|
+
"v1.synthetics_patch_test_body" => "SyntheticsPatchTestBody",
|
|
614
|
+
"v1.synthetics_patch_test_operation" => "SyntheticsPatchTestOperation",
|
|
615
|
+
"v1.synthetics_patch_test_operation_name" => "SyntheticsPatchTestOperationName",
|
|
613
616
|
"v1.synthetics_playing_tab" => "SyntheticsPlayingTab",
|
|
614
617
|
"v1.synthetics_private_location" => "SyntheticsPrivateLocation",
|
|
615
618
|
"v1.synthetics_private_location_creation_response" => "SyntheticsPrivateLocationCreationResponse",
|
|
@@ -839,6 +842,10 @@ module DatadogAPIClient
|
|
|
839
842
|
"v1.widget_vertical_align" => "WidgetVerticalAlign",
|
|
840
843
|
"v1.widget_view_mode" => "WidgetViewMode",
|
|
841
844
|
"v1.widget_viz_type" => "WidgetVizType",
|
|
845
|
+
"v2.active_billing_dimensions_attributes" => "ActiveBillingDimensionsAttributes",
|
|
846
|
+
"v2.active_billing_dimensions_body" => "ActiveBillingDimensionsBody",
|
|
847
|
+
"v2.active_billing_dimensions_response" => "ActiveBillingDimensionsResponse",
|
|
848
|
+
"v2.active_billing_dimensions_type" => "ActiveBillingDimensionsType",
|
|
842
849
|
"v2.api_error_response" => "APIErrorResponse",
|
|
843
850
|
"v2.api_key_create_attributes" => "APIKeyCreateAttributes",
|
|
844
851
|
"v2.api_key_create_data" => "APIKeyCreateData",
|
|
@@ -847,6 +854,8 @@ module DatadogAPIClient
|
|
|
847
854
|
"v2.api_key_response" => "APIKeyResponse",
|
|
848
855
|
"v2.api_key_response_included_item" => "APIKeyResponseIncludedItem",
|
|
849
856
|
"v2.api_keys_response" => "APIKeysResponse",
|
|
857
|
+
"v2.api_keys_response_meta" => "APIKeysResponseMeta",
|
|
858
|
+
"v2.api_keys_response_meta_page" => "APIKeysResponseMetaPage",
|
|
850
859
|
"v2.api_keys_sort" => "APIKeysSort",
|
|
851
860
|
"v2.api_keys_type" => "APIKeysType",
|
|
852
861
|
"v2.api_key_update_attributes" => "APIKeyUpdateAttributes",
|
|
@@ -859,6 +868,8 @@ module DatadogAPIClient
|
|
|
859
868
|
"v2.application_key_relationships" => "ApplicationKeyRelationships",
|
|
860
869
|
"v2.application_key_response" => "ApplicationKeyResponse",
|
|
861
870
|
"v2.application_key_response_included_item" => "ApplicationKeyResponseIncludedItem",
|
|
871
|
+
"v2.application_key_response_meta" => "ApplicationKeyResponseMeta",
|
|
872
|
+
"v2.application_key_response_meta_page" => "ApplicationKeyResponseMetaPage",
|
|
862
873
|
"v2.application_keys_sort" => "ApplicationKeysSort",
|
|
863
874
|
"v2.application_keys_type" => "ApplicationKeysType",
|
|
864
875
|
"v2.application_key_update_attributes" => "ApplicationKeyUpdateAttributes",
|
|
@@ -1054,6 +1065,8 @@ module DatadogAPIClient
|
|
|
1054
1065
|
"v2.containers_response_links" => "ContainersResponseLinks",
|
|
1055
1066
|
"v2.container_type" => "ContainerType",
|
|
1056
1067
|
"v2.content_encoding" => "ContentEncoding",
|
|
1068
|
+
"v2.cost_attribution_aggregates_body" => "CostAttributionAggregatesBody",
|
|
1069
|
+
"v2.cost_attribution_type" => "CostAttributionType",
|
|
1057
1070
|
"v2.cost_by_org" => "CostByOrg",
|
|
1058
1071
|
"v2.cost_by_org_attributes" => "CostByOrgAttributes",
|
|
1059
1072
|
"v2.cost_by_org_response" => "CostByOrgResponse",
|
|
@@ -1078,6 +1091,19 @@ module DatadogAPIClient
|
|
|
1078
1091
|
"v2.detailed_finding" => "DetailedFinding",
|
|
1079
1092
|
"v2.detailed_finding_attributes" => "DetailedFindingAttributes",
|
|
1080
1093
|
"v2.detailed_finding_type" => "DetailedFindingType",
|
|
1094
|
+
"v2.dora_deployment_request" => "DORADeploymentRequest",
|
|
1095
|
+
"v2.dora_deployment_request_attributes" => "DORADeploymentRequestAttributes",
|
|
1096
|
+
"v2.dora_deployment_request_data" => "DORADeploymentRequestData",
|
|
1097
|
+
"v2.dora_deployment_response" => "DORADeploymentResponse",
|
|
1098
|
+
"v2.dora_deployment_response_data" => "DORADeploymentResponseData",
|
|
1099
|
+
"v2.dora_deployment_type" => "DORADeploymentType",
|
|
1100
|
+
"v2.dora_git_info" => "DORAGitInfo",
|
|
1101
|
+
"v2.dora_incident_request" => "DORAIncidentRequest",
|
|
1102
|
+
"v2.dora_incident_request_attributes" => "DORAIncidentRequestAttributes",
|
|
1103
|
+
"v2.dora_incident_request_data" => "DORAIncidentRequestData",
|
|
1104
|
+
"v2.dora_incident_response" => "DORAIncidentResponse",
|
|
1105
|
+
"v2.dora_incident_response_data" => "DORAIncidentResponseData",
|
|
1106
|
+
"v2.dora_incident_type" => "DORAIncidentType",
|
|
1081
1107
|
"v2.downtime_create_request" => "DowntimeCreateRequest",
|
|
1082
1108
|
"v2.downtime_create_request_attributes" => "DowntimeCreateRequestAttributes",
|
|
1083
1109
|
"v2.downtime_create_request_data" => "DowntimeCreateRequestData",
|
|
@@ -1230,6 +1256,7 @@ module DatadogAPIClient
|
|
|
1230
1256
|
"v2.incident_field_attributes_single_value" => "IncidentFieldAttributesSingleValue",
|
|
1231
1257
|
"v2.incident_field_attributes_single_value_type" => "IncidentFieldAttributesSingleValueType",
|
|
1232
1258
|
"v2.incident_field_attributes_value_type" => "IncidentFieldAttributesValueType",
|
|
1259
|
+
"v2.incident_impacts_type" => "IncidentImpactsType",
|
|
1233
1260
|
"v2.incident_integration_metadata_attributes" => "IncidentIntegrationMetadataAttributes",
|
|
1234
1261
|
"v2.incident_integration_metadata_create_data" => "IncidentIntegrationMetadataCreateData",
|
|
1235
1262
|
"v2.incident_integration_metadata_create_request" => "IncidentIntegrationMetadataCreateRequest",
|
|
@@ -1241,9 +1268,12 @@ module DatadogAPIClient
|
|
|
1241
1268
|
"v2.incident_integration_metadata_response_data" => "IncidentIntegrationMetadataResponseData",
|
|
1242
1269
|
"v2.incident_integration_metadata_response_included_item" => "IncidentIntegrationMetadataResponseIncludedItem",
|
|
1243
1270
|
"v2.incident_integration_metadata_type" => "IncidentIntegrationMetadataType",
|
|
1271
|
+
"v2.incident_integration_relationships" => "IncidentIntegrationRelationships",
|
|
1272
|
+
"v2.incident_non_datadog_creator" => "IncidentNonDatadogCreator",
|
|
1244
1273
|
"v2.incident_notification_handle" => "IncidentNotificationHandle",
|
|
1245
1274
|
"v2.incident_postmortem_type" => "IncidentPostmortemType",
|
|
1246
1275
|
"v2.incident_related_object" => "IncidentRelatedObject",
|
|
1276
|
+
"v2.incident_responders_type" => "IncidentRespondersType",
|
|
1247
1277
|
"v2.incident_response" => "IncidentResponse",
|
|
1248
1278
|
"v2.incident_response_attributes" => "IncidentResponseAttributes",
|
|
1249
1279
|
"v2.incident_response_data" => "IncidentResponseData",
|
|
@@ -1277,6 +1307,7 @@ module DatadogAPIClient
|
|
|
1277
1307
|
"v2.incident_service_update_attributes" => "IncidentServiceUpdateAttributes",
|
|
1278
1308
|
"v2.incident_service_update_data" => "IncidentServiceUpdateData",
|
|
1279
1309
|
"v2.incident_service_update_request" => "IncidentServiceUpdateRequest",
|
|
1310
|
+
"v2.incident_severity" => "IncidentSeverity",
|
|
1280
1311
|
"v2.incidents_response" => "IncidentsResponse",
|
|
1281
1312
|
"v2.incident_team_create_attributes" => "IncidentTeamCreateAttributes",
|
|
1282
1313
|
"v2.incident_team_create_data" => "IncidentTeamCreateData",
|
|
@@ -1304,6 +1335,7 @@ module DatadogAPIClient
|
|
|
1304
1335
|
"v2.incident_todo_list_response" => "IncidentTodoListResponse",
|
|
1305
1336
|
"v2.incident_todo_patch_data" => "IncidentTodoPatchData",
|
|
1306
1337
|
"v2.incident_todo_patch_request" => "IncidentTodoPatchRequest",
|
|
1338
|
+
"v2.incident_todo_relationships" => "IncidentTodoRelationships",
|
|
1307
1339
|
"v2.incident_todo_response" => "IncidentTodoResponse",
|
|
1308
1340
|
"v2.incident_todo_response_data" => "IncidentTodoResponseData",
|
|
1309
1341
|
"v2.incident_todo_response_included_item" => "IncidentTodoResponseIncludedItem",
|
|
@@ -1313,6 +1345,7 @@ module DatadogAPIClient
|
|
|
1313
1345
|
"v2.incident_update_data" => "IncidentUpdateData",
|
|
1314
1346
|
"v2.incident_update_relationships" => "IncidentUpdateRelationships",
|
|
1315
1347
|
"v2.incident_update_request" => "IncidentUpdateRequest",
|
|
1348
|
+
"v2.incident_user_defined_field_type" => "IncidentUserDefinedFieldType",
|
|
1316
1349
|
"v2.intake_payload_accepted" => "IntakePayloadAccepted",
|
|
1317
1350
|
"v2.ip_allowlist_attributes" => "IPAllowlistAttributes",
|
|
1318
1351
|
"v2.ip_allowlist_data" => "IPAllowlistData",
|
|
@@ -1494,8 +1527,23 @@ module DatadogAPIClient
|
|
|
1494
1527
|
"v2.monitor_downtime_match_response_attributes" => "MonitorDowntimeMatchResponseAttributes",
|
|
1495
1528
|
"v2.monitor_downtime_match_response_data" => "MonitorDowntimeMatchResponseData",
|
|
1496
1529
|
"v2.monitor_type" => "MonitorType",
|
|
1530
|
+
"v2.monthly_cost_attribution_attributes" => "MonthlyCostAttributionAttributes",
|
|
1531
|
+
"v2.monthly_cost_attribution_body" => "MonthlyCostAttributionBody",
|
|
1532
|
+
"v2.monthly_cost_attribution_meta" => "MonthlyCostAttributionMeta",
|
|
1533
|
+
"v2.monthly_cost_attribution_pagination" => "MonthlyCostAttributionPagination",
|
|
1534
|
+
"v2.monthly_cost_attribution_response" => "MonthlyCostAttributionResponse",
|
|
1497
1535
|
"v2.nullable_relationship_to_user" => "NullableRelationshipToUser",
|
|
1498
1536
|
"v2.nullable_relationship_to_user_data" => "NullableRelationshipToUserData",
|
|
1537
|
+
"v2.okta_account" => "OktaAccount",
|
|
1538
|
+
"v2.okta_account_attributes" => "OktaAccountAttributes",
|
|
1539
|
+
"v2.okta_account_request" => "OktaAccountRequest",
|
|
1540
|
+
"v2.okta_account_response" => "OktaAccountResponse",
|
|
1541
|
+
"v2.okta_account_response_data" => "OktaAccountResponseData",
|
|
1542
|
+
"v2.okta_accounts_response" => "OktaAccountsResponse",
|
|
1543
|
+
"v2.okta_account_type" => "OktaAccountType",
|
|
1544
|
+
"v2.okta_account_update_request" => "OktaAccountUpdateRequest",
|
|
1545
|
+
"v2.okta_account_update_request_attributes" => "OktaAccountUpdateRequestAttributes",
|
|
1546
|
+
"v2.okta_account_update_request_data" => "OktaAccountUpdateRequestData",
|
|
1499
1547
|
"v2.on_demand_concurrency_cap" => "OnDemandConcurrencyCap",
|
|
1500
1548
|
"v2.on_demand_concurrency_cap_attributes" => "OnDemandConcurrencyCapAttributes",
|
|
1501
1549
|
"v2.on_demand_concurrency_cap_response" => "OnDemandConcurrencyCapResponse",
|
|
@@ -1559,14 +1607,24 @@ module DatadogAPIClient
|
|
|
1559
1607
|
"v2.process_summary" => "ProcessSummary",
|
|
1560
1608
|
"v2.process_summary_attributes" => "ProcessSummaryAttributes",
|
|
1561
1609
|
"v2.process_summary_type" => "ProcessSummaryType",
|
|
1610
|
+
"v2.projected_cost" => "ProjectedCost",
|
|
1611
|
+
"v2.projected_cost_attributes" => "ProjectedCostAttributes",
|
|
1612
|
+
"v2.projected_cost_response" => "ProjectedCostResponse",
|
|
1613
|
+
"v2.projected_cost_type" => "ProjectedCostType",
|
|
1562
1614
|
"v2.query_formula" => "QueryFormula",
|
|
1563
1615
|
"v2.query_sort_order" => "QuerySortOrder",
|
|
1564
1616
|
"v2.relationship_to_incident_attachment" => "RelationshipToIncidentAttachment",
|
|
1565
1617
|
"v2.relationship_to_incident_attachment_data" => "RelationshipToIncidentAttachmentData",
|
|
1618
|
+
"v2.relationship_to_incident_impact_data" => "RelationshipToIncidentImpactData",
|
|
1619
|
+
"v2.relationship_to_incident_impacts" => "RelationshipToIncidentImpacts",
|
|
1566
1620
|
"v2.relationship_to_incident_integration_metadata_data" => "RelationshipToIncidentIntegrationMetadataData",
|
|
1567
1621
|
"v2.relationship_to_incident_integration_metadatas" => "RelationshipToIncidentIntegrationMetadatas",
|
|
1568
1622
|
"v2.relationship_to_incident_postmortem" => "RelationshipToIncidentPostmortem",
|
|
1569
1623
|
"v2.relationship_to_incident_postmortem_data" => "RelationshipToIncidentPostmortemData",
|
|
1624
|
+
"v2.relationship_to_incident_responder_data" => "RelationshipToIncidentResponderData",
|
|
1625
|
+
"v2.relationship_to_incident_responders" => "RelationshipToIncidentResponders",
|
|
1626
|
+
"v2.relationship_to_incident_user_defined_field_data" => "RelationshipToIncidentUserDefinedFieldData",
|
|
1627
|
+
"v2.relationship_to_incident_user_defined_fields" => "RelationshipToIncidentUserDefinedFields",
|
|
1570
1628
|
"v2.relationship_to_organization" => "RelationshipToOrganization",
|
|
1571
1629
|
"v2.relationship_to_organization_data" => "RelationshipToOrganizationData",
|
|
1572
1630
|
"v2.relationship_to_organizations" => "RelationshipToOrganizations",
|
|
@@ -1894,6 +1952,7 @@ module DatadogAPIClient
|
|
|
1894
1952
|
"v2.service_definition_v2_version" => "ServiceDefinitionV2Version",
|
|
1895
1953
|
"v2.slack_integration_metadata" => "SlackIntegrationMetadata",
|
|
1896
1954
|
"v2.slack_integration_metadata_channel_item" => "SlackIntegrationMetadataChannelItem",
|
|
1955
|
+
"v2.sort_direction" => "SortDirection",
|
|
1897
1956
|
"v2.span" => "Span",
|
|
1898
1957
|
"v2.spans_aggregate_bucket" => "SpansAggregateBucket",
|
|
1899
1958
|
"v2.spans_aggregate_bucket_attributes" => "SpansAggregateBucketAttributes",
|
|
@@ -2090,6 +2149,7 @@ module DatadogAPIClient
|
|
|
2090
2149
|
"v2.container_images_api" => "ContainerImagesAPI",
|
|
2091
2150
|
"v2.containers_api" => "ContainersAPI",
|
|
2092
2151
|
"v2.dashboard_lists_api" => "DashboardListsAPI",
|
|
2152
|
+
"v2.dora_metrics_api" => "DORAMetricsAPI",
|
|
2093
2153
|
"v2.downtimes_api" => "DowntimesAPI",
|
|
2094
2154
|
"v2.events_api" => "EventsAPI",
|
|
2095
2155
|
"v2.fastly_integration_api" => "FastlyIntegrationAPI",
|
|
@@ -2104,6 +2164,7 @@ module DatadogAPIClient
|
|
|
2104
2164
|
"v2.logs_metrics_api" => "LogsMetricsAPI",
|
|
2105
2165
|
"v2.metrics_api" => "MetricsAPI",
|
|
2106
2166
|
"v2.monitors_api" => "MonitorsAPI",
|
|
2167
|
+
"v2.okta_integration_api" => "OktaIntegrationAPI",
|
|
2107
2168
|
"v2.opsgenie_integration_api" => "OpsgenieIntegrationAPI",
|
|
2108
2169
|
"v2.organizations_api" => "OrganizationsAPI",
|
|
2109
2170
|
"v2.powerpack_api" => "PowerpackAPI",
|
|
@@ -175,7 +175,7 @@ module DatadogAPIClient::V1
|
|
|
175
175
|
|
|
176
176
|
# Mute a host.
|
|
177
177
|
#
|
|
178
|
-
# Mute a host.
|
|
178
|
+
# Mute a host. **Note:** This creates a [Downtime V2](https://docs.datadoghq.com/api/latest/downtimes/#schedule-a-downtime) for the host.
|
|
179
179
|
#
|
|
180
180
|
# @param host_name [String] Name of the host to mute.
|
|
181
181
|
# @param body [HostMuteSettings] Mute a host request body.
|
|
@@ -1501,6 +1501,78 @@ module DatadogAPIClient::V1
|
|
|
1501
1501
|
end
|
|
1502
1502
|
end
|
|
1503
1503
|
|
|
1504
|
+
# Patch a Synthetic test.
|
|
1505
|
+
#
|
|
1506
|
+
# @see #patch_test_with_http_info
|
|
1507
|
+
def patch_test(public_id, body, opts = {})
|
|
1508
|
+
data, _status_code, _headers = patch_test_with_http_info(public_id, body, opts)
|
|
1509
|
+
data
|
|
1510
|
+
end
|
|
1511
|
+
|
|
1512
|
+
# Patch a Synthetic test.
|
|
1513
|
+
#
|
|
1514
|
+
# Patch the configuration of a Synthetic test with partial data.
|
|
1515
|
+
#
|
|
1516
|
+
# @param public_id [String] The public ID of the test to patch.
|
|
1517
|
+
# @param body [SyntheticsPatchTestBody] [JSON Patch](https://jsonpatch.com/) compliant list of operations
|
|
1518
|
+
# @param opts [Hash] the optional parameters
|
|
1519
|
+
# @return [Array<(SyntheticsTestDetails, Integer, Hash)>] SyntheticsTestDetails data, response status code and response headers
|
|
1520
|
+
def patch_test_with_http_info(public_id, body, opts = {})
|
|
1521
|
+
|
|
1522
|
+
if @api_client.config.debugging
|
|
1523
|
+
@api_client.config.logger.debug 'Calling API: SyntheticsAPI.patch_test ...'
|
|
1524
|
+
end
|
|
1525
|
+
# verify the required parameter 'public_id' is set
|
|
1526
|
+
if @api_client.config.client_side_validation && public_id.nil?
|
|
1527
|
+
fail ArgumentError, "Missing the required parameter 'public_id' when calling SyntheticsAPI.patch_test"
|
|
1528
|
+
end
|
|
1529
|
+
# verify the required parameter 'body' is set
|
|
1530
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1531
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.patch_test"
|
|
1532
|
+
end
|
|
1533
|
+
# resource path
|
|
1534
|
+
local_var_path = '/api/v1/synthetics/tests/{public_id}'.sub('{public_id}', CGI.escape(public_id.to_s).gsub('%2F', '/'))
|
|
1535
|
+
|
|
1536
|
+
# query parameters
|
|
1537
|
+
query_params = opts[:query_params] || {}
|
|
1538
|
+
|
|
1539
|
+
# header parameters
|
|
1540
|
+
header_params = opts[:header_params] || {}
|
|
1541
|
+
# HTTP header 'Accept' (if needed)
|
|
1542
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1543
|
+
# HTTP header 'Content-Type'
|
|
1544
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1545
|
+
|
|
1546
|
+
# form parameters
|
|
1547
|
+
form_params = opts[:form_params] || {}
|
|
1548
|
+
|
|
1549
|
+
# http body (model)
|
|
1550
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1551
|
+
|
|
1552
|
+
# return_type
|
|
1553
|
+
return_type = opts[:debug_return_type] || 'SyntheticsTestDetails'
|
|
1554
|
+
|
|
1555
|
+
# auth_names
|
|
1556
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
1557
|
+
|
|
1558
|
+
new_options = opts.merge(
|
|
1559
|
+
:operation => :patch_test,
|
|
1560
|
+
:header_params => header_params,
|
|
1561
|
+
:query_params => query_params,
|
|
1562
|
+
:form_params => form_params,
|
|
1563
|
+
:body => post_body,
|
|
1564
|
+
:auth_names => auth_names,
|
|
1565
|
+
:return_type => return_type,
|
|
1566
|
+
:api_version => "V1"
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
1570
|
+
if @api_client.config.debugging
|
|
1571
|
+
@api_client.config.logger.debug "API called: SyntheticsAPI#patch_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1572
|
+
end
|
|
1573
|
+
return data, status_code, headers
|
|
1574
|
+
end
|
|
1575
|
+
|
|
1504
1576
|
# Trigger tests from CI/CD pipelines.
|
|
1505
1577
|
#
|
|
1506
1578
|
# @see #trigger_ci_tests_with_http_info
|
|
@@ -1719,7 +1791,7 @@ module DatadogAPIClient::V1
|
|
|
1719
1791
|
#
|
|
1720
1792
|
# Edit the configuration of a Synthetic browser test.
|
|
1721
1793
|
#
|
|
1722
|
-
# @param public_id [String] The public ID of the test to
|
|
1794
|
+
# @param public_id [String] The public ID of the test to edit.
|
|
1723
1795
|
# @param body [SyntheticsBrowserTest] New test details to be saved.
|
|
1724
1796
|
# @param opts [Hash] the optional parameters
|
|
1725
1797
|
# @return [Array<(SyntheticsBrowserTest, Integer, Hash)>] SyntheticsBrowserTest data, response status code and response headers
|
|
@@ -38,7 +38,8 @@ module DatadogAPIClient::V1
|
|
|
38
38
|
# Only container apps that match one of the defined tags are imported into Datadog.
|
|
39
39
|
attr_accessor :container_app_filters
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration.
|
|
42
|
+
# Note: This requires resource_collection_enabled to be set to true.
|
|
42
43
|
attr_accessor :cspm_enabled
|
|
43
44
|
|
|
44
45
|
# Enable custom metrics for your organization.
|
|
@@ -57,6 +58,9 @@ module DatadogAPIClient::V1
|
|
|
57
58
|
# Your New Azure Active Directory ID.
|
|
58
59
|
attr_accessor :new_tenant_name
|
|
59
60
|
|
|
61
|
+
# When enabled, Datadog collects metadata and configuration info from cloud resources (compute instances, databases, load balancers, etc.) monitored by this app registration.
|
|
62
|
+
attr_accessor :resource_collection_enabled
|
|
63
|
+
|
|
60
64
|
# Your Azure Active Directory ID.
|
|
61
65
|
attr_accessor :tenant_name
|
|
62
66
|
|
|
@@ -75,6 +79,7 @@ module DatadogAPIClient::V1
|
|
|
75
79
|
:'host_filters' => :'host_filters',
|
|
76
80
|
:'new_client_id' => :'new_client_id',
|
|
77
81
|
:'new_tenant_name' => :'new_tenant_name',
|
|
82
|
+
:'resource_collection_enabled' => :'resource_collection_enabled',
|
|
78
83
|
:'tenant_name' => :'tenant_name'
|
|
79
84
|
}
|
|
80
85
|
end
|
|
@@ -94,6 +99,7 @@ module DatadogAPIClient::V1
|
|
|
94
99
|
:'host_filters' => :'String',
|
|
95
100
|
:'new_client_id' => :'String',
|
|
96
101
|
:'new_tenant_name' => :'String',
|
|
102
|
+
:'resource_collection_enabled' => :'Boolean',
|
|
97
103
|
:'tenant_name' => :'String'
|
|
98
104
|
}
|
|
99
105
|
end
|
|
@@ -160,6 +166,10 @@ module DatadogAPIClient::V1
|
|
|
160
166
|
self.new_tenant_name = attributes[:'new_tenant_name']
|
|
161
167
|
end
|
|
162
168
|
|
|
169
|
+
if attributes.key?(:'resource_collection_enabled')
|
|
170
|
+
self.resource_collection_enabled = attributes[:'resource_collection_enabled']
|
|
171
|
+
end
|
|
172
|
+
|
|
163
173
|
if attributes.key?(:'tenant_name')
|
|
164
174
|
self.tenant_name = attributes[:'tenant_name']
|
|
165
175
|
end
|
|
@@ -182,6 +192,7 @@ module DatadogAPIClient::V1
|
|
|
182
192
|
host_filters == o.host_filters &&
|
|
183
193
|
new_client_id == o.new_client_id &&
|
|
184
194
|
new_tenant_name == o.new_tenant_name &&
|
|
195
|
+
resource_collection_enabled == o.resource_collection_enabled &&
|
|
185
196
|
tenant_name == o.tenant_name
|
|
186
197
|
end
|
|
187
198
|
|
|
@@ -189,7 +200,7 @@ module DatadogAPIClient::V1
|
|
|
189
200
|
# @return [Integer] Hash code
|
|
190
201
|
# @!visibility private
|
|
191
202
|
def hash
|
|
192
|
-
[app_service_plan_filters, automute, client_id, client_secret, container_app_filters, cspm_enabled, custom_metrics_enabled, errors, host_filters, new_client_id, new_tenant_name, tenant_name].hash
|
|
203
|
+
[app_service_plan_filters, automute, client_id, client_secret, container_app_filters, cspm_enabled, custom_metrics_enabled, errors, host_filters, new_client_id, new_tenant_name, resource_collection_enabled, tenant_name].hash
|
|
193
204
|
end
|
|
194
205
|
end
|
|
195
206
|
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# Wrapper around an array of [JSON Patch](https://jsonpatch.com) operations to perform on the test
|
|
21
|
+
class SyntheticsPatchTestBody
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# Array of [JSON Patch](https://jsonpatch.com) operations to perform on the test
|
|
25
|
+
attr_accessor :data
|
|
26
|
+
|
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
|
+
# @!visibility private
|
|
29
|
+
def self.attribute_map
|
|
30
|
+
{
|
|
31
|
+
:'data' => :'data'
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
# @!visibility private
|
|
37
|
+
def self.openapi_types
|
|
38
|
+
{
|
|
39
|
+
:'data' => :'Array<SyntheticsPatchTestOperation>'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Initializes the object
|
|
44
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
45
|
+
# @!visibility private
|
|
46
|
+
def initialize(attributes = {})
|
|
47
|
+
if (!attributes.is_a?(Hash))
|
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsPatchTestBody` initialize method"
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
53
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsPatchTestBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
55
|
+
end
|
|
56
|
+
h[k.to_sym] = v
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if attributes.key?(:'data')
|
|
60
|
+
if (value = attributes[:'data']).is_a?(Array)
|
|
61
|
+
self.data = value
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Checks equality by comparing each attribute.
|
|
67
|
+
# @param o [Object] Object to be compared
|
|
68
|
+
# @!visibility private
|
|
69
|
+
def ==(o)
|
|
70
|
+
return true if self.equal?(o)
|
|
71
|
+
self.class == o.class &&
|
|
72
|
+
data == o.data
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Calculates hash code according to all attributes.
|
|
76
|
+
# @return [Integer] Hash code
|
|
77
|
+
# @!visibility private
|
|
78
|
+
def hash
|
|
79
|
+
[data].hash
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# A single [JSON Patch](https://jsonpatch.com) operation to perform on the test
|
|
21
|
+
class SyntheticsPatchTestOperation
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# The operation to perform
|
|
25
|
+
attr_accessor :op
|
|
26
|
+
|
|
27
|
+
# The path to the value to modify
|
|
28
|
+
attr_accessor :path
|
|
29
|
+
|
|
30
|
+
# A value to use in a [JSON Patch](https://jsonpatch.com) operation
|
|
31
|
+
attr_accessor :value
|
|
32
|
+
|
|
33
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
|
+
# @!visibility private
|
|
35
|
+
def self.attribute_map
|
|
36
|
+
{
|
|
37
|
+
:'op' => :'op',
|
|
38
|
+
:'path' => :'path',
|
|
39
|
+
:'value' => :'value'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Attribute type mapping.
|
|
44
|
+
# @!visibility private
|
|
45
|
+
def self.openapi_types
|
|
46
|
+
{
|
|
47
|
+
:'op' => :'SyntheticsPatchTestOperationName',
|
|
48
|
+
:'path' => :'String',
|
|
49
|
+
:'value' => :'Object'
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Initializes the object
|
|
54
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
55
|
+
# @!visibility private
|
|
56
|
+
def initialize(attributes = {})
|
|
57
|
+
if (!attributes.is_a?(Hash))
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsPatchTestOperation` initialize method"
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
63
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsPatchTestOperation`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
65
|
+
end
|
|
66
|
+
h[k.to_sym] = v
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if attributes.key?(:'op')
|
|
70
|
+
self.op = attributes[:'op']
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
if attributes.key?(:'path')
|
|
74
|
+
self.path = attributes[:'path']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'value')
|
|
78
|
+
self.value = attributes[:'value']
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Checks equality by comparing each attribute.
|
|
83
|
+
# @param o [Object] Object to be compared
|
|
84
|
+
# @!visibility private
|
|
85
|
+
def ==(o)
|
|
86
|
+
return true if self.equal?(o)
|
|
87
|
+
self.class == o.class &&
|
|
88
|
+
op == o.op &&
|
|
89
|
+
path == o.path &&
|
|
90
|
+
value == o.value
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Calculates hash code according to all attributes.
|
|
94
|
+
# @return [Integer] Hash code
|
|
95
|
+
# @!visibility private
|
|
96
|
+
def hash
|
|
97
|
+
[op, path, value].hash
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# The operation to perform
|
|
21
|
+
class SyntheticsPatchTestOperationName
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
ADD = "add".freeze
|
|
25
|
+
REMOVE = "remove".freeze
|
|
26
|
+
REPLACE = "replace".freeze
|
|
27
|
+
MOVE = "move".freeze
|
|
28
|
+
COPY = "copy".freeze
|
|
29
|
+
TEST = "test".freeze
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -156,6 +156,12 @@ module DatadogAPIClient::V1
|
|
|
156
156
|
# Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for the given org.
|
|
157
157
|
attr_accessor :cspm_host_top99p
|
|
158
158
|
|
|
159
|
+
# Shows the average number of distinct historical custom metrics over all hours in the current date for the given org.
|
|
160
|
+
attr_accessor :custom_historical_ts_avg
|
|
161
|
+
|
|
162
|
+
# Shows the average number of distinct live custom metrics over all hours in the current date for the given org.
|
|
163
|
+
attr_accessor :custom_live_ts_avg
|
|
164
|
+
|
|
159
165
|
# Shows the average number of distinct custom metrics over all hours in the current date for the given org.
|
|
160
166
|
attr_accessor :custom_ts_avg
|
|
161
167
|
|
|
@@ -382,6 +388,8 @@ module DatadogAPIClient::V1
|
|
|
382
388
|
:'cspm_container_hwm' => :'cspm_container_hwm',
|
|
383
389
|
:'cspm_gcp_host_top99p' => :'cspm_gcp_host_top99p',
|
|
384
390
|
:'cspm_host_top99p' => :'cspm_host_top99p',
|
|
391
|
+
:'custom_historical_ts_avg' => :'custom_historical_ts_avg',
|
|
392
|
+
:'custom_live_ts_avg' => :'custom_live_ts_avg',
|
|
385
393
|
:'custom_ts_avg' => :'custom_ts_avg',
|
|
386
394
|
:'cws_container_count_avg' => :'cws_container_count_avg',
|
|
387
395
|
:'cws_host_top99p' => :'cws_host_top99p',
|
|
@@ -493,6 +501,8 @@ module DatadogAPIClient::V1
|
|
|
493
501
|
:'cspm_container_hwm' => :'Integer',
|
|
494
502
|
:'cspm_gcp_host_top99p' => :'Integer',
|
|
495
503
|
:'cspm_host_top99p' => :'Integer',
|
|
504
|
+
:'custom_historical_ts_avg' => :'Integer',
|
|
505
|
+
:'custom_live_ts_avg' => :'Integer',
|
|
496
506
|
:'custom_ts_avg' => :'Integer',
|
|
497
507
|
:'cws_container_count_avg' => :'Integer',
|
|
498
508
|
:'cws_host_top99p' => :'Integer',
|
|
@@ -751,6 +761,14 @@ module DatadogAPIClient::V1
|
|
|
751
761
|
self.cspm_host_top99p = attributes[:'cspm_host_top99p']
|
|
752
762
|
end
|
|
753
763
|
|
|
764
|
+
if attributes.key?(:'custom_historical_ts_avg')
|
|
765
|
+
self.custom_historical_ts_avg = attributes[:'custom_historical_ts_avg']
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
if attributes.key?(:'custom_live_ts_avg')
|
|
769
|
+
self.custom_live_ts_avg = attributes[:'custom_live_ts_avg']
|
|
770
|
+
end
|
|
771
|
+
|
|
754
772
|
if attributes.key?(:'custom_ts_avg')
|
|
755
773
|
self.custom_ts_avg = attributes[:'custom_ts_avg']
|
|
756
774
|
end
|
|
@@ -1039,6 +1057,8 @@ module DatadogAPIClient::V1
|
|
|
1039
1057
|
cspm_container_hwm == o.cspm_container_hwm &&
|
|
1040
1058
|
cspm_gcp_host_top99p == o.cspm_gcp_host_top99p &&
|
|
1041
1059
|
cspm_host_top99p == o.cspm_host_top99p &&
|
|
1060
|
+
custom_historical_ts_avg == o.custom_historical_ts_avg &&
|
|
1061
|
+
custom_live_ts_avg == o.custom_live_ts_avg &&
|
|
1042
1062
|
custom_ts_avg == o.custom_ts_avg &&
|
|
1043
1063
|
cws_container_count_avg == o.cws_container_count_avg &&
|
|
1044
1064
|
cws_host_top99p == o.cws_host_top99p &&
|
|
@@ -1104,7 +1124,7 @@ module DatadogAPIClient::V1
|
|
|
1104
1124
|
# @return [Integer] Hash code
|
|
1105
1125
|
# @!visibility private
|
|
1106
1126
|
def hash
|
|
1107
|
-
[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, 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
|
|
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
|
|
1108
1128
|
end
|
|
1109
1129
|
end
|
|
1110
1130
|
end
|