You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><p><strong>conditional_recipients</strong> (<a class="reference internal" href="#datadog_api_client.v2.model.monitor_notification_rule_conditional_recipients.MonitorNotificationRuleConditionalRecipients" title="datadog_api_client.v2.model.monitor_notification_rule_conditional_recipients.MonitorNotificationRuleConditionalRecipients"><em>MonitorNotificationRuleConditionalRecipients</em></a><em>, </em><em>optional</em>) – Use conditional recipients to define different recipients for different situations. Cannot be used with <code class="docutils literal notranslate"><span class="pre">recipients</span></code>.</p></li>
79440
-
<li><p><strong>filter</strong> (<a class="reference internal" href="#datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter" title="datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter"><em>MonitorNotificationRuleFilter</em></a><em>, </em><em>optional</em>) – Filter used to associate the notification rule with monitors.</p></li>
79440
+
<li><p><strong>filter</strong> (<a class="reference internal" href="#datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter" title="datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter"><em>MonitorNotificationRuleFilter</em></a><em>, </em><em>optional</em>) – Specifies the matching criteria for monitor notifications.</p></li>
79441
79441
<li><p><strong>name</strong> (<em>str</em>) – The name of the monitor notification rule.</p></li>
79442
79442
<li><p><strong>recipients</strong> (<em>[</em><em>str</em><em>]</em><em>, </em><em>optional</em>) – A list of recipients to notify. Uses the same format as the monitor <code class="docutils literal notranslate"><span class="pre">message</span></code> field. Must not start with an ‘@’. Cannot be used with <code class="docutils literal notranslate"><span class="pre">conditional_recipients</span></code>.</p></li>
<p>Conditions for <code class="docutils literal notranslate"><span class="pre">conditional_recipients</span></code>.</p>
79462
+
<p>A conditional recipient rule composed of a <code class="docutils literal notranslate"><span class="pre">scope</span></code> (the matching condition) and
79463
+
<code class="docutils literal notranslate"><span class="pre">recipients</span></code> (who to notify when it matches).</p>
<li><p><strong>recipients</strong> (<em>[</em><em>str</em><em>]</em>) – A list of recipients to notify. Uses the same format as the monitor <code class="docutils literal notranslate"><span class="pre">message</span></code> field. Must not start with an ‘@’. Cannot be used with <code class="docutils literal notranslate"><span class="pre">conditional_recipients</span></code>.</p></li>
79467
-
<li><p><strong>scope</strong> (<em>str</em>) – The scope to which the monitor applied.</p></li>
79468
+
<li><p><strong>scope</strong> (<em>str</em>) – <p>Defines the condition under which the recipients are notified. Supported formats:</p>
79469
+
<ul>
79470
+
<li><p>Monitor status condition using <code class="docutils literal notranslate"><span class="pre">transition_type:<status></span></code> , for example <code class="docutils literal notranslate"><span class="pre">transition_type:is_alert</span></code>.</p></li>
79471
+
<li><p>A single tag key:value pair, for example <code class="docutils literal notranslate"><span class="pre">env:prod</span></code>.</p></li>
<li><p><strong>tags</strong> (<em>[</em><em>str</em><em>]</em>) – A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.</p></li>
79571
-
<li><p><strong>scope</strong> (<em>str</em>) – A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.</p></li>
79576
+
<li><p><strong>tags</strong> (<em>[</em><em>str</em><em>]</em>) – A list of tag key:value pairs (e.g. <cite>team:product</cite>). All tags must match (AND semantics).</p></li>
79577
+
<li><p><strong>scope</strong> (<em>str</em>) – A scope expression composed by key:value pairs (e.g. <cite>service:foo</cite>) with boolean operators (AND, OR, NOT) and parentheses for grouping.</p></li>
<dd class="field-odd"><p><strong>scope</strong> (<em>str</em>) – A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.</p>
79596
+
<dd class="field-odd"><p><strong>scope</strong> (<em>str</em>) – A scope expression composed by key:value pairs (e.g. <code class="docutils literal notranslate"><span class="pre">service:foo</span></code> ) with boolean operators (AND, OR, NOT) and parentheses for grouping.</p>
<dd class="field-odd"><p><strong>tags</strong> (<em>[</em><em>str</em><em>]</em>) – A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.</p>
79618
+
<dd class="field-odd"><p><strong>tags</strong> (<em>[</em><em>str</em><em>]</em>) – A list of tag key:value pairs (e.g. <code class="docutils literal notranslate"><span class="pre">team:product</span></code> ). All tags must match (AND semantics).</p>
<li><p><strong>conditional_recipients</strong> (<a class="reference internal" href="#datadog_api_client.v2.model.monitor_notification_rule_conditional_recipients.MonitorNotificationRuleConditionalRecipients" title="datadog_api_client.v2.model.monitor_notification_rule_conditional_recipients.MonitorNotificationRuleConditionalRecipients"><em>MonitorNotificationRuleConditionalRecipients</em></a><em>, </em><em>optional</em>) – Use conditional recipients to define different recipients for different situations. Cannot be used with <code class="docutils literal notranslate"><span class="pre">recipients</span></code>.</p></li>
79766
79772
<li><p><strong>created</strong> (<em>datetime</em><em>, </em><em>optional</em>) – Creation time of the monitor notification rule.</p></li>
79767
-
<li><p><strong>filter</strong> (<a class="reference internal" href="#datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter" title="datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter"><em>MonitorNotificationRuleFilter</em></a><em>, </em><em>optional</em>) – Filter used to associate the notification rule with monitors.</p></li>
79773
+
<li><p><strong>filter</strong> (<a class="reference internal" href="#datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter" title="datadog_api_client.v2.model.monitor_notification_rule_filter.MonitorNotificationRuleFilter"><em>MonitorNotificationRuleFilter</em></a><em>, </em><em>optional</em>) – Specifies the matching criteria for monitor notifications.</p></li>
79768
79774
<li><p><strong>modified</strong> (<em>datetime</em><em>, </em><em>optional</em>) – Time the monitor notification rule was last modified.</p></li>
79769
79775
<li><p><strong>name</strong> (<em>str</em><em>, </em><em>optional</em>) – The name of the monitor notification rule.</p></li>
79770
79776
<li><p><strong>recipients</strong> (<em>[</em><em>str</em><em>]</em><em>, </em><em>optional</em>) – A list of recipients to notify. Uses the same format as the monitor <code class="docutils literal notranslate"><span class="pre">message</span></code> field. Must not start with an ‘@’. Cannot be used with <code class="docutils literal notranslate"><span class="pre">conditional_recipients</span></code>.</p></li>
0 commit comments