datadog_api_client 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +5 -24
- data/.generator/poetry.lock +164 -189
- data/.generator/schemas/v1/openapi.yaml +901 -30
- data/.generator/schemas/v2/openapi.yaml +3810 -1428
- data/.generator/src/generator/formatter.py +1 -1
- data/.generator/src/generator/openapi.py +2 -1
- data/.generator/src/generator/templates/api_client.j2 +2 -2
- data/.generator/src/generator/templates/example.j2 +1 -1
- data/.generator/src/generator/templates/model_oneof.j2 +1 -1
- data/.github/workflows/test.yml +1 -1
- data/.github/workflows/test_integration.yml +3 -3
- data/CHANGELOG.md +36 -0
- data/README.md +1 -1
- data/examples/v1/dashboard-lists/CreateDashboardList.rb +1 -1
- data/examples/v1/dashboard-lists/UpdateDashboardList.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1024858348.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1039800684.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_109450134.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1094917386.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1177423752.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1200099236.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1213075383.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1307120899.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1423904722.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1442588603.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_145494973.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_173805046.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1738608750.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2029850837.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2034634967.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2064651578.rb +64 -0
- data/examples/v1/dashboards/CreateDashboard_2104498738.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2308247857.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2316374332.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2336428357.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2338918735.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2342457693.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2349863258.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2432046716.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2490110261.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_252716965.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2607944105.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2610827685.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2634813877.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2644712913.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2652180930.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2705593938.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2800096921.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2843286292.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2917274132.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2921337351.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_3117424216.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_3195475781.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_3250131584.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_3669695268.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_3882428227.rb +2 -2
- data/examples/v1/dashboards/CreateDashboard_3982498788.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_4026341408.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_4076476470.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_41622531.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_417992286.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_578885732.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_651038379.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_765140092.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_798168180.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_803346562.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_913313564.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_915214113.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_927141680.rb +1 -1
- data/examples/v1/dashboards/CreatePublicDashboard.rb +17 -0
- data/examples/v1/dashboards/DeletePublicDashboard.rb +5 -0
- data/examples/v1/dashboards/DeletePublicDashboardInvitation.rb +16 -0
- data/examples/v1/dashboards/GetPublicDashboard.rb +8 -0
- data/examples/v1/dashboards/GetPublicDashboardInvitations.rb +8 -0
- data/examples/v1/dashboards/SendPublicDashboardInvitation.rb +17 -0
- data/examples/v1/dashboards/UpdateDashboard.rb +1 -1
- data/examples/v1/dashboards/UpdateDashboard_3454865944.rb +40 -0
- data/examples/v1/dashboards/UpdatePublicDashboard.rb +16 -0
- data/examples/v1/downtimes/CreateDowntime.rb +2 -2
- data/examples/v1/downtimes/CreateDowntime_1393233946.rb +1 -1
- data/examples/v1/downtimes/CreateDowntime_2908359488.rb +1 -1
- data/examples/v1/downtimes/CreateDowntime_3059354445.rb +1 -1
- data/examples/v1/downtimes/CreateDowntime_3355644446.rb +2 -2
- data/examples/v1/downtimes/ListDowntimes.rb +4 -1
- data/examples/v1/downtimes/UpdateDowntime.rb +1 -1
- data/examples/v1/events/CreateEvent.rb +2 -2
- data/examples/v1/events/CreateEvent_19927815.rb +2 -2
- data/examples/v1/logs/SubmitLog.rb +2 -2
- data/examples/v1/logs/SubmitLog_1920474053.rb +2 -2
- data/examples/v1/logs/SubmitLog_3418823904.rb +2 -2
- data/examples/v1/metrics/SubmitMetrics.rb +1 -1
- data/examples/v1/metrics/SubmitMetrics_2203981258.rb +1 -1
- data/examples/v1/monitors/CreateMonitor.rb +2 -2
- data/examples/v1/monitors/CreateMonitor_1969035628.rb +2 -2
- data/examples/v1/monitors/CreateMonitor_2012680290.rb +1 -1
- data/examples/v1/monitors/CreateMonitor_2520912138.rb +2 -2
- data/examples/v1/monitors/CreateMonitor_3790803616.rb +2 -2
- data/examples/v1/monitors/CreateMonitor_3824294658.rb +2 -2
- data/examples/v1/monitors/CreateMonitor_3883669300.rb +2 -2
- data/examples/v1/monitors/CreateMonitor_440013737.rb +2 -2
- data/examples/v1/monitors/ListMonitors_3448441939.rb +1 -1
- data/examples/v1/monitors/ValidateExistingMonitor.rb +2 -2
- data/examples/v1/monitors/ValidateMonitor.rb +2 -2
- data/examples/v1/monitors/ValidateMonitor_4247196452.rb +2 -2
- data/examples/v1/notebooks/CreateNotebook.rb +1 -1
- data/examples/v1/notebooks/UpdateNotebook.rb +1 -1
- data/examples/v1/service-checks/SubmitServiceCheck.rb +1 -1
- data/examples/v1/service-level-objective-corrections/CreateSLOCorrection.rb +1 -1
- data/examples/v1/service-level-objective-corrections/CreateSLOCorrection_1326388368.rb +1 -1
- data/examples/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +1 -1
- data/examples/v1/service-level-objectives/CreateSLO.rb +1 -1
- data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +1 -1
- data/examples/v1/synthetics/CreatePrivateLocation.rb +3 -3
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +2 -2
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +2 -2
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +3 -3
- data/examples/v1/synthetics/CreateSyntheticsAPITest_2472747642.rb +2 -2
- data/examples/v1/synthetics/CreateSyntheticsAPITest_3829801148.rb +2 -2
- data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +3 -3
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_397420811.rb +1 -1
- data/examples/v1/synthetics/UpdateAPITest.rb +2 -2
- data/examples/v1/webhooks-integration/CreateWebhooksIntegration.rb +1 -1
- data/examples/v1/webhooks-integration/CreateWebhooksIntegrationCustomVariable.rb +1 -1
- data/examples/v2/authn-mappings/CreateAuthNMapping.rb +2 -2
- data/examples/v2/cloud-workload-security/CreateCloudWorkloadSecurityAgentRule.rb +1 -1
- data/examples/v2/cloudflare-integration/CreateCloudflareAccount.rb +2 -2
- data/examples/v2/cloudflare-integration/UpdateCloudflareAccount.rb +1 -1
- data/examples/v2/confluent-cloud/CreateConfluentResource.rb +1 -1
- data/examples/v2/events/ListEvents.rb +1 -1
- data/examples/v2/events/ListEvents_1527584014.rb +1 -1
- data/examples/v2/events/ListEvents_2663715109.rb +1 -1
- data/examples/v2/events/SearchEvents.rb +1 -1
- data/examples/v2/events/SearchEvents_3856995058.rb +1 -1
- data/examples/v2/fastly-integration/CreateFastlyAccount.rb +2 -2
- data/examples/v2/incident-services/CreateIncidentService.rb +2 -2
- data/examples/v2/incident-services/DeleteIncidentService.rb +1 -1
- data/examples/v2/incident-services/GetIncidentService.rb +1 -1
- data/examples/v2/incident-services/ListIncidentServices.rb +1 -1
- data/examples/v2/incident-services/UpdateIncidentService.rb +1 -1
- data/examples/v2/incident-teams/CreateIncidentTeam.rb +2 -2
- data/examples/v2/incident-teams/DeleteIncidentTeam.rb +1 -1
- data/examples/v2/incident-teams/GetIncidentTeam.rb +1 -1
- data/examples/v2/incident-teams/ListIncidentTeams.rb +1 -1
- data/examples/v2/incident-teams/UpdateIncidentTeam.rb +1 -1
- data/examples/v2/incidents/CreateIncident.rb +2 -2
- data/examples/v2/incidents/CreateIncidentIntegration.rb +1 -1
- data/examples/v2/incidents/CreateIncidentTodo.rb +23 -0
- data/examples/v2/incidents/DeleteIncident.rb +1 -1
- data/examples/v2/incidents/DeleteIncidentIntegration.rb +1 -1
- data/examples/v2/incidents/DeleteIncidentTodo.rb +14 -0
- data/examples/v2/incidents/GetIncident.rb +1 -1
- data/examples/v2/incidents/GetIncidentIntegration.rb +1 -1
- data/examples/v2/incidents/GetIncidentTodo.rb +14 -0
- data/examples/v2/incidents/ListIncidentAttachments.rb +1 -1
- data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +1 -1
- data/examples/v2/incidents/ListIncidentIntegrations.rb +1 -1
- data/examples/v2/incidents/ListIncidentTodos.rb +11 -0
- data/examples/v2/incidents/ListIncidents.rb +1 -1
- data/examples/v2/incidents/ListIncidents_2665616954.rb +1 -1
- data/examples/v2/incidents/SearchIncidents.rb +1 -1
- data/examples/v2/incidents/SearchIncidents_1931679109.rb +11 -0
- data/examples/v2/incidents/UpdateIncident.rb +1 -1
- data/examples/v2/incidents/UpdateIncidentAttachments.rb +1 -1
- data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +2 -2
- data/examples/v2/incidents/UpdateIncidentIntegration.rb +1 -1
- data/examples/v2/incidents/UpdateIncidentTodo.rb +28 -0
- data/examples/v2/incidents/UpdateIncident_1009194038.rb +1 -1
- data/examples/v2/incidents/UpdateIncident_3369341440.rb +1 -1
- data/examples/v2/ip-allowlist/UpdateIPAllowlist.rb +1 -1
- data/examples/v2/key-management/CreateAPIKey.rb +1 -1
- data/examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb +1 -1
- data/examples/v2/key-management/CreateCurrentUserApplicationKey_3383369233.rb +1 -1
- data/examples/v2/key-management/UpdateAPIKey.rb +1 -1
- data/examples/v2/logs/SubmitLog.rb +1 -1
- data/examples/v2/logs-metrics/CreateLogsMetric.rb +1 -1
- data/examples/v2/logs-metrics/DeleteLogsMetric.rb +1 -1
- data/examples/v2/metrics/CreateBulkTagsMetricsConfiguration.rb +1 -1
- data/examples/v2/metrics/CreateTagConfiguration.rb +2 -2
- data/examples/v2/metrics/DeleteTagConfiguration.rb +1 -1
- data/examples/v2/metrics/ListActiveMetricConfigurations.rb +1 -1
- data/examples/v2/metrics/ListTagConfigurations_265033704.rb +1 -1
- data/examples/v2/metrics/ListVolumesByMetricName.rb +1 -1
- data/examples/v2/metrics/QueryScalarData.rb +1 -1
- data/examples/v2/metrics/QueryScalarData_3112571352.rb +1 -1
- data/examples/v2/metrics/QueryTimeseriesData.rb +1 -1
- data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +1 -1
- data/examples/v2/opsgenie-integration/CreateOpsgenieService.rb +1 -1
- data/examples/v2/roles/CloneRole.rb +1 -1
- data/examples/v2/roles/CreateRole.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityFilter.rb +2 -2
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb +1 -1
- data/examples/v2/security-monitoring/UpdateSecurityFilter.rb +2 -2
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +1 -1
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +1 -1
- data/examples/v2/sensitive-data-scanner/CreateScanningGroup.rb +1 -1
- data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +1 -1
- data/examples/v2/sensitive-data-scanner/UpdateScanningGroup.rb +1 -1
- data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +1 -1
- data/examples/v2/service-accounts/CreateServiceAccount.rb +1 -1
- data/examples/v2/service-accounts/CreateServiceAccountApplicationKey_1761876297.rb +1 -1
- data/examples/v2/service-accounts/CreateServiceAccountApplicationKey_3480494373.rb +1 -1
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +19 -27
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions_1808735248.rb +54 -0
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions_2619874414.rb +53 -0
- data/examples/v2/service-definition/ListServiceDefinitions_336468013.rb +8 -0
- data/examples/v2/spans-metrics/CreateSpansMetric.rb +28 -0
- data/examples/v2/spans-metrics/DeleteSpansMetric.rb +8 -0
- data/examples/v2/spans-metrics/GetSpansMetric.rb +8 -0
- data/examples/v2/spans-metrics/ListSpansMetrics.rb +5 -0
- data/examples/v2/spans-metrics/UpdateSpansMetric.rb +29 -0
- data/examples/v2/teams/CreateTeam.rb +20 -0
- data/examples/v2/teams/CreateTeamLink.rb +19 -0
- data/examples/v2/teams/CreateTeamMembership.rb +22 -0
- data/examples/v2/teams/DeleteTeam.rb +8 -0
- data/examples/v2/teams/DeleteTeamLink.rb +11 -0
- data/examples/v2/teams/DeleteTeamMembership.rb +8 -0
- data/examples/v2/teams/GetTeam.rb +8 -0
- data/examples/v2/teams/GetTeamLink.rb +11 -0
- data/examples/v2/teams/GetTeamLinks.rb +8 -0
- data/examples/v2/teams/GetTeamMemberships.rb +8 -0
- data/examples/v2/teams/GetTeamPermissionSettings.rb +8 -0
- data/examples/v2/teams/ListTeams.rb +5 -0
- data/examples/v2/teams/UpdateTeam.rb +20 -0
- data/examples/v2/teams/UpdateTeamLink.rb +21 -0
- data/examples/v2/teams/UpdateTeamMembership.rb +14 -0
- data/examples/v2/teams/UpdateTeamPermissionSetting.rb +17 -0
- data/examples/v2/users/CreateUser.rb +1 -1
- data/lib/datadog_api_client/api_client.rb +2 -2
- data/lib/datadog_api_client/configuration.rb +10 -0
- data/lib/datadog_api_client/inflector.rb +126 -0
- data/lib/datadog_api_client/v1/api/dashboards_api.rb +482 -0
- data/lib/datadog_api_client/v1/api/downtimes_api.rb +2 -0
- data/lib/datadog_api_client/v1/api/monitors_api.rb +3 -3
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -2
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +9 -6
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +8 -0
- data/lib/datadog_api_client/v1/models/dashboard.rb +25 -1
- data/lib/datadog_api_client/v1/models/dashboard_global_time.rb +91 -0
- data/lib/datadog_api_client/v1/models/dashboard_global_time_live_span.rb +33 -0
- data/lib/datadog_api_client/v1/models/dashboard_invite_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/dashboard_share_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/dashboard_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/delete_shared_dashboard_response.rb +91 -0
- data/lib/datadog_api_client/v1/models/distribution_point_item.rb +1 -1
- data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_query.rb +1 -1
- data/lib/datadog_api_client/v1/models/downtime.rb +1 -0
- data/lib/datadog_api_client/v1/models/downtime_child.rb +1 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/host.rb +8 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +19 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/logs_list_response.rb +8 -0
- data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -1
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +2 -2
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +19 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +46 -6
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_global_time.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +1 -1
- data/lib/datadog_api_client/v1/models/selectable_template_variable_items.rb +131 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard.rb +228 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_author.rb +109 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_invites.rb +112 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_invites_data.rb +63 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_invites_data_object.rb +123 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_invites_data_object_attributes.rb +149 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_invites_meta.rb +91 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_invites_meta_page.rb +91 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_update_request.rb +147 -0
- data/lib/datadog_api_client/v1/models/shared_dashboard_update_request_global_time.rb +91 -0
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +3 -0
- data/lib/datadog_api_client/v1/models/slo_creator.rb +8 -0
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +8 -0
- data/lib/datadog_api_client/v1/models/slo_history_response.rb +8 -0
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +9 -0
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +8 -0
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +7 -7
- data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +11 -0
- data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +9 -0
- data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +9 -0
- data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +11 -0
- data/lib/datadog_api_client/v1/models/usage_host_hour.rb +22 -0
- data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +8 -0
- data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +9 -0
- data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +26 -1
- data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +8 -0
- data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +9 -0
- data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +8 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
- 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/usage_synthetics_api_hour.rb +8 -0
- data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +8 -0
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_pagination.rb +1 -0
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -1
- data/lib/datadog_api_client/v2/api/incidents_api.rb +409 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +9 -0
- data/lib/datadog_api_client/v2/api/service_definition_api.rb +25 -0
- data/lib/datadog_api_client/v2/api/spans_metrics_api.rb +357 -0
- data/lib/datadog_api_client/v2/api/teams_api.rb +1166 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_group_by_missing.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_group_by_total.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +9 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +8 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +8 -0
- data/lib/datadog_api_client/v2/models/confluent_account_resource_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_request_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/creator.rb +8 -0
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +8 -0
- data/lib/datadog_api_client/v2/models/get_team_memberships_sort.rb +33 -0
- data/lib/datadog_api_client/v2/models/incident_attachment_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachments_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_search_response.rb +14 -4
- data/lib/datadog_api_client/v2/models/incident_search_response_meta.rb +91 -0
- data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_todo_anonymous_assignee.rb +165 -0
- data/lib/datadog_api_client/v2/models/incident_todo_anonymous_assignee_source.rb +27 -0
- data/lib/datadog_api_client/v2/models/incident_todo_assignee.rb +63 -0
- data/lib/datadog_api_client/v2/models/incident_todo_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/incident_todo_create_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_todo_create_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/incident_todo_list_response.rb +126 -0
- data/lib/datadog_api_client/v2/models/incident_todo_patch_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_todo_patch_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/incident_todo_response.rb +114 -0
- data/lib/datadog_api_client/v2/models/incident_todo_response_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/incident_todo_response_included_item.rb +62 -0
- data/lib/datadog_api_client/v2/models/incident_todo_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/list_teams_include.rb +27 -0
- data/lib/datadog_api_client/v2/models/list_teams_sort.rb +29 -0
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_volumes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_config_policy_policy.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_config_policy_policy_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_team_link_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/relationship_to_team_links.rb +93 -0
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +91 -0
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_user.rb +102 -0
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_user_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +1 -1
- data/lib/datadog_api_client/v2/models/scalar_column.rb +1 -1
- data/lib/datadog_api_client/v2/models/scalar_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +8 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_schema.rb +3 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_contact.rb +3 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1.rb +229 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_contact.rb +64 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_email.rb +133 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_email_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_integrations.rb +101 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_link.rb +154 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_link_type.rb +30 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_ms_teams.rb +133 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_ms_teams_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_opsgenie.rb +112 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_opsgenie_region.rb +27 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_pagerduty.rb +91 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_slack.rb +133 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_slack_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_version.rb +26 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_ms_teams.rb +133 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_ms_teams_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/service_definitions_create_request.rb +2 -1
- data/lib/datadog_api_client/v2/models/spans_metric_compute.rb +123 -0
- data/lib/datadog_api_client/v2/models/spans_metric_compute_aggregation_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/spans_metric_create_attributes.rb +124 -0
- data/lib/datadog_api_client/v2/models/spans_metric_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/spans_metric_create_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/spans_metric_filter.rb +91 -0
- data/lib/datadog_api_client/v2/models/spans_metric_group_by.rb +112 -0
- data/lib/datadog_api_client/v2/models/spans_metric_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/spans_metric_response_attributes.rb +113 -0
- data/lib/datadog_api_client/v2/models/spans_metric_response_compute.rb +112 -0
- data/lib/datadog_api_client/v2/models/spans_metric_response_data.rb +111 -0
- data/lib/datadog_api_client/v2/models/spans_metric_response_filter.rb +91 -0
- data/lib/datadog_api_client/v2/models/spans_metric_response_group_by.rb +101 -0
- data/lib/datadog_api_client/v2/models/spans_metric_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/spans_metric_update_attributes.rb +113 -0
- data/lib/datadog_api_client/v2/models/spans_metric_update_compute.rb +92 -0
- data/lib/datadog_api_client/v2/models/spans_metric_update_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/spans_metric_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/spans_metrics_response.rb +93 -0
- data/lib/datadog_api_client/v2/models/team.rb +154 -0
- data/lib/datadog_api_client/v2/models/team_attributes.rb +233 -0
- data/lib/datadog_api_client/v2/models/team_create.rb +133 -0
- data/lib/datadog_api_client/v2/models/team_create_attributes.rb +162 -0
- data/lib/datadog_api_client/v2/models/team_create_relationships.rb +91 -0
- data/lib/datadog_api_client/v2/models/team_create_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/team_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_included.rb +64 -0
- data/lib/datadog_api_client/v2/models/team_link.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_link_attributes.rb +158 -0
- data/lib/datadog_api_client/v2/models/team_link_create.rb +123 -0
- data/lib/datadog_api_client/v2/models/team_link_create_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/team_link_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/team_link_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_links_response.rb +93 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting.rb +133 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_attributes.rb +133 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_serializer_action.rb +27 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_update.rb +112 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_update_attributes.rb +91 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/team_permission_setting_value.rb +30 -0
- data/lib/datadog_api_client/v2/models/team_permission_settings_response.rb +93 -0
- data/lib/datadog_api_client/v2/models/team_relationships.rb +101 -0
- data/lib/datadog_api_client/v2/models/team_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/team_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_update.rb +133 -0
- data/lib/datadog_api_client/v2/models/team_update_attributes.rb +187 -0
- data/lib/datadog_api_client/v2/models/team_update_relationships.rb +91 -0
- data/lib/datadog_api_client/v2/models/team_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/teams_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/timeseries_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_team.rb +143 -0
- data/lib/datadog_api_client/v2/models/user_team_attributes.rb +99 -0
- data/lib/datadog_api_client/v2/models/user_team_create.rb +122 -0
- data/lib/datadog_api_client/v2/models/user_team_permission.rb +133 -0
- data/lib/datadog_api_client/v2/models/user_team_permission_attributes.rb +91 -0
- data/lib/datadog_api_client/v2/models/user_team_permission_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_team_relationships.rb +91 -0
- data/lib/datadog_api_client/v2/models/user_team_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/user_team_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/user_team_role.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_team_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_team_update.rb +112 -0
- data/lib/datadog_api_client/v2/models/user_team_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/user_team_user_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_teams_response.rb +93 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +167 -2
|
@@ -91,6 +91,73 @@ module DatadogAPIClient::V1
|
|
|
91
91
|
return data, status_code, headers
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
# Create a shared dashboard.
|
|
95
|
+
#
|
|
96
|
+
# @see #create_public_dashboard_with_http_info
|
|
97
|
+
def create_public_dashboard(body, opts = {})
|
|
98
|
+
data, _status_code, _headers = create_public_dashboard_with_http_info(body, opts)
|
|
99
|
+
data
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Create a shared dashboard.
|
|
103
|
+
#
|
|
104
|
+
# Share a specified private dashboard, generating a URL at which it can be publicly viewed.
|
|
105
|
+
#
|
|
106
|
+
# @param body [SharedDashboard] Create a shared dashboard request body.
|
|
107
|
+
# @param opts [Hash] the optional parameters
|
|
108
|
+
# @return [Array<(SharedDashboard, Integer, Hash)>] SharedDashboard data, response status code and response headers
|
|
109
|
+
def create_public_dashboard_with_http_info(body, opts = {})
|
|
110
|
+
|
|
111
|
+
if @api_client.config.debugging
|
|
112
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.create_public_dashboard ...'
|
|
113
|
+
end
|
|
114
|
+
# verify the required parameter 'body' is set
|
|
115
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
116
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DashboardsAPI.create_public_dashboard"
|
|
117
|
+
end
|
|
118
|
+
# resource path
|
|
119
|
+
local_var_path = '/api/v1/dashboard/public'
|
|
120
|
+
|
|
121
|
+
# query parameters
|
|
122
|
+
query_params = opts[:query_params] || {}
|
|
123
|
+
|
|
124
|
+
# header parameters
|
|
125
|
+
header_params = opts[:header_params] || {}
|
|
126
|
+
# HTTP header 'Accept' (if needed)
|
|
127
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
128
|
+
# HTTP header 'Content-Type'
|
|
129
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
130
|
+
|
|
131
|
+
# form parameters
|
|
132
|
+
form_params = opts[:form_params] || {}
|
|
133
|
+
|
|
134
|
+
# http body (model)
|
|
135
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
136
|
+
|
|
137
|
+
# return_type
|
|
138
|
+
return_type = opts[:debug_return_type] || 'SharedDashboard'
|
|
139
|
+
|
|
140
|
+
# auth_names
|
|
141
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
142
|
+
|
|
143
|
+
new_options = opts.merge(
|
|
144
|
+
:operation => :create_public_dashboard,
|
|
145
|
+
:header_params => header_params,
|
|
146
|
+
:query_params => query_params,
|
|
147
|
+
:form_params => form_params,
|
|
148
|
+
:body => post_body,
|
|
149
|
+
:auth_names => auth_names,
|
|
150
|
+
:return_type => return_type,
|
|
151
|
+
:api_version => "V1"
|
|
152
|
+
)
|
|
153
|
+
|
|
154
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
155
|
+
if @api_client.config.debugging
|
|
156
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#create_public_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
157
|
+
end
|
|
158
|
+
return data, status_code, headers
|
|
159
|
+
end
|
|
160
|
+
|
|
94
161
|
# Delete a dashboard.
|
|
95
162
|
#
|
|
96
163
|
# @see #delete_dashboard_with_http_info
|
|
@@ -223,6 +290,143 @@ module DatadogAPIClient::V1
|
|
|
223
290
|
return data, status_code, headers
|
|
224
291
|
end
|
|
225
292
|
|
|
293
|
+
# Revoke a shared dashboard URL.
|
|
294
|
+
#
|
|
295
|
+
# @see #delete_public_dashboard_with_http_info
|
|
296
|
+
def delete_public_dashboard(token, opts = {})
|
|
297
|
+
data, _status_code, _headers = delete_public_dashboard_with_http_info(token, opts)
|
|
298
|
+
data
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# Revoke a shared dashboard URL.
|
|
302
|
+
#
|
|
303
|
+
# Revoke the public URL for a dashboard (rendering it private) associated with the specified token.
|
|
304
|
+
#
|
|
305
|
+
# @param token [String] The token of the shared dashboard.
|
|
306
|
+
# @param opts [Hash] the optional parameters
|
|
307
|
+
# @return [Array<(DeleteSharedDashboardResponse, Integer, Hash)>] DeleteSharedDashboardResponse data, response status code and response headers
|
|
308
|
+
def delete_public_dashboard_with_http_info(token, opts = {})
|
|
309
|
+
|
|
310
|
+
if @api_client.config.debugging
|
|
311
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.delete_public_dashboard ...'
|
|
312
|
+
end
|
|
313
|
+
# verify the required parameter 'token' is set
|
|
314
|
+
if @api_client.config.client_side_validation && token.nil?
|
|
315
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling DashboardsAPI.delete_public_dashboard"
|
|
316
|
+
end
|
|
317
|
+
# resource path
|
|
318
|
+
local_var_path = '/api/v1/dashboard/public/{token}'.sub('{token}', CGI.escape(token.to_s).gsub('%2F', '/'))
|
|
319
|
+
|
|
320
|
+
# query parameters
|
|
321
|
+
query_params = opts[:query_params] || {}
|
|
322
|
+
|
|
323
|
+
# header parameters
|
|
324
|
+
header_params = opts[:header_params] || {}
|
|
325
|
+
# HTTP header 'Accept' (if needed)
|
|
326
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
327
|
+
|
|
328
|
+
# form parameters
|
|
329
|
+
form_params = opts[:form_params] || {}
|
|
330
|
+
|
|
331
|
+
# http body (model)
|
|
332
|
+
post_body = opts[:debug_body]
|
|
333
|
+
|
|
334
|
+
# return_type
|
|
335
|
+
return_type = opts[:debug_return_type] || 'DeleteSharedDashboardResponse'
|
|
336
|
+
|
|
337
|
+
# auth_names
|
|
338
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
339
|
+
|
|
340
|
+
new_options = opts.merge(
|
|
341
|
+
:operation => :delete_public_dashboard,
|
|
342
|
+
:header_params => header_params,
|
|
343
|
+
:query_params => query_params,
|
|
344
|
+
:form_params => form_params,
|
|
345
|
+
:body => post_body,
|
|
346
|
+
:auth_names => auth_names,
|
|
347
|
+
:return_type => return_type,
|
|
348
|
+
:api_version => "V1"
|
|
349
|
+
)
|
|
350
|
+
|
|
351
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
352
|
+
if @api_client.config.debugging
|
|
353
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#delete_public_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
354
|
+
end
|
|
355
|
+
return data, status_code, headers
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# Revoke shared dashboard invitations.
|
|
359
|
+
#
|
|
360
|
+
# @see #delete_public_dashboard_invitation_with_http_info
|
|
361
|
+
def delete_public_dashboard_invitation(token, body, opts = {})
|
|
362
|
+
delete_public_dashboard_invitation_with_http_info(token, body, opts)
|
|
363
|
+
nil
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Revoke shared dashboard invitations.
|
|
367
|
+
#
|
|
368
|
+
# Revoke previously sent invitation emails and active sessions used to access a given shared dashboard for specific email addresses.
|
|
369
|
+
#
|
|
370
|
+
# @param token [String] The token of the shared dashboard.
|
|
371
|
+
# @param body [SharedDashboardInvites] Shared Dashboard Invitation deletion request body.
|
|
372
|
+
# @param opts [Hash] the optional parameters
|
|
373
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
374
|
+
def delete_public_dashboard_invitation_with_http_info(token, body, opts = {})
|
|
375
|
+
|
|
376
|
+
if @api_client.config.debugging
|
|
377
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.delete_public_dashboard_invitation ...'
|
|
378
|
+
end
|
|
379
|
+
# verify the required parameter 'token' is set
|
|
380
|
+
if @api_client.config.client_side_validation && token.nil?
|
|
381
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling DashboardsAPI.delete_public_dashboard_invitation"
|
|
382
|
+
end
|
|
383
|
+
# verify the required parameter 'body' is set
|
|
384
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
385
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DashboardsAPI.delete_public_dashboard_invitation"
|
|
386
|
+
end
|
|
387
|
+
# resource path
|
|
388
|
+
local_var_path = '/api/v1/dashboard/public/{token}/invitation'.sub('{token}', CGI.escape(token.to_s).gsub('%2F', '/'))
|
|
389
|
+
|
|
390
|
+
# query parameters
|
|
391
|
+
query_params = opts[:query_params] || {}
|
|
392
|
+
|
|
393
|
+
# header parameters
|
|
394
|
+
header_params = opts[:header_params] || {}
|
|
395
|
+
# HTTP header 'Accept' (if needed)
|
|
396
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
397
|
+
# HTTP header 'Content-Type'
|
|
398
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
399
|
+
|
|
400
|
+
# form parameters
|
|
401
|
+
form_params = opts[:form_params] || {}
|
|
402
|
+
|
|
403
|
+
# http body (model)
|
|
404
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
405
|
+
|
|
406
|
+
# return_type
|
|
407
|
+
return_type = opts[:debug_return_type]
|
|
408
|
+
|
|
409
|
+
# auth_names
|
|
410
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
411
|
+
|
|
412
|
+
new_options = opts.merge(
|
|
413
|
+
:operation => :delete_public_dashboard_invitation,
|
|
414
|
+
:header_params => header_params,
|
|
415
|
+
:query_params => query_params,
|
|
416
|
+
:form_params => form_params,
|
|
417
|
+
:body => post_body,
|
|
418
|
+
:auth_names => auth_names,
|
|
419
|
+
:return_type => return_type,
|
|
420
|
+
:api_version => "V1"
|
|
421
|
+
)
|
|
422
|
+
|
|
423
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
424
|
+
if @api_client.config.debugging
|
|
425
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#delete_public_dashboard_invitation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
426
|
+
end
|
|
427
|
+
return data, status_code, headers
|
|
428
|
+
end
|
|
429
|
+
|
|
226
430
|
# Get a dashboard.
|
|
227
431
|
#
|
|
228
432
|
# @see #get_dashboard_with_http_info
|
|
@@ -288,6 +492,140 @@ module DatadogAPIClient::V1
|
|
|
288
492
|
return data, status_code, headers
|
|
289
493
|
end
|
|
290
494
|
|
|
495
|
+
# Get a shared dashboard.
|
|
496
|
+
#
|
|
497
|
+
# @see #get_public_dashboard_with_http_info
|
|
498
|
+
def get_public_dashboard(token, opts = {})
|
|
499
|
+
data, _status_code, _headers = get_public_dashboard_with_http_info(token, opts)
|
|
500
|
+
data
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
# Get a shared dashboard.
|
|
504
|
+
#
|
|
505
|
+
# Fetch an existing shared dashboard's sharing metadata associated with the specified token.
|
|
506
|
+
#
|
|
507
|
+
# @param token [String] The token of the shared dashboard. Generated when a dashboard is shared.
|
|
508
|
+
# @param opts [Hash] the optional parameters
|
|
509
|
+
# @return [Array<(SharedDashboard, Integer, Hash)>] SharedDashboard data, response status code and response headers
|
|
510
|
+
def get_public_dashboard_with_http_info(token, opts = {})
|
|
511
|
+
|
|
512
|
+
if @api_client.config.debugging
|
|
513
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.get_public_dashboard ...'
|
|
514
|
+
end
|
|
515
|
+
# verify the required parameter 'token' is set
|
|
516
|
+
if @api_client.config.client_side_validation && token.nil?
|
|
517
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling DashboardsAPI.get_public_dashboard"
|
|
518
|
+
end
|
|
519
|
+
# resource path
|
|
520
|
+
local_var_path = '/api/v1/dashboard/public/{token}'.sub('{token}', CGI.escape(token.to_s).gsub('%2F', '/'))
|
|
521
|
+
|
|
522
|
+
# query parameters
|
|
523
|
+
query_params = opts[:query_params] || {}
|
|
524
|
+
|
|
525
|
+
# header parameters
|
|
526
|
+
header_params = opts[:header_params] || {}
|
|
527
|
+
# HTTP header 'Accept' (if needed)
|
|
528
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
529
|
+
|
|
530
|
+
# form parameters
|
|
531
|
+
form_params = opts[:form_params] || {}
|
|
532
|
+
|
|
533
|
+
# http body (model)
|
|
534
|
+
post_body = opts[:debug_body]
|
|
535
|
+
|
|
536
|
+
# return_type
|
|
537
|
+
return_type = opts[:debug_return_type] || 'SharedDashboard'
|
|
538
|
+
|
|
539
|
+
# auth_names
|
|
540
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
541
|
+
|
|
542
|
+
new_options = opts.merge(
|
|
543
|
+
:operation => :get_public_dashboard,
|
|
544
|
+
:header_params => header_params,
|
|
545
|
+
:query_params => query_params,
|
|
546
|
+
:form_params => form_params,
|
|
547
|
+
:body => post_body,
|
|
548
|
+
:auth_names => auth_names,
|
|
549
|
+
:return_type => return_type,
|
|
550
|
+
:api_version => "V1"
|
|
551
|
+
)
|
|
552
|
+
|
|
553
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
554
|
+
if @api_client.config.debugging
|
|
555
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#get_public_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
556
|
+
end
|
|
557
|
+
return data, status_code, headers
|
|
558
|
+
end
|
|
559
|
+
|
|
560
|
+
# Get all invitations for a shared dashboard.
|
|
561
|
+
#
|
|
562
|
+
# @see #get_public_dashboard_invitations_with_http_info
|
|
563
|
+
def get_public_dashboard_invitations(token, opts = {})
|
|
564
|
+
data, _status_code, _headers = get_public_dashboard_invitations_with_http_info(token, opts)
|
|
565
|
+
data
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
# Get all invitations for a shared dashboard.
|
|
569
|
+
#
|
|
570
|
+
# Describe the invitations that exist for the given shared dashboard (paginated).
|
|
571
|
+
#
|
|
572
|
+
# @param token [String] Token of the shared dashboard for which to fetch invitations.
|
|
573
|
+
# @param opts [Hash] the optional parameters
|
|
574
|
+
# @option opts [Integer] :page_size The number of records to return in a single request.
|
|
575
|
+
# @option opts [Integer] :page_number The page to access (base 0).
|
|
576
|
+
# @return [Array<(SharedDashboardInvites, Integer, Hash)>] SharedDashboardInvites data, response status code and response headers
|
|
577
|
+
def get_public_dashboard_invitations_with_http_info(token, opts = {})
|
|
578
|
+
|
|
579
|
+
if @api_client.config.debugging
|
|
580
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.get_public_dashboard_invitations ...'
|
|
581
|
+
end
|
|
582
|
+
# verify the required parameter 'token' is set
|
|
583
|
+
if @api_client.config.client_side_validation && token.nil?
|
|
584
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling DashboardsAPI.get_public_dashboard_invitations"
|
|
585
|
+
end
|
|
586
|
+
# resource path
|
|
587
|
+
local_var_path = '/api/v1/dashboard/public/{token}/invitation'.sub('{token}', CGI.escape(token.to_s).gsub('%2F', '/'))
|
|
588
|
+
|
|
589
|
+
# query parameters
|
|
590
|
+
query_params = opts[:query_params] || {}
|
|
591
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
592
|
+
query_params[:'page_number'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
593
|
+
|
|
594
|
+
# header parameters
|
|
595
|
+
header_params = opts[:header_params] || {}
|
|
596
|
+
# HTTP header 'Accept' (if needed)
|
|
597
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
598
|
+
|
|
599
|
+
# form parameters
|
|
600
|
+
form_params = opts[:form_params] || {}
|
|
601
|
+
|
|
602
|
+
# http body (model)
|
|
603
|
+
post_body = opts[:debug_body]
|
|
604
|
+
|
|
605
|
+
# return_type
|
|
606
|
+
return_type = opts[:debug_return_type] || 'SharedDashboardInvites'
|
|
607
|
+
|
|
608
|
+
# auth_names
|
|
609
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
610
|
+
|
|
611
|
+
new_options = opts.merge(
|
|
612
|
+
:operation => :get_public_dashboard_invitations,
|
|
613
|
+
:header_params => header_params,
|
|
614
|
+
:query_params => query_params,
|
|
615
|
+
:form_params => form_params,
|
|
616
|
+
:body => post_body,
|
|
617
|
+
:auth_names => auth_names,
|
|
618
|
+
:return_type => return_type,
|
|
619
|
+
:api_version => "V1"
|
|
620
|
+
)
|
|
621
|
+
|
|
622
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
623
|
+
if @api_client.config.debugging
|
|
624
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#get_public_dashboard_invitations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
625
|
+
end
|
|
626
|
+
return data, status_code, headers
|
|
627
|
+
end
|
|
628
|
+
|
|
291
629
|
# Get all dashboards.
|
|
292
630
|
#
|
|
293
631
|
# @see #list_dashboards_with_http_info
|
|
@@ -422,6 +760,78 @@ module DatadogAPIClient::V1
|
|
|
422
760
|
return data, status_code, headers
|
|
423
761
|
end
|
|
424
762
|
|
|
763
|
+
# Send shared dashboard invitation email.
|
|
764
|
+
#
|
|
765
|
+
# @see #send_public_dashboard_invitation_with_http_info
|
|
766
|
+
def send_public_dashboard_invitation(token, body, opts = {})
|
|
767
|
+
data, _status_code, _headers = send_public_dashboard_invitation_with_http_info(token, body, opts)
|
|
768
|
+
data
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# Send shared dashboard invitation email.
|
|
772
|
+
#
|
|
773
|
+
# Send emails to specified email addresses containing links to access a given authenticated shared dashboard. Email addresses must already belong to the authenticated shared dashboard's share_list.
|
|
774
|
+
#
|
|
775
|
+
# @param token [String] The token of the shared dashboard.
|
|
776
|
+
# @param body [SharedDashboardInvites] Shared Dashboard Invitation request body.
|
|
777
|
+
# @param opts [Hash] the optional parameters
|
|
778
|
+
# @return [Array<(SharedDashboardInvites, Integer, Hash)>] SharedDashboardInvites data, response status code and response headers
|
|
779
|
+
def send_public_dashboard_invitation_with_http_info(token, body, opts = {})
|
|
780
|
+
|
|
781
|
+
if @api_client.config.debugging
|
|
782
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.send_public_dashboard_invitation ...'
|
|
783
|
+
end
|
|
784
|
+
# verify the required parameter 'token' is set
|
|
785
|
+
if @api_client.config.client_side_validation && token.nil?
|
|
786
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling DashboardsAPI.send_public_dashboard_invitation"
|
|
787
|
+
end
|
|
788
|
+
# verify the required parameter 'body' is set
|
|
789
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
790
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DashboardsAPI.send_public_dashboard_invitation"
|
|
791
|
+
end
|
|
792
|
+
# resource path
|
|
793
|
+
local_var_path = '/api/v1/dashboard/public/{token}/invitation'.sub('{token}', CGI.escape(token.to_s).gsub('%2F', '/'))
|
|
794
|
+
|
|
795
|
+
# query parameters
|
|
796
|
+
query_params = opts[:query_params] || {}
|
|
797
|
+
|
|
798
|
+
# header parameters
|
|
799
|
+
header_params = opts[:header_params] || {}
|
|
800
|
+
# HTTP header 'Accept' (if needed)
|
|
801
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
802
|
+
# HTTP header 'Content-Type'
|
|
803
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
804
|
+
|
|
805
|
+
# form parameters
|
|
806
|
+
form_params = opts[:form_params] || {}
|
|
807
|
+
|
|
808
|
+
# http body (model)
|
|
809
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
810
|
+
|
|
811
|
+
# return_type
|
|
812
|
+
return_type = opts[:debug_return_type] || 'SharedDashboardInvites'
|
|
813
|
+
|
|
814
|
+
# auth_names
|
|
815
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
816
|
+
|
|
817
|
+
new_options = opts.merge(
|
|
818
|
+
:operation => :send_public_dashboard_invitation,
|
|
819
|
+
:header_params => header_params,
|
|
820
|
+
:query_params => query_params,
|
|
821
|
+
:form_params => form_params,
|
|
822
|
+
:body => post_body,
|
|
823
|
+
:auth_names => auth_names,
|
|
824
|
+
:return_type => return_type,
|
|
825
|
+
:api_version => "V1"
|
|
826
|
+
)
|
|
827
|
+
|
|
828
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
829
|
+
if @api_client.config.debugging
|
|
830
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#send_public_dashboard_invitation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
831
|
+
end
|
|
832
|
+
return data, status_code, headers
|
|
833
|
+
end
|
|
834
|
+
|
|
425
835
|
# Update a dashboard.
|
|
426
836
|
#
|
|
427
837
|
# @see #update_dashboard_with_http_info
|
|
@@ -493,5 +903,77 @@ module DatadogAPIClient::V1
|
|
|
493
903
|
end
|
|
494
904
|
return data, status_code, headers
|
|
495
905
|
end
|
|
906
|
+
|
|
907
|
+
# Update a shared dashboard.
|
|
908
|
+
#
|
|
909
|
+
# @see #update_public_dashboard_with_http_info
|
|
910
|
+
def update_public_dashboard(token, body, opts = {})
|
|
911
|
+
data, _status_code, _headers = update_public_dashboard_with_http_info(token, body, opts)
|
|
912
|
+
data
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
# Update a shared dashboard.
|
|
916
|
+
#
|
|
917
|
+
# Update a shared dashboard associated with the specified token.
|
|
918
|
+
#
|
|
919
|
+
# @param token [String] The token of the shared dashboard.
|
|
920
|
+
# @param body [SharedDashboardUpdateRequest] Update Dashboard request body.
|
|
921
|
+
# @param opts [Hash] the optional parameters
|
|
922
|
+
# @return [Array<(SharedDashboard, Integer, Hash)>] SharedDashboard data, response status code and response headers
|
|
923
|
+
def update_public_dashboard_with_http_info(token, body, opts = {})
|
|
924
|
+
|
|
925
|
+
if @api_client.config.debugging
|
|
926
|
+
@api_client.config.logger.debug 'Calling API: DashboardsAPI.update_public_dashboard ...'
|
|
927
|
+
end
|
|
928
|
+
# verify the required parameter 'token' is set
|
|
929
|
+
if @api_client.config.client_side_validation && token.nil?
|
|
930
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling DashboardsAPI.update_public_dashboard"
|
|
931
|
+
end
|
|
932
|
+
# verify the required parameter 'body' is set
|
|
933
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
934
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DashboardsAPI.update_public_dashboard"
|
|
935
|
+
end
|
|
936
|
+
# resource path
|
|
937
|
+
local_var_path = '/api/v1/dashboard/public/{token}'.sub('{token}', CGI.escape(token.to_s).gsub('%2F', '/'))
|
|
938
|
+
|
|
939
|
+
# query parameters
|
|
940
|
+
query_params = opts[:query_params] || {}
|
|
941
|
+
|
|
942
|
+
# header parameters
|
|
943
|
+
header_params = opts[:header_params] || {}
|
|
944
|
+
# HTTP header 'Accept' (if needed)
|
|
945
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
946
|
+
# HTTP header 'Content-Type'
|
|
947
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
948
|
+
|
|
949
|
+
# form parameters
|
|
950
|
+
form_params = opts[:form_params] || {}
|
|
951
|
+
|
|
952
|
+
# http body (model)
|
|
953
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
954
|
+
|
|
955
|
+
# return_type
|
|
956
|
+
return_type = opts[:debug_return_type] || 'SharedDashboard'
|
|
957
|
+
|
|
958
|
+
# auth_names
|
|
959
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
960
|
+
|
|
961
|
+
new_options = opts.merge(
|
|
962
|
+
:operation => :update_public_dashboard,
|
|
963
|
+
:header_params => header_params,
|
|
964
|
+
:query_params => query_params,
|
|
965
|
+
:form_params => form_params,
|
|
966
|
+
:body => post_body,
|
|
967
|
+
:auth_names => auth_names,
|
|
968
|
+
:return_type => return_type,
|
|
969
|
+
:api_version => "V1"
|
|
970
|
+
)
|
|
971
|
+
|
|
972
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
973
|
+
if @api_client.config.debugging
|
|
974
|
+
@api_client.config.logger.debug "API called: DashboardsAPI#update_public_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
975
|
+
end
|
|
976
|
+
return data, status_code, headers
|
|
977
|
+
end
|
|
496
978
|
end
|
|
497
979
|
end
|
|
@@ -301,6 +301,7 @@ module DatadogAPIClient::V1
|
|
|
301
301
|
#
|
|
302
302
|
# @param opts [Hash] the optional parameters
|
|
303
303
|
# @option opts [Boolean] :current_only Only return downtimes that are active when the request is made.
|
|
304
|
+
# @option opts [Boolean] :with_creator Return creator information.
|
|
304
305
|
# @return [Array<(Array<Downtime>, Integer, Hash)>] Array<Downtime> data, response status code and response headers
|
|
305
306
|
def list_downtimes_with_http_info(opts = {})
|
|
306
307
|
|
|
@@ -313,6 +314,7 @@ module DatadogAPIClient::V1
|
|
|
313
314
|
# query parameters
|
|
314
315
|
query_params = opts[:query_params] || {}
|
|
315
316
|
query_params[:'current_only'] = opts[:'current_only'] if !opts[:'current_only'].nil?
|
|
317
|
+
query_params[:'with_creator'] = opts[:'with_creator'] if !opts[:'with_creator'].nil?
|
|
316
318
|
|
|
317
319
|
# header parameters
|
|
318
320
|
header_params = opts[:header_params] || {}
|
|
@@ -245,7 +245,7 @@ module DatadogAPIClient::V1
|
|
|
245
245
|
# - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
|
|
246
246
|
# - `#` an integer or decimal number used to set the threshold.
|
|
247
247
|
#
|
|
248
|
-
# **NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and US5.
|
|
248
|
+
# **NOTE** Only available on US1-FED and in closed beta on US1, EU, AP1, US3, and US5.
|
|
249
249
|
#
|
|
250
250
|
# **CI Pipelines Alert Query**
|
|
251
251
|
#
|
|
@@ -258,7 +258,7 @@ module DatadogAPIClient::V1
|
|
|
258
258
|
# - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
|
|
259
259
|
# - `#` an integer or decimal number used to set the threshold.
|
|
260
260
|
#
|
|
261
|
-
# **NOTE** CI Pipeline monitors are in alpha on US1, EU, US3 and US5.
|
|
261
|
+
# **NOTE** CI Pipeline monitors are in alpha on US1, EU, AP1, US3, and US5.
|
|
262
262
|
#
|
|
263
263
|
# **CI Tests Alert Query**
|
|
264
264
|
#
|
|
@@ -271,7 +271,7 @@ module DatadogAPIClient::V1
|
|
|
271
271
|
# - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
|
|
272
272
|
# - `#` an integer or decimal number used to set the threshold.
|
|
273
273
|
#
|
|
274
|
-
# **NOTE** CI Test monitors are available only in closed beta on US1, EU, US3 and US5.
|
|
274
|
+
# **NOTE** CI Test monitors are available only in closed beta on US1, EU, AP1, US3, and US5.
|
|
275
275
|
#
|
|
276
276
|
# **Error Tracking Alert Query**
|
|
277
277
|
#
|
|
@@ -636,7 +636,7 @@ module DatadogAPIClient::V1
|
|
|
636
636
|
|
|
637
637
|
# Get an API test's latest results summaries.
|
|
638
638
|
#
|
|
639
|
-
# Get the last
|
|
639
|
+
# Get the last 150 test results summaries for a given Synthetics API test.
|
|
640
640
|
#
|
|
641
641
|
# @param public_id [String] The public ID of the test for which to search results for.
|
|
642
642
|
# @param opts [Hash] the optional parameters
|
|
@@ -843,7 +843,7 @@ module DatadogAPIClient::V1
|
|
|
843
843
|
|
|
844
844
|
# Get a browser test's latest results summaries.
|
|
845
845
|
#
|
|
846
|
-
# Get the last
|
|
846
|
+
# Get the last 150 test results summaries for a given Synthetics Browser test.
|
|
847
847
|
#
|
|
848
848
|
# @param public_id [String] The public ID of the browser test for which to search results for.
|
|
849
849
|
# @param opts [Hash] the optional parameters
|
|
@@ -114,7 +114,7 @@ module DatadogAPIClient::V1
|
|
|
114
114
|
|
|
115
115
|
# Get hourly usage attribution.
|
|
116
116
|
#
|
|
117
|
-
# Get hourly usage attribution.
|
|
117
|
+
# Get hourly usage attribution. Multi-region data is available starting March 1, 2023.
|
|
118
118
|
#
|
|
119
119
|
# This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is
|
|
120
120
|
# set in the response. If it is, make another request and pass `next_record_id` as a parameter.
|
|
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
|
|
|
152
152
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
|
153
153
|
end
|
|
154
154
|
# verify enum value
|
|
155
|
-
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage']
|
|
155
|
+
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage']
|
|
156
156
|
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
|
157
157
|
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
|
158
158
|
end
|
|
@@ -432,7 +432,7 @@ module DatadogAPIClient::V1
|
|
|
432
432
|
|
|
433
433
|
# Get monthly usage attribution.
|
|
434
434
|
#
|
|
435
|
-
# Get monthly usage attribution.
|
|
435
|
+
# Get monthly usage attribution. Multi-region data is available starting March 1, 2023.
|
|
436
436
|
#
|
|
437
437
|
# This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is
|
|
438
438
|
# set in the response. If it is, make another request and pass `next_record_id` as a parameter.
|
|
@@ -472,7 +472,7 @@ module DatadogAPIClient::V1
|
|
|
472
472
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
|
|
473
473
|
end
|
|
474
474
|
# verify enum value
|
|
475
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', '*']
|
|
475
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', '*']
|
|
476
476
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
|
477
477
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
|
478
478
|
end
|
|
@@ -480,7 +480,7 @@ module DatadogAPIClient::V1
|
|
|
480
480
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
|
481
481
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
|
482
482
|
end
|
|
483
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', '*']
|
|
483
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', '*']
|
|
484
484
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
|
485
485
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
|
486
486
|
end
|
|
@@ -855,13 +855,16 @@ module DatadogAPIClient::V1
|
|
|
855
855
|
# Get hourly usage for audit logs.
|
|
856
856
|
#
|
|
857
857
|
# Get hourly usage for audit logs.
|
|
858
|
-
# **Note:**
|
|
858
|
+
# **Note:** This endpoint has been deprecated.
|
|
859
|
+
#
|
|
860
|
+
# @deprecated This API is deprecated.
|
|
859
861
|
#
|
|
860
862
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
|
861
863
|
# @param opts [Hash] the optional parameters
|
|
862
864
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
|
863
865
|
# @return [Array<(UsageAuditLogsResponse, Integer, Hash)>] UsageAuditLogsResponse data, response status code and response headers
|
|
864
866
|
def get_usage_audit_logs_with_http_info(start_hr, opts = {})
|
|
867
|
+
warn "[DEPRECATION] `GetUsageAuditLogs` is deprecated."
|
|
865
868
|
|
|
866
869
|
if @api_client.config.debugging
|
|
867
870
|
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_audit_logs ...'
|
|
@@ -49,6 +49,14 @@ module DatadogAPIClient::V1
|
|
|
49
49
|
}
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
# List of attributes with nullable: true
|
|
53
|
+
# @!visibility private
|
|
54
|
+
def self.openapi_nullable
|
|
55
|
+
Set.new([
|
|
56
|
+
:'errors',
|
|
57
|
+
])
|
|
58
|
+
end
|
|
59
|
+
|
|
52
60
|
# Initializes the object
|
|
53
61
|
# @param attributes [Hash] Model attributes in the form of hash
|
|
54
62
|
# @!visibility private
|