Skip to content

Commit

Permalink
Regenerate client from commit 99dab0c3 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed May 24, 2022
1 parent f20f01e commit e844ef6
Show file tree
Hide file tree
Showing 13 changed files with 409 additions and 159 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.2",
"regenerated": "2022-05-24 10:04:34.685843",
"spec_repo_commit": "068bc4e7"
"regenerated": "2022-05-24 12:02:36.325616",
"spec_repo_commit": "99dab0c3"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-05-24 10:04:34.698352",
"spec_repo_commit": "068bc4e7"
"regenerated": "2022-05-24 12:02:36.341383",
"spec_repo_commit": "99dab0c3"
}
}
}
166 changes: 92 additions & 74 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10453,6 +10453,7 @@ components:
- packetsReceived
- networkHop
- receivedMessage
- grpcHealthcheckStatus
- connection
example: statusCode
type: string
Expand All @@ -10472,6 +10473,7 @@ components:
- PACKETS_RECEIVED
- NETWORK_HOP
- RECEIVED_MESSAGE
- GRPC_HEALTHCHECK_STATUS
- CONNECTION
SyntheticsBasicAuth:
description: Object to handle basic authentication when performing the test.
Expand Down Expand Up @@ -11976,7 +11978,7 @@ components:
SyntheticsTestDetailsSubType:
description: 'The subtype of the Synthetic API test, `http`, `ssl`, `tcp`,

`dns`, `icmp`, `udp`, `websocket` or `multi`.'
`dns`, `icmp`, `udp`, `websocket`, `grpc` or `multi`.'
enum:
- http
- ssl
Expand All @@ -11986,6 +11988,7 @@ components:
- icmp
- udp
- websocket
- grpc
example: http
type: string
x-enum-varnames:
Expand All @@ -11997,6 +12000,7 @@ components:
- ICMP
- UDP
- WEBSOCKET
- GRPC
SyntheticsTestDetailsType:
description: Type of the Synthetic test, either `api` or `browser`.
enum:
Expand All @@ -12023,6 +12027,12 @@ components:
type: string
description: Headers to include when performing the test.
type: object
SyntheticsTestMetadata:
additionalProperties:
description: A single Metadatum.
type: string
description: Metadata to include when performing the gRPC test.
type: object
SyntheticsTestMonitorStatus:
description: 'The status of your Synthetic monitor.

Expand Down Expand Up @@ -12200,6 +12210,8 @@ components:
message:
description: Message to send for UDP or WebSocket tests.
type: string
metadata:
$ref: '#/components/schemas/SyntheticsTestMetadata'
method:
$ref: '#/components/schemas/HTTPMethod'
noSavingResponseBody:
Expand Down Expand Up @@ -12228,6 +12240,9 @@ components:

the same IP address and TCP port number.'
type: string
service:
description: gRPC service on which you want to perform the healthcheck.
type: string
shouldTrackHops:
description: Turns on a traceroute probe to discover all gateways along
the path to the host destination.
Expand Down Expand Up @@ -21570,19 +21585,19 @@ paths:
Example: `"check".over(tags).last(count).by(group).count_by_status()`


- `check` name of the check, for example `datadog.agent.up`
- **`check`** name of the check, for example `datadog.agent.up`

- `tags` one or more quoted tags (comma-separated), or "*". for example: `.over("env:prod",
"role:db")`; `over` cannot be blank.
- **`tags`** one or more quoted tags (comma-separated), or "*". for example:
`.over("env:prod", "role:db")`; **`over`** cannot be blank.

