From df2d45194d2c6f2286c39f61c765ddb1fdd5a2c2 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:52:16 +0000 Subject: [PATCH] Remove US1 Note for Create a Monitor Endpoint (#1871) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 7 ++----- src/datadog_api_client/v1/api/monitors_api.py | 4 +--- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 84cc8ed91b..6fdb9520e7 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 18:04:47.981830", - "spec_repo_commit": "76697835" + "regenerated": "2024-02-26 18:27:06.393279", + "spec_repo_commit": "65e025be" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 18:04:48.287269", - "spec_repo_commit": "76697835" + "regenerated": "2024-02-26 18:27:06.408833", + "spec_repo_commit": "65e025be" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a00a3437ff..3544367815 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -26751,7 +26751,7 @@ paths: **Notes**: - Synthetic monitors are created through the Synthetics API. See the [Synthetics - API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for + API](https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information. - Log monitors require an unscoped App Key. @@ -27058,10 +27058,7 @@ paths: - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - - `#` an integer or decimal number used to set the threshold. - - - **NOTE** Database Monitoring monitors are in alpha on US1.' + - `#` an integer or decimal number used to set the threshold.' operationId: CreateMonitor requestBody: content: diff --git a/src/datadog_api_client/v1/api/monitors_api.py b/src/datadog_api_client/v1/api/monitors_api.py index dcdb282917..f0d3d97920 100644 --- a/src/datadog_api_client/v1/api/monitors_api.py +++ b/src/datadog_api_client/v1/api/monitors_api.py @@ -399,7 +399,7 @@ def create_monitor( **Notes** : - * Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information. + * Synthetic monitors are created through the Synthetics API. See the `Synthetics API `_ documentation for more information. * Log monitors require an unscoped App Key. **Query Types** @@ -551,8 +551,6 @@ def create_monitor( * ``operator`` ``<`` , ``<=`` , ``>`` , ``>=`` , ``==`` , or ``!=``. * ``#`` an integer or decimal number used to set the threshold. - **NOTE** Database Monitoring monitors are in alpha on US1. - :param body: Create a monitor request body. :type body: Monitor :rtype: Monitor