Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AP1 support #1093

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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