@azure/arm-frontdoor 3.1.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +75 -73
  5. package/dist/index.js +6728 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/frontDoorManagementClient.d.ts +29 -0
  10. package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -0
  11. package/dist-esm/src/frontDoorManagementClient.js +62 -0
  12. package/dist-esm/src/frontDoorManagementClient.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +2380 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +399 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +93 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/dist-esm/src/models/mappers.js +3048 -0
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +36 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +316 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/endpoints.d.ts +34 -0
  34. package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
  35. package/dist-esm/src/operations/endpoints.js +106 -0
  36. package/dist-esm/src/operations/endpoints.js.map +1 -0
  37. package/dist-esm/src/operations/experiments.d.ts +99 -0
  38. package/dist-esm/src/operations/experiments.d.ts.map +1 -0
  39. package/dist-esm/src/operations/experiments.js +417 -0
  40. package/dist-esm/src/operations/experiments.js.map +1 -0
  41. package/dist-esm/src/operations/frontDoorNameAvailability.d.ts +19 -0
  42. package/dist-esm/src/operations/frontDoorNameAvailability.d.ts.map +1 -0
  43. package/dist-esm/src/operations/frontDoorNameAvailability.js +49 -0
  44. package/dist-esm/src/operations/frontDoorNameAvailability.js.map +1 -0
  45. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts +19 -0
  46. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
  47. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js +49 -0
  48. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
  49. package/dist-esm/src/operations/frontDoors.d.ts +100 -0
  50. package/dist-esm/src/operations/frontDoors.d.ts.map +1 -0
  51. package/dist-esm/src/operations/frontDoors.js +453 -0
  52. package/dist-esm/src/operations/frontDoors.js.map +1 -0
  53. package/dist-esm/src/operations/frontendEndpoints.d.ts +81 -0
  54. package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -0
  55. package/dist-esm/src/operations/frontendEndpoints.js +331 -0
  56. package/dist-esm/src/operations/frontendEndpoints.js.map +1 -0
  57. package/dist-esm/src/operations/index.d.ts +13 -0
  58. package/dist-esm/src/operations/index.d.ts.map +1 -0
  59. package/dist-esm/src/operations/index.js +20 -0
  60. package/dist-esm/src/operations/index.js.map +1 -0
  61. package/dist-esm/src/operations/managedRuleSets.d.ts +32 -0
  62. package/dist-esm/src/operations/managedRuleSets.d.ts.map +1 -0
  63. package/dist-esm/src/operations/managedRuleSets.js +124 -0
  64. package/dist-esm/src/operations/managedRuleSets.js.map +1 -0
  65. package/dist-esm/src/operations/networkExperimentProfiles.d.ts +107 -0
  66. package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -0
  67. package/dist-esm/src/operations/networkExperimentProfiles.js +500 -0
  68. package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -0
  69. package/dist-esm/src/operations/policies.d.ts +73 -0
  70. package/dist-esm/src/operations/policies.d.ts.map +1 -0
  71. package/dist-esm/src/operations/policies.js +309 -0
  72. package/dist-esm/src/operations/policies.js.map +1 -0
  73. package/dist-esm/src/operations/preconfiguredEndpoints.d.ts +38 -0
  74. package/dist-esm/src/operations/preconfiguredEndpoints.d.ts.map +1 -0
  75. package/dist-esm/src/operations/preconfiguredEndpoints.js +137 -0
  76. package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -0
  77. package/dist-esm/src/operations/reports.d.ts +34 -0
  78. package/dist-esm/src/operations/reports.d.ts.map +1 -0
  79. package/dist-esm/src/operations/reports.js +120 -0
  80. package/dist-esm/src/operations/reports.js.map +1 -0
  81. package/dist-esm/src/operations/rulesEngines.d.ts +83 -0
  82. package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -0
  83. package/dist-esm/src/operations/rulesEngines.js +341 -0
  84. package/dist-esm/src/operations/rulesEngines.js.map +1 -0
  85. package/dist-esm/src/operationsInterfaces/endpoints.d.ts +26 -0
  86. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
  87. package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
  88. package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
  89. package/dist-esm/src/operationsInterfaces/experiments.d.ts +74 -0
  90. package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +1 -0
  91. package/dist-esm/src/operationsInterfaces/experiments.js +9 -0
  92. package/dist-esm/src/operationsInterfaces/experiments.js.map +1 -0
  93. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts +11 -0
  94. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts.map +1 -0
  95. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js +9 -0
  96. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js.map +1 -0
  97. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts +11 -0
  98. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
  99. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js +9 -0
  100. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
  101. package/dist-esm/src/operationsInterfaces/frontDoors.d.ts +64 -0
  102. package/dist-esm/src/operationsInterfaces/frontDoors.d.ts.map +1 -0
  103. package/dist-esm/src/operationsInterfaces/frontDoors.js +9 -0
  104. package/dist-esm/src/operationsInterfaces/frontDoors.js.map +1 -0
  105. package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts +56 -0
  106. package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts.map +1 -0
  107. package/dist-esm/src/operationsInterfaces/frontendEndpoints.js +9 -0
  108. package/dist-esm/src/operationsInterfaces/frontendEndpoints.js.map +1 -0
  109. package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
  110. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  111. package/dist-esm/src/operationsInterfaces/index.js +20 -0
  112. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  113. package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts +11 -0
  114. package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts.map +1 -0
  115. package/dist-esm/src/operationsInterfaces/managedRuleSets.js +9 -0
  116. package/dist-esm/src/operationsInterfaces/managedRuleSets.js.map +1 -0
  117. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts +71 -0
  118. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts.map +1 -0
  119. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js +9 -0
  120. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js.map +1 -0
  121. package/dist-esm/src/operationsInterfaces/policies.d.ts +50 -0
  122. package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
  123. package/dist-esm/src/operationsInterfaces/policies.js +9 -0
  124. package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
  125. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts +13 -0
  126. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts.map +1 -0
  127. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js +9 -0
  128. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js.map +1 -0
  129. package/dist-esm/src/operationsInterfaces/reports.d.ts +26 -0
  130. package/dist-esm/src/operationsInterfaces/reports.d.ts.map +1 -0
  131. package/dist-esm/src/operationsInterfaces/reports.js +9 -0
  132. package/dist-esm/src/operationsInterfaces/reports.js.map +1 -0
  133. package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts +58 -0
  134. package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/rulesEngines.js +9 -0
  136. package/dist-esm/src/operationsInterfaces/rulesEngines.js.map +1 -0
  137. package/dist-esm/test/sampleTest.d.ts +2 -0
  138. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  139. package/dist-esm/test/sampleTest.js +40 -0
  140. package/dist-esm/test/sampleTest.js.map +1 -0
  141. package/package.json +70 -34
  142. package/review/arm-frontdoor.api.md +1910 -0
  143. package/rollup.config.js +184 -27
  144. package/src/frontDoorManagementClient.ts +124 -0
  145. package/src/index.ts +12 -0
  146. package/src/lroImpl.ts +34 -0
  147. package/src/models/index.ts +2676 -0
  148. package/src/models/mappers.ts +3311 -0
  149. package/src/models/parameters.ts +367 -0
  150. package/src/operations/endpoints.ts +150 -0
  151. package/src/operations/experiments.ts +608 -0
  152. package/src/operations/frontDoorNameAvailability.ts +68 -0
  153. package/src/operations/frontDoorNameAvailabilityWithSubscription.ts +69 -0
  154. package/src/operations/frontDoors.ts +594 -0
  155. package/src/operations/frontendEndpoints.ts +471 -0
  156. package/src/operations/index.ts +20 -0
  157. package/src/operations/managedRuleSets.ts +142 -0
  158. package/src/operations/networkExperimentProfiles.ts +672 -0
  159. package/src/operations/policies.ts +425 -0
  160. package/src/operations/preconfiguredEndpoints.ts +177 -0
  161. package/src/operations/reports.ts +160 -0
  162. package/src/operations/rulesEngines.ts +486 -0
  163. package/src/operationsInterfaces/endpoints.ts +47 -0
  164. package/src/operationsInterfaces/experiments.ts +147 -0
  165. package/src/operationsInterfaces/frontDoorNameAvailability.ts +26 -0
  166. package/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.ts +26 -0
  167. package/src/operationsInterfaces/frontDoors.ts +122 -0
  168. package/src/operationsInterfaces/frontendEndpoints.ts +104 -0
  169. package/src/operationsInterfaces/index.ts +20 -0
  170. package/src/operationsInterfaces/managedRuleSets.ts +25 -0
  171. package/src/operationsInterfaces/networkExperimentProfiles.ts +139 -0
  172. package/src/operationsInterfaces/policies.ts +97 -0
  173. package/src/operationsInterfaces/preconfiguredEndpoints.ts +29 -0
  174. package/src/operationsInterfaces/reports.ts +57 -0
  175. package/src/operationsInterfaces/rulesEngines.ts +111 -0
  176. package/tsconfig.json +4 -4
  177. package/types/arm-frontdoor.d.ts +3127 -0
  178. package/types/tsdoc-metadata.json +11 -0
  179. package/dist/arm-frontdoor.js +0 -4289
  180. package/dist/arm-frontdoor.js.map +0 -1
  181. package/dist/arm-frontdoor.min.js +0 -1
  182. package/dist/arm-frontdoor.min.js.map +0 -1
  183. package/esm/frontDoorManagementClient.d.ts +0 -62
  184. package/esm/frontDoorManagementClient.d.ts.map +0 -1
  185. package/esm/frontDoorManagementClient.js +0 -105
  186. package/esm/frontDoorManagementClient.js.map +0 -1
  187. package/esm/frontDoorManagementClientContext.d.ts +0 -16
  188. package/esm/frontDoorManagementClientContext.d.ts.map +0 -1
  189. package/esm/frontDoorManagementClientContext.js +0 -56
  190. package/esm/frontDoorManagementClientContext.js.map +0 -1
  191. package/esm/models/backendPoolsMappers.d.ts +0 -2
  192. package/esm/models/backendPoolsMappers.d.ts.map +0 -1
  193. package/esm/models/backendPoolsMappers.js +0 -11
  194. package/esm/models/backendPoolsMappers.js.map +0 -1
  195. package/esm/models/endpointsMappers.d.ts +0 -2
  196. package/esm/models/endpointsMappers.d.ts.map +0 -1
  197. package/esm/models/endpointsMappers.js +0 -11
  198. package/esm/models/endpointsMappers.js.map +0 -1
  199. package/esm/models/frontDoorsMappers.d.ts +0 -2
  200. package/esm/models/frontDoorsMappers.d.ts.map +0 -1
  201. package/esm/models/frontDoorsMappers.js +0 -11
  202. package/esm/models/frontDoorsMappers.js.map +0 -1
  203. package/esm/models/frontendEndpointsMappers.d.ts +0 -2
  204. package/esm/models/frontendEndpointsMappers.d.ts.map +0 -1
  205. package/esm/models/frontendEndpointsMappers.js +0 -11
  206. package/esm/models/frontendEndpointsMappers.js.map +0 -1
  207. package/esm/models/healthProbeSettingsMappers.d.ts +0 -2
  208. package/esm/models/healthProbeSettingsMappers.d.ts.map +0 -1
  209. package/esm/models/healthProbeSettingsMappers.js +0 -11
  210. package/esm/models/healthProbeSettingsMappers.js.map +0 -1
  211. package/esm/models/index.d.ts +0 -2143
  212. package/esm/models/index.d.ts.map +0 -1
  213. package/esm/models/index.js +0 -10
  214. package/esm/models/index.js.map +0 -1
  215. package/esm/models/loadBalancingSettingsMappers.d.ts +0 -2
  216. package/esm/models/loadBalancingSettingsMappers.d.ts.map +0 -1
  217. package/esm/models/loadBalancingSettingsMappers.js +0 -11
  218. package/esm/models/loadBalancingSettingsMappers.js.map +0 -1
  219. package/esm/models/mappers.d.ts +0 -53
  220. package/esm/models/mappers.d.ts.map +0 -1
  221. package/esm/models/mappers.js +0 -1653
  222. package/esm/models/mappers.js.map +0 -1
  223. package/esm/models/parameters.d.ts +0 -15
  224. package/esm/models/parameters.d.ts.map +0 -1
  225. package/esm/models/parameters.js +0 -181
  226. package/esm/models/parameters.js.map +0 -1
  227. package/esm/models/policiesMappers.d.ts +0 -2
  228. package/esm/models/policiesMappers.d.ts.map +0 -1
  229. package/esm/models/policiesMappers.js +0 -11
  230. package/esm/models/policiesMappers.js.map +0 -1
  231. package/esm/models/routingRulesMappers.d.ts +0 -2
  232. package/esm/models/routingRulesMappers.d.ts.map +0 -1
  233. package/esm/models/routingRulesMappers.js +0 -11
  234. package/esm/models/routingRulesMappers.js.map +0 -1
  235. package/esm/operations/backendPools.d.ts +0 -115
  236. package/esm/operations/backendPools.d.ts.map +0 -1
  237. package/esm/operations/backendPools.js +0 -236
  238. package/esm/operations/backendPools.js.map +0 -1
  239. package/esm/operations/endpoints.d.ts +0 -36
  240. package/esm/operations/endpoints.d.ts.map +0 -1
  241. package/esm/operations/endpoints.js +0 -87
  242. package/esm/operations/endpoints.js.map +0 -1
  243. package/esm/operations/frontDoors.d.ts +0 -165
  244. package/esm/operations/frontDoors.d.ts.map +0 -1
  245. package/esm/operations/frontDoors.js +0 -315
  246. package/esm/operations/frontDoors.js.map +0 -1
  247. package/esm/operations/frontendEndpoints.d.ts +0 -153
  248. package/esm/operations/frontendEndpoints.d.ts.map +0 -1
  249. package/esm/operations/frontendEndpoints.js +0 -347
  250. package/esm/operations/frontendEndpoints.js.map +0 -1
  251. package/esm/operations/healthProbeSettings.d.ts +0 -124
  252. package/esm/operations/healthProbeSettings.d.ts.map +0 -1
  253. package/esm/operations/healthProbeSettings.js +0 -242
  254. package/esm/operations/healthProbeSettings.js.map +0 -1
  255. package/esm/operations/index.d.ts +0 -9
  256. package/esm/operations/index.d.ts.map +0 -1
  257. package/esm/operations/index.js +0 -18
  258. package/esm/operations/index.js.map +0 -1
  259. package/esm/operations/loadBalancingSettings.d.ts +0 -126
  260. package/esm/operations/loadBalancingSettings.d.ts.map +0 -1
  261. package/esm/operations/loadBalancingSettings.js +0 -244
  262. package/esm/operations/loadBalancingSettings.js.map +0 -1
  263. package/esm/operations/policies.d.ts +0 -111
  264. package/esm/operations/policies.d.ts.map +0 -1
  265. package/esm/operations/policies.js +0 -202
  266. package/esm/operations/policies.js.map +0 -1
  267. package/esm/operations/routingRules.d.ts +0 -115
  268. package/esm/operations/routingRules.d.ts.map +0 -1
  269. package/esm/operations/routingRules.js +0 -236
  270. package/esm/operations/routingRules.js.map +0 -1
  271. package/lib/frontDoorManagementClient.ts +0 -171
  272. package/lib/frontDoorManagementClientContext.ts +0 -61
  273. package/lib/models/backendPoolsMappers.ts +0 -39
  274. package/lib/models/endpointsMappers.ts +0 -16
  275. package/lib/models/frontDoorsMappers.ts +0 -41
  276. package/lib/models/frontendEndpointsMappers.ts +0 -39
  277. package/lib/models/healthProbeSettingsMappers.ts +0 -39
  278. package/lib/models/index.ts +0 -2261
  279. package/lib/models/loadBalancingSettingsMappers.ts +0 -39
  280. package/lib/models/mappers.ts +0 -1772
  281. package/lib/models/parameters.ts +0 -183
  282. package/lib/models/policiesMappers.ts +0 -40
  283. package/lib/models/routingRulesMappers.ts +0 -39
  284. package/lib/operations/backendPools.ts +0 -332
  285. package/lib/operations/endpoints.ts +0 -99
  286. package/lib/operations/frontDoors.ts +0 -481
  287. package/lib/operations/frontendEndpoints.ts +0 -458
  288. package/lib/operations/healthProbeSettings.ts +0 -341
  289. package/lib/operations/index.ts +0 -18
  290. package/lib/operations/loadBalancingSettings.ts +0 -343
  291. package/lib/operations/policies.ts +0 -315
  292. package/lib/operations/routingRules.ts +0 -332
