Skip to content

Commit

Permalink
Add AP1 support (#1093)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
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 Apr 10, 2023
1 parent aa3a052 commit 3d1bca1
Show file tree
Hide file tree
Showing 5 changed files with 23 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.4",
"regenerated": "2023-04-10 15:00:16.484096",
"spec_repo_commit": "615bff17"
"regenerated": "2023-04-10 20:05:04.595498",
"spec_repo_commit": "4e7c36aa"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-04-10 15:00:16.496350",
"spec_repo_commit": "615bff17"
"regenerated": "2023-04-10 20:05:04.607983",
"spec_repo_commit": "4e7c36aa"
}
}
}
14 changes: 9 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19257,6 +19257,7 @@ paths:
- datadoghq.com
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
subdomain:
Expand Down Expand Up @@ -23907,8 +23908,8 @@ paths:
- `#` an integer or decimal number used to set the threshold.


**NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and
US5.
**NOTE** Only available on US1-FED and in closed beta on US1, EU, AP1, US3,
and US5.


**CI Pipelines Alert Query**
Expand All @@ -23933,7 +23934,7 @@ paths:
- `#` an integer or decimal number used to set the threshold.


**NOTE** CI Pipeline monitors are in alpha on US1, EU, US3 and US5.
**NOTE** CI Pipeline monitors are in alpha on US1, EU, AP1, US3, and US5.


**CI Tests Alert Query**
Expand All @@ -23958,8 +23959,8 @@ paths:
- `#` an integer or decimal number used to set the threshold.


**NOTE** CI Test monitors are available only in closed beta on US1, EU, US3
and US5.
**NOTE** CI Test monitors are available only in closed beta on US1, EU, AP1,
US3, and US5.


**Error Tracking Alert Query**
Expand Down Expand Up @@ -26072,6 +26073,7 @@ paths:
- datadoghq.eu
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- ddog-gov.com
subdomain:
default: api
Expand Down Expand Up @@ -30465,6 +30467,7 @@ paths:
- datadoghq.com
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
subdomain:
Expand Down Expand Up @@ -30503,6 +30506,7 @@ servers:
- datadoghq.com
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
subdomain:
Expand Down
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17592,6 +17592,7 @@ paths:
- datadoghq.com
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
subdomain:
Expand Down Expand Up @@ -23771,6 +23772,7 @@ servers:
- datadoghq.com
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
subdomain:
Expand Down
5 changes: 5 additions & 0 deletions packages/datadog-api-client-common/servers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const server1 = new ServerConfiguration<{
| "datadoghq.com"
| "us3.datadoghq.com"
| "us5.datadoghq.com"
| "ap1.datadoghq.com"
| "datadoghq.eu"
| "ddog-gov.com";
subdomain: string;
Expand Down Expand Up @@ -96,6 +97,7 @@ export const operationServers: {
| "datadoghq.com"
| "us3.datadoghq.com"
| "us5.datadoghq.com"
| "ap1.datadoghq.com"
| "datadoghq.eu"
| "ddog-gov.com";
subdomain: string;
Expand All @@ -122,6 +124,7 @@ export const operationServers: {
| "datadoghq.com"
| "us3.datadoghq.com"
| "us5.datadoghq.com"
| "ap1.datadoghq.com"
| "datadoghq.eu"
| "ddog-gov.com";
subdomain: string;
Expand Down Expand Up @@ -151,6 +154,7 @@ export const operationServers: {
| "datadoghq.eu"
| "us3.datadoghq.com"
| "us5.datadoghq.com"
| "ap1.datadoghq.com"
| "ddog-gov.com";
subdomain: string;
}>("https://{subdomain}.{site}", {
Expand Down Expand Up @@ -178,6 +182,7 @@ export const operationServers: {
| "datadoghq.com"
| "us3.datadoghq.com"
| "us5.datadoghq.com"
| "ap1.datadoghq.com"
| "datadoghq.eu"
| "ddog-gov.com";
subdomain: string;
Expand Down
6 changes: 3 additions & 3 deletions packages/datadog-api-client-v1/apis/MonitorsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ export class MonitorsApi {
* - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
* - `#` an integer or decimal number used to set the threshold.
*
* **NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and US5.
* **NOTE** Only available on US1-FED and in closed beta on US1, EU, AP1, US3, and US5.
*
* **CI Pipelines Alert Query**
*
Expand All @@ -1548,7 +1548,7 @@ export class MonitorsApi {
* - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
* - `#` an integer or decimal number used to set the threshold.
*
* **NOTE** CI Pipeline monitors are in alpha on US1, EU, US3 and US5.
* **NOTE** CI Pipeline monitors are in alpha on US1, EU, AP1, US3, and US5.
*
* **CI Tests Alert Query**
*
Expand All @@ -1561,7 +1561,7 @@ export class MonitorsApi {
* - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
* - `#` an integer or decimal number used to set the threshold.
*
* **NOTE** CI Test monitors are available only in closed beta on US1, EU, US3 and US5.
* **NOTE** CI Test monitors are available only in closed beta on US1, EU, AP1, US3, and US5.
*
* **Error Tracking Alert Query**
*
Expand Down

0 comments on commit 3d1bca1

Please sign in to comment.