@azure/arm-frontdoor 4.1.1 → 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 (293) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +6728 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/frontDoorManagementClient.d.ts +29 -0
  9. package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/frontDoorManagementClient.js +62 -0
  11. package/dist-esm/src/frontDoorManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +2380 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +399 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +93 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1812 -1645
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +36 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +316 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/endpoints.d.ts +34 -0
  33. package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
  34. package/dist-esm/src/operations/endpoints.js +106 -0
  35. package/dist-esm/src/operations/endpoints.js.map +1 -0
  36. package/dist-esm/src/operations/experiments.d.ts +99 -0
  37. package/dist-esm/src/operations/experiments.d.ts.map +1 -0
  38. package/dist-esm/src/operations/experiments.js +417 -0
  39. package/dist-esm/src/operations/experiments.js.map +1 -0
  40. package/dist-esm/src/operations/frontDoorNameAvailability.d.ts +19 -0
  41. package/dist-esm/src/operations/frontDoorNameAvailability.d.ts.map +1 -0
  42. package/dist-esm/src/operations/frontDoorNameAvailability.js +49 -0
  43. package/dist-esm/src/operations/frontDoorNameAvailability.js.map +1 -0
  44. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts +19 -0
  45. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
  46. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js +49 -0
  47. package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
  48. package/dist-esm/src/operations/frontDoors.d.ts +100 -0
  49. package/dist-esm/src/operations/frontDoors.d.ts.map +1 -0
  50. package/dist-esm/src/operations/frontDoors.js +453 -0
  51. package/dist-esm/src/operations/frontDoors.js.map +1 -0
  52. package/dist-esm/src/operations/frontendEndpoints.d.ts +81 -0
  53. package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -0
  54. package/dist-esm/src/operations/frontendEndpoints.js +331 -0
  55. package/dist-esm/src/operations/frontendEndpoints.js.map +1 -0
  56. package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
  57. package/dist-esm/src/operations/index.d.ts.map +1 -0
  58. package/dist-esm/src/operations/index.js +20 -0
  59. package/dist-esm/src/operations/index.js.map +1 -0
  60. package/dist-esm/src/operations/managedRuleSets.d.ts +32 -0
  61. package/dist-esm/src/operations/managedRuleSets.d.ts.map +1 -0
  62. package/dist-esm/src/operations/managedRuleSets.js +124 -0
  63. package/dist-esm/src/operations/managedRuleSets.js.map +1 -0
  64. package/dist-esm/src/operations/networkExperimentProfiles.d.ts +107 -0
  65. package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -0
  66. package/dist-esm/src/operations/networkExperimentProfiles.js +500 -0
  67. package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -0
  68. package/dist-esm/src/operations/policies.d.ts +73 -0
  69. package/dist-esm/src/operations/policies.d.ts.map +1 -0
  70. package/dist-esm/src/operations/policies.js +309 -0
  71. package/dist-esm/src/operations/policies.js.map +1 -0
  72. package/dist-esm/src/operations/preconfiguredEndpoints.d.ts +38 -0
  73. package/dist-esm/src/operations/preconfiguredEndpoints.d.ts.map +1 -0
  74. package/dist-esm/src/operations/preconfiguredEndpoints.js +137 -0
  75. package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -0
  76. package/dist-esm/src/operations/reports.d.ts +34 -0
  77. package/dist-esm/src/operations/reports.d.ts.map +1 -0
  78. package/dist-esm/src/operations/reports.js +120 -0
  79. package/dist-esm/src/operations/reports.js.map +1 -0
  80. package/dist-esm/src/operations/rulesEngines.d.ts +83 -0
  81. package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -0
  82. package/dist-esm/src/operations/rulesEngines.js +341 -0
  83. package/dist-esm/src/operations/rulesEngines.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/endpoints.d.ts +26 -0
  85. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/experiments.d.ts +74 -0
  89. package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/experiments.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/experiments.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts +11 -0
  93. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts +11 -0
  97. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/frontDoors.d.ts +64 -0
  101. package/dist-esm/src/operationsInterfaces/frontDoors.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/frontDoors.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/frontDoors.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts +56 -0
  105. package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/frontendEndpoints.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/frontendEndpoints.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
  109. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/index.js +20 -0
  111. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts +11 -0
  113. package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/managedRuleSets.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/managedRuleSets.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts +71 -0
  117. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/policies.d.ts +50 -0
  121. package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/policies.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts +13 -0
  125. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/reports.d.ts +26 -0
  129. package/dist-esm/src/operationsInterfaces/reports.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/reports.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/reports.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts +58 -0
  133. package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/rulesEngines.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/rulesEngines.js.map +1 -0
  136. package/dist-esm/test/sampleTest.d.ts +2 -0
  137. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  138. package/dist-esm/test/sampleTest.js +40 -0
  139. package/dist-esm/test/sampleTest.js.map +1 -0
  140. package/package.json +65 -32
  141. package/review/arm-frontdoor.api.md +1910 -0
  142. package/rollup.config.js +181 -30
  143. package/src/frontDoorManagementClient.ts +107 -164
  144. package/src/index.ts +12 -0
  145. package/src/lroImpl.ts +34 -0
  146. package/src/models/index.ts +2184 -2625
  147. package/src/models/mappers.ts +1796 -1578
  148. package/src/models/parameters.ts +228 -115
  149. package/src/operations/endpoints.ts +110 -59
  150. package/src/operations/experiments.ts +439 -238
  151. package/src/operations/frontDoorNameAvailability.ts +68 -0
  152. package/src/operations/frontDoorNameAvailabilityWithSubscription.ts +69 -0
  153. package/src/operations/frontDoors.ts +423 -310
  154. package/src/operations/frontendEndpoints.ts +334 -188
  155. package/src/operations/index.ts +5 -5
  156. package/src/operations/managedRuleSets.ts +92 -76
  157. package/src/operations/networkExperimentProfiles.ts +488 -297
  158. package/src/operations/policies.ts +305 -195
  159. package/src/operations/preconfiguredEndpoints.ts +125 -84
  160. package/src/operations/reports.ts +86 -118
  161. package/src/operations/rulesEngines.ts +343 -193
  162. package/src/operationsInterfaces/endpoints.ts +47 -0
  163. package/src/operationsInterfaces/experiments.ts +147 -0
  164. package/src/operationsInterfaces/frontDoorNameAvailability.ts +26 -0
  165. package/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.ts +26 -0
  166. package/src/operationsInterfaces/frontDoors.ts +122 -0
  167. package/src/operationsInterfaces/frontendEndpoints.ts +104 -0
  168. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +6 -6
  169. package/src/operationsInterfaces/managedRuleSets.ts +25 -0
  170. package/src/operationsInterfaces/networkExperimentProfiles.ts +139 -0
  171. package/src/operationsInterfaces/policies.ts +97 -0
  172. package/src/operationsInterfaces/preconfiguredEndpoints.ts +29 -0
  173. package/src/operationsInterfaces/reports.ts +57 -0
  174. package/src/operationsInterfaces/rulesEngines.ts +111 -0
  175. package/tsconfig.json +3 -3
  176. package/types/arm-frontdoor.d.ts +3127 -0
  177. package/types/tsdoc-metadata.json +11 -0
  178. package/dist/arm-frontdoor.js +0 -5978
  179. package/dist/arm-frontdoor.js.map +0 -1
  180. package/dist/arm-frontdoor.min.js +0 -1
  181. package/dist/arm-frontdoor.min.js.map +0 -1
  182. package/esm/frontDoorManagementClient.d.ts +0 -70
  183. package/esm/frontDoorManagementClient.d.ts.map +0 -1
  184. package/esm/frontDoorManagementClient.js +0 -112
  185. package/esm/frontDoorManagementClient.js.map +0 -1
  186. package/esm/frontDoorManagementClientContext.d.ts +0 -22
  187. package/esm/frontDoorManagementClientContext.d.ts.map +0 -1
  188. package/esm/frontDoorManagementClientContext.js +0 -61
  189. package/esm/frontDoorManagementClientContext.js.map +0 -1
  190. package/esm/models/endpointsMappers.d.ts +0 -2
  191. package/esm/models/endpointsMappers.d.ts.map +0 -1
  192. package/esm/models/endpointsMappers.js +0 -9
  193. package/esm/models/endpointsMappers.js.map +0 -1
  194. package/esm/models/experimentsMappers.d.ts +0 -2
  195. package/esm/models/experimentsMappers.d.ts.map +0 -1
  196. package/esm/models/experimentsMappers.js +0 -9
  197. package/esm/models/experimentsMappers.js.map +0 -1
  198. package/esm/models/frontDoorsMappers.d.ts +0 -2
  199. package/esm/models/frontDoorsMappers.d.ts.map +0 -1
  200. package/esm/models/frontDoorsMappers.js +0 -9
  201. package/esm/models/frontDoorsMappers.js.map +0 -1
  202. package/esm/models/frontendEndpointsMappers.d.ts +0 -2
  203. package/esm/models/frontendEndpointsMappers.d.ts.map +0 -1
  204. package/esm/models/frontendEndpointsMappers.js +0 -9
  205. package/esm/models/frontendEndpointsMappers.js.map +0 -1
  206. package/esm/models/index.d.ts +0 -2901
  207. package/esm/models/index.d.ts.map +0 -1
  208. package/esm/models/index.js +0 -8
  209. package/esm/models/index.js.map +0 -1
  210. package/esm/models/managedRuleSetsMappers.d.ts +0 -2
  211. package/esm/models/managedRuleSetsMappers.d.ts.map +0 -1
  212. package/esm/models/managedRuleSetsMappers.js +0 -9
  213. package/esm/models/managedRuleSetsMappers.js.map +0 -1
  214. package/esm/models/mappers.d.ts +0 -84
  215. package/esm/models/mappers.d.ts.map +0 -1
  216. package/esm/models/mappers.js.map +0 -1
  217. package/esm/models/networkExperimentProfilesMappers.d.ts +0 -2
  218. package/esm/models/networkExperimentProfilesMappers.d.ts.map +0 -1
  219. package/esm/models/networkExperimentProfilesMappers.js +0 -9
  220. package/esm/models/networkExperimentProfilesMappers.js.map +0 -1
  221. package/esm/models/parameters.d.ts +0 -22
  222. package/esm/models/parameters.d.ts.map +0 -1
  223. package/esm/models/parameters.js +0 -252
  224. package/esm/models/parameters.js.map +0 -1
  225. package/esm/models/policiesMappers.d.ts +0 -2
  226. package/esm/models/policiesMappers.d.ts.map +0 -1
  227. package/esm/models/policiesMappers.js +0 -9
  228. package/esm/models/policiesMappers.js.map +0 -1
  229. package/esm/models/preconfiguredEndpointsMappers.d.ts +0 -2
  230. package/esm/models/preconfiguredEndpointsMappers.d.ts.map +0 -1
  231. package/esm/models/preconfiguredEndpointsMappers.js +0 -9
  232. package/esm/models/preconfiguredEndpointsMappers.js.map +0 -1
  233. package/esm/models/reportsMappers.d.ts +0 -2
  234. package/esm/models/reportsMappers.d.ts.map +0 -1
  235. package/esm/models/reportsMappers.js +0 -9
  236. package/esm/models/reportsMappers.js.map +0 -1
  237. package/esm/models/rulesEnginesMappers.d.ts +0 -2
  238. package/esm/models/rulesEnginesMappers.d.ts.map +0 -1
  239. package/esm/models/rulesEnginesMappers.js +0 -9
  240. package/esm/models/rulesEnginesMappers.js.map +0 -1
  241. package/esm/operations/endpoints.d.ts +0 -36
  242. package/esm/operations/endpoints.d.ts.map +0 -1
  243. package/esm/operations/endpoints.js +0 -87
  244. package/esm/operations/endpoints.js.map +0 -1
  245. package/esm/operations/experiments.d.ts +0 -137
  246. package/esm/operations/experiments.d.ts.map +0 -1
  247. package/esm/operations/experiments.js +0 -302
  248. package/esm/operations/experiments.js.map +0 -1
  249. package/esm/operations/frontDoors.d.ts +0 -165
  250. package/esm/operations/frontDoors.d.ts.map +0 -1
  251. package/esm/operations/frontDoors.js +0 -315
  252. package/esm/operations/frontDoors.js.map +0 -1
  253. package/esm/operations/frontendEndpoints.d.ts +0 -115
  254. package/esm/operations/frontendEndpoints.d.ts.map +0 -1
  255. package/esm/operations/frontendEndpoints.js +0 -229
  256. package/esm/operations/frontendEndpoints.js.map +0 -1
  257. package/esm/operations/index.d.ts.map +0 -1
  258. package/esm/operations/index.js.map +0 -1
  259. package/esm/operations/managedRuleSets.d.ts +0 -46
  260. package/esm/operations/managedRuleSets.d.ts.map +0 -1
  261. package/esm/operations/managedRuleSets.js +0 -80
  262. package/esm/operations/managedRuleSets.js.map +0 -1
  263. package/esm/operations/networkExperimentProfiles.d.ts +0 -158
  264. package/esm/operations/networkExperimentProfiles.d.ts.map +0 -1
  265. package/esm/operations/networkExperimentProfiles.js +0 -339
  266. package/esm/operations/networkExperimentProfiles.js.map +0 -1
  267. package/esm/operations/policies.d.ts +0 -105
  268. package/esm/operations/policies.d.ts.map +0 -1
  269. package/esm/operations/policies.js +0 -225
  270. package/esm/operations/policies.js.map +0 -1
  271. package/esm/operations/preconfiguredEndpoints.d.ts +0 -52
  272. package/esm/operations/preconfiguredEndpoints.d.ts.map +0 -1
  273. package/esm/operations/preconfiguredEndpoints.js +0 -84
  274. package/esm/operations/preconfiguredEndpoints.js.map +0 -1
  275. package/esm/operations/reports.d.ts +0 -85
  276. package/esm/operations/reports.d.ts.map +0 -1
  277. package/esm/operations/reports.js +0 -107
  278. package/esm/operations/reports.js.map +0 -1
  279. package/esm/operations/rulesEngines.d.ts +0 -119
  280. package/esm/operations/rulesEngines.d.ts.map +0 -1
  281. package/esm/operations/rulesEngines.js +0 -240
  282. package/esm/operations/rulesEngines.js.map +0 -1
  283. package/src/frontDoorManagementClientContext.ts +0 -67
  284. package/src/models/endpointsMappers.ts +0 -13
  285. package/src/models/experimentsMappers.ts +0 -59
  286. package/src/models/frontDoorsMappers.ts +0 -60
  287. package/src/models/frontendEndpointsMappers.ts +0 -58
  288. package/src/models/managedRuleSetsMappers.ts +0 -58
  289. package/src/models/networkExperimentProfilesMappers.ts +0 -59
  290. package/src/models/policiesMappers.ts +0 -59
  291. package/src/models/preconfiguredEndpointsMappers.ts +0 -58
  292. package/src/models/reportsMappers.ts +0 -57
  293. package/src/models/rulesEnginesMappers.ts +0 -58
