Skip to content

Commit

Permalink
Regenerate client from commit dafdffa of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Aug 4, 2021
1 parent ec1ebb6 commit 2c74aa1
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 68 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.4.1.dev11",
"regenerated": "2021-08-04 16:37:23.957844",
"spec_repo_commit": "c6e36ca"
"regenerated": "2021-08-04 17:10:49.076379",
"spec_repo_commit": "dafdffa"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-08-04 16:37:54.999270",
"spec_repo_commit": "c6e36ca"
"regenerated": "2021-08-04 17:11:20.821526",
"spec_repo_commit": "dafdffa"
}
}
}
126 changes: 71 additions & 55 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15543,9 +15543,9 @@ components:
deleted: 2000-01-23T04:56:07.000+00:00
name: name
options:
no_data_timeframe: 2
no_data_timeframe: 7
silenced:
key: 9
key: 3
synthetics_check_id: synthetics_check_id
notify_no_data: false
enable_logs_sample: true
Expand All @@ -15557,15 +15557,16 @@ components:
groupby_simple_monitor: true
notify_audit: false
min_location_failed: 5
new_host_delay: 5
renotify_interval: 7
new_host_delay: 2
renotify_interval: 9
thresholds:
critical: 3.616076749251911
warning: 1.2315135367772556
warning_recovery: 1.0246457001441578
ok: 4.145608029883936
critical_recovery: 2.027123023002322
unknown: 7.386281948385884
critical: 2.027123023002322
warning: 1.0246457001441578
warning_recovery: 1.4894159098541704
ok: 7.386281948385884
critical_recovery: 4.145608029883936
unknown: 1.2315135367772556
new_group_delay: 5
min_failure_duration: 1055
threshold_windows:
trigger_window: trigger_window
Expand All @@ -15576,18 +15577,18 @@ components:
- null
- null
escalation_message: none
timeout_h: 1
timeout_h: 6
locked: true
modified: 2000-01-23T04:56:07.000+00:00
id: 0
state:
groups:
key:
last_triggered_ts: 5
last_notified_ts: 1
last_triggered_ts: 9
last_notified_ts: 4
name: name
last_resolved_ts: 4
last_nodata_ts: 7
last_resolved_ts: 5
last_nodata_ts: 1
properties:
created:
description: Timestamp of the monitor creation.
Expand Down Expand Up @@ -15766,9 +15767,9 @@ components:
MonitorOptions:
description: List of options associated with your monitor.
example:
no_data_timeframe: 2
no_data_timeframe: 7
silenced:
key: 9
key: 3
synthetics_check_id: synthetics_check_id
notify_no_data: false
enable_logs_sample: true
Expand All @@ -15780,15 +15781,16 @@ components:
groupby_simple_monitor: true
notify_audit: false
min_location_failed: 5
new_host_delay: 5
renotify_interval: 7
new_host_delay: 2
renotify_interval: 9
thresholds:
critical: 3.616076749251911
warning: 1.2315135367772556
warning_recovery: 1.0246457001441578
ok: 4.145608029883936
critical_recovery: 2.027123023002322
unknown: 7.386281948385884
critical: 2.027123023002322
warning: 1.0246457001441578
warning_recovery: 1.4894159098541704
ok: 7.386281948385884
critical_recovery: 4.145608029883936
unknown: 1.2315135367772556
new_group_delay: 5
min_failure_duration: 1055
threshold_windows:
trigger_window: trigger_window
Expand All @@ -15799,7 +15801,7 @@ components:
- null
- null
escalation_message: none
timeout_h: 1
timeout_h: 6
locked: true
properties:
aggregation:
Expand Down Expand Up @@ -15865,12 +15867,25 @@ components:
format: int64
nullable: true
type: integer
new_group_delay:
description: |-
Time (in seconds) to skip evaluations for new groups.

For example, this option can be used to skip evaluations for new hosts while they initialize.

Must be a non negative integer.
format: int64
nullable: true
type: integer
new_host_delay:
default: 300
deprecated: true
description: |-
Time (in seconds) to allow a host to boot and applications
to fully start before starting the evaluation of monitor results.
Should be a non negative integer.