- `count` must be at greater than or equal to your max threshold (defined
- **`count`** must be at greater than or equal to your max threshold (defined
in the `options`). It is limited to 100.

For example, if you''ve specified to notify on 1 critical, 3 ok, and 2 warn
statuses, `count` should be at least 3.

- `group` must be specified for check monitors. Per-check grouping is already
explicitly known for some service checks.
- **`group`** must be specified for check monitors. Per-check grouping is
already explicitly known for some service checks.

For example, Postgres integration monitors are tagged by `db`, `host`, and
`port`, and Network monitors by `host`, `instance`, and `url`. See [Service
Expand All @@ -21597,28 +21612,28 @@ paths:
"string query"'').rollup("count").last("1h")"`


- `event`, the event query string:
- **`event`**, the event query string:

- `string_query` free text query to match against event title and text.
- **`string_query`** free text query to match against event title and text.

- `sources` event sources (comma-separated).
- **`sources`** event sources (comma-separated).

- `status` event statuses (comma-separated). Valid options: error, warn, and
info.
- **`status`** event statuses (comma-separated). Valid options: error, warn,
and info.

- `priority` event priorities (comma-separated). Valid options: low, normal,
- **`priority`** event priorities (comma-separated). Valid options: low, normal,
all.

- `host` event reporting host (comma-separated).
- **`host`** event reporting host (comma-separated).

- `tags` event tags (comma-separated).
- **`tags`** event tags (comma-separated).

- `excluded_tags` excluded event tags (comma-separated).
- **`excluded_tags`** excluded event tags (comma-separated).

- `rollup` the stats roll-up method. `count` is the only supported method
- **`rollup`** the stats roll-up method. `count` is the only supported method
now.

- `last` the timeframe to roll up the counts. Examples: 45m, 4h. Supported
- **`last`** the timeframe to roll up the counts. Examples: 45m, 4h. Supported
timeframes: m, h and d. This value should not exceed 48 hours.


Expand All @@ -21633,18 +21648,19 @@ paths:
operator #`


- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
- **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).

- `rollup_method` The stats roll-up method - supports `count`, `avg` and `cardinality`.
- **`rollup_method`** The stats roll-up method - supports `count`, `avg` and
`cardinality`.

- `measure` For `avg` and cardinality `rollup_method` - specify the measure
- **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
or the facet name you want to use.

- `time_window` #m (between 1 and 2880), #h (between 1 and 48).
- **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).

- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.

- `#` an integer or decimal number used to set the threshold.
- **`#`** an integer or decimal number used to set the threshold.


**Process Alert Query**
Expand All @@ -21654,19 +21670,19 @@ paths:
#`


- `search` free text search string for querying processes.
- **`search`** free text search string for querying processes.

Matching processes match results on the [Live Processes](https://docs.datadoghq.com/infrastructure/process/?tab=linuxwindows)
page.

- `tags` one or more tags (comma-separated)
- **`tags`** one or more tags (comma-separated)

- `timeframe` the timeframe to roll up the counts. Examples: 10m, 4h. Supported
timeframes: s, m, h and d
- **`timeframe`** the timeframe to roll up the counts. Examples: 10m, 4h.
Supported timeframes: s, m, h and d

- `operator` <, <=, >, >=, ==, or !=
- **`operator`** <, <=, >, >=, ==, or !=

- `#` an integer or decimal number used to set the threshold
- **`#`** an integer or decimal number used to set the threshold


**Logs Alert Query**
Expand All @@ -21676,21 +21692,22 @@ paths:
operator #`


- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
- **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).

- `index_name` For multi-index organizations, the log index in which the request
is performed.
- **`index_name`** For multi-index organizations, the log index in which the
request is performed.

- `rollup_method` The stats roll-up method - supports `count`, `avg` and `cardinality`.
- **`rollup_method`** The stats roll-up method - supports `count`, `avg` and
`cardinality`.

- `measure` For `avg` and cardinality `rollup_method` - specify the measure
- **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
or the facet name you want to use.

- `time_window` #m (between 1 and 2880), #h (between 1 and 48).
- **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).

- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.

- `#` an integer or decimal number used to set the threshold.
- **`#`** an integer or decimal number used to set the threshold.


**Composite Query**
Expand All @@ -21700,16 +21717,16 @@ paths:
monitors


* `name` [*required*, *default* = **dynamic, based on query**]: The name of
the alert.
* **`name`** [*required*, *default* = **dynamic, based on query**]: The name
of the alert.

