Skip to content

Commit

Permalink
Remove US1 Note for Create a Monitor Endpoint (#2388)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 26, 2024
1 parent a3b2f1f commit 6bf8402
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-23 18:04:51.442741",
"spec_repo_commit": "76697835"
"regenerated": "2024-02-26 18:27:08.436817",
"spec_repo_commit": "65e025be"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-23 18:04:51.459774",
"spec_repo_commit": "76697835"
"regenerated": "2024-02-26 18:27:08.452262",
"spec_repo_commit": "65e025be"
}
}
}
7 changes: 2 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions api/datadogV1/api_monitors.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (a *MonitorsApi) CheckCanDeleteMonitor(ctx _context.Context, monitorIds []i
// - database-monitoring: `database-monitoring alert`
//
// **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](https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
// - Log monitors require an unscoped App Key.
//
// #### Query Types
Expand Down Expand Up @@ -277,8 +277,6 @@ func (a *MonitorsApi) CheckCanDeleteMonitor(ctx _context.Context, monitorIds []i
// - `time_window` #m (between 1 and 2880), #h (between 1 and 48).
// - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
// - `#` an integer or decimal number used to set the threshold.
//
// **NOTE** Database Monitoring monitors are in alpha on US1.
func (a *MonitorsApi) CreateMonitor(ctx _context.Context, body Monitor) (Monitor, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down

0 comments on commit 6bf8402

Please sign in to comment.