Skip to content

Commit 2ce94ee

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 99c92ca of spec repo (#146)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9fde6d8 commit 2ce94ee

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
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.3.0",
7-
"regenerated": "2020-11-11 11:36:49.339681",
8-
"spec_repo_commit": "8a545a7"
7+
"regenerated": "2020-11-11 14:04:17.890709",
8+
"spec_repo_commit": "99c92ca"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-11 11:37:00.314087",
13-
"spec_repo_commit": "8a545a7"
12+
"regenerated": "2020-11-11 14:04:27.637287",
13+
"spec_repo_commit": "99c92ca"
1414
}
1515
}
1616
}

docs/v1/MonitorOptions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
1919
**notify_no_data** | **bool** | A Boolean indicating whether this monitor notifies when data stops reporting. | [optional] if omitted the server will use the default value of False
2020
**renotify_interval** | **int, none_type** | The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved. | [optional]
2121
**require_full_window** | **bool** | A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to &#x60;false&#x60; for sparse metrics, otherwise some evaluations are skipped. Default is false. | [optional]
22+
**restricted_roles** | **[str]** | A list of role identifiers that can be pulled from the Roles API. Cannot be used with &#x60;locked&#x60;. | [optional]
2223
**silenced** | **{str: (int, none_type)}** | Information about the downtime applied to the monitor. | [optional]
2324
**synthetics_check_id** | **str, none_type** | ID of the corresponding Synthetic check. | [optional]
2425
**threshold_windows** | [**MonitorThresholdWindowOptions**](MonitorThresholdWindowOptions.md) | | [optional]

docs/v1/MonitorsApi.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
180180
notify_no_data=False,
181181
renotify_interval=1,
182182
require_full_window=True,
183+
restricted_roles=[
184+
"restricted_roles_example",
185+
],
183186
silenced={
184187
"key": 1,
185188
},
@@ -629,6 +632,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
629632
notify_no_data=False,
630633
renotify_interval=1,
631634
require_full_window=True,
635+
restricted_roles=[
636+
"restricted_roles_example",
637+
],
632638
silenced={
633639
"key": 1,
634640
},
@@ -788,6 +794,9 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
788794
notify_no_data=False,
789795
renotify_interval=1,
790796
require_full_window=True,
797+
restricted_roles=[
798+
"restricted_roles_example",
799+
],
791800
silenced={
792801
"key": 1,
793802
},

src/datadog_api_client/v1/model/monitor_options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def openapi_types():
101101
'notify_no_data': (bool,), # noqa: E501
102102
'renotify_interval': (int, none_type,), # noqa: E501
103103
'require_full_window': (bool,), # noqa: E501
104+
'restricted_roles': ([str],), # noqa: E501
104105
'silenced': ({str: (int, none_type)},), # noqa: E501
105106
'synthetics_check_id': (str, none_type,), # noqa: E501
106107
'threshold_windows': (MonitorThresholdWindowOptions,), # noqa: E501
@@ -129,6 +130,7 @@ def discriminator():
129130
'notify_no_data': 'notify_no_data', # noqa: E501
130131
'renotify_interval': 'renotify_interval', # noqa: E501
131132
'require_full_window': 'require_full_window', # noqa: E501
133+
'restricted_roles': 'restricted_roles', # noqa: E501
132134
'silenced': 'silenced', # noqa: E501
133135
'synthetics_check_id': 'synthetics_check_id', # noqa: E501
134136
'threshold_windows': 'threshold_windows', # noqa: E501
@@ -197,6 +199,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
197199
notify_no_data (bool): A Boolean indicating whether this monitor notifies when data stops reporting.. [optional] if omitted the server will use the default value of False # noqa: E501
198200
renotify_interval (int, none_type): The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved.. [optional] # noqa: E501
199201
require_full_window (bool): A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to &#x60;false&#x60; for sparse metrics, otherwise some evaluations are skipped. Default is false.. [optional] # noqa: E501
202+
restricted_roles ([str]): A list of role identifiers that can be pulled from the Roles API. Cannot be used with &#x60;locked&#x60;.. [optional] # noqa: E501
200203
silenced ({str: (int, none_type)}): Information about the downtime applied to the monitor.. [optional] # noqa: E501
201204
synthetics_check_id (str, none_type): ID of the corresponding Synthetic check.. [optional] # noqa: E501
202205
threshold_windows (MonitorThresholdWindowOptions): [optional] # noqa: E501

src/datadog_api_client/v1/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3922,6 +3922,13 @@ components:
39223922
\ to `false` for sparse metrics,\notherwise some evaluations are skipped.\
39233923
\ Default is false."
39243924
type: boolean
3925+
restricted_roles:
3926+
description: A list of role identifiers that can be pulled from the Roles
3927+
API. Cannot be used with `locked`.
3928+
items:
3929+
description: A role UUID.
3930+
type: string
3931+
type: array
39253932
silenced:
39263933
additionalProperties:
39273934
description: ID of the downtime applied to the monitor.

0 commit comments

Comments
 (0)