-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properly handle recurring downtimes definitions #1092
Changes from 12 commits
d5dd8a8
1c5cbc1
40435c8
0f9c443
264c792
ea0614d
e1a6de8
a544f70
4c7a5b8
73aceb4
1bee4d9
f06954f
77e0093
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -50,6 +50,7 @@ resource "datadog_downtime" "foo" { | |||
|
||||
### Optional | ||||
|
||||
- **active_child_id** (Number) The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes. | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we include this, I think it should be actually read only. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bumping on this, is this part auto generated or a copy/paste? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The doc is auto generated. But to avoid this, we should remove the line below since the attribute is read only:
|
||||
- **end** (Number) Optionally specify an end date when this downtime should expire | ||||
- **end_date** (String) String representing date and time to end the downtime in RFC3339 format. | ||||
- **message** (String) An optional message to provide when creating the downtime, can include notification handles | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw there was a slack conversation about this, @therve can you just confirm this is what the recommendation was?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we'll come back to fix it later.