Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

azuredeploy.json 3.1 KB

You have to be logged in to leave a comment. Sign In
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
  1. {
  2. "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
  3. "contentVersion": "1.0.0.0",
  4. "parameters": {
  5. "siteName": {
  6. "defaultValue": "BotBuilder-Samples",
  7. "type": "string"
  8. },
  9. "hostingPlanName": {
  10. "type": "string"
  11. },
  12. "siteLocation": {
  13. "type": "string"
  14. },
  15. "sku": {
  16. "type": "string",
  17. "allowedValues": [
  18. "Free",
  19. "Shared",
  20. "Basic",
  21. "Standard"
  22. ],
  23. "defaultValue": "Free"
  24. },
  25. "workerSize": {
  26. "type": "string",
  27. "allowedValues": [
  28. "0",
  29. "1",
  30. "2"
  31. ],
  32. "defaultValue": "0"
  33. },
  34. "repoUrl": {
  35. "type": "string"
  36. },
  37. "branch": {
  38. "type": "string"
  39. },
  40. "Project": {
  41. "type": "string",
  42. "defaultValue": "CSharp/core-SendAttachment"
  43. },
  44. "MicrosoftAppId": {
  45. "type": "string"
  46. },
  47. "MicrosoftAppPassword": {
  48. "type": "string"
  49. }
  50. },
  51. "resources": [
  52. {
  53. "apiVersion": "2014-06-01",
  54. "name": "[parameters('hostingPlanName')]",
  55. "type": "Microsoft.Web/serverFarms",
  56. "location": "[parameters('siteLocation')]",
  57. "properties": {
  58. "name": "[parameters('hostingPlanName')]",
  59. "sku": "[parameters('sku')]",
  60. "workerSize": "[parameters('workerSize')]",
  61. "numberOfWorkers": 1
  62. }
  63. },
  64. {
  65. "apiVersion": "2014-06-01",
  66. "name": "[parameters('siteName')]",
  67. "type": "Microsoft.Web/Sites",
  68. "location": "[parameters('siteLocation')]",
  69. "dependsOn": [
  70. "[concat('Microsoft.Web/serverFarms/', parameters('hostingPlanName'))]"
  71. ],
  72. "tags": {
  73. "[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "empty"
  74. },
  75. "properties": {
  76. "name": "[parameters('siteName')]",
  77. "serverFarm": "[parameters('hostingPlanName')]"
  78. },
  79. "resources": [
  80. {
  81. "apiVersion": "2014-04-01",
  82. "type": "config",
  83. "name": "web",
  84. "dependsOn": [
  85. "[concat('Microsoft.Web/Sites/', parameters('siteName'))]"
  86. ],
  87. "properties": {
  88. "appSettings": [
  89. {
  90. "name": "Project",
  91. "value": "[parameters('Project')]"
  92. },
  93. {
  94. "name": "MicrosoftAppId",
  95. "value": "[parameters('MicrosoftAppId')]"
  96. },
  97. {
  98. "name": "MicrosoftAppPassword",
  99. "value": "[parameters('MicrosoftAppPassword')]"
  100. }
  101. ]
  102. }
  103. },
  104. {
  105. "apiVersion": "2014-04-01",
  106. "name": "web",
  107. "type": "sourcecontrols",
  108. "dependsOn": [
  109. "[resourceId('Microsoft.Web/Sites', parameters('siteName'))]",
  110. "[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/web')]"
  111. ],
  112. "properties": {
  113. "RepoUrl": "[parameters('repoUrl')]",
  114. "branch": "[parameters('branch')]",
  115. "IsManualIntegration": true
  116. }
  117. }
  118. ]
  119. }
  120. ]
  121. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...