@@ -1,107 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/reportsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Reports. */
14
- var Reports = /** @class */ (function () {
15
- /**
16
- * Create a Reports.
17
- * @param {FrontDoorManagementClientContext} client Reference to the service client.
18
- */
19
- function Reports(client) {
20
- this.client = client;
21
- }
22
- Reports.prototype.getLatencyScorecards = function (resourceGroupName, profileName, experimentName, aggregationInterval, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- profileName: profileName,
26
- experimentName: experimentName,
27
- aggregationInterval: aggregationInterval,
28
- options: options
29
- }, getLatencyScorecardsOperationSpec, callback);
30
- };
31
- Reports.prototype.getTimeseries = function (resourceGroupName, profileName, experimentName, startDateTimeUTC, endDateTimeUTC, aggregationInterval, timeseriesType, options, callback) {
32
- return this.client.sendOperationRequest({
33
- resourceGroupName: resourceGroupName,
34
- profileName: profileName,
35
- experimentName: experimentName,
36
- startDateTimeUTC: startDateTimeUTC,
37
- endDateTimeUTC: endDateTimeUTC,
38
- aggregationInterval: aggregationInterval,
39
- timeseriesType: timeseriesType,
40
- options: options
41
- }, getTimeseriesOperationSpec, callback);
42
- };
43
- return Reports;
44
- }());
45
- export { Reports };
46
- // Operation Specifications
47
- var serializer = new msRest.Serializer(Mappers);
48
- var getLatencyScorecardsOperationSpec = {
49
- httpMethod: "GET",
50
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/LatencyScorecard",
51
- urlParameters: [
52
- Parameters.subscriptionId,
53
- Parameters.resourceGroupName,
54
- Parameters.profileName,
55
- Parameters.experimentName
56
- ],
57
- queryParameters: [
58
- Parameters.apiVersion0,
59
- Parameters.endDateTimeUTC0,
60
- Parameters.country,
61
- Parameters.aggregationInterval
62
- ],
63
- headerParameters: [
64
- Parameters.acceptLanguage
65
- ],
66
- responses: {
67
- 200: {
68
- bodyMapper: Mappers.LatencyScorecard
69
- },
70
- default: {
71
- bodyMapper: Mappers.ErrorResponse
72
- }
73
- },
74
- serializer: serializer
75
- };
76
- var getTimeseriesOperationSpec = {
77
- httpMethod: "GET",
78
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/Timeseries",
79
- urlParameters: [
80
- Parameters.subscriptionId,
81
- Parameters.resourceGroupName,
82
- Parameters.profileName,
83
- Parameters.experimentName
84
- ],
85
- queryParameters: [
86
- Parameters.apiVersion0,
87
- Parameters.startDateTimeUTC,
88
- Parameters.endDateTimeUTC1,
89
- Parameters.aggregationInterval,
90
- Parameters.timeseriesType,
91
- Parameters.endpoint,
92
- Parameters.country
93
- ],
94
- headerParameters: [
95
- Parameters.acceptLanguage
96
- ],
97
- responses: {
98
- 200: {
99
- bodyMapper: Mappers.Timeseries
100
- },
101
- default: {
102
- bodyMapper: Mappers.ErrorResponse
103
- }
104
- },
105
- serializer: serializer
106
- };
107
- //# sourceMappingURL=reports.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reports.js","sourceRoot":"","sources":["../../src/operations/reports.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,oCAAoC;AACpC;IAGE;;;OAGG;IACH,iBAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAgCD,sCAAoB,GAApB,UAAqB,iBAAyB,EAAE,WAAmB,EAAE,cAAsB,EAAE,mBAA+D,EAAE,OAA4G,EAAE,QAA0D;QACpU,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA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EAAE,KAAK;IACjB,IAAI,EAAE,+KAA+K;IACrL,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,119 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { FrontDoorManagementClientContext } from "../frontDoorManagementClientContext";
5
- /** Class representing a RulesEngines. */
6
- export declare class RulesEngines {
7
- private readonly client;
8
- /**
9
- * Create a RulesEngines.
10
- * @param {FrontDoorManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: FrontDoorManagementClientContext);
13
- /**
14
- * Lists all of the Rules Engine Configurations within a Front Door.
15
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
16
- * @param frontDoorName Name of the Front Door which is globally unique.
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.RulesEnginesListByFrontDoorResponse>
19
- */
20
- listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase): Promise<Models.RulesEnginesListByFrontDoorResponse>;
21
- /**
22
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
23
- * @param frontDoorName Name of the Front Door which is globally unique.
24
- * @param callback The callback
25
- */
26
- listByFrontDoor(resourceGroupName: string, frontDoorName: string, callback: msRest.ServiceCallback<Models.RulesEngineListResult>): void;
27
- /**
28
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
29
- * @param frontDoorName Name of the Front Door which is globally unique.
30
- * @param options The optional parameters
31
- * @param callback The callback
32
- */
33
- listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RulesEngineListResult>): void;
34
- /**
35
- * Gets a Rules Engine Configuration with the specified name within the specified Front Door.
36
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
37
- * @param frontDoorName Name of the Front Door which is globally unique.
38
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
39
- * @param [options] The optional parameters
40
- * @returns Promise<Models.RulesEnginesGetResponse>
41
- */
42
- get(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: msRest.RequestOptionsBase): Promise<Models.RulesEnginesGetResponse>;
43
- /**
44
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
45
- * @param frontDoorName Name of the Front Door which is globally unique.
46
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
47
- * @param callback The callback
48
- */
49
- get(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, callback: msRest.ServiceCallback<Models.RulesEngine>): void;
50
- /**
51
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
52
- * @param frontDoorName Name of the Front Door which is globally unique.
53
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
54
- * @param options The optional parameters
55
- * @param callback The callback
56
- */
57
- get(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RulesEngine>): void;
58
- /**
59
- * Creates a new Rules Engine Configuration with the specified name within the specified Front
60
- * Door.
61
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
62
- * @param frontDoorName Name of the Front Door which is globally unique.
63
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
64
- * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
65
- * Engine Configuration.
66
- * @param [options] The optional parameters
67
- * @returns Promise<Models.RulesEnginesCreateOrUpdateResponse>
68
- */
69
- createOrUpdate(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, rulesEngineParameters: Models.RulesEngine, options?: msRest.RequestOptionsBase): Promise<Models.RulesEnginesCreateOrUpdateResponse>;
70
- /**
71
- * Deletes an existing Rules Engine Configuration with the specified parameters.
72
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
73
- * @param frontDoorName Name of the Front Door which is globally unique.
74
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
75
- * @param [options] The optional parameters
76
- * @returns Promise<msRest.RestResponse>
77
- */
78
- deleteMethod(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
79
- /**
80
- * Creates a new Rules Engine Configuration with the specified name within the specified Front
81
- * Door.
82
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
83
- * @param frontDoorName Name of the Front Door which is globally unique.
84
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
85
- * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
86
- * Engine Configuration.
87
- * @param [options] The optional parameters
88
- * @returns Promise<msRestAzure.LROPoller>
89
- */
90
- beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, rulesEngineParameters: Models.RulesEngine, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
91
- /**
92
- * Deletes an existing Rules Engine Configuration with the specified parameters.
93
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
94
- * @param frontDoorName Name of the Front Door which is globally unique.
95
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
96
- * @param [options] The optional parameters
97
- * @returns Promise<msRestAzure.LROPoller>
98
- */
99
- beginDeleteMethod(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
100
- /**
101
- * Lists all of the Rules Engine Configurations within a Front Door.
102
- * @param nextPageLink The NextLink from the previous successful call to List operation.
103
- * @param [options] The optional parameters
104
- * @returns Promise<Models.RulesEnginesListByFrontDoorNextResponse>
105
- */
106
- listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RulesEnginesListByFrontDoorNextResponse>;
107
- /**
108
- * @param nextPageLink The NextLink from the previous successful call to List operation.
109
- * @param callback The callback
110
- */
111
- listByFrontDoorNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RulesEngineListResult>): void;
112
- /**
113
- * @param nextPageLink The NextLink from the previous successful call to List operation.
114
- * @param options The optional parameters
115
- * @param callback The callback
116
- */
117
- listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RulesEngineListResult>): void;
118
- }
119
- //# sourceMappingURL=rulesEngines.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rulesEngines.d.ts","sourceRoot":"","sources":["../../src/operations/rulesEngines.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAEvF,yCAAyC;AACzC,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;OAMG;IACH,eAAe,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,mCAAmC,CAAC;IAC3J;;;;OAIG;IACH,eAAe,CAAC,iBAAiB,EAAE,MAAM,E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e,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;IAK1J;;;;;;;;;;OAUG;IACH,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAa9M;;;;;;;OAOG;IACH,iBAAiB,CAAC,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAYjK;;;;;OAKG;IACH,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,uCAAuC,CAAC;IACvI;;;OAGG;IACH,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAC/G;;;;OAIG;IACH,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;CAUpJ"}
@@ -1,240 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/rulesEnginesMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a RulesEngines. */
15
- var RulesEngines = /** @class */ (function () {
16
- /**
17
- * Create a RulesEngines.
18
- * @param {FrontDoorManagementClientContext} client Reference to the service client.
19
- */
20
- function RulesEngines(client) {
21
- this.client = client;
22
- }
23
- RulesEngines.prototype.listByFrontDoor = function (resourceGroupName, frontDoorName, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- frontDoorName: frontDoorName,
27
- options: options
28
- }, listByFrontDoorOperationSpec, callback);
29
- };
30
- RulesEngines.prototype.get = function (resourceGroupName, frontDoorName, rulesEngineName, options, callback) {
31
- return this.client.sendOperationRequest({
32
- resourceGroupName: resourceGroupName,
33
- frontDoorName: frontDoorName,
34
- rulesEngineName: rulesEngineName,
35
- options: options
36
- }, getOperationSpec, callback);
37
- };
38
- /**
39
- * Creates a new Rules Engine Configuration with the specified name within the specified Front
40
- * Door.
41
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
42
- * @param frontDoorName Name of the Front Door which is globally unique.
43
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
44
- * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
45
- * Engine Configuration.
46
- * @param [options] The optional parameters
47
- * @returns Promise<Models.RulesEnginesCreateOrUpdateResponse>
48
- */
49
- RulesEngines.prototype.createOrUpdate = function (resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, options) {
50
- return this.beginCreateOrUpdate(resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, options)
51
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
52
- };
53
- /**
54
- * Deletes an existing Rules Engine Configuration with the specified parameters.
55
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
56
- * @param frontDoorName Name of the Front Door which is globally unique.
57
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
58
- * @param [options] The optional parameters
59
- * @returns Promise<msRest.RestResponse>
60
- */
61
- RulesEngines.prototype.deleteMethod = function (resourceGroupName, frontDoorName, rulesEngineName, options) {
62
- return this.beginDeleteMethod(resourceGroupName, frontDoorName, rulesEngineName, options)
63
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
64
- };
65
- /**
66
- * Creates a new Rules Engine Configuration with the specified name within the specified Front
67
- * Door.
68
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
69
- * @param frontDoorName Name of the Front Door which is globally unique.
70
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
71
- * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
72
- * Engine Configuration.
73
- * @param [options] The optional parameters
74
- * @returns Promise<msRestAzure.LROPoller>
75
- */
76
- RulesEngines.prototype.beginCreateOrUpdate = function (resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, options) {
77
- return this.client.sendLRORequest({
78
- resourceGroupName: resourceGroupName,
79
- frontDoorName: frontDoorName,
80
- rulesEngineName: rulesEngineName,
81
- rulesEngineParameters: rulesEngineParameters,
82
- options: options
83
- }, beginCreateOrUpdateOperationSpec, options);
84
- };
85
- /**
86
- * Deletes an existing Rules Engine Configuration with the specified parameters.
87
- * @param resourceGroupName Name of the Resource group within the Azure subscription.
88
- * @param frontDoorName Name of the Front Door which is globally unique.
89
- * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
90
- * @param [options] The optional parameters
91
- * @returns Promise<msRestAzure.LROPoller>
92
- */
93
- RulesEngines.prototype.beginDeleteMethod = function (resourceGroupName, frontDoorName, rulesEngineName, options) {
94
- return this.client.sendLRORequest({
95
- resourceGroupName: resourceGroupName,
96
- frontDoorName: frontDoorName,
97
- rulesEngineName: rulesEngineName,
98
- options: options
99
- }, beginDeleteMethodOperationSpec, options);
100
- };
101
- RulesEngines.prototype.listByFrontDoorNext = function (nextPageLink, options, callback) {
102
- return this.client.sendOperationRequest({
103
- nextPageLink: nextPageLink,
104
- options: options
105
- }, listByFrontDoorNextOperationSpec, callback);
106
- };
107
- return RulesEngines;
108
- }());
109
- export { RulesEngines };
110
- // Operation Specifications
111
- var serializer = new msRest.Serializer(Mappers);
112
- var listByFrontDoorOperationSpec = {
113
- httpMethod: "GET",
114
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines",
115
- urlParameters: [
116
- Parameters.subscriptionId,
117
- Parameters.resourceGroupName,
118
- Parameters.frontDoorName
119
- ],
120
- queryParameters: [
121
- Parameters.apiVersion1
122
- ],
123
- headerParameters: [
124
- Parameters.acceptLanguage
125
- ],
126
- responses: {
127
- 200: {
128
- bodyMapper: Mappers.RulesEngineListResult
129
- },
130
- default: {
131
- bodyMapper: Mappers.ErrorResponse
132
- }
133
- },
134
- serializer: serializer
135
- };
136
- var getOperationSpec = {
137
- httpMethod: "GET",
138
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}",
139
- urlParameters: [
140
- Parameters.subscriptionId,
141
- Parameters.resourceGroupName,
142
- Parameters.frontDoorName,
143
- Parameters.rulesEngineName
144
- ],
145
- queryParameters: [
146
- Parameters.apiVersion1
147
- ],
148
- headerParameters: [
149
- Parameters.acceptLanguage
150
- ],
151
- responses: {
152
- 200: {
153
- bodyMapper: Mappers.RulesEngine
154
- },
155
- default: {
156
- bodyMapper: Mappers.ErrorResponse
157
- }
158
- },
159
- serializer: serializer
160
- };
161
- var beginCreateOrUpdateOperationSpec = {
162
- httpMethod: "PUT",
163
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}",
164
- urlParameters: [
165
- Parameters.subscriptionId,
166
- Parameters.resourceGroupName,
167
- Parameters.frontDoorName,
168
- Parameters.rulesEngineName
169
- ],
170
- queryParameters: [
171
- Parameters.apiVersion1
172
- ],
173
- headerParameters: [
174
- Parameters.acceptLanguage
175
- ],
176
- requestBody: {
177
- parameterPath: "rulesEngineParameters",
178
- mapper: __assign(__assign({}, Mappers.RulesEngine), { required: true })
179
- },
180
- responses: {
181
- 200: {
182
- bodyMapper: Mappers.RulesEngine
183
- },
184
- 201: {
185
- bodyMapper: Mappers.RulesEngine
186
- },
187
- 202: {
188
- bodyMapper: Mappers.RulesEngine
189
- },
190
- default: {
191
- bodyMapper: Mappers.ErrorResponse
192
- }
193
- },
194
- serializer: serializer
195
- };
196
- var beginDeleteMethodOperationSpec = {
197
- httpMethod: "DELETE",
198
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}",
199
- urlParameters: [
200
- Parameters.subscriptionId,
201
- Parameters.resourceGroupName,
202
- Parameters.frontDoorName,
203
- Parameters.rulesEngineName
204
- ],
205
- queryParameters: [
206
- Parameters.apiVersion1
207
- ],
208
- headerParameters: [
209
- Parameters.acceptLanguage
210
- ],
211
- responses: {
212
- 202: {},
213
- 204: {},
214
- default: {
215
- bodyMapper: Mappers.ErrorResponse
216
- }
217
- },
218
- serializer: serializer
219
- };
220
- var listByFrontDoorNextOperationSpec = {
221
- httpMethod: "GET",
222
- baseUrl: "https://management.azure.com",
223
- path: "{nextLink}",
224
- urlParameters: [
225
- Parameters.nextPageLink
226
- ],
227
- headerParameters: [
228
- Parameters.acceptLanguage
229
- ],
230
- responses: {
231
- 200: {
232
- bodyMapper: Mappers.RulesEngineListResult
233
- },
234
- default: {
235
- bodyMapper: Mappers.ErrorResponse
236
- }
237
- },
238
- serializer: serializer
239
- };
240
- //# sourceMappingURL=rulesEngines.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rulesEngines.js","sourceRoot":"","sources":["../../src/operations/rulesEngines.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO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ACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,8BAA8B,GAAyB;IAC3D,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,yJAAyJ;IAC/J,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,gCAAgC,GAAyB;IAC7D,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,67 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import { TokenCredential } from "@azure/core-auth";
14
- import * as msRestAzure from "@azure/ms-rest-azure-js";
15
-
16
- const packageName = "@azure/arm-frontdoor";
17
- const packageVersion = "4.1.1";
18
-
19
- export class FrontDoorManagementClientContext extends msRestAzure.AzureServiceClient {
20
- credentials: msRest.ServiceClientCredentials | TokenCredential;
21
- subscriptionId: string;
22
-
23
- /**
24
- * Initializes a new instance of the FrontDoorManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
- * more information about these credentials, see
28
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
- * @azure/ms-rest-browserauth are also supported.
31
- * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure
32
- * subscription. The subscription ID forms part of the URI for every service call.
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.FrontDoorManagementClientOptions) {
36
- if (credentials == undefined) {
37
- throw new Error('\'credentials\' cannot be null.');
38
- }
39
- if (subscriptionId == undefined) {
40
- throw new Error('\'subscriptionId\' cannot be null.');
41
- }
42
-
43
- if (!options) {
44
- options = {};
45
- }
46
- if (!options.userAgent) {
47
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
- }
50
-
51
- super(credentials, options);
52
-
53
- this.acceptLanguage = 'en-US';
54
- this.longRunningOperationRetryTimeout = 30;
55
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
56
- this.requestContentType = "application/json; charset=utf-8";
57
- this.credentials = credentials;
58
- this.subscriptionId = subscriptionId;
59
-
60
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
61
- this.acceptLanguage = options.acceptLanguage;
62
- }
63
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
64
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
65
- }
66
- }
67
- }
@@ -1,13 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- discriminators,
11
- ErrorResponse,
12
- PurgeParameters
13
- } from "../models/mappers";
@@ -1,59 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- discriminators,
11
- Backend,
12
- BackendPool,
13
- BackendPoolsSettings,
14
- BaseResource,
15
- CacheConfiguration,
16
- CustomHttpsConfiguration,
17
- CustomRule,
18
- CustomRuleList,
19
- Endpoint,
20
- ErrorResponse,
21
- Experiment,
22
- ExperimentList,
23
- ExperimentUpdateModel,
24
- ForwardingConfiguration,
25
- FrontDoor,
26
- FrontendEndpoint,
27
- FrontendEndpointLink,
28
- FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink,
29
- HeaderAction,
30
- HealthProbeSettingsModel,
31
- KeyVaultCertificateSourceParametersVault,
32
- LatencyMetric,
33
- LatencyScorecard,
34
- LoadBalancingSettingsModel,
35
- ManagedRuleDefinition,
36
- ManagedRuleExclusion,
37
- ManagedRuleGroupDefinition,
38
- ManagedRuleGroupOverride,
39
- ManagedRuleOverride,
40
- ManagedRuleSet,
41
- ManagedRuleSetDefinition,
42
- ManagedRuleSetList,
43
- MatchCondition,
44
- PolicySettings,
45
- PreconfiguredEndpoint,
46
- Profile,
47
- RedirectConfiguration,
48
- Resource,
49
- RouteConfiguration,
50
- RoutingRule,
51
- RulesEngine,
52
- RulesEngineAction,
53
- RulesEngineMatchCondition,
54
- RulesEngineRule,
55
- SubResource,
56
- Timeseries,
57
- TimeseriesDataPoint,
58
- WebApplicationFirewallPolicy
59
- } from "../models/mappers";