File tree Expand file tree Collapse file tree 1 file changed +26
-26
lines changed
src/content/partials/magic-wan/magic-tunnel-health-alerts Expand file tree Collapse file tree 1 file changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -123,30 +123,29 @@ Send a [`POST` request](/api/resources/alerting/subresources/policies/methods/cr
123123
124124{ props .magicWord === " Magic WAN" && (
125125 <>
126- <APIRequest
127- path = " /accounts/{account_id}/alerting/v3/policies"
128- method = " POST"
129- json = { {
130- " alert_type" : " magic_wan_tunnel_health" ,
131- " description" : " <DESCRIBE_POLICY>" ,
132- " enabled" : true ,
133- " filters" : {
134- " slo" : [
135- " 99.9"
136- ]
137- },
138- " mechanisms" : {
139- " email" : [
140- {
141- " id" : " EMAIL_ADDRESS"
142- }
143- ]},
144- " name" : " <DESCRIBE_ALERT>"
145- }}
146- />
147-
148- <pre class = " json output" >
149- { `
126+ <APIRequest
127+ path = " /accounts/{account_id}/alerting/v3/policies"
128+ method = " POST"
129+ json = { {
130+ " alert_type" : " magic_wan_tunnel_health" ,
131+ " description" : " <DESCRIBE_POLICY>" ,
132+ " enabled" : true ,
133+ " filters" : {
134+ " slo" : [
135+ " 99.9"
136+ ]
137+ },
138+ " mechanisms" : {
139+ " email" : [
140+ {
141+ " id" : " EMAIL_ADDRESS"
142+ }
143+ ]},
144+ " name" : " <DESCRIBE_ALERT>"
145+ }}
146+ />
147+
148+ <Code lang = " json" code = { `
150149 {
151150 "result": [
152151 {
@@ -189,8 +188,9 @@ Send a [`POST` request](/api/resources/alerting/subresources/policies/methods/cr
189188 "errors": [],
190189 "messages": []
191190 }
192- ` }
193- </pre >
191+ ` } />
192+
193+
194194 </>
195195 )
196196}
You can’t perform that action at this time.
0 commit comments