Skip to content

Commit e5ccb8d

Browse files
added content
1 parent 42633cf commit e5ccb8d

File tree

3 files changed

+105
-176
lines changed

3 files changed

+105
-176
lines changed

src/content/docs/magic-wan/configuration/connector/network-options/application-based-policies/breakout-traffic.mdx

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -10,97 +10,12 @@ import { APIRequest, Render, TabItem, Tabs } from "~/components";
1010

1111

1212

13-
## Delete an application
1413

15-
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
16-
17-
<Render
18-
file="connector/app-aware-policies/delete-app"
19-
params={{ featureName: "Breakout traffic" }}
20-
/>
21-
22-
</TabItem> <TabItem label="API">
2314

2415
<Render file="connector/account-id-api-key" />
2516

26-
1. Send a [`GET` request](/api/resources/magic_transit/subresources/apps/methods/list/) to list the applications associated with a site.
27-
28-
<APIRequest
29-
path="/accounts/{account_id}/magic/apps"
30-
method="GET"
31-
/>
32-
33-
```json output
34-
{
35-
"errors": [
36-
{
37-
"code": 1000,
38-
"message": "message"
39-
}
40-
],
41-
"messages": [
42-
{
43-
"code": 1000,
44-
"message": "message"
45-
}
46-
],
47-
"result": [
48-
{
49-
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
50-
"hostnames": [
51-
"auth.cloudflare.com"
52-
],
53-
"ip_subnets": [
54-
"192.0.2.0/24"
55-
],
56-
"name": "Cloudflare Dashboard",
57-
"type": "Development"
58-
}
59-
],
60-
"success": true
61-
}
62-
```
63-
64-
Take note of the `"account_app_id"` value for the application that want to delete.
65-
66-
2. Send a [`DELETE` request](/api/resources/magic_transit/subresources/apps/methods/delete/) to delete an application from the breakout traffic policy.
6717

68-
<APIRequest
69-
path="/accounts/{account_id}/magic/apps/{account_app_id}"
70-
method="DELETE"
71-
/>
7218

73-
```json output
74-
{
75-
"errors": [
76-
{
77-
"code": 1000,
78-
"message": "message"
79-
}
80-
],
81-
"messages": [
82-
{
83-
"code": 1000,
84-
"message": "message"
85-
}
86-
],
87-
"result": {
88-
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
89-
"hostnames": [
90-
"auth.cloudflare.com"
91-
],
92-
"ip_subnets": [
93-
"192.0.2.0/24"
94-
],
95-
"name": "Cloudflare Dashboard",
96-
"type": "Development"
97-
},
98-
"success": true
99-
}
100-
```
10119

102-
</TabItem> </Tabs>
10320

104-
## WARP traffic
10521

106-
<Render file="connector/app-aware-policies/warp-traffic" />

src/content/docs/magic-wan/configuration/connector/network-options/application-based-policies/prioritized-traffic.mdx

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -8,93 +8,3 @@ description: Prioritized traffic allows you to define which applications are
88

99
import { APIRequest, Render, TabItem, Tabs } from "~/components";
1010

11-
12-
13-
## Delete an application
14-
15-
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
16-
17-
<Render
18-
file="connector/app-aware-policies/delete-app"
19-
params={{ featureName: "Prioritized traffic" }}
20-
/>
21-
22-
</TabItem> <TabItem label="API">
23-
24-
1. Send a [`GET` request](/api/resources/magic_transit/subresources/apps/methods/list/) to list the applications associated with a site.
25-
26-
<APIRequest
27-
path="/accounts/{account_id}/magic/apps"
28-
method="GET"
29-
/>
30-
31-
```json output
32-
{
33-
"errors": [
34-
{
35-
"code": 1000,
36-
"message": "message"
37-
}
38-
],
39-
"messages": [
40-
{
41-
"code": 1000,
42-
"message": "message"
43-
}
44-
],
45-
"result": [
46-
{
47-
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
48-
"hostnames": [
49-
"auth.cloudflare.com"
50-
],
51-
"ip_subnets": [
52-
"192.0.2.0/24"
53-
],
54-
"name": "Cloudflare Dashboard",
55-
"type": "Development"
56-
}
57-
],
58-
"success": true
59-
}
60-
```
61-
62-
Take note of the `"account_app_id"` value for the application that want to delete.
63-
64-
2. Send a `DELETE` request [using the API](/api/resources/magic_transit/subresources/apps/methods/delete/) to delete an application from the breakout traffic policy.
65-
66-
<APIRequest
67-
path="/accounts/{account_id}/magic/apps/{account_app_id}"
68-
method="DELETE"
69-
/>
70-
71-
```json output
72-
{
73-
"errors": [
74-
{
75-
"code": 1000,
76-
"message": "message"
77-
}
78-
],
79-
"messages": [
80-
{
81-
"code": 1000,
82-
"message": "message"
83-
}
84-
],
85-
"result": {
86-
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
87-
"hostnames": [
88-
"auth.cloudflare.com"
89-
],
90-
"ip_subnets": [
91-
"192.0.2.0/24"
92-
],
93-
"name": "Cloudflare Dashboard",
94-
"type": "Development"
95-
},
96-
"success": true
97-
}
98-
```
99-
100-
</TabItem> </Tabs>

