Skip to content

Commit 7890da0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit d90592c of spec repo (#1108)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent aa52772 commit 7890da0

29 files changed

+210
-202
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.5.1.dev2",
7-
"regenerated": "2021-12-19 13:14:08.452093",
8-
"spec_repo_commit": "f4bca2b"
7+
"regenerated": "2021-12-20 09:54:50.345482",
8+
"spec_repo_commit": "d90592c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-12-19 13:14:09.314811",
13-
"spec_repo_commit": "f4bca2b"
12+
"regenerated": "2021-12-20 09:54:51.177498",
13+
"spec_repo_commit": "d90592c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 42 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,8 +1723,8 @@ components:
17231723
alert_type:
17241724
$ref: '#/components/schemas/EventAlertType'
17251725
date_happened:
1726-
description: 'POSIX timestamp of the event. Must be sent as an integer (i.e.
1727-
no quotes).
1726+
description: 'POSIX timestamp of the event. Must be sent as an integer (that
1727+
is no quotes).
17281728

17291729
Limited to events no older than 7 days.'
17301730
format: int64
@@ -1829,8 +1829,8 @@ components:
18291829
alert_type:
18301830
$ref: '#/components/schemas/EventAlertType'
18311831
date_happened:
1832-
description: 'POSIX timestamp of the event. Must be sent as an integer (i.e.
1833-
no quotes).
1832+
description: 'POSIX timestamp of the event. Must be sent as an integer (that
1833+
is no quotes).
18341834

18351835
Limited to events no older than 7 days.'
18361836
format: int64
@@ -1856,8 +1856,8 @@ components:
18561856
priority:
18571857
$ref: '#/components/schemas/EventPriority'
18581858
related_event_id:
1859-
description: ID of the parent event. Must be sent as an integer (i.e. no
1860-
quotes).
1859+
description: ID of the parent event. Must be sent as an integer (that is
1860+
no quotes).
18611861
format: int64
18621862
type: integer
18631863
source_type_name:
@@ -1903,8 +1903,8 @@ components:
19031903
alert_type:
19041904
$ref: '#/components/schemas/EventAlertType'
19051905
date_happened:
1906-
description: 'POSIX timestamp of the event. Must be sent as an integer (i.e.
1907-
no quotes).
1906+
description: 'POSIX timestamp of the event. Must be sent as an integer (that
1907+
is no quotes).
19081908

19091909
Limited to events no older than 7 days.'
19101910
format: int64
@@ -1930,8 +1930,8 @@ components:
19301930
priority:
19311931
$ref: '#/components/schemas/EventPriority'
19321932
related_event_id:
1933-
description: ID of the parent event. Must be sent as an integer (i.e. no
1934-
quotes).
1933+
description: ID of the parent event. Must be sent as an integer (that is
1934+
no quotes).
19351935
format: int64
19361936
type: integer
19371937
source_type_name:
@@ -4563,9 +4563,10 @@ components:
45634563
format: date-time
45644564
type: string
45654565
timezone:
4566-
description: 'Timezone can be specified both as an offset (e.g. "UTC+03:00")
4566+
description: 'Timezone can be specified both as an offset (for example
4567+
"UTC+03:00")
45674568

4568-
or a regional zone (e.g. "Europe/Paris").'
4569+
or a regional zone (for example "Europe/Paris").'
45694570
type: string
45704571
to:
45714572
description: Maximum timestamp for requested logs.
@@ -5988,13 +5989,13 @@ components:
59885989
example: avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100
59895990
type: string
59905991
scopes:
5991-
description: 'The scope(s) to which the downtime applies, e.g. `host:app2`.
5992+
description: 'The scope(s) to which the downtime applies, for example `host:app2`.
59925993

5993-
Provide multiple scopes as a comma-separated list, e.g. `env:dev,env:prod`.
5994+
Provide multiple scopes as a comma-separated list, for example `env:dev,env:prod`.
59945995

59955996
The resulting downtime applies to sources that matches ALL provided scopes
59965997

5997-
(i.e. `env:dev AND env:prod`), NOT any of them.'
5998+
(that is `env:dev AND env:prod`), NOT any of them.'
59985999
example:
59996000
- host:app2
60006001
- env:dev,env:prod
@@ -8447,7 +8448,8 @@ components:
84478448
target_display:
84488449
description: 'A string representation of the target that indicates its precision.
84498450

8450-
It uses trailing zeros to show significant decimal places (e.g. `98.00`).
8451+
It uses trailing zeros to show significant decimal places (for example
8452+
`98.00`).
84518453

84528454

84538455
Always included in service level objective responses. Ignored in
@@ -12488,7 +12490,7 @@ components:
1248812490
format: int64
1248912491
type: integer
1249012492
alibaba_host_count:
12491-
description: 'Contains the total number of hosts that reported via Alibaba
12493+
description: 'Contains the total number of hosts that reported through Alibaba
1249212494
integration
1249312495

