datadog_api_client 2.40.0 → 2.41.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/.generated-info +2 -2
- data/.generator/schemas/v1/openapi.yaml +35 -0
- data/.generator/schemas/v2/openapi.yaml +3544 -93
- data/CHANGELOG.md +30 -0
- data/examples/v1/dashboards/CreateDashboard_3066042014.rb +1 -0
- data/examples/v1/dashboards/CreateDashboard_3451918078.rb +1 -0
- data/examples/v1/dashboards/CreateDashboard_4262729673.rb +1 -0
- data/examples/v2/agentless-scanning/CreateAwsOnDemandTask.rb +1 -1
- data/examples/v2/agentless-scanning/GetAwsScanOptions.rb +8 -0
- data/examples/v2/agentless-scanning/ListAwsScanOptions.rb +1 -1
- data/examples/v2/cloud-cost-management/DeleteCostAWSCURConfig.rb +1 -1
- data/examples/v2/cloud-cost-management/DeleteCostAzureUCConfig.rb +1 -1
- data/examples/v2/cloud-cost-management/DeleteCostGCPUsageCostConfig.rb +1 -1
- data/examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb +1 -1
- data/examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb +1 -1
- data/examples/v2/cloud-cost-management/UpdateCostGCPUsageCostConfig.rb +1 -1
- data/examples/v2/datasets/CreateDataset.rb +1 -1
- data/examples/v2/datasets/UpdateDataset.rb +1 -1
- data/examples/v2/error-tracking/GetIssue.rb +8 -0
- data/examples/v2/error-tracking/SearchIssues.rb +17 -0
- data/examples/v2/error-tracking/UpdateIssueAssignee.rb +15 -0
- data/examples/v2/error-tracking/UpdateIssueState.rb +18 -0
- data/examples/v2/incidents/CreateIncidentNotificationTemplate.rb +31 -0
- data/examples/v2/incidents/DeleteIncidentNotificationTemplate.rb +8 -0
- data/examples/v2/incidents/DeleteIncidentNotificationTemplate_1602689347.rb +11 -0
- data/examples/v2/incidents/GetIncidentNotificationTemplate.rb +11 -0
- data/examples/v2/incidents/ListIncidentNotificationTemplates.rb +8 -0
- data/examples/v2/incidents/UpdateIncidentNotificationTemplate.rb +24 -0
- data/examples/v2/org-connections/CreateOrgConnections.rb +24 -0
- data/examples/v2/org-connections/DeleteOrgConnections.rb +8 -0
- data/examples/v2/org-connections/ListOrgConnections.rb +5 -0
- data/examples/v2/org-connections/UpdateOrgConnections.rb +21 -0
- data/examples/v2/rum/CreateRUMApplication_1946294560.rb +17 -0
- data/examples/v2/rum/UpdateRUMApplication_394074053.rb +20 -0
- data/examples/v2/security-monitoring/ConvertExistingSecurityMonitoringRule.rb +3 -3
- data/examples/v2/security-monitoring/ConvertSecurityMonitoringRuleFromJSONToTerraform.rb +1 -1
- data/examples/v2/security-monitoring/GetSecurityMonitoringHistsignal.rb +8 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringHistsignalsByJobId.rb +8 -0
- data/examples/v2/security-monitoring/GetSuppressionsAffectingFutureRule.rb +36 -0
- data/examples/v2/security-monitoring/GetSuppressionsAffectingRule.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringHistsignals.rb +8 -0
- data/examples/v2/security-monitoring/SearchSecurityMonitoringHistsignals.rb +24 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringSuppression.rb +18 -0
- data/examples/v2/sensitive-data-scanner/CreateScanningRule_502667299.rb +37 -0
- data/examples/v2/service-scorecards/UpdateScorecardOutcomesAsync.rb +27 -0
- data/examples/v2/spa/GetSPARecommendations.rb +8 -0
- data/examples/v2/teams/SyncTeams.rb +18 -0
- data/examples/v2/teams/SyncTeams_3215592344.rb +18 -0
- data/lib/datadog_api_client/configuration.rb +12 -0
- data/lib/datadog_api_client/inflector.rb +166 -0
- data/lib/datadog_api_client/v1/models/logs_api_limit_reached_response.rb +105 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_test_step.rb +11 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_wait_step.rb +11 -1
- data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +13 -3
- data/lib/datadog_api_client/v1/models/widget_legacy_live_span.rb +11 -1
- data/lib/datadog_api_client/v1/models/widget_new_fixed_span.rb +11 -1
- data/lib/datadog_api_client/v1/models/widget_new_live_span.rb +11 -1
- data/lib/datadog_api_client/v2/api/action_connection_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/agentless_scanning_api.rb +67 -2
- data/lib/datadog_api_client/v2/api/app_builder_api.rb +8 -8
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +14 -6
- data/lib/datadog_api_client/v2/api/error_tracking_api.rb +306 -0
- data/lib/datadog_api_client/v2/api/incidents_api.rb +369 -0
- data/lib/datadog_api_client/v2/api/monitors_api.rb +20 -0
- data/lib/datadog_api_client/v2/api/org_connections_api.rb +290 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +514 -0
- data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +73 -0
- data/lib/datadog_api_client/v2/api/spa_api.rb +102 -0
- data/lib/datadog_api_client/v2/api/teams_api.rb +83 -0
- data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +8 -8
- data/lib/datadog_api_client/v2/models/aws_cur_config.rb +1 -1
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/aws_namespace_filters_exclude_only.rb +4 -4
- data/lib/datadog_api_client/v2/models/azure_uc_config.rb +1 -1
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair.rb +1 -1
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/component_recommendation.rb +123 -0
- data/lib/datadog_api_client/v2/models/cpu.rb +125 -0
- data/lib/datadog_api_client/v2/models/create_incident_notification_template_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/dataset_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/dataset_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/dataset_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/estimation.rb +145 -0
- data/lib/datadog_api_client/v2/models/get_issue_include_query_parameter_item.rb +28 -0
- data/lib/datadog_api_client/v2/models/google_meet_configuration_reference.rb +113 -0
- data/lib/datadog_api_client/v2/models/google_meet_configuration_reference_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_array.rb +147 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_array_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_array_meta_page.rb +115 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_attributes.rb +228 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_create_attributes.rb +186 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_create_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_create_data_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_included_items.rb +63 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_relationships.rb +125 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_response_data.rb +164 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_update_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_notification_template_update_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/incident_type_object.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_type_relationships.rb +155 -0
- data/lib/datadog_api_client/v2/models/issue.rb +175 -0
- data/lib/datadog_api_client/v2/models/issue_assignee_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/issue_attributes.rb +227 -0
- data/lib/datadog_api_client/v2/models/issue_case.rb +175 -0
- data/lib/datadog_api_client/v2/models/issue_case_attributes.rb +237 -0
- data/lib/datadog_api_client/v2/models/issue_case_insight.rb +125 -0
- data/lib/datadog_api_client/v2/models/issue_case_jira_issue.rb +115 -0
- data/lib/datadog_api_client/v2/models/issue_case_jira_issue_result.rb +135 -0
- data/lib/datadog_api_client/v2/models/issue_case_reference.rb +144 -0
- data/lib/datadog_api_client/v2/models/issue_case_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/issue_case_relationships.rb +145 -0
- data/lib/datadog_api_client/v2/models/issue_case_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issue_included.rb +64 -0
- data/lib/datadog_api_client/v2/models/issue_language.rb +52 -0
- data/lib/datadog_api_client/v2/models/issue_platform.rb +33 -0
- data/lib/datadog_api_client/v2/models/issue_reference.rb +144 -0
- data/lib/datadog_api_client/v2/models/issue_relationships.rb +125 -0
- data/lib/datadog_api_client/v2/models/issue_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/issue_state.rb +30 -0
- data/lib/datadog_api_client/v2/models/issue_team.rb +165 -0
- data/lib/datadog_api_client/v2/models/issue_team_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/issue_team_owners_relationship.rb +125 -0
- data/lib/datadog_api_client/v2/models/issue_team_reference.rb +144 -0
- data/lib/datadog_api_client/v2/models/issue_team_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issue_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issue_update_assignee_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/issue_update_assignee_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/issue_update_assignee_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issue_update_state_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/issue_update_state_request_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/issue_update_state_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/issue_update_state_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issue_user.rb +165 -0
- data/lib/datadog_api_client/v2/models/issue_user_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/issue_user_reference.rb +144 -0
- data/lib/datadog_api_client/v2/models/issue_user_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issues_search_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes.rb +195 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes_order_by.rb +29 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes_persona.rb +29 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes_track.rb +28 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issues_search_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/issues_search_result.rb +175 -0
- data/lib/datadog_api_client/v2/models/issues_search_result_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/issues_search_result_included.rb +65 -0
- data/lib/datadog_api_client/v2/models/issues_search_result_issue_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/issues_search_result_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/issues_search_result_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_configuration_reference.rb +113 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_configuration_reference_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_security_lake_destination.rb +252 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_security_lake_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +4 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_item.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_source_item.rb +2 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination.rb +208 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination_compression.rb +133 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination_compression_algorithm.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination_encoding.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor.rb +215 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor_remap.rb +207 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor.rb +253 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor_action.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor_mode.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination.rb +240 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_encoding.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing.rb +64 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing_bytes.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing_bytes_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing_character_delimited.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing_character_delimited_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing_newline_delimited.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_framing_newline_delimited_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_mode.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source.rb +196 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing.rb +66 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_bytes.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_bytes_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_character_delimited.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_character_delimited_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_chunked_gelf.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_chunked_gelf_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_newline_delimited.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_newline_delimited_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_octet_counting.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_framing_octet_counting_method.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_mode.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_connection.rb +186 -0
- data/lib/datadog_api_client/v2/models/org_connection_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/org_connection_create.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_connection_create_attributes.rb +129 -0
- data/lib/datadog_api_client/v2/models/org_connection_create_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_connection_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_connection_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/org_connection_list_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/org_connection_list_response_meta_page.rb +115 -0
- data/lib/datadog_api_client/v2/models/org_connection_org_relationship.rb +105 -0
- data/lib/datadog_api_client/v2/models/org_connection_org_relationship_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_connection_org_relationship_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_connection_relationships.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_connection_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_connection_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_connection_type_enum.rb +27 -0
- data/lib/datadog_api_client/v2/models/org_connection_update.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_connection_update_attributes.rb +129 -0
- data/lib/datadog_api_client/v2/models/org_connection_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_connection_user_relationship.rb +105 -0
- data/lib/datadog_api_client/v2/models/org_connection_user_relationship_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_connection_user_relationship_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/patch_incident_notification_template_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/recommendation_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/recommendation_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/recommendation_document.rb +123 -0
- data/lib/datadog_api_client/v2/models/recommendation_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_type.rb +123 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_type_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/rule_attributes.rb +33 -1
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/rum_event_processing_scale.rb +115 -0
- data/lib/datadog_api_client/v2/models/rum_event_processing_state.rb +28 -0
- data/lib/datadog_api_client/v2/models/rum_product_analytics_retention_scale.rb +115 -0
- data/lib/datadog_api_client/v2/models/rum_product_analytics_retention_state.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_product_scales.rb +115 -0
- data/lib/datadog_api_client/v2/models/search_issues_include_query_parameter_item.rb +29 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb +11 -1
- data/lib/datadog_api_client/v2/models/shift.rb +2 -2
- data/lib/datadog_api_client/v2/models/shift_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/shift_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/shift_data_relationships.rb +1 -1
- data/lib/datadog_api_client/v2/models/shift_included.rb +1 -1
- data/lib/datadog_api_client/v2/models/team_sync_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_sync_attributes_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_sync_attributes_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_sync_bulk_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_sync_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_sync_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_outcomes_async_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/update_outcomes_async_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_outcomes_async_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_outcomes_async_request_item.rb +175 -0
- data/lib/datadog_api_client/v2/models/update_outcomes_async_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/zoom_configuration_reference.rb +113 -0
- data/lib/datadog_api_client/v2/models/zoom_configuration_reference_data.rb +144 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +196 -1
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
|
|
21
21
|
class SyntheticsAPIWaitStep
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
+
# ID of the step.
|
25
|
+
attr_accessor :id
|
26
|
+
|
24
27
|
# The name of the step.
|
25
28
|
attr_reader :name
|
26
29
|
|
@@ -36,6 +39,7 @@ module DatadogAPIClient::V1
|
|
36
39
|
# @!visibility private
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
42
|
+
:'id' => :'id',
|
39
43
|
:'name' => :'name',
|
40
44
|
:'subtype' => :'subtype',
|
41
45
|
:'value' => :'value'
|
@@ -46,6 +50,7 @@ module DatadogAPIClient::V1
|
|
46
50
|
# @!visibility private
|
47
51
|
def self.openapi_types
|
48
52
|
{
|
53
|
+
:'id' => :'String',
|
49
54
|
:'name' => :'String',
|
50
55
|
:'subtype' => :'SyntheticsAPIWaitStepSubtype',
|
51
56
|
:'value' => :'Integer'
|
@@ -70,6 +75,10 @@ module DatadogAPIClient::V1
|
|
70
75
|
end
|
71
76
|
}
|
72
77
|
|
78
|
+
if attributes.key?(:'id')
|
79
|
+
self.id = attributes[:'id']
|
80
|
+
end
|
81
|
+
|
73
82
|
if attributes.key?(:'name')
|
74
83
|
self.name = attributes[:'name']
|
75
84
|
end
|
@@ -157,6 +166,7 @@ module DatadogAPIClient::V1
|
|
157
166
|
def ==(o)
|
158
167
|
return true if self.equal?(o)
|
159
168
|
self.class == o.class &&
|
169
|
+
id == o.id &&
|
160
170
|
name == o.name &&
|
161
171
|
subtype == o.subtype &&
|
162
172
|
value == o.value &&
|
@@ -167,7 +177,7 @@ module DatadogAPIClient::V1
|
|
167
177
|
# @return [Integer] Hash code
|
168
178
|
# @!visibility private
|
169
179
|
def hash
|
170
|
-
[name, subtype, value, additional_properties].hash
|
180
|
+
[id, name, subtype, value, additional_properties].hash
|
171
181
|
end
|
172
182
|
end
|
173
183
|
end
|
@@ -63,6 +63,9 @@ module DatadogAPIClient::V1
|
|
63
63
|
# Variables to replace in the test.
|
64
64
|
attr_accessor :variables
|
65
65
|
|
66
|
+
# The version number of the Synthetic test version to trigger.
|
67
|
+
attr_accessor :version
|
68
|
+
|
66
69
|
attr_accessor :additional_properties
|
67
70
|
|
68
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -82,7 +85,8 @@ module DatadogAPIClient::V1
|
|
82
85
|
:'public_id' => :'public_id',
|
83
86
|
:'_retry' => :'retry',
|
84
87
|
:'start_url' => :'startUrl',
|
85
|
-
:'variables' => :'variables'
|
88
|
+
:'variables' => :'variables',
|
89
|
+
:'version' => :'version'
|
86
90
|
}
|
87
91
|
end
|
88
92
|
|
@@ -103,7 +107,8 @@ module DatadogAPIClient::V1
|
|
103
107
|
:'public_id' => :'String',
|
104
108
|
:'_retry' => :'SyntheticsTestOptionsRetry',
|
105
109
|
:'start_url' => :'String',
|
106
|
-
:'variables' => :'Hash<String, String>'
|
110
|
+
:'variables' => :'Hash<String, String>',
|
111
|
+
:'version' => :'Integer'
|
107
112
|
}
|
108
113
|
end
|
109
114
|
|
@@ -184,6 +189,10 @@ module DatadogAPIClient::V1
|
|
184
189
|
if attributes.key?(:'variables')
|
185
190
|
self.variables = attributes[:'variables']
|
186
191
|
end
|
192
|
+
|
193
|
+
if attributes.key?(:'version')
|
194
|
+
self.version = attributes[:'version']
|
195
|
+
end
|
187
196
|
end
|
188
197
|
|
189
198
|
# Check to see if the all the properties in the model are valid
|
@@ -244,6 +253,7 @@ module DatadogAPIClient::V1
|
|
244
253
|
_retry == o._retry &&
|
245
254
|
start_url == o.start_url &&
|
246
255
|
variables == o.variables &&
|
256
|
+
version == o.version &&
|
247
257
|
additional_properties == o.additional_properties
|
248
258
|
end
|
249
259
|
|
@@ -251,7 +261,7 @@ module DatadogAPIClient::V1
|
|
251
261
|
# @return [Integer] Hash code
|
252
262
|
# @!visibility private
|
253
263
|
def hash
|
254
|
-
[allow_insecure_certificates, basic_auth, body, body_type, cookies, device_ids, follow_redirects, headers, locations, metadata, public_id, _retry, start_url, variables, additional_properties].hash
|
264
|
+
[allow_insecure_certificates, basic_auth, body, body_type, cookies, device_ids, follow_redirects, headers, locations, metadata, public_id, _retry, start_url, variables, version, additional_properties].hash
|
255
265
|
end
|
256
266
|
end
|
257
267
|
end
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
|
|
21
21
|
class WidgetLegacyLiveSpan
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
+
# Whether to hide incomplete cost data in the widget.
|
25
|
+
attr_accessor :hide_incomplete_cost_data
|
26
|
+
|
24
27
|
# The available timeframes depend on the widget you are using.
|
25
28
|
attr_accessor :live_span
|
26
29
|
|
@@ -28,6 +31,7 @@ module DatadogAPIClient::V1
|
|
28
31
|
# @!visibility private
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
34
|
+
:'hide_incomplete_cost_data' => :'hide_incomplete_cost_data',
|
31
35
|
:'live_span' => :'live_span'
|
32
36
|
}
|
33
37
|
end
|
@@ -36,6 +40,7 @@ module DatadogAPIClient::V1
|
|
36
40
|
# @!visibility private
|
37
41
|
def self.openapi_types
|
38
42
|
{
|
43
|
+
:'hide_incomplete_cost_data' => :'Boolean',
|
39
44
|
:'live_span' => :'WidgetLiveSpan'
|
40
45
|
}
|
41
46
|
end
|
@@ -56,6 +61,10 @@ module DatadogAPIClient::V1
|
|
56
61
|
h[k.to_sym] = v
|
57
62
|
}
|
58
63
|
|
64
|
+
if attributes.key?(:'hide_incomplete_cost_data')
|
65
|
+
self.hide_incomplete_cost_data = attributes[:'hide_incomplete_cost_data']
|
66
|
+
end
|
67
|
+
|
59
68
|
if attributes.key?(:'live_span')
|
60
69
|
self.live_span = attributes[:'live_span']
|
61
70
|
end
|
@@ -67,6 +76,7 @@ module DatadogAPIClient::V1
|
|
67
76
|
def ==(o)
|
68
77
|
return true if self.equal?(o)
|
69
78
|
self.class == o.class &&
|
79
|
+
hide_incomplete_cost_data == o.hide_incomplete_cost_data &&
|
70
80
|
live_span == o.live_span
|
71
81
|
end
|
72
82
|
|
@@ -74,7 +84,7 @@ module DatadogAPIClient::V1
|
|
74
84
|
# @return [Integer] Hash code
|
75
85
|
# @!visibility private
|
76
86
|
def hash
|
77
|
-
[live_span].hash
|
87
|
+
[hide_incomplete_cost_data, live_span].hash
|
78
88
|
end
|
79
89
|
end
|
80
90
|
end
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V1
|
|
24
24
|
# Start time in seconds since epoch.
|
25
25
|
attr_reader :from
|
26
26
|
|
27
|
+
# Whether to hide incomplete cost data in the widget.
|
28
|
+
attr_accessor :hide_incomplete_cost_data
|
29
|
+
|
27
30
|
# End time in seconds since epoch.
|
28
31
|
attr_reader :to
|
29
32
|
|
@@ -37,6 +40,7 @@ module DatadogAPIClient::V1
|
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
39
42
|
:'from' => :'from',
|
43
|
+
:'hide_incomplete_cost_data' => :'hide_incomplete_cost_data',
|
40
44
|
:'to' => :'to',
|
41
45
|
:'type' => :'type'
|
42
46
|
}
|
@@ -47,6 +51,7 @@ module DatadogAPIClient::V1
|
|
47
51
|
def self.openapi_types
|
48
52
|
{
|
49
53
|
:'from' => :'Integer',
|
54
|
+
:'hide_incomplete_cost_data' => :'Boolean',
|
50
55
|
:'to' => :'Integer',
|
51
56
|
:'type' => :'WidgetNewFixedSpanType'
|
52
57
|
}
|
@@ -74,6 +79,10 @@ module DatadogAPIClient::V1
|
|
74
79
|
self.from = attributes[:'from']
|
75
80
|
end
|
76
81
|
|
82
|
+
if attributes.key?(:'hide_incomplete_cost_data')
|
83
|
+
self.hide_incomplete_cost_data = attributes[:'hide_incomplete_cost_data']
|
84
|
+
end
|
85
|
+
|
77
86
|
if attributes.key?(:'to')
|
78
87
|
self.to = attributes[:'to']
|
79
88
|
end
|
@@ -158,6 +167,7 @@ module DatadogAPIClient::V1
|
|
158
167
|
return true if self.equal?(o)
|
159
168
|
self.class == o.class &&
|
160
169
|
from == o.from &&
|
170
|
+
hide_incomplete_cost_data == o.hide_incomplete_cost_data &&
|
161
171
|
to == o.to &&
|
162
172
|
type == o.type &&
|
163
173
|
additional_properties == o.additional_properties
|
@@ -167,7 +177,7 @@ module DatadogAPIClient::V1
|
|
167
177
|
# @return [Integer] Hash code
|
168
178
|
# @!visibility private
|
169
179
|
def hash
|
170
|
-
[from, to, type, additional_properties].hash
|
180
|
+
[from, hide_incomplete_cost_data, to, type, additional_properties].hash
|
171
181
|
end
|
172
182
|
end
|
173
183
|
end
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
|
|
21
21
|
class WidgetNewLiveSpan
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
+
# Whether to hide incomplete cost data in the widget.
|
25
|
+
attr_accessor :hide_incomplete_cost_data
|
26
|
+
|
24
27
|
# Type "live" denotes a live span in the new format.
|
25
28
|
attr_reader :type
|
26
29
|
|
@@ -36,6 +39,7 @@ module DatadogAPIClient::V1
|
|
36
39
|
# @!visibility private
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
42
|
+
:'hide_incomplete_cost_data' => :'hide_incomplete_cost_data',
|
39
43
|
:'type' => :'type',
|
40
44
|
:'unit' => :'unit',
|
41
45
|
:'value' => :'value'
|
@@ -46,6 +50,7 @@ module DatadogAPIClient::V1
|
|
46
50
|
# @!visibility private
|
47
51
|
def self.openapi_types
|
48
52
|
{
|
53
|
+
:'hide_incomplete_cost_data' => :'Boolean',
|
49
54
|
:'type' => :'WidgetNewLiveSpanType',
|
50
55
|
:'unit' => :'WidgetLiveSpanUnit',
|
51
56
|
:'value' => :'Integer'
|
@@ -70,6 +75,10 @@ module DatadogAPIClient::V1
|
|
70
75
|
end
|
71
76
|
}
|
72
77
|
|
78
|
+
if attributes.key?(:'hide_incomplete_cost_data')
|
79
|
+
self.hide_incomplete_cost_data = attributes[:'hide_incomplete_cost_data']
|
80
|
+
end
|
81
|
+
|
73
82
|
if attributes.key?(:'type')
|
74
83
|
self.type = attributes[:'type']
|
75
84
|
end
|
@@ -153,6 +162,7 @@ module DatadogAPIClient::V1
|
|
153
162
|
def ==(o)
|
154
163
|
return true if self.equal?(o)
|
155
164
|
self.class == o.class &&
|
165
|
+
hide_incomplete_cost_data == o.hide_incomplete_cost_data &&
|
156
166
|
type == o.type &&
|
157
167
|
unit == o.unit &&
|
158
168
|
value == o.value &&
|
@@ -163,7 +173,7 @@ module DatadogAPIClient::V1
|
|
163
173
|
# @return [Integer] Hash code
|
164
174
|
# @!visibility private
|
165
175
|
def hash
|
166
|
-
[type, unit, value, additional_properties].hash
|
176
|
+
[hide_incomplete_cost_data, type, unit, value, additional_properties].hash
|
167
177
|
end
|
168
178
|
end
|
169
179
|
end
|
@@ -100,7 +100,7 @@ module DatadogAPIClient::V2
|
|
100
100
|
|
101
101
|
# Delete an existing Action Connection.
|
102
102
|
#
|
103
|
-
# Delete an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
103
|
+
# Delete an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
104
104
|
#
|
105
105
|
# @param connection_id [String] The ID of the action connection
|
106
106
|
# @param opts [Hash] the optional parameters
|
@@ -287,6 +287,71 @@ module DatadogAPIClient::V2
|
|
287
287
|
return data, status_code, headers
|
288
288
|
end
|
289
289
|
|
290
|
+
# Get AWS scan options.
|
291
|
+
#
|
292
|
+
# @see #get_aws_scan_options_with_http_info
|
293
|
+
def get_aws_scan_options(account_id, opts = {})
|
294
|
+
data, _status_code, _headers = get_aws_scan_options_with_http_info(account_id, opts)
|
295
|
+
data
|
296
|
+
end
|
297
|
+
|
298
|
+
# Get AWS scan options.
|
299
|
+
#
|
300
|
+
# Fetches the Agentless scan options for an activated account.
|
301
|
+
#
|
302
|
+
# @param account_id [String] The ID of an AWS account.
|
303
|
+
# @param opts [Hash] the optional parameters
|
304
|
+
# @return [Array<(AwsScanOptionsResponse, Integer, Hash)>] AwsScanOptionsResponse data, response status code and response headers
|
305
|
+
def get_aws_scan_options_with_http_info(account_id, opts = {})
|
306
|
+
|
307
|
+
if @api_client.config.debugging
|
308
|
+
@api_client.config.logger.debug 'Calling API: AgentlessScanningAPI.get_aws_scan_options ...'
|
309
|
+
end
|
310
|
+
# verify the required parameter 'account_id' is set
|
311
|
+
if @api_client.config.client_side_validation && account_id.nil?
|
312
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AgentlessScanningAPI.get_aws_scan_options"
|
313
|
+
end
|
314
|
+
# resource path
|
315
|
+
local_var_path = '/api/v2/agentless_scanning/accounts/aws/{account_id}'.sub('{account_id}', CGI.escape(account_id.to_s).gsub('%2F', '/'))
|
316
|
+
|
317
|
+
# query parameters
|
318
|
+
query_params = opts[:query_params] || {}
|
319
|
+
|
320
|
+
# header parameters
|
321
|
+
header_params = opts[:header_params] || {}
|
322
|
+
# HTTP header 'Accept' (if needed)
|
323
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
324
|
+
|
325
|
+
# form parameters
|
326
|
+
form_params = opts[:form_params] || {}
|
327
|
+
|
328
|
+
# http body (model)
|
329
|
+
post_body = opts[:debug_body]
|
330
|
+
|
331
|
+
# return_type
|
332
|
+
return_type = opts[:debug_return_type] || 'AwsScanOptionsResponse'
|
333
|
+
|
334
|
+
# auth_names
|
335
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
336
|
+
|
337
|
+
new_options = opts.merge(
|
338
|
+
:operation => :get_aws_scan_options,
|
339
|
+
:header_params => header_params,
|
340
|
+
:query_params => query_params,
|
341
|
+
:form_params => form_params,
|
342
|
+
:body => post_body,
|
343
|
+
:auth_names => auth_names,
|
344
|
+
:return_type => return_type,
|
345
|
+
:api_version => "V2"
|
346
|
+
)
|
347
|
+
|
348
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
349
|
+
if @api_client.config.debugging
|
350
|
+
@api_client.config.logger.debug "API called: AgentlessScanningAPI#get_aws_scan_options\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
351
|
+
end
|
352
|
+
return data, status_code, headers
|
353
|
+
end
|
354
|
+
|
290
355
|
# Get AWS On Demand tasks.
|
291
356
|
#
|
292
357
|
# @see #list_aws_on_demand_tasks_with_http_info
|
@@ -347,7 +412,7 @@ module DatadogAPIClient::V2
|
|
347
412
|
return data, status_code, headers
|
348
413
|
end
|
349
414
|
|
350
|
-
#
|
415
|
+
# List AWS Scan Options.
|
351
416
|
#
|
352
417
|
# @see #list_aws_scan_options_with_http_info
|
353
418
|
def list_aws_scan_options(opts = {})
|
@@ -355,7 +420,7 @@ module DatadogAPIClient::V2
|
|
355
420
|
data
|
356
421
|
end
|
357
422
|
|
358
|
-
#
|
423
|
+
# List AWS Scan Options.
|
359
424
|
#
|
360
425
|
# Fetches the scan options configured for AWS accounts.
|
361
426
|
#
|
@@ -33,7 +33,7 @@ module DatadogAPIClient::V2
|
|
33
33
|
|
34
34
|
# Create App.
|
35
35
|
#
|
36
|
-
# Create a new app, returning the app ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
36
|
+
# Create a new app, returning the app ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
37
37
|
#
|
38
38
|
# @param body [CreateAppRequest]
|
39
39
|
# @param opts [Hash] the optional parameters
|
@@ -100,7 +100,7 @@ module DatadogAPIClient::V2
|
|
100
100
|
|
101
101
|
# Delete App.
|
102
102
|
#
|
103
|
-
# Delete a single app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
103
|
+
# Delete a single app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
104
104
|
#
|
105
105
|
# @param app_id [UUID] The ID of the app to delete.
|
106
106
|
# @param opts [Hash] the optional parameters
|
@@ -165,7 +165,7 @@ module DatadogAPIClient::V2
|
|
165
165
|
|
166
166
|
# Delete Multiple Apps.
|
167
167
|
#
|
168
|
-
# Delete multiple apps in a single request from a list of app IDs. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
168
|
+
# Delete multiple apps in a single request from a list of app IDs. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
169
169
|
#
|
170
170
|
# @param body [DeleteAppsRequest]
|
171
171
|
# @param opts [Hash] the optional parameters
|
@@ -232,7 +232,7 @@ module DatadogAPIClient::V2
|
|
232
232
|
|
233
233
|
# Get App.
|
234
234
|
#
|
235
|
-
# Get the full definition of an app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
235
|
+
# Get the full definition of an app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
236
236
|
#
|
237
237
|
# @param app_id [UUID] The ID of the app to retrieve.
|
238
238
|
# @param opts [Hash] the optional parameters
|
@@ -299,7 +299,7 @@ module DatadogAPIClient::V2
|
|
299
299
|
|
300
300
|
# List Apps.
|
301
301
|
#
|
302
|
-
# List all apps, with optional filters and sorting. This endpoint is paginated. Only basic app information such as the app ID, name, and description is returned by this endpoint. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
302
|
+
# List all apps, with optional filters and sorting. This endpoint is paginated. Only basic app information such as the app ID, name, and description is returned by this endpoint. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
303
303
|
#
|
304
304
|
# @param opts [Hash] the optional parameters
|
305
305
|
# @option opts [Integer] :limit The number of apps to return per page.
|
@@ -381,7 +381,7 @@ module DatadogAPIClient::V2
|
|
381
381
|
|
382
382
|
# Publish App.
|
383
383
|
#
|
384
|
-
# Publish an app for use by other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
384
|
+
# Publish an app for use by other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
385
385
|
#
|
386
386
|
# @param app_id [UUID] The ID of the app to publish.
|
387
387
|
# @param opts [Hash] the optional parameters
|
@@ -446,7 +446,7 @@ module DatadogAPIClient::V2
|
|
446
446
|
|
447
447
|
# Unpublish App.
|
448
448
|
#
|
449
|
-
# Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of a `deployment` object on the app, with a nil `app_version_id` (`00000000-0000-0000-0000-000000000000`). The app can still be updated and published again in the future. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
449
|
+
# Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of a `deployment` object on the app, with a nil `app_version_id` (`00000000-0000-0000-0000-000000000000`). The app can still be updated and published again in the future. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
450
450
|
#
|
451
451
|
# @param app_id [UUID] The ID of the app to unpublish.
|
452
452
|
# @param opts [Hash] the optional parameters
|
@@ -511,7 +511,7 @@ module DatadogAPIClient::V2
|
|
511
511
|
|
512
512
|
# Update App.
|
513
513
|
#
|
514
|
-
# Update an existing app. This creates a new version of the app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
|
514
|
+
# Update an existing app. This creates a new version of the app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
|
515
515
|
#
|
516
516
|
# @param app_id [UUID] The ID of the app to update.
|
517
517
|
# @param body [UpdateAppRequest]
|
@@ -301,7 +301,7 @@ module DatadogAPIClient::V2
|
|
301
301
|
#
|
302
302
|
# Archive a Cloud Cost Management Account.
|
303
303
|
#
|
304
|
-
# @param cloud_account_id [
|
304
|
+
# @param cloud_account_id [Integer] Cloud Account id.
|
305
305
|
# @param opts [Hash] the optional parameters
|
306
306
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
307
307
|
def delete_cost_awscur_config_with_http_info(cloud_account_id, opts = {})
|
@@ -366,7 +366,7 @@ module DatadogAPIClient::V2
|
|
366
366
|
#
|
367
367
|
# Archive a Cloud Cost Management Account.
|
368
368
|
#
|
369
|
-
# @param cloud_account_id [
|
369
|
+
# @param cloud_account_id [Integer] Cloud Account id.
|
370
370
|
# @param opts [Hash] the optional parameters
|
371
371
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
372
372
|
def delete_cost_azure_uc_config_with_http_info(cloud_account_id, opts = {})
|
@@ -431,7 +431,7 @@ module DatadogAPIClient::V2
|
|
431
431
|
#
|
432
432
|
# Archive a Cloud Cost Management account.
|
433
433
|
#
|
434
|
-
# @param cloud_account_id [
|
434
|
+
# @param cloud_account_id [Integer] Cloud Account id.
|
435
435
|
# @param opts [Hash] the optional parameters
|
436
436
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
437
437
|
def delete_cost_gcp_usage_cost_config_with_http_info(cloud_account_id, opts = {})
|
@@ -932,6 +932,10 @@ module DatadogAPIClient::V2
|
|
932
932
|
# List the Custom Costs files.
|
933
933
|
#
|
934
934
|
# @param opts [Hash] the optional parameters
|
935
|
+
# @option opts [Integer] :page_number Page number for pagination
|
936
|
+
# @option opts [Integer] :page_size Page size for pagination
|
937
|
+
# @option opts [String] :filter_status Filter by file status
|
938
|
+
# @option opts [String] :sort Sort key with optional descending prefix
|
935
939
|
# @return [Array<(CustomCostsFileListResponse, Integer, Hash)>] CustomCostsFileListResponse data, response status code and response headers
|
936
940
|
def list_custom_costs_files_with_http_info(opts = {})
|
937
941
|
|
@@ -943,6 +947,10 @@ module DatadogAPIClient::V2
|
|
943
947
|
|
944
948
|
# query parameters
|
945
949
|
query_params = opts[:query_params] || {}
|
950
|
+
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
951
|
+
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
952
|
+
query_params[:'filter[status]'] = opts[:'filter_status'] if !opts[:'filter_status'].nil?
|
953
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
946
954
|
|
947
955
|
# header parameters
|
948
956
|
header_params = opts[:header_params] || {}
|
@@ -991,7 +999,7 @@ module DatadogAPIClient::V2
|
|
991
999
|
#
|
992
1000
|
# Update the status (active/archived) and/or account filtering configuration of an AWS CUR config.
|
993
1001
|
#
|
994
|
-
# @param cloud_account_id [
|
1002
|
+
# @param cloud_account_id [Integer] Cloud Account id.
|
995
1003
|
# @param body [AwsCURConfigPatchRequest]
|
996
1004
|
# @param opts [Hash] the optional parameters
|
997
1005
|
# @return [Array<(AwsCURConfigsResponse, Integer, Hash)>] AwsCURConfigsResponse data, response status code and response headers
|
@@ -1063,7 +1071,7 @@ module DatadogAPIClient::V2
|
|
1063
1071
|
#
|
1064
1072
|
# Update the status of an Azure config (active/archived).
|
1065
1073
|
#
|
1066
|
-
# @param cloud_account_id [
|
1074
|
+
# @param cloud_account_id [Integer] Cloud Account id.
|
1067
1075
|
# @param body [AzureUCConfigPatchRequest]
|
1068
1076
|
# @param opts [Hash] the optional parameters
|
1069
1077
|
# @return [Array<(AzureUCConfigPairsResponse, Integer, Hash)>] AzureUCConfigPairsResponse data, response status code and response headers
|
@@ -1135,7 +1143,7 @@ module DatadogAPIClient::V2
|
|
1135
1143
|
#
|
1136
1144
|
# Update the status of an GCP Usage Cost config (active/archived).
|
1137
1145
|
#
|
1138
|
-
# @param cloud_account_id [
|
1146
|
+
# @param cloud_account_id [Integer] Cloud Account id.
|
1139
1147
|
# @param body [GCPUsageCostConfigPatchRequest]
|
1140
1148
|
# @param opts [Hash] the optional parameters
|
1141
1149
|
# @return [Array<(GCPUsageCostConfigResponse, Integer, Hash)>] GCPUsageCostConfigResponse data, response status code and response headers
|