src/content/partials/magic-wan/connector/app-aware-policies/breakout-prioritized.mdx

Lines changed: 105 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,108 @@ The traffic for the application you chose {props.whatHappensApp}.
108108
}
109109
```
110110

111-
</TabItem> </Tabs>
111+
</TabItem> </Tabs>
112+
113+
## Delete an application
114+
115+
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
116+
117+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
118+
2. Select **Magic WAN** > **Connector on-ramps (beta)**.
119+
3. Select the Connector you want to configure > **Edit**.
120+
4. Select **Traffic Steering**.
121+
5. In **{props.featureName}**, find the application you want to delete, and select the **three dots** next to it.
122+
6. Select **Remove**.
123+
7. (Optional) If you have several pages of applications, you can use the search box to quickly find the application you are looking for.
124+
125+
</TabItem> <TabItem label="API">
126+
127+
<Render file="connector/account-id-api-key" />
128+
129+
1. Send a [`GET` request](/api/resources/magic_transit/subresources/apps/methods/list/) to list the applications associated with a site.
130+
131+
<APIRequest
132+
path="/accounts/{account_id}/magic/apps"
133+
method="GET"
134+
/>
135+
136+
```json output
137+
{
138+
"errors": [
139+
{
140+
"code": 1000,
141+
"message": "message"
142+
}
143+
],
144+
"messages": [
145+
{
146+
"code": 1000,
147+
"message": "message"
148+
}
149+
],
150+
"result": [
151+
{
152+
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
153+
"hostnames": [
154+
"auth.cloudflare.com"
155+
],
156+
"ip_subnets": [
157+
"192.0.2.0/24"
158+
],
159+
"name": "Cloudflare Dashboard",
160+
"type": "Development"
161+
}
162+
],
163+
"success": true
164+
}
165+
```
166+
167+
Take note of the `"account_app_id"` value for the application that want to delete.
168+
169+
2. Send a [`DELETE` request](/api/resources/magic_transit/subresources/apps/methods/delete/) to delete an application from the breakout traffic policy.
170+
171+
<APIRequest
172+
path="/accounts/{account_id}/magic/apps/{account_app_id}"
173+
method="DELETE"
174+
/>
175+
176+
```json output
177+
{
178+
"errors": [
179+
{
180+
"code": 1000,
181+
"message": "message"
182+
}
183+
],
184+
"messages": [
185+
{
186+
"code": 1000,
187+
"message": "message"
188+
}
189+
],
190+
"result": {
191+
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
192+
"hostnames": [
193+
"auth.cloudflare.com"
194+
],
195+
"ip_subnets": [
196+
"192.0.2.0/24"
197+
],
198+
"name": "Cloudflare Dashboard",
199+
"type": "Development"
200+
},
201+
"success": true
202+
}
203+
```
204+
205+
</TabItem> </Tabs>
206+
207+
## WARP traffic
208+
209+
{ props.magicWord === "breakout" && (
210+
<>
211+
<Render file="connector/app-aware-policies/warp-traffic" />
212+
</>
213+
)
214+
}
215+

0 commit comments

Comments
 (0)