1249412496
(and were NOT running the Datadog Agent).'
@@ -12506,14 +12508,14 @@ components:
1250612508
format: int64
1250712509
type: integer
1250812510
aws_host_count:
12509-
description: 'Contains the total number of hosts that reported via the AWS
12510-
integration
12511+
description: 'Contains the total number of hosts that reported through the
12512+
AWS integration
1251112513

1251212514
(and were NOT running the Datadog Agent).'
1251312515
format: int64
1251412516
type: integer
1251512517
azure_host_count:
12516-
description: 'Contains the total number of hosts that reported via Azure
12518+
description: 'Contains the total number of hosts that reported through Azure
1251712519
integration
1251812520

1251912521
(and were NOT running the Datadog Agent).'
@@ -12525,8 +12527,8 @@ components:
1252512527
format: int64
1252612528
type: integer
1252712529
gcp_host_count:
12528-
description: 'Contains the total number of hosts that reported via the Google
12529-
Cloud integration
12530+
description: 'Contains the total number of hosts that reported through the
12531+
Google Cloud integration
1253012532

1253112533
(and were NOT running the Datadog Agent).'
1253212534
format: int64
@@ -12548,8 +12550,8 @@ components:
1254812550
format: date-time
1254912551
type: string
1255012552
infra_azure_app_service:
12551-
description: 'Contains the total number of hosts that reported via the Azure
12552-
App Services integration
12553+
description: 'Contains the total number of hosts that reported through the
12554+
Azure App Services integration
1255312555

1255412556
(and were NOT running the Datadog Agent).'
1255512557
format: int64
@@ -12560,7 +12562,7 @@ components:
1256012562
format: int64
1256112563
type: integer
1256212564
vsphere_host_count:
12563-
description: 'Contains the total number of hosts that reported via vSphere
12565+
description: 'Contains the total number of hosts that reported through vSphere
1256412566
integration
1256512567

1256612568
(and were NOT running the Datadog Agent).'
@@ -14395,7 +14397,7 @@ components:
1439514397
scale:
1439614398
default: linear
1439714399
description: Specifies the scale type. Possible values are `linear`, `log`,
14398-
`sqrt`, `pow##` (e.g. `pow2`, `pow0.5` etc.).
14400+
`sqrt`, `pow##` (for example `pow2`, `pow0.5` etc.).
1439914401
type: string
1440014402
type: object
1440114403
WidgetChangeType:
@@ -15170,7 +15172,7 @@ paths:
1517015172
variables:
1517115173
site:
1517215174
default: datadoghq.com
15173-
description: The regional site for our customers.
15175+
description: The regional site for Datadog customers.
1517415176
enum:
1517515177
- datadoghq.com
1517615178
- us3.datadoghq.com
@@ -19875,10 +19877,10 @@ paths:
1987519877
Example: `"check".over(tags).last(count).by(group).count_by_status()`
1987619878

1987719879

19878-
- **`check`** name of the check, e.g. `datadog.agent.up`
19880+
- **`check`** name of the check, for example `datadog.agent.up`
1987919881

19880-
- **`tags`** one or more quoted tags (comma-separated), or "*". e.g.: `.over("env:prod",
19881-
"role:db")`; **`over`** cannot be blank.
19882+
- **`tags`** one or more quoted tags (comma-separated), or "*". for example:
19883+
`.over("env:prod", "role:db")`; **`over`** cannot be blank.
1988219884

1988319885
- **`count`** must be at greater than or equal to your max threshold (defined
1988419886
in the `options`). It is limited to 100.
@@ -20229,8 +20231,8 @@ paths:
2022920231
format: int64
2023020232
type: integer
2023120233
- description: 'String for sort order, composed of field and sort order separate
20232-
by a comma, e.g. `name,asc`. Supported sort directions: `asc`, `desc`. Supported
20233-
fields:
20234+
by a comma, for example `name,asc`. Supported sort directions: `asc`, `desc`.
20235+
Supported fields:
2023420236

2023520237

2023620238
* `name`
@@ -20318,8 +20320,8 @@ paths:
2031820320
format: int64
2031920321
type: integer
2032020322
- description: 'String for sort order, composed of field and sort order separate
20321-
by a comma, e.g. `name,asc`. Supported sort directions: `asc`, `desc`. Supported
20322-
fields:
20323+
by a comma, for example `name,asc`. Supported sort directions: `asc`, `desc`.
20324+
Supported fields:
2032320325

2032420326

2032520327
* `name`
@@ -20422,7 +20424,7 @@ paths:
2042220424
format: int64
2042320425
type: integer
2042420426
- description: Delete the monitor even if it's referenced by other resources
20425-
(e.g. SLO, composite monitor).
20427+
(for example SLO, composite monitor).
2042620428
in: query
2042720429
name: force
2042820430
required: false
@@ -21999,7 +22001,7 @@ paths:
2199922001
schema:
2200022002
type: string
2200122003
- description: Delete the monitor even if it's referenced by other resources
22002-
(e.g. SLO, composite monitor).
22004+
(for example SLO, composite monitor).
2200322005
in: query
2200422006
name: force
2200522007
required: false
@@ -23702,7 +23704,7 @@ paths:
2370223704
required: true
2370323705
schema:
2370423706
type: string
23705-
- description: 'The source of the tags (e.g. chef, puppet).
23707+
- description: 'The source of the tags (for example chef, puppet).
2370623708

