forked from Azure/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathres-app-gateway.bicep
87 lines (87 loc) · 2.16 KB
/
res-app-gateway.bicep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// Application Gateway
resource /*${1:applicationGateway}*/applicationGateway 'Microsoft.Network/applicationGateways@2020-11-01' = {
name: /*${2:'name'}*/'name'
location: /*${3:location}*/'location'
properties: {
sku: {
name: /*'${4|Standard_Small,Standard_Medium,Standard_Large,WAF_Medium,WAF_Large,Standard_v2,WAF_v2|}'*/'Standard_Small'
tier: /*'${5|Standard,WAF,Standard_v2,WAF_v2|}'*/'Standard'
capacity: /*${6:'capacity'}*/'capacity'
}
gatewayIPConfigurations: [
{
name: /*${7:'name'}*/'name'
properties: {
subnet: {
id: /*${8:'id'}*/'id'
}
}
}
]
frontendIPConfigurations: [
{
name: /*${9:'name'}*/'name'
properties: {
publicIPAddress: {
id: /*${10:'id'}*/'id'
}
}
}
]
frontendPorts: [
{
name: /*${11:'name'}*/'name'
properties: {
port: /*${12:'port'}*/'port'
}
}
]
backendAddressPools: [
{
name: /*${13:'name'}*/'name'
}
]
backendHttpSettingsCollection: [
{
name: /*${14:'name'}*/'name'
properties: {
port: /*${15:'port'}*/'port'
protocol: /*'${16|Http,Https|}'*/'Http'
cookieBasedAffinity: 'Disabled'
}
}
]
httpListeners: [
{
name: /*${17:'name'}*/'name'
properties: {
frontendIPConfiguration: {
id: /*${18:'id'}*/'id'
}
frontendPort: {
id: /*${19:'id'}*/'id'
}
protocol: /*'${20|Http,Https|}'*/'Http'
sslCertificate: null
}
}
]
requestRoutingRules: [
{
name: /*${21:'name'}*/'name'
properties: {
ruleType: /*'${22|Basic,PathBasedRouting|}'*/'Basic'
httpListener: {
id: /*${23:'id'}*/'id'
}
backendAddressPool: {
id: /*${24:'id'}*/'id'
}
backendHttpSettings: {
id: /*${25:'id'}*/'id'
}
}
}
]
}
}