-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathupdatingInboundRule.json
56 lines (56 loc) · 1.56 KB
/
updatingInboundRule.json
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
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"loadBalancerName": {
"type": "string",
"metadata": {
"description": "Specifies the resource name of the load balancer."
}
},
"loadBalancerId": {
"type": "string",
"metadata": {
"description": "Specifies the id of the load balancer's back end address pool."
}
},
"inboundRuleName": {
"type": "string",
"metadata": {
"description": "Specifies the name of an inbound rule to update."
}
},
"frontendPort": {
"type": "int",
"metadata": {
"description": "Specifies the new frontend port for the inbound rule."
}
},
"backendPort": {
"type": "int",
"metadata": {
"description": "Specifies the new backend port for the inbound rule."
}
}
},
"variables": {
},
"resources": [
{
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"name": "[concat(parameters('loadBalancerName'), '/', parameters('inboundRuleName'))]",
"properties": {
"frontendIPConfiguration": {
"id": "[concat(resourceId('Microsoft.Network/loadBalancers','loadBalancer'),'/frontendIPConfigurations/LBFE')]"
},
"protocol": "tcp",
"frontendPort": "[parameters('frontendPort')]",
"backendPort": "[parameters('backendPort')]",
"enableFloatingIP": false
}
}
],
"outputs": {
}
}