@@ -1,2143 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * @interface
6
- * An interface representing Resource.
7
- * Common resource representation.
8
- *
9
- * @extends BaseResource
10
- */
11
- export interface Resource extends BaseResource {
12
- /**
13
- * @member {string} [id] Resource ID.
14
- * **NOTE: This property will not be serialized. It can only be populated by
15
- * the server.**
16
- */
17
- readonly id?: string;
18
- /**
19
- * @member {string} [name] Resource name.
20
- * **NOTE: This property will not be serialized. It can only be populated by
21
- * the server.**
22
- */
23
- readonly name?: string;
24
- /**
25
- * @member {string} [type] Resource type.
26
- * **NOTE: This property will not be serialized. It can only be populated by
27
- * the server.**
28
- */
29
- readonly type?: string;
30
- /**
31
- * @member {string} [location] Resource location.
32
- */
33
- location?: string;
34
- /**
35
- * @member {{ [propertyName: string]: string }} [tags] Resource tags.
36
- */
37
- tags?: {
38
- [propertyName: string]: string;
39
- };
40
- }
41
- /**
42
- * @interface
43
- * An interface representing FrontDoor.
44
- * Front Door represents a collection of backend endpoints to route traffic to
45
- * along with rules that specify how traffic is sent there.
46
- *
47
- * @extends Resource
48
- */
49
- export interface FrontDoor extends Resource {
50
- /**
51
- * @member {string} [friendlyName] A friendly name for the frontDoor
52
- */
53
- friendlyName?: string;
54
- /**
55
- * @member {RoutingRule[]} [routingRules] Routing rules associated with this
56
- * Front Door.
57
- */
58
- routingRules?: RoutingRule[];
59
- /**
60
- * @member {LoadBalancingSettingsModel[]} [loadBalancingSettings] Load
61
- * balancing settings associated with this Front Door instance.
62
- */
63
- loadBalancingSettings?: LoadBalancingSettingsModel[];
64
- /**
65
- * @member {HealthProbeSettingsModel[]} [healthProbeSettings] Health probe
66
- * settings associated with this Front Door instance.
67
- */
68
- healthProbeSettings?: HealthProbeSettingsModel[];
69
- /**
70
- * @member {BackendPool[]} [backendPools] Backend pools available to routing
71
- * rules.
72
- */
73
- backendPools?: BackendPool[];
74
- /**
75
- * @member {FrontendEndpoint[]} [frontendEndpoints] Frontend endpoints
76
- * available to routing rules.
77
- */
78
- frontendEndpoints?: FrontendEndpoint[];
79
- /**
80
- * @member {FrontDoorEnabledState} [enabledState] Operational status of the
81
- * Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'.
82
- * Possible values include: 'Enabled', 'Disabled'
83
- */
84
- enabledState?: FrontDoorEnabledState;
85
- /**
86
- * @member {FrontDoorResourceState} [resourceState] Resource status of the
87
- * Front Door. Possible values include: 'Creating', 'Enabling', 'Enabled',
88
- * 'Disabling', 'Disabled', 'Deleting'
89
- */
90
- resourceState?: FrontDoorResourceState;
91
- /**
92
- * @member {string} [provisioningState] Provisioning state of the Front Door.
93
- * **NOTE: This property will not be serialized. It can only be populated by
94
- * the server.**
95
- */
96
- readonly provisioningState?: string;
97
- /**
98
- * @member {string} [cname] The host that each frontendEndpoint must CNAME
99
- * to.
100
- * **NOTE: This property will not be serialized. It can only be populated by
101
- * the server.**
102
- */
103
- readonly cname?: string;
104
- }
105
- /**
106
- * @interface
107
- * An interface representing SubResource.
108
- * Reference to another subresource.
109
- *
110
- * @extends BaseResource
111
- */
112
- export interface SubResource extends BaseResource {
113
- /**
114
- * @member {string} [id] Resource ID.
115
- */
116
- id?: string;
117
- }
118
- /**
119
- * @interface
120
- * An interface representing RoutingRule.
121
- * A routing rule represents a specification for traffic to treat and where to
122
- * send it, along with health probe information.
123
- *
124
- * @extends SubResource
125
- */
126
- export interface RoutingRule extends SubResource {
127
- /**
128
- * @member {SubResource[]} [frontendEndpoints] Frontend endpoints associated
129
- * with this rule
130
- */
131
- frontendEndpoints?: SubResource[];
132
- /**
133
- * @member {FrontDoorProtocol[]} [acceptedProtocols] Protocol schemes to
134
- * match for this rule
135
- */
136
- acceptedProtocols?: FrontDoorProtocol[];
137
- /**
138
- * @member {string[]} [patternsToMatch] The route patterns of the rule.
139
- */
140
- patternsToMatch?: string[];
141
- /**
142
- * @member {string} [customForwardingPath] A custom path used to rewrite
143
- * resource paths matched by this rule. Leave empty to use incoming path.
144
- */
145
- customForwardingPath?: string;
146
- /**
147
- * @member {FrontDoorForwardingProtocol} [forwardingProtocol] Protocol this
148
- * rule will use when forwarding traffic to backends. Possible values
149
- * include: 'HttpOnly', 'HttpsOnly', 'MatchRequest'
150
- */
151
- forwardingProtocol?: FrontDoorForwardingProtocol;
152
- /**
153
- * @member {CacheConfiguration} [cacheConfiguration] The caching
154
- * configuration associated with this rule.
155
- */
156
- cacheConfiguration?: CacheConfiguration;
157
- /**
158
- * @member {SubResource} [backendPool] A reference to the BackendPool which
159
- * this rule routes to.
160
- */
161
- backendPool?: SubResource;
162
- /**
163
- * @member {FrontDoorEnabledState} [enabledState] Whether to enable use of
164
- * this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values
165
- * include: 'Enabled', 'Disabled'
166
- */
167
- enabledState?: FrontDoorEnabledState;
168
- /**
169
- * @member {FrontDoorResourceState} [resourceState] Resource status. Possible
170
- * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling',
171
- * 'Disabled', 'Deleting'
172
- */
173
- resourceState?: FrontDoorResourceState;
174
- /**
175
- * @member {string} [name] Resource name.
176
- */
177
- name?: string;
178
- /**
179
- * @member {string} [type] Resource type.
180
- * **NOTE: This property will not be serialized. It can only be populated by
181
- * the server.**
182
- */
183
- readonly type?: string;
184
- }
185
- /**
186
- * @interface
187
- * An interface representing LoadBalancingSettingsModel.
188
- * Load balancing settings for a backend pool
189
- *
190
- * @extends SubResource
191
- */
192
- export interface LoadBalancingSettingsModel extends SubResource {
193
- /**
194
- * @member {number} [sampleSize] The number of samples to consider for load
195
- * balancing decisions
196
- */
197
- sampleSize?: number;
198
- /**
199
- * @member {number} [successfulSamplesRequired] The number of samples within
200
- * the sample period that must succeed
201
- */
202
- successfulSamplesRequired?: number;
203
- /**
204
- * @member {number} [additionalLatencyMilliseconds] The additional latency in
205
- * milliseconds for probes to fall into the lowest latency bucket
206
- */
207
- additionalLatencyMilliseconds?: number;
208
- /**
209
- * @member {FrontDoorResourceState} [resourceState] Resource status. Possible
210
- * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling',
211
- * 'Disabled', 'Deleting'
212
- */
213
- resourceState?: FrontDoorResourceState;
214
- /**
215
- * @member {string} [name] Resource name.
216
- */
217
- name?: string;
218
- /**
219
- * @member {string} [type] Resource type.
220
- * **NOTE: This property will not be serialized. It can only be populated by
221
- * the server.**
222
- */
223
- readonly type?: string;
224
- }
225
- /**
226
- * @interface
227
- * An interface representing HealthProbeSettingsModel.
228
- * Load balancing settings for a backend pool
229
- *
230
- * @extends SubResource
231
- */
232
- export interface HealthProbeSettingsModel extends SubResource {
233
- /**
234
- * @member {string} [path] The path to use for the health probe. Default is /
235
- */
236
- path?: string;
237
- /**
238
- * @member {FrontDoorProtocol} [protocol] Protocol scheme to use for this
239
- * probe. Possible values include: 'Http', 'Https'
240
- */
241
- protocol?: FrontDoorProtocol;
242
- /**
243
- * @member {number} [intervalInSeconds] The number of seconds between health
244
- * probes.
245
- */
246
- intervalInSeconds?: number;
247
- /**
248
- * @member {FrontDoorResourceState} [resourceState] Resource status. Possible
249
- * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling',
250
- * 'Disabled', 'Deleting'
251
- */
252
- resourceState?: FrontDoorResourceState;
253
- /**
254
- * @member {string} [name] Resource name.
255
- */
256
- name?: string;
257
- /**
258
- * @member {string} [type] Resource type.
259
- * **NOTE: This property will not be serialized. It can only be populated by
260
- * the server.**
261
- */
262
- readonly type?: string;
263
- }
264
- /**
265
- * @interface
266
- * An interface representing BackendPool.
267
- * A backend pool is a collection of backends that can be routed to.
268
- *
269
- * @extends SubResource
270
- */
271
- export interface BackendPool extends SubResource {
272
- /**
273
- * @member {Backend[]} [backends] The set of backends for this pool
274
- */
275
- backends?: Backend[];
276
- /**
277
- * @member {SubResource} [loadBalancingSettings] Load balancing settings for
278
- * a backend pool
279
- */
280
- loadBalancingSettings?: SubResource;
281
- /**
282
- * @member {SubResource} [healthProbeSettings] L7 health probe settings for a
283
- * backend pool
284
- */
285
- healthProbeSettings?: SubResource;
286
- /**
287
- * @member {FrontDoorResourceState} [resourceState] Resource status. Possible
288
- * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling',
289
- * 'Disabled', 'Deleting'
290
- */
291
- resourceState?: FrontDoorResourceState;
292
- /**
293
- * @member {string} [name] Resource name.
294
- */
295
- name?: string;
296
- /**
297
- * @member {string} [type] Resource type.
298
- * **NOTE: This property will not be serialized. It can only be populated by
299
- * the server.**
300
- */
301
- readonly type?: string;
302
- }
303
- /**
304
- * @interface
305
- * An interface representing KeyVaultCertificateSourceParametersVault.
306
- * The Key Vault containing the SSL certificate
307
- *
308
- */
309
- export interface KeyVaultCertificateSourceParametersVault {
310
- /**
311
- * @member {string} [id] Resource ID.
312
- */
313
- id?: string;
314
- }
315
- /**
316
- * @interface
317
- * An interface representing CustomHttpsConfiguration.
318
- * Https settings for a domain
319
- *
320
- */
321
- export interface CustomHttpsConfiguration {
322
- /**
323
- * @member {FrontDoorCertificateSource} [certificateSource] Defines the
324
- * source of the SSL certificate. Possible values include: 'AzureKeyVault',
325
- * 'FrontDoor'
326
- */
327
- certificateSource?: FrontDoorCertificateSource;
328
- /**
329
- * @member {FrontDoorTlsProtocolType} [protocolType] Defines the TLS
330
- * extension protocol that is used for secure delivery. Possible values
331
- * include: 'ServerNameIndication'
332
- */
333
- protocolType?: FrontDoorTlsProtocolType;
334
- /**
335
- * @member {KeyVaultCertificateSourceParametersVault} [vault] The Key Vault
336
- * containing the SSL certificate
337
- */
338
- vault?: KeyVaultCertificateSourceParametersVault;
339
- /**
340
- * @member {string} [secretName] The name of the Key Vault secret
341
- * representing the full certificate PFX
342
- */
343
- secretName?: string;
344
- /**
345
- * @member {string} [secretVersion] The version of the Key Vault secret
346
- * representing the full certificate PFX
347
- */
348
- secretVersion?: string;
349
- /**
350
- * @member {FrontDoorCertificateType} [certificateType] Defines the type of
351
- * the certificate used for secure connections to a frontendEndpoint.
352
- * Possible values include: 'Dedicated'
353
- */
354
- certificateType?: FrontDoorCertificateType;
355
- }
356
- /**
357
- * @interface
358
- * An interface representing FrontendEndpoint.
359
- * A frontend endpoint used for routing.
360
- *
361
- * @extends SubResource
362
- */
363
- export interface FrontendEndpoint extends SubResource {
364
- /**
365
- * @member {string} [hostName] The host name of the frontendEndpoint. Must be
366
- * a domain name.
367
- */
368
- hostName?: string;
369
- /**
370
- * @member {SessionAffinityEnabledState} [sessionAffinityEnabledState]
371
- * Whether to allow session affinity on this host. Valid options are
372
- * 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
373
- */
374
- sessionAffinityEnabledState?: SessionAffinityEnabledState;
375
- /**
376
- * @member {number} [sessionAffinityTtlSeconds] UNUSED. This field will be
377
- * ignored. The TTL to use in seconds for session affinity, if applicable.
378
- */
379
- sessionAffinityTtlSeconds?: number;
380
- /**
381
- * @member {FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink}
382
- * [webApplicationFirewallPolicyLink] Defines the Web Application Firewall
383
- * policy for each host (if applicable)
384
- */
385
- webApplicationFirewallPolicyLink?: FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink;
386
- /**
387
- * @member {FrontDoorResourceState} [resourceState] Resource status. Possible
388
- * values include: 'Creating', 'Enabling', 'Enabled', 'Disabling',
389
- * 'Disabled', 'Deleting'
390
- */
391
- resourceState?: FrontDoorResourceState;
392
- /**
393
- * @member {CustomHttpsProvisioningState} [customHttpsProvisioningState]
394
- * Provisioning status of Custom Https of the frontendEndpoint. Possible
395
- * values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed'
396
- * **NOTE: This property will not be serialized. It can only be populated by
397
- * the server.**
398
- */
399
- readonly customHttpsProvisioningState?: CustomHttpsProvisioningState;
400
- /**
401
- * @member {CustomHttpsProvisioningSubstate}
402
- * [customHttpsProvisioningSubstate] Provisioning substate shows the progress
403
- * of custom HTTPS enabling/disabling process step by step. Possible values
404
- * include: 'SubmittingDomainControlValidationRequest',
405
- * 'PendingDomainControlValidationREquestApproval',
406
- * 'DomainControlValidationRequestApproved',
407
- * 'DomainControlValidationRequestRejected',
408
- * 'DomainControlValidationRequestTimedOut', 'IssuingCertificate',
409
- * 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate',
410
- * 'CertificateDeleted'
411
- * **NOTE: This property will not be serialized. It can only be populated by
412
- * the server.**
413
- */
414
- readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate;
415
- /**
416
- * @member {CustomHttpsConfiguration} [customHttpsConfiguration] The
417
- * configuration specifying how to enable HTTPS
418
- * **NOTE: This property will not be serialized. It can only be populated by
419
- * the server.**
420
- */
421
- readonly customHttpsConfiguration?: CustomHttpsConfiguration;
422
- /**
423
- * @member {string} [name] Resource name.
424
- */
425
- name?: string;
426
- /**
427
- * @member {string} [type] Resource type.
428
- * **NOTE: This property will not be serialized. It can only be populated by
429
- * the server.**
430
- */
431
- readonly type?: string;
432
- }
433
- /**
434
- * @interface
435
- * An interface representing FrontDoorUpdateParameters.
436
- * The properties needed to update a Front Door
437
- *
438
- */
439
- export interface FrontDoorUpdateParameters {
440
- /**
441
- * @member {string} [friendlyName] A friendly name for the frontDoor
442
- */
443
- friendlyName?: string;
444
- /**
445
- * @member {RoutingRule[]} [routingRules] Routing rules associated with this
446
- * Front Door.
447
- */
448
- routingRules?: RoutingRule[];
449
- /**
450
- * @member {LoadBalancingSettingsModel[]} [loadBalancingSettings] Load
451
- * balancing settings associated with this Front Door instance.
452
- */
453
- loadBalancingSettings?: LoadBalancingSettingsModel[];
454
- /**
455
- * @member {HealthProbeSettingsModel[]} [healthProbeSettings] Health probe
456
- * settings associated with this Front Door instance.
457
- */
458
- healthProbeSettings?: HealthProbeSettingsModel[];
459
- /**
460
- * @member {BackendPool[]} [backendPools] Backend pools available to routing
461
- * rules.
462
- */
463
- backendPools?: BackendPool[];
464
- /**
465
- * @member {FrontendEndpoint[]} [frontendEndpoints] Frontend endpoints
466
- * available to routing rules.
467
- */
468
- frontendEndpoints?: FrontendEndpoint[];
469
- /**
470
- * @member {FrontDoorEnabledState} [enabledState] Operational status of the
471
- * Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'.
472
- * Possible values include: 'Enabled', 'Disabled'
473
- */
474
- enabledState?: FrontDoorEnabledState;
475
- }
476
- /**
477
- * @interface
478
- * An interface representing PurgeParameters.
479
- * Parameters required for content purge.
480
- *
481
- */
482
- export interface PurgeParameters {
483
- /**
484
- * @member {string[]} contentPaths The path to the content to be purged. Can
485
- * describe a file path or a wild card directory.
486
- */
487
- contentPaths: string[];
488
- }
489
- /**
490
- * @interface
491
- * An interface representing CacheConfiguration.
492
- * Caching settings for a caching-type route. To disable caching, do not
493
- * provide a cacheConfiguration object.
494
- *
495
- */
496
- export interface CacheConfiguration {
497
- /**
498
- * @member {FrontDoorQuery} [queryParameterStripDirective] Treatment of URL
499
- * query terms when forming the cache key. Possible values include:
500
- * 'StripNone', 'StripAll'
501
- */
502
- queryParameterStripDirective?: FrontDoorQuery;
503
- /**
504
- * @member {DynamicCompressionEnabled} [dynamicCompression] Whether to use
505
- * dynamic compression for cached content. Possible values include:
506
- * 'Enabled', 'Disabled'
507
- */
508
- dynamicCompression?: DynamicCompressionEnabled;
509
- }
510
- /**
511
- * @interface
512
- * An interface representing RoutingRuleUpdateParameters.
513
- * Routing rules to apply to an endpoint
514
- *
515
- */
516
- export interface RoutingRuleUpdateParameters {
517
- /**
518
- * @member {SubResource[]} [frontendEndpoints] Frontend endpoints associated
519
- * with this rule
520
- */
521
- frontendEndpoints?: SubResource[];
522
- /**
523
- * @member {FrontDoorProtocol[]} [acceptedProtocols] Protocol schemes to
524
- * match for this rule
525
- */
526
- acceptedProtocols?: FrontDoorProtocol[];
527
- /**
528
- * @member {string[]} [patternsToMatch] The route patterns of the rule.
529
- */
530
- patternsToMatch?: string[];
531
- /**
532
- * @member {string} [customForwardingPath] A custom path used to rewrite
533
- * resource paths matched by this rule. Leave empty to use incoming path.
534
- */
535
- customForwardingPath?: string;
536
- /**
537
- * @member {FrontDoorForwardingProtocol} [forwardingProtocol] Protocol this
538
- * rule will use when forwarding traffic to backends. Possible values
539
- * include: 'HttpOnly', 'HttpsOnly', 'MatchRequest'
540
- */
541
- forwardingProtocol?: FrontDoorForwardingProtocol;
542
- /**
543
- * @member {CacheConfiguration} [cacheConfiguration] The caching
544
- * configuration associated with this rule.
545
- */
546
- cacheConfiguration?: CacheConfiguration;
547
- /**
548
- * @member {SubResource} [backendPool] A reference to the BackendPool which
549
- * this rule routes to.
550
- */
551
- backendPool?: SubResource;
552
- /**
553
- * @member {FrontDoorEnabledState} [enabledState] Whether to enable use of
554
- * this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values
555
- * include: 'Enabled', 'Disabled'
556
- */
557
- enabledState?: FrontDoorEnabledState;
558
- }
559
- /**
560
- * @interface
561
- * An interface representing Backend.
562
- * Backend address of a frontDoor load balancer.
563
- *
564
- */
565
- export interface Backend {
566
- /**
567
- * @member {string} [address] Location of the backend (IP address or FQDN)
568
- */
569
- address?: string;
570
- /**
571
- * @member {number} [httpPort] The HTTP TCP port number. Must be between 1
572
- * and 65535.
573
- */
574
- httpPort?: number;
575
- /**
576
- * @member {number} [httpsPort] The HTTPS TCP port number. Must be between 1
577
- * and 65535.
578
- */
579
- httpsPort?: number;
580
- /**
581
- * @member {FrontDoorEnabledState} [enabledState] Whether to enable use of
582
- * this backend. Permitted values are 'Enabled' or 'Disabled'. Possible
583
- * values include: 'Enabled', 'Disabled'
584
- */
585
- enabledState?: FrontDoorEnabledState;
586
- /**
587
- * @member {number} [priority] Priority to use for load balancing. Higher
588
- * priorities will not be used for load balancing if any lower priority
589
- * backend is healthy.
590
- */
591
- priority?: number;
592
- /**
593
- * @member {number} [weight] Weight of this endpoint for load balancing
594
- * purposes.
595
- */
596
- weight?: number;
597
- /**
598
- * @member {string} [backendHostHeader] The value to use as the host header
599
- * sent to the backend. If blank or unspecified, this defaults to the
600
- * incoming host.
601
- */
602
- backendHostHeader?: string;
603
- }
604
- /**
605
- * @interface
606
- * An interface representing LoadBalancingSettingsUpdateParameters.
607
- * Round-Robin load balancing settings for a backend pool
608
- *
609
- */
610
- export interface LoadBalancingSettingsUpdateParameters {
611
- /**
612
- * @member {number} [sampleSize] The number of samples to consider for load
613
- * balancing decisions
614
- */
615
- sampleSize?: number;
616
- /**
617
- * @member {number} [successfulSamplesRequired] The number of samples within
618
- * the sample period that must succeed
619
- */
620
- successfulSamplesRequired?: number;
621
- /**
622
- * @member {number} [additionalLatencyMilliseconds] The additional latency in
623
- * milliseconds for probes to fall into the lowest latency bucket
624
- */
625
- additionalLatencyMilliseconds?: number;
626
- }
627
- /**
628
- * @interface
629
- * An interface representing HealthProbeSettingsUpdateParameters.
630
- * L7 health probe settings for a backend pool
631
- *
632
- */
633
- export interface HealthProbeSettingsUpdateParameters {
634
- /**
635
- * @member {string} [path] The path to use for the health probe. Default is /
636
- */
637
- path?: string;
638
- /**
639
- * @member {FrontDoorProtocol} [protocol] Protocol scheme to use for this
640
- * probe. Possible values include: 'Http', 'Https'
641
- */
642
- protocol?: FrontDoorProtocol;
643
- /**
644
- * @member {number} [intervalInSeconds] The number of seconds between health
645
- * probes.
646
- */
647
- intervalInSeconds?: number;
648
- }
649
- /**
650
- * @interface
651
- * An interface representing BackendPoolUpdateParameters.
652
- * A collection of backends that can be routed to.
653
- *
654
- */
655
- export interface BackendPoolUpdateParameters {
656
- /**
657
- * @member {Backend[]} [backends] The set of backends for this pool
658
- */
659
- backends?: Backend[];
660
- /**
661
- * @member {SubResource} [loadBalancingSettings] Load balancing settings for
662
- * a backend pool
663
- */
664
- loadBalancingSettings?: SubResource;
665
- /**
666
- * @member {SubResource} [healthProbeSettings] L7 health probe settings for a
667
- * backend pool
668
- */
669
- healthProbeSettings?: SubResource;
670
- }
671
- /**
672
- * @interface
673
- * An interface representing FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink.
674
- * Defines the Web Application Firewall policy for each host (if applicable)
675
- *
676
- */
677
- export interface FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink {
678
- /**
679
- * @member {string} [id] Resource ID.
680
- */
681
- id?: string;
682
- }
683
- /**
684
- * @interface
685
- * An interface representing FrontendEndpointUpdateParameters.
686
- * Frontend endpoint used in routing rule
687
- *
688
- */
689
- export interface FrontendEndpointUpdateParameters {
690
- /**
691
- * @member {string} [hostName] The host name of the frontendEndpoint. Must be
692
- * a domain name.
693
- */
694
- hostName?: string;
695
- /**
696
- * @member {SessionAffinityEnabledState} [sessionAffinityEnabledState]
697
- * Whether to allow session affinity on this host. Valid options are
698
- * 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
699
- */
700
- sessionAffinityEnabledState?: SessionAffinityEnabledState;
701
- /**
702
- * @member {number} [sessionAffinityTtlSeconds] UNUSED. This field will be
703
- * ignored. The TTL to use in seconds for session affinity, if applicable.
704
- */
705
- sessionAffinityTtlSeconds?: number;
706
- /**
707
- * @member {FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink}
708
- * [webApplicationFirewallPolicyLink] Defines the Web Application Firewall
709
- * policy for each host (if applicable)
710
- */
711
- webApplicationFirewallPolicyLink?: FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink;
712
- }
713
- /**
714
- * @interface
715
- * An interface representing ValidateCustomDomainInput.
716
- * Input of the custom domain to be validated for DNS mapping.
717
- *
718
- */
719
- export interface ValidateCustomDomainInput {
720
- /**
721
- * @member {string} hostName The host name of the custom domain. Must be a
722
- * domain name.
723
- */
724
- hostName: string;
725
- }
726
- /**
727
- * @interface
728
- * An interface representing ValidateCustomDomainOutput.
729
- * Output of custom domain validation.
730
- *
731
- */
732
- export interface ValidateCustomDomainOutput {
733
- /**
734
- * @member {boolean} [customDomainValidated] Indicates whether the custom
735
- * domain is valid or not.
736
- * **NOTE: This property will not be serialized. It can only be populated by
737
- * the server.**
738
- */
739
- readonly customDomainValidated?: boolean;
740
- /**
741
- * @member {string} [reason] The reason why the custom domain is not valid.
742
- * **NOTE: This property will not be serialized. It can only be populated by
743
- * the server.**
744
- */
745
- readonly reason?: string;
746
- /**
747
- * @member {string} [message] Error message describing why the custom domain
748
- * is not valid.
749
- * **NOTE: This property will not be serialized. It can only be populated by
750
- * the server.**
751
- */
752
- readonly message?: string;
753
- }
754
- /**
755
- * @interface
756
- * An interface representing ErrorResponse.
757
- * Error reponse indicates Front Door service is not able to process the
758
- * incoming request. The reason is provided in the error message.
759
- *
760
- */
761
- export interface ErrorResponse {
762
- /**
763
- * @member {string} [code] Error code.
764
- * **NOTE: This property will not be serialized. It can only be populated by
765
- * the server.**
766
- */
767
- readonly code?: string;
768
- /**
769
- * @member {string} [message] Error message indicating why the operation
770
- * failed.
771
- * **NOTE: This property will not be serialized. It can only be populated by
772
- * the server.**
773
- */
774
- readonly message?: string;
775
- }
776
- /**
777
- * @interface
778
- * An interface representing CheckNameAvailabilityInput.
779
- * Input of CheckNameAvailability API.
780
- *
781
- */
782
- export interface CheckNameAvailabilityInput {
783
- /**
784
- * @member {string} name The resource name to validate.
785
- */
786
- name: string;
787
- /**
788
- * @member {ResourceType} type The type of the resource whose name is to be
789
- * validated. Possible values include: 'Microsoft.Network/frontDoors',
790
- * 'Microsoft.Network/frontDoors/frontendEndpoints'
791
- */
792
- type: ResourceType;
793
- }
794
- /**
795
- * @interface
796
- * An interface representing CheckNameAvailabilityOutput.
797
- * Output of check name availability API.
798
- *
799
- */
800
- export interface CheckNameAvailabilityOutput {
801
- /**
802
- * @member {Availability} [nameAvailability] Indicates whether the name is
803
- * available. Possible values include: 'Available', 'Unavailable'
804
- * **NOTE: This property will not be serialized. It can only be populated by
805
- * the server.**
806
- */
807
- readonly nameAvailability?: Availability;
808
- /**
809
- * @member {string} [reason] The reason why the name is not available.
810
- * **NOTE: This property will not be serialized. It can only be populated by
811
- * the server.**
812
- */
813
- readonly reason?: string;
814
- /**
815
- * @member {string} [message] The detailed error message describing why the
816
- * name is not available.
817
- * **NOTE: This property will not be serialized. It can only be populated by
818
- * the server.**
819
- */
820
- readonly message?: string;
821
- }
822
- /**
823
- * @interface
824
- * An interface representing ErrorDetails.
825
- */
826
- export interface ErrorDetails {
827
- /**
828
- * @member {string} [code]
829
- */
830
- code?: string;
831
- /**
832
- * @member {string} [target]
833
- */
834
- target?: string;
835
- /**
836
- * @member {string} [message]
837
- */
838
- message?: string;
839
- }
840
- /**
841
- * @interface
842
- * An interface representing ErrorModel.
843
- */
844
- export interface ErrorModel {
845
- /**
846
- * @member {string} [code]
847
- */
848
- code?: string;
849
- /**
850
- * @member {string} [message]
851
- */
852
- message?: string;
853
- /**
854
- * @member {string} [target]
855
- */
856
- target?: string;
857
- /**
858
- * @member {ErrorDetails[]} [details]
859
- */
860
- details?: ErrorDetails[];
861
- /**
862
- * @member {string} [innerError]
863
- */
864
- innerError?: string;
865
- }
866
- /**
867
- * @interface
868
- * An interface representing AzureAsyncOperationResult.
869
- * The response body contains the status of the specified asynchronous
870
- * operation, indicating whether it has succeeded, is in progress, or has
871
- * failed. Note that this status is distinct from the HTTP status code returned
872
- * for the Get Operation Status operation itself. If the asynchronous operation
873
- * succeeded, the response body includes the HTTP status code for the
874
- * successful request. If the asynchronous operation failed, the response body
875
- * includes the HTTP status code for the failed request and error information
876
- * regarding the failure.
877
- *
878
- */
879
- export interface AzureAsyncOperationResult {
880
- /**
881
- * @member {NetworkOperationStatus} [status] Status of the Azure async
882
- * operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'.
883
- * Possible values include: 'InProgress', 'Succeeded', 'Failed'
884
- */
885
- status?: NetworkOperationStatus;
886
- /**
887
- * @member {ErrorModel} [error]
888
- */
889
- error?: ErrorModel;
890
- }
891
- /**
892
- * @interface
893
- * An interface representing TagsObject.
894
- * Tags object for patch operations.
895
- *
896
- */
897
- export interface TagsObject {
898
- /**
899
- * @member {{ [propertyName: string]: string }} [tags] Resource tags.
900
- */
901
- tags?: {
902
- [propertyName: string]: string;
903
- };
904
- }
905
- /**
906
- * @interface
907
- * An interface representing PolicySettings.
908
- * Defines contents of a web application firewall global configuration
909
- *
910
- */
911
- export interface PolicySettings {
912
- /**
913
- * @member {EnabledState} [enabledState] describes if the policy is in
914
- * enabled state or disabled state. Possible values include: 'Disabled',
915
- * 'Enabled'
916
- */
917
- enabledState?: EnabledState;
918
- /**
919
- * @member {Mode} [mode] Describes if it is in detection mode or prevention
920
- * mode at policy level. Possible values include: 'Prevention', 'Detection'
921
- */
922
- mode?: Mode;
923
- }
924
- /**
925
- * @interface
926
- * An interface representing MatchCondition1.
927
- * Define match conditions
928
- *
929
- */
930
- export interface MatchCondition1 {
931
- /**
932
- * @member {MatchCondition} matchVariable Match Variable. Possible values
933
- * include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs',
934
- * 'RequestUri', 'RequestHeader', 'RequestBody'
935
- */
936
- matchVariable: MatchCondition;
937
- /**
938
- * @member {string} [selector] Name of selector in RequestHeader or
939
- * RequestBody to be matched
940
- */
941
- selector?: string;
942
- /**
943
- * @member {Operator} operator Describes operator to be matched. Possible
944
- * values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains',
945
- * 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual',
946
- * 'BeginsWith', 'EndsWith'
947
- */
948
- operator: Operator;
949
- /**
950
- * @member {boolean} [negateCondition] Describes if this is negate condition
951
- * or not
952
- */
953
- negateCondition?: boolean;
954
- /**
955
- * @member {string[]} matchValue Match value
956
- */
957
- matchValue: string[];
958
- }
959
- /**
960
- * @interface
961
- * An interface representing CustomRule.
962
- * Defines contents of a web application rule
963
- *
964
- */
965
- export interface CustomRule {
966
- /**
967
- * @member {string} [name] Gets name of the resource that is unique within a
968
- * policy. This name can be used to access the resource.
969
- */
970
- name?: string;
971
- /**
972
- * @member {string} [etag] Gets a unique read-only string that changes
973
- * whenever the resource is updated.
974
- * **NOTE: This property will not be serialized. It can only be populated by
975
- * the server.**
976
- */
977
- readonly etag?: string;
978
- /**
979
- * @member {number} priority Describes priority of the rule. Rules with a
980
- * lower value will be evaluated before rules with a higher value
981
- */
982
- priority: number;
983
- /**
984
- * @member {RuleType} ruleType Describes type of rule. Possible values
985
- * include: 'MatchRule', 'RateLimitRule'
986
- */
987
- ruleType: RuleType;
988
- /**
989
- * @member {number} [rateLimitDurationInMinutes] Defines rate limit duration.
990
- * Default - 1 minute
991
- */
992
- rateLimitDurationInMinutes?: number;
993
- /**
994
- * @member {number} [rateLimitThreshold] Defines rate limit thresold
995
- */
996
- rateLimitThreshold?: number;
997
- /**
998
- * @member {MatchCondition1[]} matchConditions List of match conditions
999
- */
1000
- matchConditions: MatchCondition1[];
1001
- /**
1002
- * @member {Action} action Type of Actions. Possible values include: 'Allow',
1003
- * 'Block', 'Log'
1004
- */
1005
- action: Action;
1006
- /**
1007
- * @member {Transform[]} [transforms] List of transforms
1008
- */
1009
- transforms?: Transform[];
1010
- }
1011
- /**
1012
- * @interface
1013
- * An interface representing CustomRules.
1014
- * Defines contents of custom rules
1015
- *
1016
- */
1017
- export interface CustomRules {
1018
- /**
1019
- * @member {CustomRule[]} [rules] List of rules
1020
- */
1021
- rules?: CustomRule[];
1022
- }
1023
- /**
1024
- * Contains the possible cases for ManagedRuleSet.
1025
- */
1026
- export declare type ManagedRuleSetUnion = ManagedRuleSet | AzureManagedRuleSet;
1027
- /**
1028
- * @interface
1029
- * An interface representing ManagedRuleSet.
1030
- * Base class for all types of ManagedRuleSet.
1031
- *
1032
- */
1033
- export interface ManagedRuleSet {
1034
- /**
1035
- * @member {string} ruleSetType Polymorphic Discriminator
1036
- */
1037
- ruleSetType: "Unknown";
1038
- /**
1039
- * @member {number} [priority] Describes priority of the rule
1040
- */
1041
- priority?: number;
1042
- /**
1043
- * @member {number} [version] defines version of the ruleset
1044
- */
1045
- version?: number;
1046
- }
1047
- /**
1048
- * @interface
1049
- * An interface representing ManagedRuleSets.
1050
- * Defines ManagedRuleSets - array of managedRuleSet
1051
- *
1052
- */
1053
- export interface ManagedRuleSets {
1054
- /**
1055
- * @member {ManagedRuleSetUnion[]} [ruleSets] List of rules
1056
- */
1057
- ruleSets?: ManagedRuleSetUnion[];
1058
- }
1059
- /**
1060
- * @interface
1061
- * An interface representing WebApplicationFirewallPolicy1.
1062
- * Defines web application firewall policy.
1063
- *
1064
- * @extends Resource
1065
- */
1066
- export interface WebApplicationFirewallPolicy1 extends Resource {
1067
- /**
1068
- * @member {PolicySettings} [policySettings] Describes policySettings for
1069
- * policy
1070
- */
1071
- policySettings?: PolicySettings;
1072
- /**
1073
- * @member {CustomRules} [customRules] Describes custom rules inside the
1074
- * policy
1075
- */
1076
- customRules?: CustomRules;
1077
- /**
1078
- * @member {ManagedRuleSets} [managedRules] Describes managed rules inside
1079
- * the policy
1080
- */
1081
- managedRules?: ManagedRuleSets;
1082
- /**
1083
- * @member {string} [provisioningState] Provisioning state of the
1084
- * WebApplicationFirewallPolicy.
1085
- * **NOTE: This property will not be serialized. It can only be populated by
1086
- * the server.**
1087
- */
1088
- readonly provisioningState?: string;
1089
- /**
1090
- * @member {WebApplicationFirewallPolicy} [resourceState] Resource status of
1091
- * the policy. Possible values include: 'Creating', 'Enabling', 'Enabled',
1092
- * 'Disabling', 'Disabled', 'Deleting'
1093
- * **NOTE: This property will not be serialized. It can only be populated by
1094
- * the server.**
1095
- */
1096
- readonly resourceState?: WebApplicationFirewallPolicy;
1097
- /**
1098
- * @member {string} [etag] Gets a unique read-only string that changes
1099
- * whenever the resource is updated.
1100
- */
1101
- etag?: string;
1102
- }
1103
- /**
1104
- * @interface
1105
- * An interface representing AzureManagedOverrideRuleGroup.
1106
- * Defines contents of a web application rule
1107
- *
1108
- */
1109
- export interface AzureManagedOverrideRuleGroup {
1110
- /**
1111
- * @member {RuleGroupOverride} ruleGroupOverride Describes overrideruleGroup.
1112
- * Possible values include: 'SqlInjection', 'XSS'
1113
- */
1114
- ruleGroupOverride: RuleGroupOverride;
1115
- /**
1116
- * @member {Action} action Type of Actions. Possible values include: 'Allow',
1117
- * 'Block', 'Log'
1118
- */
1119
- action: Action;
1120
- }
1121
- /**
1122
- * @interface
1123
- * An interface representing AzureManagedRuleSet.
1124
- * Describes azure managed provider.
1125
- *
1126
- */
1127
- export interface AzureManagedRuleSet {
1128
- /**
1129
- * @member {string} ruleSetType Polymorphic Discriminator
1130
- */
1131
- ruleSetType: "AzureManagedRuleSet";
1132
- /**
1133
- * @member {number} [priority] Describes priority of the rule
1134
- */
1135
- priority?: number;
1136
- /**
1137
- * @member {number} [version] defines version of the ruleset
1138
- */
1139
- version?: number;
1140
- /**
1141
- * @member {AzureManagedOverrideRuleGroup[]} [ruleGroupOverrides] List of
1142
- * azure managed provider override configuration (optional)
1143
- */
1144
- ruleGroupOverrides?: AzureManagedOverrideRuleGroup[];
1145
- }
1146
- /**
1147
- * @interface
1148
- * An interface representing FrontDoorManagementClientOptions.
1149
- * @extends AzureServiceClientOptions
1150
- */
1151
- export interface FrontDoorManagementClientOptions extends AzureServiceClientOptions {
1152
- /**
1153
- * @member {string} [baseUri]
1154
- */
1155
- baseUri?: string;
1156
- }
1157
- /**
1158
- * @interface
1159
- * An interface representing the FrontDoorListResult.
1160
- * Result of the request to list Front Doors. It contains a list of Front Door
1161
- * objects and a URL link to get the the next set of results.
1162
- *
1163
- * @extends Array<FrontDoor>
1164
- */
1165
- export interface FrontDoorListResult extends Array<FrontDoor> {
1166
- /**
1167
- * @member {string} [nextLink] URL to get the next set of Front Door objects
1168
- * if there are any.
1169
- */
1170
- nextLink?: string;
1171
- }
1172
- /**
1173
- * @interface
1174
- * An interface representing the RoutingRuleListResult.
1175
- * Result of the request to list Routing Rules. It contains a list of Routing
1176
- * Rule objects and a URL link to get the the next set of results.
1177
- *
1178
- * @extends Array<RoutingRule>
1179
- */
1180
- export interface RoutingRuleListResult extends Array<RoutingRule> {
1181
- /**
1182
- * @member {string} [nextLink] URL to get the next set of RoutingRule objects
1183
- * if there are any.
1184
- */
1185
- nextLink?: string;
1186
- }
1187
- /**
1188
- * @interface
1189
- * An interface representing the HealthProbeSettingsListResult.
1190
- * Result of the request to list HealthProbeSettings. It contains a list of
1191
- * HealthProbeSettings objects and a URL link to get the the next set of
1192
- * results.
1193
- *
1194
- * @extends Array<HealthProbeSettingsModel>
1195
- */
1196
- export interface HealthProbeSettingsListResult extends Array<HealthProbeSettingsModel> {
1197
- /**
1198
- * @member {string} [nextLink] URL to get the next set of HealthProbeSettings
1199
- * objects if there are any.
1200
- */
1201
- nextLink?: string;
1202
- }
1203
- /**
1204
- * @interface
1205
- * An interface representing the LoadBalancingSettingsListResult.
1206
- * Result of the request to list load balancing settings. It contains a list of
1207
- * load balancing settings objects and a URL link to get the the next set of
1208
- * results.
1209
- *
1210
- * @extends Array<LoadBalancingSettingsModel>
1211
- */
1212
- export interface LoadBalancingSettingsListResult extends Array<LoadBalancingSettingsModel> {
1213
- /**
1214
- * @member {string} [nextLink] URL to get the next set of
1215
- * LoadBalancingSettings objects if there are any.
1216
- */
1217
- nextLink?: string;
1218
- }
1219
- /**
1220
- * @interface
1221
- * An interface representing the BackendPoolListResult.
1222
- * Result of the request to list Backend Pools. It contains a list of Backend
1223
- * Pools objects and a URL link to get the the next set of results.
1224
- *
1225
- * @extends Array<BackendPool>
1226
- */
1227
- export interface BackendPoolListResult extends Array<BackendPool> {
1228
- /**
1229
- * @member {string} [nextLink] URL to get the next set of BackendPool objects
1230
- * if there are any.
1231
- */
1232
- nextLink?: string;
1233
- }
1234
- /**
1235
- * @interface
1236
- * An interface representing the FrontendEndpointsListResult.
1237
- * Result of the request to list frontend endpoints. It contains a list of
1238
- * Frontend endpoint objects and a URL link to get the the next set of results.
1239
- *
1240
- * @extends Array<FrontendEndpoint>
1241
- */
1242
- export interface FrontendEndpointsListResult extends Array<FrontendEndpoint> {
1243
- /**
1244
- * @member {string} [nextLink] URL to get the next set of frontend endpoints
1245
- * if there are any.
1246
- */
1247
- nextLink?: string;
1248
- }
1249
- /**
1250
- * @interface
1251
- * An interface representing the WebApplicationFirewallPolicyListResult.
1252
- * Result of the request to list WebApplicationFirewallPolicies. It contains a
1253
- * list of WebApplicationFirewallPolicy objects and a URL link to get the the
1254
- * next set of results.
1255
- *
1256
- * @extends Array<WebApplicationFirewallPolicy1>
1257
- */
1258
- export interface WebApplicationFirewallPolicyListResult extends Array<WebApplicationFirewallPolicy1> {
1259
- /**
1260
- * @member {string} [nextLink] URL to get the next set of
1261
- * WebApplicationFirewallPolicy objects if there are any.
1262
- */
1263
- nextLink?: string;
1264
- }
1265
- /**
1266
- * Defines values for FrontDoorResourceState.
1267
- * Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting'
1268
- * @readonly
1269
- * @enum {string}
1270
- */
1271
- export declare type FrontDoorResourceState = 'Creating' | 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Deleting';
1272
- /**
1273
- * Defines values for CustomHttpsProvisioningState.
1274
- * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed'
1275
- * @readonly
1276
- * @enum {string}
1277
- */
1278
- export declare type CustomHttpsProvisioningState = 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Failed';
1279
- /**
1280
- * Defines values for CustomHttpsProvisioningSubstate.
1281
- * Possible values include: 'SubmittingDomainControlValidationRequest',
1282
- * 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved',
1283
- * 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut',
1284
- * 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate',
1285
- * 'CertificateDeleted'
1286
- * @readonly
1287
- * @enum {string}
1288
- */
1289
- export declare type CustomHttpsProvisioningSubstate = 'SubmittingDomainControlValidationRequest' | 'PendingDomainControlValidationREquestApproval' | 'DomainControlValidationRequestApproved' | 'DomainControlValidationRequestRejected' | 'DomainControlValidationRequestTimedOut' | 'IssuingCertificate' | 'DeployingCertificate' | 'CertificateDeployed' | 'DeletingCertificate' | 'CertificateDeleted';
1290
- /**
1291
- * Defines values for FrontDoorCertificateSource.
1292
- * Possible values include: 'AzureKeyVault', 'FrontDoor'
1293
- * @readonly
1294
- * @enum {string}
1295
- */
1296
- export declare type FrontDoorCertificateSource = 'AzureKeyVault' | 'FrontDoor';
1297
- /**
1298
- * Defines values for FrontDoorTlsProtocolType.
1299
- * Possible values include: 'ServerNameIndication'
1300
- * @readonly
1301
- * @enum {string}
1302
- */
1303
- export declare type FrontDoorTlsProtocolType = 'ServerNameIndication';
1304
- /**
1305
- * Defines values for FrontDoorCertificateType.
1306
- * Possible values include: 'Dedicated'
1307
- * @readonly
1308
- * @enum {string}
1309
- */
1310
- export declare type FrontDoorCertificateType = 'Dedicated';
1311
- /**
1312
- * Defines values for FrontDoorEnabledState.
1313
- * Possible values include: 'Enabled', 'Disabled'
1314
- * @readonly
1315
- * @enum {string}
1316
- */
1317
- export declare type FrontDoorEnabledState = 'Enabled' | 'Disabled';
1318
- /**
1319
- * Defines values for FrontDoorProtocol.
1320
- * Possible values include: 'Http', 'Https'
1321
- * @readonly
1322
- * @enum {string}
1323
- */
1324
- export declare type FrontDoorProtocol = 'Http' | 'Https';
1325
- /**
1326
- * Defines values for FrontDoorForwardingProtocol.
1327
- * Possible values include: 'HttpOnly', 'HttpsOnly', 'MatchRequest'
1328
- * @readonly
1329
- * @enum {string}
1330
- */
1331
- export declare type FrontDoorForwardingProtocol = 'HttpOnly' | 'HttpsOnly' | 'MatchRequest';
1332
- /**
1333
- * Defines values for FrontDoorQuery.
1334
- * Possible values include: 'StripNone', 'StripAll'
1335
- * @readonly
1336
- * @enum {string}
1337
- */
1338
- export declare type FrontDoorQuery = 'StripNone' | 'StripAll';
1339
- /**
1340
- * Defines values for DynamicCompressionEnabled.
1341
- * Possible values include: 'Enabled', 'Disabled'
1342
- * @readonly
1343
- * @enum {string}
1344
- */
1345
- export declare type DynamicCompressionEnabled = 'Enabled' | 'Disabled';
1346
- /**
1347
- * Defines values for SessionAffinityEnabledState.
1348
- * Possible values include: 'Enabled', 'Disabled'
1349
- * @readonly
1350
- * @enum {string}
1351
- */
1352
- export declare type SessionAffinityEnabledState = 'Enabled' | 'Disabled';
1353
- /**
1354
- * Defines values for ResourceType.
1355
- * Possible values include: 'Microsoft.Network/frontDoors',
1356
- * 'Microsoft.Network/frontDoors/frontendEndpoints'
1357
- * @readonly
1358
- * @enum {string}
1359
- */
1360
- export declare type ResourceType = 'Microsoft.Network/frontDoors' | 'Microsoft.Network/frontDoors/frontendEndpoints';
1361
- /**
1362
- * Defines values for Availability.
1363
- * Possible values include: 'Available', 'Unavailable'
1364
- * @readonly
1365
- * @enum {string}
1366
- */
1367
- export declare type Availability = 'Available' | 'Unavailable';
1368
- /**
1369
- * Defines values for NetworkOperationStatus.
1370
- * Possible values include: 'InProgress', 'Succeeded', 'Failed'
1371
- * @readonly
1372
- * @enum {string}
1373
- */
1374
- export declare type NetworkOperationStatus = 'InProgress' | 'Succeeded' | 'Failed';
1375
- /**
1376
- * Defines values for EnabledState.
1377
- * Possible values include: 'Disabled', 'Enabled'
1378
- * @readonly
1379
- * @enum {string}
1380
- */
1381
- export declare type EnabledState = 'Disabled' | 'Enabled';
1382
- /**
1383
- * Defines values for Mode.
1384
- * Possible values include: 'Prevention', 'Detection'
1385
- * @readonly
1386
- * @enum {string}
1387
- */
1388
- export declare type Mode = 'Prevention' | 'Detection';
1389
- /**
1390
- * Defines values for RuleType.
1391
- * Possible values include: 'MatchRule', 'RateLimitRule'
1392
- * @readonly
1393
- * @enum {string}
1394
- */
1395
- export declare type RuleType = 'MatchRule' | 'RateLimitRule';
1396
- /**
1397
- * Defines values for MatchCondition.
1398
- * Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri',
1399
- * 'RequestHeader', 'RequestBody'
1400
- * @readonly
1401
- * @enum {string}
1402
- */
1403
- export declare type MatchCondition = 'RemoteAddr' | 'RequestMethod' | 'QueryString' | 'PostArgs' | 'RequestUri' | 'RequestHeader' | 'RequestBody';
1404
- /**
1405
- * Defines values for Operator.
1406
- * Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan',
1407
- * 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith'
1408
- * @readonly
1409
- * @enum {string}
1410
- */
1411
- export declare type Operator = 'Any' | 'IPMatch' | 'GeoMatch' | 'Equal' | 'Contains' | 'LessThan' | 'GreaterThan' | 'LessThanOrEqual' | 'GreaterThanOrEqual' | 'BeginsWith' | 'EndsWith';
1412
- /**
1413
- * Defines values for Action.
1414
- * Possible values include: 'Allow', 'Block', 'Log'
1415
- * @readonly
1416
- * @enum {string}
1417
- */
1418
- export declare type Action = 'Allow' | 'Block' | 'Log';
1419
- /**
1420
- * Defines values for Transform.
1421
- * Possible values include: 'Lowercase', 'Uppercase', 'Trim', 'UrlDecode', 'UrlEncode',
1422
- * 'RemoveNulls', 'HtmlEntityDecode'
1423
- * @readonly
1424
- * @enum {string}
1425
- */
1426
- export declare type Transform = 'Lowercase' | 'Uppercase' | 'Trim' | 'UrlDecode' | 'UrlEncode' | 'RemoveNulls' | 'HtmlEntityDecode';
1427
- /**
1428
- * Defines values for WebApplicationFirewallPolicy.
1429
- * Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting'
1430
- * @readonly
1431
- * @enum {string}
1432
- */
1433
- export declare type WebApplicationFirewallPolicy = 'Creating' | 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Deleting';
1434
- /**
1435
- * Defines values for RuleGroupOverride.
1436
- * Possible values include: 'SqlInjection', 'XSS'
1437
- * @readonly
1438
- * @enum {string}
1439
- */
1440
- export declare type RuleGroupOverride = 'SqlInjection' | 'XSS';
1441
- /**
1442
- * Contains response data for the checkFrontDoorNameAvailability operation.
1443
- */
1444
- export declare type CheckFrontDoorNameAvailabilityResponse = CheckNameAvailabilityOutput & {
1445
- /**
1446
- * The underlying HTTP response.
1447
- */
1448
- _response: msRest.HttpResponse & {
1449
- /**
1450
- * The response body as text (string format)
1451
- */
1452
- bodyAsText: string;
1453
- /**
1454
- * The response body as parsed JSON or XML
1455
- */
1456
- parsedBody: CheckNameAvailabilityOutput;
1457
- };
1458
- };
1459
- /**
1460
- * Contains response data for the checkFrontDoorNameAvailabilityWithSubscription operation.
1461
- */
1462
- export declare type CheckFrontDoorNameAvailabilityWithSubscriptionResponse = CheckNameAvailabilityOutput & {
1463
- /**
1464
- * The underlying HTTP response.
1465
- */
1466
- _response: msRest.HttpResponse & {
1467
- /**
1468
- * The response body as text (string format)
1469
- */
1470
- bodyAsText: string;
1471
- /**
1472
- * The response body as parsed JSON or XML
1473
- */
1474
- parsedBody: CheckNameAvailabilityOutput;
1475
- };
1476
- };
1477
- /**
1478
- * Contains response data for the list operation.
1479
- */
1480
- export declare type FrontDoorsListResponse = FrontDoorListResult & {
1481
- /**
1482
- * The underlying HTTP response.
1483
- */
1484
- _response: msRest.HttpResponse & {
1485
- /**
1486
- * The response body as text (string format)
1487
- */
1488
- bodyAsText: string;
1489
- /**
1490
- * The response body as parsed JSON or XML
1491
- */
1492
- parsedBody: FrontDoorListResult;
1493
- };
1494
- };
1495
- /**
1496
- * Contains response data for the listByResourceGroup operation.
1497
- */
1498
- export declare type FrontDoorsListByResourceGroupResponse = FrontDoorListResult & {
1499
- /**
1500
- * The underlying HTTP response.
1501
- */
1502
- _response: msRest.HttpResponse & {
1503
- /**
1504
- * The response body as text (string format)
1505
- */
1506
- bodyAsText: string;
1507
- /**
1508
- * The response body as parsed JSON or XML
1509
- */
1510
- parsedBody: FrontDoorListResult;
1511
- };
1512
- };
1513
- /**
1514
- * Contains response data for the get operation.
1515
- */
1516
- export declare type FrontDoorsGetResponse = FrontDoor & {
1517
- /**
1518
- * The underlying HTTP response.
1519
- */
1520
- _response: msRest.HttpResponse & {
1521
- /**
1522
- * The response body as text (string format)
1523
- */
1524
- bodyAsText: string;
1525
- /**
1526
- * The response body as parsed JSON or XML
1527
- */
1528
- parsedBody: FrontDoor;
1529
- };
1530
- };
1531
- /**
1532
- * Contains response data for the createOrUpdate operation.
1533
- */
1534
- export declare type FrontDoorsCreateOrUpdateResponse = FrontDoor & {
1535
- /**
1536
- * The underlying HTTP response.
1537
- */
1538
- _response: msRest.HttpResponse & {
1539
- /**
1540
- * The response body as text (string format)
1541
- */
1542
- bodyAsText: string;
1543
- /**
1544
- * The response body as parsed JSON or XML
1545
- */
1546
- parsedBody: FrontDoor;
1547
- };
1548
- };
1549
- /**
1550
- * Contains response data for the validateCustomDomain operation.
1551
- */
1552
- export declare type FrontDoorsValidateCustomDomainResponse = ValidateCustomDomainOutput & {
1553
- /**
1554
- * The underlying HTTP response.
1555
- */
1556
- _response: msRest.HttpResponse & {
1557
- /**
1558
- * The response body as text (string format)
1559
- */
1560
- bodyAsText: string;
1561
- /**
1562
- * The response body as parsed JSON or XML
1563
- */
1564
- parsedBody: ValidateCustomDomainOutput;
1565
- };
1566
- };
1567
- /**
1568
- * Contains response data for the beginCreateOrUpdate operation.
1569
- */
1570
- export declare type FrontDoorsBeginCreateOrUpdateResponse = FrontDoor & {
1571
- /**
1572
- * The underlying HTTP response.
1573
- */
1574
- _response: msRest.HttpResponse & {
1575
- /**
1576
- * The response body as text (string format)
1577
- */
1578
- bodyAsText: string;
1579
- /**
1580
- * The response body as parsed JSON or XML
1581
- */
1582
- parsedBody: FrontDoor;
1583
- };
1584
- };
1585
- /**
1586
- * Contains response data for the listNext operation.
1587
- */
1588
- export declare type FrontDoorsListNextResponse = FrontDoorListResult & {
1589
- /**
1590
- * The underlying HTTP response.
1591
- */
1592
- _response: msRest.HttpResponse & {
1593
- /**
1594
- * The response body as text (string format)
1595
- */
1596
- bodyAsText: string;
1597
- /**
1598
- * The response body as parsed JSON or XML
1599
- */
1600
- parsedBody: FrontDoorListResult;
1601
- };
1602
- };
1603
- /**
1604
- * Contains response data for the listByResourceGroupNext operation.
1605
- */
1606
- export declare type FrontDoorsListByResourceGroupNextResponse = FrontDoorListResult & {
1607
- /**
1608
- * The underlying HTTP response.
1609
- */
1610
- _response: msRest.HttpResponse & {
1611
- /**
1612
- * The response body as text (string format)
1613
- */
1614
- bodyAsText: string;
1615
- /**
1616
- * The response body as parsed JSON or XML
1617
- */
1618
- parsedBody: FrontDoorListResult;
1619
- };
1620
- };
1621
- /**
1622
- * Contains response data for the listByFrontDoor operation.
1623
- */
1624
- export declare type RoutingRulesListByFrontDoorResponse = RoutingRuleListResult & {
1625
- /**
1626
- * The underlying HTTP response.
1627
- */
1628
- _response: msRest.HttpResponse & {
1629
- /**
1630
- * The response body as text (string format)
1631
- */
1632
- bodyAsText: string;
1633
- /**
1634
- * The response body as parsed JSON or XML
1635
- */
1636
- parsedBody: RoutingRuleListResult;
1637
- };
1638
- };
1639
- /**
1640
- * Contains response data for the get operation.
1641
- */
1642
- export declare type RoutingRulesGetResponse = RoutingRule & {
1643
- /**
1644
- * The underlying HTTP response.
1645
- */
1646
- _response: msRest.HttpResponse & {
1647
- /**
1648
- * The response body as text (string format)
1649
- */
1650
- bodyAsText: string;
1651
- /**
1652
- * The response body as parsed JSON or XML
1653
- */
1654
- parsedBody: RoutingRule;
1655
- };
1656
- };
1657
- /**
1658
- * Contains response data for the createOrUpdate operation.
1659
- */
1660
- export declare type RoutingRulesCreateOrUpdateResponse = RoutingRule & {
1661
- /**
1662
- * The underlying HTTP response.
1663
- */
1664
- _response: msRest.HttpResponse & {
1665
- /**
1666
- * The response body as text (string format)
1667
- */
1668
- bodyAsText: string;
1669
- /**
1670
- * The response body as parsed JSON or XML
1671
- */
1672
- parsedBody: RoutingRule;
1673
- };
1674
- };
1675
- /**
1676
- * Contains response data for the beginCreateOrUpdate operation.
1677
- */
1678
- export declare type RoutingRulesBeginCreateOrUpdateResponse = RoutingRule & {
1679
- /**
1680
- * The underlying HTTP response.
1681
- */
1682
- _response: msRest.HttpResponse & {
1683
- /**
1684
- * The response body as text (string format)
1685
- */
1686
- bodyAsText: string;
1687
- /**
1688
- * The response body as parsed JSON or XML
1689
- */
1690
- parsedBody: RoutingRule;
1691
- };
1692
- };
1693
- /**
1694
- * Contains response data for the listByFrontDoorNext operation.
1695
- */
1696
- export declare type RoutingRulesListByFrontDoorNextResponse = RoutingRuleListResult & {
1697
- /**
1698
- * The underlying HTTP response.
1699
- */
1700
- _response: msRest.HttpResponse & {
1701
- /**
1702
- * The response body as text (string format)
1703
- */
1704
- bodyAsText: string;
1705
- /**
1706
- * The response body as parsed JSON or XML
1707
- */
1708
- parsedBody: RoutingRuleListResult;
1709
- };
1710
- };
1711
- /**
1712
- * Contains response data for the listByFrontDoor operation.
1713
- */
1714
- export declare type HealthProbeSettingsListByFrontDoorResponse = HealthProbeSettingsListResult & {
1715
- /**
1716
- * The underlying HTTP response.
1717
- */
1718
- _response: msRest.HttpResponse & {
1719
- /**
1720
- * The response body as text (string format)
1721
- */
1722
- bodyAsText: string;
1723
- /**
1724
- * The response body as parsed JSON or XML
1725
- */
1726
- parsedBody: HealthProbeSettingsListResult;
1727
- };
1728
- };
1729
- /**
1730
- * Contains response data for the get operation.
1731
- */
1732
- export declare type HealthProbeSettingsGetResponse = HealthProbeSettingsModel & {
1733
- /**
1734
- * The underlying HTTP response.
1735
- */
1736
- _response: msRest.HttpResponse & {
1737
- /**
1738
- * The response body as text (string format)
1739
- */
1740
- bodyAsText: string;
1741
- /**
1742
- * The response body as parsed JSON or XML
1743
- */
1744
- parsedBody: HealthProbeSettingsModel;
1745
- };
1746
- };
1747
- /**
1748
- * Contains response data for the createOrUpdate operation.
1749
- */
1750
- export declare type HealthProbeSettingsCreateOrUpdateResponse = HealthProbeSettingsModel & {
1751
- /**
1752
- * The underlying HTTP response.
1753
- */
1754
- _response: msRest.HttpResponse & {
1755
- /**
1756
- * The response body as text (string format)
1757
- */
1758
- bodyAsText: string;
1759
- /**
1760
- * The response body as parsed JSON or XML
1761
- */
1762
- parsedBody: HealthProbeSettingsModel;
1763
- };
1764
- };
1765
- /**
1766
- * Contains response data for the beginCreateOrUpdate operation.
1767
- */
1768
- export declare type HealthProbeSettingsBeginCreateOrUpdateResponse = HealthProbeSettingsModel & {
1769
- /**
1770
- * The underlying HTTP response.
1771
- */
1772
- _response: msRest.HttpResponse & {
1773
- /**
1774
- * The response body as text (string format)
1775
- */
1776
- bodyAsText: string;
1777
- /**
1778
- * The response body as parsed JSON or XML
1779
- */
1780
- parsedBody: HealthProbeSettingsModel;
1781
- };
1782
- };
1783
- /**
1784
- * Contains response data for the listByFrontDoorNext operation.
1785
- */
1786
- export declare type HealthProbeSettingsListByFrontDoorNextResponse = HealthProbeSettingsListResult & {
1787
- /**
1788
- * The underlying HTTP response.
1789
- */
1790
- _response: msRest.HttpResponse & {
1791
- /**
1792
- * The response body as text (string format)
1793
- */
1794
- bodyAsText: string;
1795
- /**
1796
- * The response body as parsed JSON or XML
1797
- */
1798
- parsedBody: HealthProbeSettingsListResult;
1799
- };
1800
- };
1801
- /**
1802
- * Contains response data for the listByFrontDoor operation.
1803
- */
1804
- export declare type LoadBalancingSettingsListByFrontDoorResponse = LoadBalancingSettingsListResult & {
1805
- /**
1806
- * The underlying HTTP response.
1807
- */
1808
- _response: msRest.HttpResponse & {
1809
- /**
1810
- * The response body as text (string format)
1811
- */
1812
- bodyAsText: string;
1813
- /**
1814
- * The response body as parsed JSON or XML
1815
- */
1816
- parsedBody: LoadBalancingSettingsListResult;
1817
- };
1818
- };
1819
- /**
1820
- * Contains response data for the get operation.
1821
- */
1822
- export declare type LoadBalancingSettingsGetResponse = LoadBalancingSettingsModel & {
1823
- /**
1824
- * The underlying HTTP response.
1825
- */
1826
- _response: msRest.HttpResponse & {
1827
- /**
1828
- * The response body as text (string format)
1829
- */
1830
- bodyAsText: string;
1831
- /**
1832
- * The response body as parsed JSON or XML
1833
- */
1834
- parsedBody: LoadBalancingSettingsModel;
1835
- };
1836
- };
1837
- /**
1838
- * Contains response data for the createOrUpdate operation.
1839
- */
1840
- export declare type LoadBalancingSettingsCreateOrUpdateResponse = LoadBalancingSettingsModel & {
1841
- /**
1842
- * The underlying HTTP response.
1843
- */
1844
- _response: msRest.HttpResponse & {
1845
- /**
1846
- * The response body as text (string format)
1847
- */
1848
- bodyAsText: string;
1849
- /**
1850
- * The response body as parsed JSON or XML
1851
- */
1852
- parsedBody: LoadBalancingSettingsModel;
1853
- };
1854
- };
1855
- /**
1856
- * Contains response data for the beginCreateOrUpdate operation.
1857
- */
1858
- export declare type LoadBalancingSettingsBeginCreateOrUpdateResponse = LoadBalancingSettingsModel & {
1859
- /**
1860
- * The underlying HTTP response.
1861
- */
1862
- _response: msRest.HttpResponse & {
1863
- /**
1864
- * The response body as text (string format)
1865
- */
1866
- bodyAsText: string;
1867
- /**
1868
- * The response body as parsed JSON or XML
1869
- */
1870
- parsedBody: LoadBalancingSettingsModel;
1871
- };
1872
- };
1873
- /**
1874
- * Contains response data for the listByFrontDoorNext operation.
1875
- */
1876
- export declare type LoadBalancingSettingsListByFrontDoorNextResponse = LoadBalancingSettingsListResult & {
1877
- /**
1878
- * The underlying HTTP response.
1879
- */
1880
- _response: msRest.HttpResponse & {
1881
- /**
1882
- * The response body as text (string format)
1883
- */
1884
- bodyAsText: string;
1885
- /**
1886
- * The response body as parsed JSON or XML
1887
- */
1888
- parsedBody: LoadBalancingSettingsListResult;
1889
- };
1890
- };
1891
- /**
1892
- * Contains response data for the listByFrontDoor operation.
1893
- */
1894
- export declare type BackendPoolsListByFrontDoorResponse = BackendPoolListResult & {
1895
- /**
1896
- * The underlying HTTP response.
1897
- */
1898
- _response: msRest.HttpResponse & {
1899
- /**
1900
- * The response body as text (string format)
1901
- */
1902
- bodyAsText: string;
1903
- /**
1904
- * The response body as parsed JSON or XML
1905
- */
1906
- parsedBody: BackendPoolListResult;
1907
- };
1908
- };
1909
- /**
1910
- * Contains response data for the get operation.
1911
- */
1912
- export declare type BackendPoolsGetResponse = BackendPool & {
1913
- /**
1914
- * The underlying HTTP response.
1915
- */
1916
- _response: msRest.HttpResponse & {
1917
- /**
1918
- * The response body as text (string format)
1919
- */
1920
- bodyAsText: string;
1921
- /**
1922
- * The response body as parsed JSON or XML
1923
- */
1924
- parsedBody: BackendPool;
1925
- };
1926
- };
1927
- /**
1928
- * Contains response data for the createOrUpdate operation.
1929
- */
1930
- export declare type BackendPoolsCreateOrUpdateResponse = BackendPool & {
1931
- /**
1932
- * The underlying HTTP response.
1933
- */
1934
- _response: msRest.HttpResponse & {
1935
- /**
1936
- * The response body as text (string format)
1937
- */
1938
- bodyAsText: string;
1939
- /**
1940
- * The response body as parsed JSON or XML
1941
- */
1942
- parsedBody: BackendPool;
1943
- };
1944
- };
1945
- /**
1946
- * Contains response data for the beginCreateOrUpdate operation.
1947
- */
1948
- export declare type BackendPoolsBeginCreateOrUpdateResponse = BackendPool & {
1949
- /**
1950
- * The underlying HTTP response.
1951
- */
1952
- _response: msRest.HttpResponse & {
1953
- /**
1954
- * The response body as text (string format)
1955
- */
1956
- bodyAsText: string;
1957
- /**
1958
- * The response body as parsed JSON or XML
1959
- */
1960
- parsedBody: BackendPool;
1961
- };
1962
- };
1963
- /**
1964
- * Contains response data for the listByFrontDoorNext operation.
1965
- */
1966
- export declare type BackendPoolsListByFrontDoorNextResponse = BackendPoolListResult & {
1967
- /**
1968
- * The underlying HTTP response.
1969
- */
1970
- _response: msRest.HttpResponse & {
1971
- /**
1972
- * The response body as text (string format)
1973
- */
1974
- bodyAsText: string;
1975
- /**
1976
- * The response body as parsed JSON or XML
1977
- */
1978
- parsedBody: BackendPoolListResult;
1979
- };
1980
- };
1981
- /**
1982
- * Contains response data for the listByFrontDoor operation.
1983
- */
1984
- export declare type FrontendEndpointsListByFrontDoorResponse = FrontendEndpointsListResult & {
1985
- /**
1986
- * The underlying HTTP response.
1987
- */
1988
- _response: msRest.HttpResponse & {
1989
- /**
1990
- * The response body as text (string format)
1991
- */
1992
- bodyAsText: string;
1993
- /**
1994
- * The response body as parsed JSON or XML
1995
- */
1996
- parsedBody: FrontendEndpointsListResult;
1997
- };
1998
- };
1999
- /**
2000
- * Contains response data for the get operation.
2001
- */
2002
- export declare type FrontendEndpointsGetResponse = FrontendEndpoint & {
2003
- /**
2004
- * The underlying HTTP response.
2005
- */
2006
- _response: msRest.HttpResponse & {
2007
- /**
2008
- * The response body as text (string format)
2009
- */
2010
- bodyAsText: string;
2011
- /**
2012
- * The response body as parsed JSON or XML
2013
- */
2014
- parsedBody: FrontendEndpoint;
2015
- };
2016
- };
2017
- /**
2018
- * Contains response data for the createOrUpdate operation.
2019
- */
2020
- export declare type FrontendEndpointsCreateOrUpdateResponse = FrontendEndpoint & {
2021
- /**
2022
- * The underlying HTTP response.
2023
- */
2024
- _response: msRest.HttpResponse & {
2025
- /**
2026
- * The response body as text (string format)
2027
- */
2028
- bodyAsText: string;
2029
- /**
2030
- * The response body as parsed JSON or XML
2031
- */
2032
- parsedBody: FrontendEndpoint;
2033
- };
2034
- };
2035
- /**
2036
- * Contains response data for the beginCreateOrUpdate operation.
2037
- */
2038
- export declare type FrontendEndpointsBeginCreateOrUpdateResponse = FrontendEndpoint & {
2039
- /**
2040
- * The underlying HTTP response.
2041
- */
2042
- _response: msRest.HttpResponse & {
2043
- /**
2044
- * The response body as text (string format)
2045
- */
2046
- bodyAsText: string;
2047
- /**
2048
- * The response body as parsed JSON or XML
2049
- */
2050
- parsedBody: FrontendEndpoint;
2051
- };
2052
- };
2053
- /**
2054
- * Contains response data for the listByFrontDoorNext operation.
2055
- */
2056
- export declare type FrontendEndpointsListByFrontDoorNextResponse = FrontendEndpointsListResult & {
2057
- /**
2058
- * The underlying HTTP response.
2059
- */
2060
- _response: msRest.HttpResponse & {
2061
- /**
2062
- * The response body as text (string format)
2063
- */
2064
- bodyAsText: string;
2065
- /**
2066
- * The response body as parsed JSON or XML
2067
- */
2068
- parsedBody: FrontendEndpointsListResult;
2069
- };
2070
- };
2071
- /**
2072
- * Contains response data for the list operation.
2073
- */
2074
- export declare type PoliciesListResponse = WebApplicationFirewallPolicyListResult & {
2075
- /**
2076
- * The underlying HTTP response.
2077
- */
2078
- _response: msRest.HttpResponse & {
2079
- /**
2080
- * The response body as text (string format)
2081
- */
2082
- bodyAsText: string;
2083
- /**
2084
- * The response body as parsed JSON or XML
2085
- */
2086
- parsedBody: WebApplicationFirewallPolicyListResult;
2087
- };
2088
- };
2089
- /**
2090
- * Contains response data for the get operation.
2091
- */
2092
- export declare type PoliciesGetResponse = WebApplicationFirewallPolicy1 & {
2093
- /**
2094
- * The underlying HTTP response.
2095
- */
2096
- _response: msRest.HttpResponse & {
2097
- /**
2098
- * The response body as text (string format)
2099
- */
2100
- bodyAsText: string;
2101
- /**
2102
- * The response body as parsed JSON or XML
2103
- */
2104
- parsedBody: WebApplicationFirewallPolicy1;
2105
- };
2106
- };
2107
- /**
2108
- * Contains response data for the createOrUpdate operation.
2109
- */
2110
- export declare type PoliciesCreateOrUpdateResponse = WebApplicationFirewallPolicy1 & {
2111
- /**
2112
- * The underlying HTTP response.
2113
- */
2114
- _response: msRest.HttpResponse & {
2115
- /**
2116
- * The response body as text (string format)
2117
- */
2118
- bodyAsText: string;
2119
- /**
2120
- * The response body as parsed JSON or XML
2121
- */
2122
- parsedBody: WebApplicationFirewallPolicy1;
2123
- };
2124
- };
2125
- /**
2126
- * Contains response data for the listNext operation.
2127
- */
2128
- export declare type PoliciesListNextResponse = WebApplicationFirewallPolicyListResult & {
2129
- /**
2130
- * The underlying HTTP response.
2131
- */
2132
- _response: msRest.HttpResponse & {
2133
- /**
2134
- * The response body as text (string format)
2135
- */
2136
- bodyAsText: string;
2137
- /**
2138
- * The response body as parsed JSON or XML
2139
- */
2140
- parsedBody: WebApplicationFirewallPolicyListResult;
2141
- };
2142
- };
2143
- //# sourceMappingURL=index.d.ts.map