@pulumi/datadog 4.55.0-alpha.1756323695 → 4.55.0-alpha.1756506711

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/actionConnection.js +8 -8
  2. package/actionConnection.js.map +1 -1
  3. package/agentlessScanningAwsScanOptions.js +16 -16
  4. package/agentlessScanningAwsScanOptions.js.map +1 -1
  5. package/apiKey.js +7 -7
  6. package/apiKey.js.map +1 -1
  7. package/apmRetentionFilter.js +17 -17
  8. package/apmRetentionFilter.js.map +1 -1
  9. package/apmRetentionFilterOrder.js +4 -4
  10. package/apmRetentionFilterOrder.js.map +1 -1
  11. package/appBuilderApp.js +14 -14
  12. package/appBuilderApp.js.map +1 -1
  13. package/appKeyRegistration.js +4 -4
  14. package/appKeyRegistration.js.map +1 -1
  15. package/applicationKey.js +7 -7
  16. package/applicationKey.js.map +1 -1
  17. package/appsecWafCustomRule.js +21 -21
  18. package/appsecWafCustomRule.js.map +1 -1
  19. package/appsecWafExclusionFilter.js +21 -21
  20. package/appsecWafExclusionFilter.js.map +1 -1
  21. package/authnMapping.js +11 -11
  22. package/authnMapping.js.map +1 -1
  23. package/aws/integration.js +26 -26
  24. package/aws/integration.js.map +1 -1
  25. package/aws/integrationAccount.js +21 -21
  26. package/aws/integrationAccount.js.map +1 -1
  27. package/aws/integrationEventBridge.js +12 -12
  28. package/aws/integrationEventBridge.js.map +1 -1
  29. package/aws/integrationExternalId.js +1 -1
  30. package/aws/integrationExternalId.js.map +1 -1
  31. package/aws/integrationLambdaArn.js +7 -7
  32. package/aws/integrationLambdaArn.js.map +1 -1
  33. package/aws/integrationLogCollection.js +7 -7
  34. package/aws/integrationLogCollection.js.map +1 -1
  35. package/aws/integrationTagFilter.js +10 -10
  36. package/aws/integrationTagFilter.js.map +1 -1
  37. package/azure/integration.js +32 -32
  38. package/azure/integration.js.map +1 -1
  39. package/childOrganization.js +10 -10
  40. package/childOrganization.js.map +1 -1
  41. package/cloudConfigurationRule.js +29 -29
  42. package/cloudConfigurationRule.js.map +1 -1
  43. package/cloudWorkloadSecurityAgentRule.js +11 -11
  44. package/cloudWorkloadSecurityAgentRule.js.map +1 -1
  45. package/cloudflare/integrationAccount.js +11 -11
  46. package/cloudflare/integrationAccount.js.map +1 -1
  47. package/complianceCustomFramework.js +14 -14
  48. package/complianceCustomFramework.js.map +1 -1
  49. package/complianceResourceEvaluationFilter.d.ts +15 -12
  50. package/complianceResourceEvaluationFilter.js +10 -10
  51. package/complianceResourceEvaluationFilter.js.map +1 -1
  52. package/config/vars.d.ts +8 -21
  53. package/config/vars.js.map +1 -1
  54. package/confluent/integrationAccount.js +9 -9
  55. package/confluent/integrationAccount.js.map +1 -1
  56. package/confluent/integrationResource.js +13 -13
  57. package/confluent/integrationResource.js.map +1 -1
  58. package/costBudget.js +18 -18
  59. package/costBudget.js.map +1 -1
  60. package/csmThreatsAgentRule.js +17 -17
  61. package/csmThreatsAgentRule.js.map +1 -1
  62. package/csmThreatsPolicy.js +12 -12
  63. package/csmThreatsPolicy.js.map +1 -1
  64. package/dashboard.js +30 -30
  65. package/dashboard.js.map +1 -1
  66. package/dashboardJson.js +9 -9
  67. package/dashboardJson.js.map +1 -1
  68. package/dashboardList.js +6 -6
  69. package/dashboardList.js.map +1 -1
  70. package/dataset.js +11 -11
  71. package/dataset.js.map +1 -1
  72. package/domainAllowlist.js +7 -7
  73. package/domainAllowlist.js.map +1 -1
  74. package/downtime.js +27 -27
  75. package/downtime.js.map +1 -1
  76. package/downtimeSchedule.js +20 -20
  77. package/downtimeSchedule.js.map +1 -1
  78. package/fastly/integrationAccount.js +7 -7
  79. package/fastly/integrationAccount.js.map +1 -1
  80. package/fastly/integrationService.js +8 -8
  81. package/fastly/integrationService.js.map +1 -1
  82. package/gcp/integration.js +30 -30
  83. package/gcp/integration.js.map +1 -1
  84. package/gcp/integrationSts.js +25 -25
  85. package/gcp/integrationSts.js.map +1 -1
  86. package/incidentType.js +8 -8
  87. package/incidentType.js.map +1 -1
  88. package/ipAllowlist.js +6 -6
  89. package/ipAllowlist.js.map +1 -1
  90. package/logsArchive.js +19 -19
  91. package/logsArchive.js.map +1 -1
  92. package/logsArchiveOrder.js +3 -3
  93. package/logsArchiveOrder.js.map +1 -1
  94. package/logsCustomDestination.js +22 -22
  95. package/logsCustomDestination.js.map +1 -1
  96. package/logsCustomPipeline.js +15 -15
  97. package/logsCustomPipeline.js.map +1 -1
  98. package/logsIndex.js +21 -21
  99. package/logsIndex.js.map +1 -1
  100. package/logsIndexOrder.js +6 -6
  101. package/logsIndexOrder.js.map +1 -1
  102. package/logsIntegrationPipeline.js +3 -3
  103. package/logsIntegrationPipeline.js.map +1 -1
  104. package/logsMetric.js +12 -12
  105. package/logsMetric.js.map +1 -1
  106. package/logsPipelineOrder.js +7 -7
  107. package/logsPipelineOrder.js.map +1 -1
  108. package/metricMetadata.js +16 -16
  109. package/metricMetadata.js.map +1 -1
  110. package/metricTagConfiguration.js +16 -16
  111. package/metricTagConfiguration.js.map +1 -1
  112. package/monitor.d.ts +69 -144
  113. package/monitor.js +73 -73
  114. package/monitor.js.map +1 -1
  115. package/monitorConfigPolicy.js +6 -6
  116. package/monitorConfigPolicy.js.map +1 -1
  117. package/monitorJson.js +6 -6
  118. package/monitorJson.js.map +1 -1
  119. package/monitorNotificationRule.js +9 -9
  120. package/monitorNotificationRule.js.map +1 -1
  121. package/ms/integrationTeamsTenantBasedHandle.js +13 -13
  122. package/ms/integrationTeamsTenantBasedHandle.js.map +1 -1
  123. package/ms/integrationTeamsWorkflowsWebhookHandle.js +7 -7
  124. package/ms/integrationTeamsWorkflowsWebhookHandle.js.map +1 -1
  125. package/observabilityPipeline.js +6 -6
  126. package/observabilityPipeline.js.map +1 -1
  127. package/onCallEscalationPolicy.js +13 -13
  128. package/onCallEscalationPolicy.js.map +1 -1
  129. package/onCallSchedule.js +11 -11
  130. package/onCallSchedule.js.map +1 -1
  131. package/onCallTeamRoutingRules.js +6 -6
  132. package/onCallTeamRoutingRules.js.map +1 -1
  133. package/openapiApi.js +4 -4
  134. package/openapiApi.js.map +1 -1
  135. package/opsgenie/serviceObject.js +12 -12
  136. package/opsgenie/serviceObject.js.map +1 -1
  137. package/organizationSettings.js +9 -9
  138. package/organizationSettings.js.map +1 -1
  139. package/package.json +2 -2
  140. package/pagerduty/integration.js +8 -8
  141. package/pagerduty/integration.js.map +1 -1
  142. package/pagerduty/serviceObject.js +7 -7
  143. package/pagerduty/serviceObject.js.map +1 -1
  144. package/powerpack.js +17 -17
  145. package/powerpack.js.map +1 -1
  146. package/provider.d.ts +15 -40
  147. package/provider.js +16 -16
  148. package/provider.js.map +1 -1
  149. package/restrictionPolicy.js +6 -6
  150. package/restrictionPolicy.js.map +1 -1
  151. package/role.js +11 -11
  152. package/role.js.map +1 -1
  153. package/rumApplication.js +7 -7
  154. package/rumApplication.js.map +1 -1
  155. package/rumMetric.js +15 -15
  156. package/rumMetric.js.map +1 -1
  157. package/rumRetentionFilter.js +17 -17
  158. package/rumRetentionFilter.js.map +1 -1
  159. package/rumRetentionFiltersOrder.js +7 -7
  160. package/rumRetentionFiltersOrder.js.map +1 -1
  161. package/securityMonitoringDefaultRule.js +18 -18
  162. package/securityMonitoringDefaultRule.js.map +1 -1
  163. package/securityMonitoringFilter.js +15 -15
  164. package/securityMonitoringFilter.js.map +1 -1
  165. package/securityMonitoringRule.js +33 -33
  166. package/securityMonitoringRule.js.map +1 -1
  167. package/securityMonitoringRuleJson.js +4 -4
  168. package/securityMonitoringRuleJson.js.map +1 -1
  169. package/securityMonitoringSuppression.js +20 -20
  170. package/securityMonitoringSuppression.js.map +1 -1
  171. package/securityNotificationRule.js +20 -20
  172. package/securityNotificationRule.js.map +1 -1
  173. package/sensitiveDataScannerGroup.js +17 -17
  174. package/sensitiveDataScannerGroup.js.map +1 -1
  175. package/sensitiveDataScannerGroupOrder.js +4 -4
  176. package/sensitiveDataScannerGroupOrder.js.map +1 -1
  177. package/sensitiveDataScannerRule.js +26 -26
  178. package/sensitiveDataScannerRule.js.map +1 -1
  179. package/serviceAccount.js +10 -10
  180. package/serviceAccount.js.map +1 -1
  181. package/serviceAccountApplicationKey.js +12 -12
  182. package/serviceAccountApplicationKey.js.map +1 -1
  183. package/serviceDefinitionYaml.js +4 -4
  184. package/serviceDefinitionYaml.js.map +1 -1
  185. package/serviceLevelObjective.js +32 -32
  186. package/serviceLevelObjective.js.map +1 -1
  187. package/slack/channel.js +10 -10
  188. package/slack/channel.js.map +1 -1
  189. package/sloCorrection.js +20 -20
  190. package/sloCorrection.js.map +1 -1
  191. package/softwareCatalog.js +4 -4
  192. package/softwareCatalog.js.map +1 -1
  193. package/spansMetric.js +10 -10
  194. package/spansMetric.js.map +1 -1
  195. package/syntheticsConcurrencyCap.js +4 -4
  196. package/syntheticsConcurrencyCap.js.map +1 -1
  197. package/syntheticsGlobalVariable.js +24 -24
  198. package/syntheticsGlobalVariable.js.map +1 -1
  199. package/syntheticsPrivateLocation.js +13 -13
  200. package/syntheticsPrivateLocation.js.map +1 -1
  201. package/syntheticsTest.js +62 -62
  202. package/syntheticsTest.js.map +1 -1
  203. package/team.js +13 -13
  204. package/team.js.map +1 -1
  205. package/teamLink.js +12 -12
  206. package/teamLink.js.map +1 -1
  207. package/teamMembership.js +9 -9
  208. package/teamMembership.js.map +1 -1
  209. package/teamPermissionSetting.js +10 -10
  210. package/teamPermissionSetting.js.map +1 -1
  211. package/user.js +14 -14
  212. package/user.js.map +1 -1
  213. package/userRole.js +7 -7
  214. package/userRole.js.map +1 -1
  215. package/utilities.js +18 -29
  216. package/utilities.js.map +1 -1
  217. package/webhook.js +13 -13
  218. package/webhook.js.map +1 -1
  219. package/webhookCustomVariable.js +10 -10
  220. package/webhookCustomVariable.js.map +1 -1
  221. package/workflowAutomation.js +18 -18
  222. package/workflowAutomation.js.map +1 -1
