Skip to content

Commit 8731770

Browse files
removed api from pages
1 parent 3239cda commit 8731770

File tree

2 files changed

+0
-140
lines changed

2 files changed

+0
-140
lines changed

src/content/docs/magic-transit/how-to/configure-magic-tunnel-alerts.mdx

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -19,76 +19,6 @@ import { APIRequest, Render, Tabs, TabItem } from "~/components";
1919

2020

2121

22-
<APIRequest
23-
path="/accounts/{account_id}/alerting/v3/policies"
24-
method="POST"
25-
json={{
26-
"alert_type": "magic_tunnel_health_check_event",
27-
"description": "<DESCRIBE_POLICY>",
28-
"enabled": true,
29-
"filters": {
30-
"slo": [
31-
"99.9"
32-
]
33-
},
34-
"mechanisms": {
35-
"email": [
36-
{
37-
"id": "EMAIL_ADDRESS"
38-
}
39-
]},
40-
"name": "<DESCRIBE_ALERT>"
41-
42-
}}
43-
/>
44-
45-
```json output
46-
{
47-
"result": [
48-
{
49-
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
50-
"name": "<POLICY_NAME>",
51-
"description": "<POLICY_DESCRIPTION>",
52-
"enabled": true,
53-
"alert_type": "magic_tunnel_health_check_event",
54-
"mechanisms": {
55-
"email": [
56-
{
57-
"id": "<YOUR_EMAIL>"
58-
}
59-
]
60-
},
61-
"created": "2024-09-11T14:13:29.585658Z",
62-
"modified": "2024-09-11T14:13:29.585658Z",
63-
"conditions": {
64-
"and": [
65-
{
66-
"or": [
67-
{
68-
"<=": [
69-
{
70-
"var": "slo"
71-
},
72-
"99.9"
73-
]
74-
}
75-
]
76-
}
77-
]
78-
},
79-
"filters": {
80-
"slo": ["99.9"]
81-
}
82-
}
83-
],
84-
"success": true,
85-
"errors": [],
86-
"messages": []
87-
}
88-
```
89-
90-
</TabItem> </Tabs>
91-
9222
<Render
9323
file="magic-tunnel-health-alerts/recommended-slo"
9424
product="magic-wan"

src/content/docs/magic-wan/configuration/common-settings/configure-magic-tunnel-alerts.mdx

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -16,76 +16,6 @@ import { APIRequest, Render, Tabs, TabItem } from "~/components";
1616
/>
1717

1818

19-
20-
<APIRequest
21-
path="/accounts/{account_id}/alerting/v3/policies"
22-
method="POST"
23-
json={{
24-
"alert_type": "magic_wan_tunnel_health",
25-
"description": "<DESCRIBE_POLICY>",
26-
"enabled": true,
27-
"filters": {
28-
"slo": [
29-
"99.9"
30-
]
31-
},
32-
"mechanisms": {
33-
"email": [
34-
{
35-
"id": "EMAIL_ADDRESS"
36-
}
37-
]},
38-
"name": "<DESCRIBE_ALERT>"
39-
}}
40-
/>
41-
42-
```json output
43-
{
44-
"result": [
45-
{
46-
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
47-
"name": "<POLICY_NAME>",
48-
"description": "<POLICY_DESCRIPTION>",
49-
"enabled": true,
50-
"alert_type": "magic_wan_tunnel_health",
51-
"mechanisms": {
52-
"email": [
53-
{
54-
"id": "<YOUR_EMAIL>"
55-
}
56-
]
57-
},
58-
"created": "2024-09-11T14:13:29.585658Z",
59-
"modified": "2024-09-11T14:13:29.585658Z",
60-
"conditions": {
61-
"and": [
62-
{
63-
"or": [
64-
{
65-
"<=": [
66-
{
67-
"var": "slo"
68-
},
69-
"99.9"
70-
]
71-
}
72-
]
73-
}
74-
]
75-
},
76-
"filters": {
77-
"slo": ["99.9"]
78-
}
79-
}
80-
],
81-
"success": true,
82-
"errors": [],
83-
"messages": []
84-
}
85-
```
86-
87-
</TabItem> </Tabs>
88-
8919
<Render
9020
file="magic-tunnel-health-alerts/recommended-slo"
9121
product="magic-wan"

0 commit comments

Comments
 (0)