Use new_group_delay instead.
format: int64
nullable: true
type: integer
Expand Down Expand Up @@ -16135,11 +16150,11 @@ components:
example:
groups:
key:
last_triggered_ts: 5
last_notified_ts: 1
last_triggered_ts: 9
last_notified_ts: 4
name: name
last_resolved_ts: 4
last_nodata_ts: 7
last_resolved_ts: 5
last_nodata_ts: 1
properties:
groups:
additionalProperties:
Expand All @@ -16153,11 +16168,11 @@ components:
MonitorStateGroup:
description: Monitor state for a single group.
example:
last_triggered_ts: 5
last_notified_ts: 1
last_triggered_ts: 9
last_notified_ts: 4
name: name
last_resolved_ts: 4
last_nodata_ts: 7
last_resolved_ts: 5
last_nodata_ts: 1
properties:
last_nodata_ts:
description: Latest timestamp the monitor was in NO_DATA state.
Expand Down Expand Up @@ -16259,12 +16274,12 @@ components:
MonitorThresholds:
description: List of the different monitor threshold available.
example:
critical: 3.616076749251911
warning: 1.2315135367772556
warning_recovery: 1.0246457001441578
ok: 4.145608029883936
critical_recovery: 2.027123023002322
unknown: 7.386281948385884
critical: 2.027123023002322
warning: 1.0246457001441578
warning_recovery: 1.4894159098541704
ok: 7.386281948385884
critical_recovery: 4.145608029883936
unknown: 1.2315135367772556
properties:
critical:
description: The monitor `CRITICAL` threshold.
Expand Down Expand Up @@ -16350,9 +16365,9 @@ components:
deleted: 2000-01-23T04:56:07.000+00:00
name: name
options:
no_data_timeframe: 2
no_data_timeframe: 7
silenced:
key: 9
key: 3
synthetics_check_id: synthetics_check_id
notify_no_data: false
enable_logs_sample: true
Expand All @@ -16364,15 +16379,16 @@ components:
groupby_simple_monitor: true
notify_audit: false
min_location_failed: 5
new_host_delay: 5
renotify_interval: 7
new_host_delay: 2
renotify_interval: 9
thresholds:
critical: 3.616076749251911
warning: 1.2315135367772556
warning_recovery: 1.0246457001441578
ok: 4.145608029883936
critical_recovery: 2.027123023002322
unknown: 7.386281948385884
critical: 2.027123023002322
warning: 1.0246457001441578
warning_recovery: 1.4894159098541704
ok: 7.386281948385884
critical_recovery: 4.145608029883936
unknown: 1.2315135367772556
new_group_delay: 5
min_failure_duration: 1055
threshold_windows:
trigger_window: trigger_window
Expand All @@ -16383,18 +16399,18 @@ components:
- null
- null
escalation_message: none
timeout_h: 1
timeout_h: 6
locked: true
modified: 2000-01-23T04:56:07.000+00:00
id: 0
state:
groups:
key:
last_triggered_ts: 5
last_notified_ts: 1
last_triggered_ts: 9
last_notified_ts: 4
name: name
last_resolved_ts: 4
last_nodata_ts: 7
last_resolved_ts: 5
last_nodata_ts: 1
properties:
created:
description: Timestamp of the monitor creation.
Expand Down
38 changes: 37 additions & 1 deletion api/v1/datadog/docs/MonitorOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Name | Type | Description | Notes
**Locked** | Pointer to **bool** | Whether or not the monitor is locked (only editable by creator and admins). | [optional]
**MinFailureDuration** | Pointer to **NullableInt64** | How long the test should be in failure before alerting (integer, number of seconds, max 7200). | [optional] [default to 0]
**MinLocationFailed** | Pointer to **NullableInt64** | The minimum number of locations in failure at the same time during at least one moment in the `min_failure_duration` period (`min_location_failed` and `min_failure_duration` are part of the advanced alerting rules - integer, >= 1). | [optional] [default to 1]
**NewHostDelay** | Pointer to **NullableInt64** | Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non negative integer. | [optional] [default to 300]
**NewGroupDelay** | Pointer to **NullableInt64** | Time (in seconds) to skip evaluations for new groups. For example, this option can be used to skip evaluations for new hosts while they initialize. Must be a non negative integer. | [optional]
**NewHostDelay** | Pointer to **NullableInt64** | Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non negative integer. Use new_group_delay instead. | [optional] [default to 300]
**NoDataTimeframe** | Pointer to **NullableInt64** | The number of minutes before a monitor notifies after data stops reporting. Datadog recommends at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks. If omitted, 2x the evaluation timeframe is used for metric alerts, and 24 hours is used for service checks. | [optional]
**NotifyAudit** | Pointer to **bool** | A Boolean indicating whether tagged users is notified on changes to this monitor. | [optional] [default to false]
**NotifyNoData** | Pointer to **bool** | A Boolean indicating whether this monitor notifies when data stops reporting. | [optional] [default to false]
Expand Down Expand Up @@ -325,6 +326,41 @@ HasMinLocationFailed returns a boolean if a field has been set.
`func (o *MonitorOptions) UnsetMinLocationFailed()`

UnsetMinLocationFailed ensures that no value is present for MinLocationFailed, not even an explicit nil
### GetNewGroupDelay

`func (o *MonitorOptions) GetNewGroupDelay() int64`

GetNewGroupDelay returns the NewGroupDelay field if non-nil, zero value otherwise.

### GetNewGroupDelayOk

`func (o *MonitorOptions) GetNewGroupDelayOk() (*int64, bool)`

GetNewGroupDelayOk returns a tuple with the NewGroupDelay field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetNewGroupDelay

`func (o *MonitorOptions) SetNewGroupDelay(v int64)`

SetNewGroupDelay sets NewGroupDelay field to given value.

### HasNewGroupDelay

`func (o *MonitorOptions) HasNewGroupDelay() bool`

HasNewGroupDelay returns a boolean if a field has been set.

### SetNewGroupDelayNil

`func (o *MonitorOptions) SetNewGroupDelayNil(b bool)`

SetNewGroupDelayNil sets the value for NewGroupDelay to be an explicit nil

### UnsetNewGroupDelay
`func (o *MonitorOptions) UnsetNewGroupDelay()`

UnsetNewGroupDelay ensures that no value is present for NewGroupDelay, not even an explicit nil
### GetNewHostDelay

`func (o *MonitorOptions) GetNewHostDelay() int64`
Expand Down
Loading

0 comments on commit 2c74aa1

Please sign in to comment.