* `message` [*required*, *default* = **dynamic, based on query**]: A message
* **`message`** [*required*, *default* = **dynamic, based on query**]: A message
to include with notifications for this monitor.

Email notifications can be sent to specific users by using the same ''@username''
notation as events.

* `tags` [*optional*, *default* = **empty list**]: A list of tags to associate
* **`tags`** [*optional*, *default* = **empty list**]: A list of tags to associate
with your monitor.

When getting all monitor details via the API, use the `monitor_tags` argument
Expand All @@ -21725,13 +21742,13 @@ paths:
Example: `error_budget("slo_id").over("time_window") operator #`


- `slo_id`: The alphanumeric SLO ID of the SLO you are configuring the alert
for.
- **`slo_id`**: The alphanumeric SLO ID of the SLO you are configuring the
alert for.

- `time_window`: The time window of the SLO target you wish to alert on. Valid
options: `7d`, `30d`, `90d`.
- **`time_window`**: The time window of the SLO target you wish to alert on.
Valid options: `7d`, `30d`, `90d`.

- `operator`: `>=` or `>`
- **`operator`**: `>=` or `>`


**Audit Alert Query**
Expand All @@ -21741,18 +21758,19 @@ paths:
operator #`


- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
- **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).

- `rollup_method` The stats roll-up method - supports `count`, `avg` and `cardinality`.
- **`rollup_method`** The stats roll-up method - supports `count`, `avg` and
`cardinality`.

- `measure` For `avg` and cardinality `rollup_method` - specify the measure
- **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
or the facet name you want to use.

- `time_window` #m (between 1 and 2880), #h (between 1 and 48).
- **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).

- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.

- `#` an integer or decimal number used to set the threshold.
- **`#`** 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
Expand All @@ -21766,19 +21784,19 @@ paths:
operator #`


- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
- **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).

- `rollup_method` The stats roll-up method - supports `count`, `avg`, and
`cardinality`.
- **`rollup_method`** The stats roll-up method - supports `count`, `avg`,
and `cardinality`.

- `measure` For `avg` and cardinality `rollup_method` - specify the measure
- **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
or the facet name you want to use.

- `time_window` #m (between 1 and 2880), #h (between 1 and 48).
- **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).

- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.

- `#` an integer or decimal number used to set the threshold.
- **`#`** an integer or decimal number used to set the threshold.


**NOTE** CI Pipeline monitors are in alpha on US1, EU, US3 and US5.
Expand All @@ -21791,19 +21809,19 @@ paths:
operator #`


- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
- **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).

- `rollup_method` The stats roll-up method - supports `count`, `avg`, and
`cardinality`.
- **`rollup_method`** The stats roll-up method - supports `count`, `avg`,
and `cardinality`.

- `measure` For `avg` and cardinality `rollup_method` - specify the measure
- **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
or the facet name you want to use.

- `time_window` #m (between 1 and 2880), #h (between 1 and 48).
- **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).

- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.

- `#` an integer or decimal number used to set the threshold.
- **`#`** an integer or decimal number used to set the threshold.


**NOTE** CI Test monitors are available only in closed beta on US1, EU, US3
Expand All @@ -21820,19 +21838,19 @@ paths:
measure]).last(time_window) operator #`


- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
- **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).

- `rollup_method` The stats roll-up method - supports `count`, `avg`, and
`cardinality`.
- **`rollup_method`** The stats roll-up method - supports `count`, `avg`,
and `cardinality`.

- `measure` For `avg` and cardinality `rollup_method` - specify the measure
- **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
or the facet name you want to use.

- `time_window` #m (between 1 and 2880), #h (between 1 and 48).
- **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).

- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.

- `#` an integer or decimal number used to set the threshold.'
- **`#`** an integer or decimal number used to set the threshold.'
operationId: CreateMonitor
requestBody:
content:
Expand Down
Loading

0 comments on commit e844ef6

Please sign in to comment.