2370723709
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
2370823710
in: query
@@ -23853,7 +23855,7 @@ paths:
2385323855
required: true
2385423856
schema:
2385523857
type: string
23856-
- description: 'The source of the tags (e.g. chef, puppet).
23858+
- description: 'The source of the tags (for example chef, puppet).
2385723859

2385823860
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value)'
2385923861
in: query
@@ -25953,7 +25955,7 @@ paths:
2595325955
variables:
2595425956
site:
2595525957
default: datadoghq.com
25956-
description: The regional site for our customers.
25958+
description: The regional site for Datadog customers.
2595725959
enum:
2595825960
- datadoghq.com
2595925961
- us3.datadoghq.com
@@ -26111,7 +26113,7 @@ tags:
2611126113
- description: "Pipelines and processors operate on incoming logs, parsing\nand transforming
2611226114
them into structured attributes for easier querying.\n\n- See the [pipelines configuration
2611326115
page](https://app.datadoghq.com/logs/pipelines)\n for a list of the pipelines
26114-
and processors currently configured in our UI.\n\n- Additional API-related information
26116+
and processors currently configured in web UI.\n\n- Additional API-related information
2611526117
about processors can be found in the\n [processors documentation](https://docs.datadoghq.com/logs/log_configuration/processors/?tab=api#lookup-processor).\n\n-
2611626118
For more information about Pipelines, see the\n [pipeline documentation](https://docs.datadoghq.com/logs/log_configuration/pipelines).\n\n**Notes:**\n\nThese
2611726119
endpoints are only available for admin users.\nMake sure to use an application

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9949,7 +9949,7 @@ servers:
99499949
variables:
99509950
site:
99519951
default: datadoghq.com
9952-
description: The regional site for our customers.
9952+
description: The regional site for Datadog customers.
99539953
enum:
99549954
- datadoghq.com
99559955
- us3.datadoghq.com
@@ -10009,7 +10009,7 @@ tags:
1000910009
1001010010
See the [Archives Page](https://app.datadoghq.com/logs/pipelines/archives)
1001110011
10012-
for a list of the archives currently configured in our UI.'
10012+
for a list of the archives currently configured in web UI.'
1001310013
externalDocs:
1001410014
description: Find out more at
1001510015
url: https://docs.datadoghq.com/logs/archives/

api_docs/v1/Event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Object representing an event.
77
| Name | Type | Description | Notes |
88
| ------------------ | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
99
| **alertType** | **EventAlertType** | | [optional] |
10-
| **dateHappened** | **Long** | POSIX timestamp of the event. Must be sent as an integer (i.e. no quotes). Limited to events no older than 7 days. | [optional] |
10+
| **dateHappened** | **Long** | POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events no older than 7 days. | [optional] |
1111
| **deviceName** | **String** | A device name. | [optional] |
1212
| **host** | **String** | Host name to associate with the event. Any tags associated with the host are also applied to this event. | [optional] |
1313
| **id** | **Long** | Integer ID of the event. | [optional] [readonly] |

api_docs/v1/EventCreateRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Object representing an event.
88
| ------------------ | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
99
| **aggregationKey** | **String** | An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a key, all events using that key are grouped together in the Event Stream. | [optional] |
1010
| **alertType** | **EventAlertType** | | [optional] |
11-
| **dateHappened** | **Long** | POSIX timestamp of the event. Must be sent as an integer (i.e. no quotes). Limited to events no older than 7 days. | [optional] |
11+
| **dateHappened** | **Long** | POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events no older than 7 days. | [optional] |
1212
| **deviceName** | **String** | A device name. | [optional] |
1313
| **host** | **String** | Host name to associate with the event. Any tags associated with the host are also applied to this event. | [optional] |
1414
| **id** | **Long** | Integer ID of the event. | [optional] [readonly] |
1515
| **payload** | **String** | Payload of the event. | [optional] [readonly] |
1616
| **priority** | **EventPriority** | | [optional] |
17-
| **relatedEventId** | **Long** | ID of the parent event. Must be sent as an integer (i.e. no quotes). | [optional] |
17+
| **relatedEventId** | **Long** | ID of the parent event. Must be sent as an integer (that is no quotes). | [optional] |
1818
| **sourceTypeName** | **String** | The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). | [optional] |
1919
| **tags** | **List&lt;String&gt;** | A list of tags to apply to the event. | [optional] |
2020
| **text** | **String** | The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with &#x60;%%% \\n&#x60; and end the text block with &#x60;\\n %%%&#x60;. Use &#x60;msg_text&#x60; with the Datadog Ruby library. |

0 commit comments

Comments
 (0)