@@ -65,7 +65,7 @@ class MetricTagConfiguration extends pulumi.CustomResource {
65
65
  * @param opts Optional settings to control the behavior of the CustomResource.
66
66
  */
67
67
  static get(name, id, state, opts) {
68
- return new MetricTagConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
68
+ return new MetricTagConfiguration(name, state, { ...opts, id: id });
69
69
  }
70
70
  /**
71
71
  * Returns true if the given object is an instance of MetricTagConfiguration. This is designed to work even
@@ -82,30 +82,30 @@ class MetricTagConfiguration extends pulumi.CustomResource {
82
82
  opts = opts || {};
83
83
  if (opts.id) {
84
84
  const state = argsOrState;
85
- resourceInputs["aggregations"] = state ? state.aggregations : undefined;
86
- resourceInputs["excludeTagsMode"] = state ? state.excludeTagsMode : undefined;
87
- resourceInputs["includePercentiles"] = state ? state.includePercentiles : undefined;
88
- resourceInputs["metricName"] = state ? state.metricName : undefined;
89
- resourceInputs["metricType"] = state ? state.metricType : undefined;
90
- resourceInputs["tags"] = state ? state.tags : undefined;
85
+ resourceInputs["aggregations"] = state?.aggregations;
86
+ resourceInputs["excludeTagsMode"] = state?.excludeTagsMode;
87
+ resourceInputs["includePercentiles"] = state?.includePercentiles;
88
+ resourceInputs["metricName"] = state?.metricName;
89
+ resourceInputs["metricType"] = state?.metricType;
90
+ resourceInputs["tags"] = state?.tags;
91
91
  }
92
92
  else {
93
93
  const args = argsOrState;
94
- if ((!args || args.metricName === undefined) && !opts.urn) {
94
+ if (args?.metricName === undefined && !opts.urn) {
95
95
  throw new Error("Missing required property 'metricName'");
96
96
  }
97
- if ((!args || args.metricType === undefined) && !opts.urn) {
97
+ if (args?.metricType === undefined && !opts.urn) {
98
98
  throw new Error("Missing required property 'metricType'");
99
99
  }
100
- if ((!args || args.tags === undefined) && !opts.urn) {
100
+ if (args?.tags === undefined && !opts.urn) {
101
101
  throw new Error("Missing required property 'tags'");
102
102
  }
103
- resourceInputs["aggregations"] = args ? args.aggregations : undefined;
104
- resourceInputs["excludeTagsMode"] = args ? args.excludeTagsMode : undefined;
105
- resourceInputs["includePercentiles"] = args ? args.includePercentiles : undefined;
106
- resourceInputs["metricName"] = args ? args.metricName : undefined;
107
- resourceInputs["metricType"] = args ? args.metricType : undefined;
108
- resourceInputs["tags"] = args ? args.tags : undefined;
103
+ resourceInputs["aggregations"] = args?.aggregations;
104
+ resourceInputs["excludeTagsMode"] = args?.excludeTagsMode;
105
+ resourceInputs["includePercentiles"] = args?.includePercentiles;
106
+ resourceInputs["metricName"] = args?.metricName;
107
+ resourceInputs["metricType"] = args?.metricType;
108
+ resourceInputs["tags"] = args?.tags;
109
109
  }
110
110
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
111
111
  super(MetricTagConfiguration.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"metricTagConfiguration.js","sourceRoot":"","sources":["../metricTagConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YAC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BAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA5FL,wDA6FC;AA/EG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
package/monitor.d.ts CHANGED
@@ -53,13 +53,11 @@ export declare class Monitor extends pulumi.CustomResource {
53
53
  */
54
54
  static isInstance(obj: any): obj is Monitor;
55
55
  /**
56
- * A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log
57
- * monitors. Defaults to `false`.
56
+ * A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`.
58
57
  */
59
58
  readonly enableLogsSample: pulumi.Output<boolean | undefined>;
60
59
  /**
61
- * Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline
62
- * monitors.
60
+ * Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline monitors.
63
61
  */
64
62
  readonly enableSamples: pulumi.Output<boolean | undefined>;
65
63
  /**
@@ -67,26 +65,21 @@ export declare class Monitor extends pulumi.CustomResource {
67
65
  */
68
66
  readonly escalationMessage: pulumi.Output<string | undefined>;
69
67
  /**
70
- * (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the
71
- * value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data
72
- * from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have
73
- * data during evaluation.
68
+ * (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
69
+ *
70
+ * For example, if the value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation.
74
71
  */
75
72
  readonly evaluationDelay: pulumi.Output<number>;
76
73
  /**
77
- * A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO,
78
- * composite monitor).
74
+ * A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor).
79
75
  */
80
76
  readonly forceDelete: pulumi.Output<boolean | undefined>;
81
77
  /**
82
- * The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour,
83
- * and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace
84
- * Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
78
+ * The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
85
79
  */
86
80
  readonly groupRetentionDuration: pulumi.Output<string | undefined>;
87
81
  /**
88
- * Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to
89
- * `false`.
82
+ * Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`.
90
83
  */
91
84
  readonly groupbySimpleMonitor: pulumi.Output<boolean | undefined>;
92
85
  /**
@@ -104,8 +97,7 @@ export declare class Monitor extends pulumi.CustomResource {
104
97
  */
105
98
  readonly message: pulumi.Output<string>;
106
99
  /**
107
- * A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are
108
- * required for, anomaly monitors.
100
+ * A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are required for, anomaly monitors.
109
101
  */
110
102
  readonly monitorThresholdWindows: pulumi.Output<outputs.MonitorMonitorThresholdWindows | undefined>;
111
103
  /**
@@ -117,22 +109,21 @@ export declare class Monitor extends pulumi.CustomResource {
117
109
  */
118
110
  readonly name: pulumi.Output<string>;
119
111
  /**
120
- * The time (in seconds) to skip evaluations for new groups. `newGroupDelay` overrides `newHostDelay` if it is set to a
121
- * nonzero value.
112
+ * The time (in seconds) to skip evaluations for new groups.
113
+ *
114
+ * `newGroupDelay` overrides `newHostDelay` if it is set to a nonzero value.
122
115
  */
123
116
  readonly newGroupDelay: pulumi.Output<number | undefined>;
124
117
  /**
125
- * **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before
126
- * starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors
127
- * and monitors not grouped by host. The only case when this should be used is to override the default and set
128
- * `newHostDelay` to zero for monitors grouped by host.
118
+ * **Deprecated**. See `newGroupDelay`. 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. This value is ignored for simple monitors and monitors not grouped by host. The only case when this should be used is to override the default and set `newHostDelay` to zero for monitors grouped by host.
129
119
  *
130
120
  * @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero.
131
121
  */
132
122
  readonly newHostDelay: pulumi.Output<number | undefined>;
133
123
  /**
134
- * The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor
135
- * timeframe for metric alerts or 2 minutes for service checks.
124
+ * The number of minutes before a monitor will notify when data stops reporting.
125
+ *
126
+ * We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks.
136
127
  */
137
128
  readonly noDataTimeframe: pulumi.Output<number | undefined>;
138
129
  /**
@@ -144,11 +135,7 @@ export declare class Monitor extends pulumi.CustomResource {
144
135
  */
145
136
  readonly notifyAudit: pulumi.Output<boolean | undefined>;
146
137
  /**
147
- * Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor
148
- * grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert
149
- * conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in
150
- * the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to
151
- * `[*]` configures the monitor to notify as a simple-alert.
138
+ * Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to `[*]` configures the monitor to notify as a simple-alert.
152
139
  */
153
140
  readonly notifyBies: pulumi.Output<string[] | undefined>;
154
141
  /**
@@ -156,12 +143,7 @@ export declare class Monitor extends pulumi.CustomResource {
156
143
  */
157
144
  readonly notifyNoData: pulumi.Output<boolean | undefined>;
158
145
  /**
159
- * Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results
160
- * in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor
161
- * evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than
162
- * `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not
163
- * available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`,
164
- * `resolve`, and `default`.
146
+ * Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`, `resolve`, and `default`.
165
147
  */
166
148
  readonly onMissingData: pulumi.Output<string | undefined>;
167
149
  /**
@@ -170,8 +152,7 @@ export declare class Monitor extends pulumi.CustomResource {
170
152
  readonly priority: pulumi.Output<string | undefined>;
171
153
  readonly query: pulumi.Output<string>;
172
154
  /**
173
- * The number of minutes after the last notification before a monitor will re-notify on the current status. It will only
174
- * re-notify if it's not resolved.
155
+ * The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved.
175
156
  */
176
157
  readonly renotifyInterval: pulumi.Output<number | undefined>;
177
158
  /**
@@ -183,9 +164,7 @@ export declare class Monitor extends pulumi.CustomResource {
183
164
  */
184
165
  readonly renotifyStatuses: pulumi.Output<string[] | undefined>;
185
166
  /**
186
- * A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends
187
- * you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set,
188
- * `requireFullWindow` must be false and will be ignored.
167
+ * A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set, `requireFullWindow` must be false and will be ignored.
189
168
  */
190
169
  readonly requireFullWindow: pulumi.Output<boolean | undefined>;
191
170
  readonly restrictedRoles: pulumi.Output<string[] | undefined>;
@@ -194,19 +173,15 @@ export declare class Monitor extends pulumi.CustomResource {
194
173
  */
195
174
  readonly schedulingOptions: pulumi.Output<outputs.MonitorSchedulingOption[] | undefined>;
196
175
  /**
197
- * A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors
198
- * page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
176
+ * A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
199
177
  */
200
178
  readonly tags: pulumi.Output<string[]>;
201
179
  /**
202
- * The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The
203
- * minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
180
+ * The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
204
181
  */
205
182
  readonly timeoutH: pulumi.Output<number | undefined>;
206
183
  /**
207
- * The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the
208
- * Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type
209
- * cannot be changed after a monitor is created.
184
+ * The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created.
210
185
  */
211
186
  readonly type: pulumi.Output<string>;
212
187
  /**
@@ -228,13 +203,11 @@ export declare class Monitor extends pulumi.CustomResource {
228
203
  */
229
204
  export interface MonitorState {
230
205
  /**
231
- * A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log
232
- * monitors. Defaults to `false`.
206
+ * A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`.
233
207
  */
234
208
  enableLogsSample?: pulumi.Input<boolean>;
235
209
  /**
236
- * Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline
237
- * monitors.
210
+ * Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline monitors.
238
211
  */
239
212
  enableSamples?: pulumi.Input<boolean>;
240
213
  /**
@@ -242,26 +215,21 @@ export interface MonitorState {
242
215
  */
243
216
  escalationMessage?: pulumi.Input<string>;
244
217
  /**
245
- * (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the
246
- * value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data
247
- * from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have
248
- * data during evaluation.
218
+ * (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
219
+ *
220
+ * For example, if the value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation.
249
221
  */
250
222
  evaluationDelay?: pulumi.Input<number>;
251
223
  /**
252
- * A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO,
253
- * composite monitor).
224
+ * A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor).
254
225
  */
255
226
  forceDelete?: pulumi.Input<boolean>;
256
227
  /**
257
- * The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour,
258
- * and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace
259
- * Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
228
+ * The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
260
229
  */
261
230
  groupRetentionDuration?: pulumi.Input<string>;
262
231
  /**
263
- * Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to
264
- * `false`.
232
+ * Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`.
265
233
  */
266
234
  groupbySimpleMonitor?: pulumi.Input<boolean>;
267
235
  /**
@@ -279,8 +247,7 @@ export interface MonitorState {
279
247
  */
280
248
  message?: pulumi.Input<string>;
281
249
  /**
282
- * A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are
283
- * required for, anomaly monitors.
250
+ * A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are required for, anomaly monitors.
284
251
  */
285
252
  monitorThresholdWindows?: pulumi.Input<inputs.MonitorMonitorThresholdWindows>;
286
253
  /**
@@ -292,22 +259,21 @@ export interface MonitorState {
292
259
  */
293
260
  name?: pulumi.Input<string>;
294
261
  /**
295
- * The time (in seconds) to skip evaluations for new groups. `newGroupDelay` overrides `newHostDelay` if it is set to a
296
- * nonzero value.
262
+ * The time (in seconds) to skip evaluations for new groups.
263
+ *
264
+ * `newGroupDelay` overrides `newHostDelay` if it is set to a nonzero value.
297
265
  */
298
266
  newGroupDelay?: pulumi.Input<number>;
299
267
  /**
300
- * **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before
301
- * starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors
302
- * and monitors not grouped by host. The only case when this should be used is to override the default and set
303
- * `newHostDelay` to zero for monitors grouped by host.
268
+ * **Deprecated**. See `newGroupDelay`. 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. This value is ignored for simple monitors and monitors not grouped by host. The only case when this should be used is to override the default and set `newHostDelay` to zero for monitors grouped by host.
304
269
  *
305
270
  * @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero.
306
271
  */
307
272
  newHostDelay?: pulumi.Input<number>;
308
273
  /**
309
- * The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor
310
- * timeframe for metric alerts or 2 minutes for service checks.
274
+ * The number of minutes before a monitor will notify when data stops reporting.
275
+ *
276
+ * We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks.
311
277
  */
312
278
  noDataTimeframe?: pulumi.Input<number>;
313
279
  /**
@@ -319,11 +285,7 @@ export interface MonitorState {
319
285
  */
320
286
  notifyAudit?: pulumi.Input<boolean>;
321
287
  /**
322
- * Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor
323
- * grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert
324
- * conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in
325
- * the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to
326
- * `[*]` configures the monitor to notify as a simple-alert.
288
+ * Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to `[*]` configures the monitor to notify as a simple-alert.
327
289
  */
328
290
  notifyBies?: pulumi.Input<pulumi.Input<string>[]>;
329
291
  /**
@@ -331,12 +293,7 @@ export interface MonitorState {
331
293
  */
332
294
  notifyNoData?: pulumi.Input<boolean>;
333
295
  /**
334
- * Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results
335
- * in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor
336
- * evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than
337
- * `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not
338
- * available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`,
339
- * `resolve`, and `default`.
296
+ * Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`, `resolve`, and `default`.
340
297
  */
341
298
  onMissingData?: pulumi.Input<string>;
342
299
  /**
@@ -345,8 +302,7 @@ export interface MonitorState {
345
302
  priority?: pulumi.Input<string>;
346
303
  query?: pulumi.Input<string>;
347
304
  /**
348
- * The number of minutes after the last notification before a monitor will re-notify on the current status. It will only
349
- * re-notify if it's not resolved.
305
+ * The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved.
350
306
  */
351
307
  renotifyInterval?: pulumi.Input<number>;
352
308
  /**
@@ -358,9 +314,7 @@ export interface MonitorState {
358
314
  */
359
315
  renotifyStatuses?: pulumi.Input<pulumi.Input<string>[]>;
360
316
  /**
361
- * A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends
362
- * you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set,
363
- * `requireFullWindow` must be false and will be ignored.
317
+ * A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set, `requireFullWindow` must be false and will be ignored.
364
318
  */
365
319
  requireFullWindow?: pulumi.Input<boolean>;
366
320
  restrictedRoles?: pulumi.Input<pulumi.Input<string>[]>;
@@ -369,19 +323,15 @@ export interface MonitorState {
369
323
  */
370
324
  schedulingOptions?: pulumi.Input<pulumi.Input<inputs.MonitorSchedulingOption>[]>;
371
325
  /**
372
- * A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors
373
- * page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
326
+ * A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
374
327
  */
375
328
  tags?: pulumi.Input<pulumi.Input<string>[]>;
376
329
  /**
377
- * The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The
378
- * minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
330
+ * The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
379
331
  */
380
332
  timeoutH?: pulumi.Input<number>;
381
333
  /**
382
- * The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the
383
- * Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type
384
- * cannot be changed after a monitor is created.
334
+ * The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created.
385
335
  */
386
336
  type?: pulumi.Input<string>;
387
337
  /**
@@ -395,13 +345,11 @@ export interface MonitorState {
395
345
  */
396
346
  export interface MonitorArgs {
397
347
  /**
398
- * A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log
399
- * monitors. Defaults to `false`.
348
+ * A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`.
400
349
  */
401
350
  enableLogsSample?: pulumi.Input<boolean>;
402
351
  /**
403
- * Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline
404
- * monitors.
352
+ * Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline monitors.
405
353
  */
406
354
  enableSamples?: pulumi.Input<boolean>;
407
355
  /**
@@ -409,26 +357,21 @@ export interface MonitorArgs {
409
357
  */
410
358
  escalationMessage?: pulumi.Input<string>;
411
359
  /**
412
- * (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the
413
- * value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data
414
- * from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have
415
- * data during evaluation.
360
+ * (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
361
+ *
362
+ * For example, if the value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation.
416
363
  */
417
364
  evaluationDelay?: pulumi.Input<number>;
418
365
  /**
419
- * A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO,
420
- * composite monitor).
366
+ * A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor).
421
367
  */
422
368
  forceDelete?: pulumi.Input<boolean>;
423
369
  /**
424
- * The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour,
425
- * and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace
426
- * Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
370
+ * The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
427
371
  */
428
372
  groupRetentionDuration?: pulumi.Input<string>;
429
373
  /**
430
- * Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to
431
- * `false`.
374
+ * Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`.
432
375
  */
433
376
  groupbySimpleMonitor?: pulumi.Input<boolean>;
434
377
  /**
@@ -446,8 +389,7 @@ export interface MonitorArgs {
446
389
  */
447
390
  message: pulumi.Input<string>;
448
391
  /**
449
- * A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are
450
- * required for, anomaly monitors.
392
+ * A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are required for, anomaly monitors.
451
393
  */
452
394
  monitorThresholdWindows?: pulumi.Input<inputs.MonitorMonitorThresholdWindows>;
453
395
  /**
@@ -459,22 +401,21 @@ export interface MonitorArgs {
459
401
  */
460
402
  name: pulumi.Input<string>;
461
403
  /**
462
- * The time (in seconds) to skip evaluations for new groups. `newGroupDelay` overrides `newHostDelay` if it is set to a
463
- * nonzero value.
404
+ * The time (in seconds) to skip evaluations for new groups.
405
+ *
406
+ * `newGroupDelay` overrides `newHostDelay` if it is set to a nonzero value.
464
407
  */
465
408
  newGroupDelay?: pulumi.Input<number>;
466
409
  /**
467
- * **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before
468
- * starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors
469
- * and monitors not grouped by host. The only case when this should be used is to override the default and set
470
- * `newHostDelay` to zero for monitors grouped by host.
410
+ * **Deprecated**. See `newGroupDelay`. 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. This value is ignored for simple monitors and monitors not grouped by host. The only case when this should be used is to override the default and set `newHostDelay` to zero for monitors grouped by host.
471
411
  *
472
412
  * @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero.
473
413
  */
474
414
  newHostDelay?: pulumi.Input<number>;
475
415
  /**
476
- * The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor
477
- * timeframe for metric alerts or 2 minutes for service checks.
416
+ * The number of minutes before a monitor will notify when data stops reporting.
417
+ *
418
+ * We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks.
478
419
  */
479
420
  noDataTimeframe?: pulumi.Input<number>;
480
421
  /**
@@ -486,11 +427,7 @@ export interface MonitorArgs {
486
427
  */
487
428
  notifyAudit?: pulumi.Input<boolean>;
488
429
  /**
489
- * Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor
490
- * grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert
491
- * conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in
492
- * the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to
493
- * `[*]` configures the monitor to notify as a simple-alert.
430
+ * Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to `[*]` configures the monitor to notify as a simple-alert.
494
431
  */
495
432
  notifyBies?: pulumi.Input<pulumi.Input<string>[]>;
496
433
  /**
@@ -498,12 +435,7 @@ export interface MonitorArgs {
498
435
  */
499
436
  notifyNoData?: pulumi.Input<boolean>;
500
437
  /**
501
- * Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results
502
- * in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor
503
- * evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than
504
- * `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not
505
- * available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`,
506
- * `resolve`, and `default`.
438
+ * Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`, `resolve`, and `default`.
507
439
  */
508
440
  onMissingData?: pulumi.Input<string>;
509
441
  /**
@@ -512,8 +444,7 @@ export interface MonitorArgs {
512
444
  priority?: pulumi.Input<string>;
513
445
  query: pulumi.Input<string>;
514
446
  /**
515
- * The number of minutes after the last notification before a monitor will re-notify on the current status. It will only
516
- * re-notify if it's not resolved.
447
+ * The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved.
517
448
  */
518
449
  renotifyInterval?: pulumi.Input<number>;
519
450
  /**
@@ -525,9 +456,7 @@ export interface MonitorArgs {
525
456
  */
526
457
  renotifyStatuses?: pulumi.Input<pulumi.Input<string>[]>;
527
458
  /**
528
- * A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends
529
- * you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set,
530
- * `requireFullWindow` must be false and will be ignored.
459
+ * A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set, `requireFullWindow` must be false and will be ignored.
531
460
  */
532
461
  requireFullWindow?: pulumi.Input<boolean>;
533
462
  restrictedRoles?: pulumi.Input<pulumi.Input<string>[]>;
@@ -536,19 +465,15 @@ export interface MonitorArgs {
536
465
  */
537
466
  schedulingOptions?: pulumi.Input<pulumi.Input<inputs.MonitorSchedulingOption>[]>;
538
467
  /**
539
- * A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors
540
- * page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
468
+ * A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
541
469
  */
542
470
  tags?: pulumi.Input<pulumi.Input<string>[]>;
543
471
  /**
544
- * The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The
545
- * minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
472
+ * The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
546
473
  */
547
474
  timeoutH?: pulumi.Input<number>;
548
475
  /**
549
- * The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the
550
- * Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type
551
- * cannot be changed after a monitor is created.
476
+ * The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created.
552
477
  */
553
478
  type: pulumi.Input<string>;
554
479
  /**