Skip to content

Commit 74fa423

Browse files
api-clients-generation-pipeline[bot]therveci.datadog-api-spec
authored
Generate SDKs for monitors search endpoints (#455)
* Add cassettes * Regenerate client from commit 0167d3f of spec repo * Trigger CI Co-authored-by: Thomas Hervé <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9be3ccd commit 74fa423

34 files changed

+2949
-6
lines changed

.apigentools-info

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"info_version": "2",
44
"spec_versions": {
55
"v1": {
6-
"apigentools_version": "1.4.1.dev6",
7-
"regenerated": "2021-05-24 14:54:05.336368",
8-
"spec_repo_commit": "4ffe2b5"
6+
"apigentools_version": "1.4.1.dev8",
7+
"regenerated": "2021-05-27 08:31:12.667336",
8+
"spec_repo_commit": "0167d3f"
99
},
1010
"v2": {
11-
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-24 14:54:32.558844",
13-
"spec_repo_commit": "4ffe2b5"
11+
"apigentools_version": "1.4.1.dev8",
12+
"regenerated": "2021-05-27 08:31:41.291570",
13+
"spec_repo_commit": "0167d3f"
1414
}
1515
}
1616
}

docs/v1/MonitorGroupSearchResponse.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MonitorGroupSearchResponse
2+
3+
The response of a monitor group search.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**counts** | [**MonitorGroupSearchResponseCounts**](MonitorGroupSearchResponseCounts.md) | | [optional]
9+
**groups** | [**[MonitorGroupSearchResult]**](MonitorGroupSearchResult.md) | The list of found monitor groups. | [optional] [readonly]
10+
**metadata** | [**MonitorSearchResponseMetadata**](MonitorSearchResponseMetadata.md) | | [optional]
11+
12+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
13+
14+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# MonitorGroupSearchResponseCounts
2+
3+
The counts of monitor groups per different criteria.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**status** | [**MonitorSearchCount**](MonitorSearchCount.md) | | [optional]
9+
**type** | [**MonitorSearchCount**](MonitorSearchCount.md) | | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+

docs/v1/MonitorGroupSearchResult.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# MonitorGroupSearchResult
2+
3+
A single monitor group search result.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**group** | **str** | The name of the group. | [optional] [readonly]
9+
**group_tags** | **[str]** | The list of tags of the monitor group. | [optional] [readonly]
10+
**last_nodata_ts** | **int** | Latest timestamp the monitor group was in NO_DATA state. | [optional] [readonly]
11+
**last_triggered_ts** | **int, none_type** | Latest timestamp the monitor group triggered. | [optional] [readonly]
12+
**monitor_id** | **int** | The ID of the monitor. | [optional] [readonly]
13+
**monitor_name** | **str** | The name of the monitor. | [optional] [readonly]
14+
**status** | [**MonitorOverallStates**](MonitorOverallStates.md) | | [optional]
15+
16+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
17+
18+

docs/v1/MonitorSearchCount.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# MonitorSearchCount
2+
3+
Search facets.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**value** | **[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** | Search facets. |
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

docs/v1/MonitorSearchResponse.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MonitorSearchResponse
2+
3+
The response form a monitor search.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**counts** | [**MonitorSearchResponseCounts**](MonitorSearchResponseCounts.md) | | [optional]
9+
**metadata** | [**MonitorSearchResponseMetadata**](MonitorSearchResponseMetadata.md) | | [optional]
10+
**monitors** | [**[MonitorSearchResult]**](MonitorSearchResult.md) | The list of found monitors. | [optional] [readonly]
11+
12+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
13+
14+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# MonitorSearchResponseCounts
2+
3+
The counts of monitors per different criteria.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**muted** | [**MonitorSearchCount**](MonitorSearchCount.md) | | [optional]
9+
**status** | [**MonitorSearchCount**](MonitorSearchCount.md) | | [optional]
10+
**tag** | [**MonitorSearchCount**](MonitorSearchCount.md) | | [optional]
11+
**type** | [**MonitorSearchCount**](MonitorSearchCount.md) | | [optional]
12+
13+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
14+
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# MonitorSearchResponseMetadata
2+
3+
Metadata about the response.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**page** | **int** | The page to start paginating from. | [optional] [readonly]
9+
**page_count** | **int** | The number of pages. | [optional] [readonly]
10+
**per_page** | **int** | The number of monitors to return per page. | [optional] [readonly]
11+
**total_count** | **int** | The total number of monitors. | [optional] [readonly]
12+
13+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
14+
15+

docs/v1/MonitorSearchResult.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# MonitorSearchResult
2+
3+
Holds search results.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**classification** | **str** | Classification of the monitor. | [optional] [readonly]
9+
**creator** | [**Creator**](Creator.md) | | [optional]
10+
**id** | **int** | ID of the monitor. | [optional] [readonly]
11+
**last_triggered_ts** | **int, none_type** | Latest timestamp the monitor triggered. | [optional] [readonly]
12+
**metrics** | **[str]** | Metrics used by the monitor. | [optional] [readonly]
13+
**name** | **str** | The monitor name. | [optional] [readonly]
14+
**notifications** | [**[MonitorSearchResultNotification]**](MonitorSearchResultNotification.md) | The notification triggered by the monitor. | [optional] [readonly]
15+
**org_id** | **int** | The ID of the organization. | [optional] [readonly]
16+
**scopes** | **[str]** | The scope(s) to which the downtime applies, e.g. &#x60;host:app2&#x60;. Provide multiple scopes as a comma-separated list, e.g. &#x60;env:dev,env:prod&#x60;. The resulting downtime applies to sources that matches ALL provided scopes (i.e. &#x60;env:dev AND env:prod&#x60;), NOT any of them. | [optional]
17+
**status** | [**MonitorOverallStates**](MonitorOverallStates.md) | | [optional]
18+
**tags** | **[str]** | Tags associated with the monitor. | [optional] [readonly]
19+
**type** | [**MonitorType**](MonitorType.md) | | [optional]
20+
21+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
22+
23+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# MonitorSearchResultNotification
2+
3+
A notification triggered by the monitor.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**handle** | **str** | The email address that received the notification. | [optional] [readonly]
9+
**name** | **str** | The username receiving the notification | [optional] [readonly]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+

0 commit comments

Comments
 (0)