@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
@@ -0,0 +1,120 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing Reports operations. */
12
+ export class ReportsImpl {
13
+ /**
14
+ * Initialize a new instance of the class Reports class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets a Latency Scorecard for a given Experiment
22
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
23
+ * @param profileName The Profile identifier associated with the Tenant and Partner
24
+ * @param experimentName The Experiment identifier associated with the Experiment
25
+ * @param aggregationInterval The aggregation interval of the Latency Scorecard
26
+ * @param options The options parameters.
27
+ */
28
+ getLatencyScorecards(resourceGroupName, profileName, experimentName, aggregationInterval, options) {
29
+ return this.client.sendOperationRequest({
30
+ resourceGroupName,
31
+ profileName,
32
+ experimentName,
33
+ aggregationInterval,
34
+ options
35
+ }, getLatencyScorecardsOperationSpec);
36
+ }
37
+ /**
38
+ * Gets a Timeseries for a given Experiment
39
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
40
+ * @param profileName The Profile identifier associated with the Tenant and Partner
41
+ * @param experimentName The Experiment identifier associated with the Experiment
42
+ * @param startDateTimeUTC The start DateTime of the Timeseries in UTC
43
+ * @param endDateTimeUTC The end DateTime of the Timeseries in UTC
44
+ * @param aggregationInterval The aggregation interval of the Timeseries
45
+ * @param timeseriesType The type of Timeseries
46
+ * @param options The options parameters.
47
+ */
48
+ getTimeseries(resourceGroupName, profileName, experimentName, startDateTimeUTC, endDateTimeUTC, aggregationInterval, timeseriesType, options) {
49
+ return this.client.sendOperationRequest({
50
+ resourceGroupName,
51
+ profileName,
52
+ experimentName,
53
+ startDateTimeUTC,
54
+ endDateTimeUTC,
55
+ aggregationInterval,
56
+ timeseriesType,
57
+ options
58
+ }, getTimeseriesOperationSpec);
59
+ }
60
+ }
61
+ // Operation Specifications
62
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
63
+ const getLatencyScorecardsOperationSpec = {
64
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/LatencyScorecard",
65
+ httpMethod: "GET",
66
+ responses: {
67
+ 200: {
68
+ bodyMapper: Mappers.LatencyScorecard
69
+ },
70
+ default: {
71
+ bodyMapper: Mappers.ErrorResponse
72
+ }
73
+ },
74
+ queryParameters: [
75
+ Parameters.apiVersion,
76
+ Parameters.endDateTimeUTC,
77
+ Parameters.country,
78
+ Parameters.aggregationInterval
79
+ ],
80
+ urlParameters: [
81
+ Parameters.$host,
82
+ Parameters.subscriptionId,
83
+ Parameters.resourceGroupName,
84
+ Parameters.profileName,
85
+ Parameters.experimentName
86
+ ],
87
+ headerParameters: [Parameters.accept],
88
+ serializer
89
+ };
90
+ const getTimeseriesOperationSpec = {
91
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}/Timeseries",
92
+ httpMethod: "GET",
93
+ responses: {
94
+ 200: {
95
+ bodyMapper: Mappers.Timeseries
96
+ },
97
+ default: {
98
+ bodyMapper: Mappers.ErrorResponse
99
+ }
100
+ },
101
+ queryParameters: [
102
+ Parameters.apiVersion,
103
+ Parameters.country,
104
+ Parameters.startDateTimeUTC,
105
+ Parameters.endDateTimeUTC1,
106
+ Parameters.aggregationInterval1,
107
+ Parameters.timeseriesType,
108
+ Parameters.endpoint
109
+ ],
110
+ urlParameters: [
111
+ Parameters.$host,
112
+ Parameters.subscriptionId,
113
+ Parameters.resourceGroupName,
114
+ Parameters.profileName,
115
+ Parameters.experimentName
116
+ ],
117
+ headerParameters: [Parameters.accept],
118
+ serializer
119
+ };
120
+ //# sourceMappingURL=reports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.js","sourceRoot":"","sources":["../../../src/operations/reports.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IA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CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EACF,gLAAgL;IAClL,UAAU,EAAE,KAAK;IACjB,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,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,oBAAoB;QAC/B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,83 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { RulesEngines } from "../operationsInterfaces";
3
+ import { FrontDoorManagementClient } from "../frontDoorManagementClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { RulesEngine, RulesEnginesListByFrontDoorOptionalParams, RulesEnginesGetOptionalParams, RulesEnginesGetResponse, RulesEnginesCreateOrUpdateOptionalParams, RulesEnginesCreateOrUpdateResponse, RulesEnginesDeleteOptionalParams } from "../models";
6
+ /** Class containing RulesEngines operations. */
7
+ export declare class RulesEnginesImpl implements RulesEngines {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class RulesEngines class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: FrontDoorManagementClient);
14
+ /**
15
+ * Lists all of the Rules Engine Configurations within a Front Door.
16
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
17
+ * @param frontDoorName Name of the Front Door which is globally unique.
18
+ * @param options The options parameters.
19
+ */
20
+ listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: RulesEnginesListByFrontDoorOptionalParams): PagedAsyncIterableIterator<RulesEngine>;
21
+ private listByFrontDoorPagingPage;
22
+ private listByFrontDoorPagingAll;
23
+ /**
24
+ * Lists all of the Rules Engine Configurations within a Front Door.
25
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
26
+ * @param frontDoorName Name of the Front Door which is globally unique.
27
+ * @param options The options parameters.
28
+ */
29
+ private _listByFrontDoor;
30
+ /**
31
+ * Gets a Rules Engine Configuration with the specified name within the specified Front Door.
32
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
33
+ * @param frontDoorName Name of the Front Door which is globally unique.
34
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: RulesEnginesGetOptionalParams): Promise<RulesEnginesGetResponse>;
38
+ /**
39
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
40
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
41
+ * @param frontDoorName Name of the Front Door which is globally unique.
42
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
43
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
44
+ * Engine Configuration.
45
+ * @param options The options parameters.
46
+ */
47
+ beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, rulesEngineParameters: RulesEngine, options?: RulesEnginesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<RulesEnginesCreateOrUpdateResponse>, RulesEnginesCreateOrUpdateResponse>>;
48
+ /**
49
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
50
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
51
+ * @param frontDoorName Name of the Front Door which is globally unique.
52
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
53
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
54
+ * Engine Configuration.
55
+ * @param options The options parameters.
56
+ */
57
+ beginCreateOrUpdateAndWait(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, rulesEngineParameters: RulesEngine, options?: RulesEnginesCreateOrUpdateOptionalParams): Promise<RulesEnginesCreateOrUpdateResponse>;
58
+ /**
59
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
60
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
61
+ * @param frontDoorName Name of the Front Door which is globally unique.
62
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
63
+ * @param options The options parameters.
64
+ */
65
+ beginDelete(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: RulesEnginesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
66
+ /**
67
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
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 options The options parameters.
72
+ */
73
+ beginDeleteAndWait(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: RulesEnginesDeleteOptionalParams): Promise<void>;
74
+ /**
75
+ * ListByFrontDoorNext
76
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
77
+ * @param frontDoorName Name of the Front Door which is globally unique.
78
+ * @param nextLink The nextLink from the previous successful call to the ListByFrontDoor method.
79
+ * @param options The options parameters.
80
+ */
81
+ private _listByFrontDoorNext;
82
+ }
83
+ //# sourceMappingURL=rulesEngines.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rulesEngines.d.ts","sourceRoot":"","sources":["../../../src/operations/rulesEngines.ts"],"names":[],"m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B,eAAe,EAAE,MAAM,EACvB,qBAAqB,EAAE,WAAW,EAClC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAW9C;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAoDtD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;CAW7B"}
@@ -0,0 +1,341 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing RulesEngines operations. */
16
+ export class RulesEnginesImpl {
17
+ /**
18
+ * Initialize a new instance of the class RulesEngines class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Lists all of the Rules Engine Configurations within a Front Door.
26
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
27
+ * @param frontDoorName Name of the Front Door which is globally unique.
28
+ * @param options The options parameters.
29
+ */
30
+ listByFrontDoor(resourceGroupName, frontDoorName, options) {
31
+ const iter = this.listByFrontDoorPagingAll(resourceGroupName, frontDoorName, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: () => {
40
+ return this.listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options);
41
+ }
42
+ };
43
+ }
44
+ listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options) {
45
+ return __asyncGenerator(this, arguments, function* listByFrontDoorPagingPage_1() {
46
+ let result = yield __await(this._listByFrontDoor(resourceGroupName, frontDoorName, options));
47
+ yield yield __await(result.value || []);
48
+ let continuationToken = result.nextLink;
49
+ while (continuationToken) {
50
+ result = yield __await(this._listByFrontDoorNext(resourceGroupName, frontDoorName, continuationToken, options));
51
+ continuationToken = result.nextLink;
52
+ yield yield __await(result.value || []);
53
+ }
54
+ });
55
+ }
56
+ listByFrontDoorPagingAll(resourceGroupName, frontDoorName, options) {
57
+ return __asyncGenerator(this, arguments, function* listByFrontDoorPagingAll_1() {
58
+ var e_1, _a;
59
+ try {
60
+ for (var _b = __asyncValues(this.listByFrontDoorPagingPage(resourceGroupName, frontDoorName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
61
+ const page = _c.value;
62
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
+ }
64
+ }
65
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
+ finally {
67
+ try {
68
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
69
+ }
70
+ finally { if (e_1) throw e_1.error; }
71
+ }
72
+ });
73
+ }
74
+ /**
75
+ * Lists all of the Rules Engine Configurations within a Front Door.
76
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
77
+ * @param frontDoorName Name of the Front Door which is globally unique.
78
+ * @param options The options parameters.
79
+ */
80
+ _listByFrontDoor(resourceGroupName, frontDoorName, options) {
81
+ return this.client.sendOperationRequest({ resourceGroupName, frontDoorName, options }, listByFrontDoorOperationSpec);
82
+ }
83
+ /**
84
+ * Gets a Rules Engine Configuration with the specified name within the specified Front Door.
85
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
86
+ * @param frontDoorName Name of the Front Door which is globally unique.
87
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
88
+ * @param options The options parameters.
89
+ */
90
+ get(resourceGroupName, frontDoorName, rulesEngineName, options) {
91
+ return this.client.sendOperationRequest({ resourceGroupName, frontDoorName, rulesEngineName, options }, getOperationSpec);
92
+ }
93
+ /**
94
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
95
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
96
+ * @param frontDoorName Name of the Front Door which is globally unique.
97
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
98
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
99
+ * Engine Configuration.
100
+ * @param options The options parameters.
101
+ */
102
+ beginCreateOrUpdate(resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, options) {
103
+ return __awaiter(this, void 0, void 0, function* () {
104
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
105
+ return this.client.sendOperationRequest(args, spec);
106
+ });
107
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
108
+ var _a;
109
+ let currentRawResponse = undefined;
110
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
111
+ const callback = (rawResponse, flatResponse) => {
112
+ currentRawResponse = rawResponse;
113
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
114
+ };
115
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
116
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
117
+ return {
118
+ flatResponse,
119
+ rawResponse: {
120
+ statusCode: currentRawResponse.status,
121
+ body: currentRawResponse.parsedBody,
122
+ headers: currentRawResponse.headers.toJSON()
123
+ }
124
+ };
125
+ });
126
+ const lro = new LroImpl(sendOperation, {
127
+ resourceGroupName,
128
+ frontDoorName,
129
+ rulesEngineName,
130
+ rulesEngineParameters,
131
+ options
132
+ }, createOrUpdateOperationSpec);
133
+ return new LroEngine(lro, {
134
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
135
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
136
+ lroResourceLocationConfig: "azure-async-operation"
137
+ });
138
+ });
139
+ }
140
+ /**
141
+ * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
142
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
143
+ * @param frontDoorName Name of the Front Door which is globally unique.
144
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
145
+ * @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
146
+ * Engine Configuration.
147
+ * @param options The options parameters.
148
+ */
149
+ beginCreateOrUpdateAndWait(resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, options) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, options);
152
+ return poller.pollUntilDone();
153
+ });
154
+ }
155
+ /**
156
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
157
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
158
+ * @param frontDoorName Name of the Front Door which is globally unique.
159
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
160
+ * @param options The options parameters.
161
+ */
162
+ beginDelete(resourceGroupName, frontDoorName, rulesEngineName, options) {
163
+ return __awaiter(this, void 0, void 0, function* () {
164
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
165
+ return this.client.sendOperationRequest(args, spec);
166
+ });
167
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
168
+ var _a;
169
+ let currentRawResponse = undefined;
170
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
171
+ const callback = (rawResponse, flatResponse) => {
172
+ currentRawResponse = rawResponse;
173
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
174
+ };
175
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
176
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
177
+ return {
178
+ flatResponse,
179
+ rawResponse: {
180
+ statusCode: currentRawResponse.status,
181
+ body: currentRawResponse.parsedBody,
182
+ headers: currentRawResponse.headers.toJSON()
183
+ }
184
+ };
185
+ });
186
+ const lro = new LroImpl(sendOperation, { resourceGroupName, frontDoorName, rulesEngineName, options }, deleteOperationSpec);
187
+ return new LroEngine(lro, {
188
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
189
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
190
+ lroResourceLocationConfig: "azure-async-operation"
191
+ });
192
+ });
193
+ }
194
+ /**
195
+ * Deletes an existing Rules Engine Configuration with the specified parameters.
196
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
197
+ * @param frontDoorName Name of the Front Door which is globally unique.
198
+ * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
199
+ * @param options The options parameters.
200
+ */
201
+ beginDeleteAndWait(resourceGroupName, frontDoorName, rulesEngineName, options) {
202
+ return __awaiter(this, void 0, void 0, function* () {
203
+ const poller = yield this.beginDelete(resourceGroupName, frontDoorName, rulesEngineName, options);
204
+ return poller.pollUntilDone();
205
+ });
206
+ }
207
+ /**
208
+ * ListByFrontDoorNext
209
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
210
+ * @param frontDoorName Name of the Front Door which is globally unique.
211
+ * @param nextLink The nextLink from the previous successful call to the ListByFrontDoor method.
212
+ * @param options The options parameters.
213
+ */
214
+ _listByFrontDoorNext(resourceGroupName, frontDoorName, nextLink, options) {
215
+ return this.client.sendOperationRequest({ resourceGroupName, frontDoorName, nextLink, options }, listByFrontDoorNextOperationSpec);
216
+ }
217
+ }
218
+ // Operation Specifications
219
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
220
+ const listByFrontDoorOperationSpec = {
221
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines",
222
+ httpMethod: "GET",
223
+ responses: {
224
+ 200: {
225
+ bodyMapper: Mappers.RulesEngineListResult
226
+ },
227
+ default: {
228
+ bodyMapper: Mappers.ErrorResponse
229
+ }
230
+ },
231
+ queryParameters: [Parameters.apiVersion1],
232
+ urlParameters: [
233
+ Parameters.$host,
234
+ Parameters.subscriptionId,
235
+ Parameters.resourceGroupName,
236
+ Parameters.frontDoorName
237
+ ],
238
+ headerParameters: [Parameters.accept],
239
+ serializer
240
+ };
241
+ const getOperationSpec = {
242
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}",
243
+ httpMethod: "GET",
244
+ responses: {
245
+ 200: {
246
+ bodyMapper: Mappers.RulesEngine
247
+ },
248
+ default: {
249
+ bodyMapper: Mappers.ErrorResponse
250
+ }
251
+ },
252
+ queryParameters: [Parameters.apiVersion1],
253
+ urlParameters: [
254
+ Parameters.$host,
255
+ Parameters.subscriptionId,
256
+ Parameters.resourceGroupName,
257
+ Parameters.frontDoorName,
258
+ Parameters.rulesEngineName
259
+ ],
260
+ headerParameters: [Parameters.accept],
261
+ serializer
262
+ };
263
+ const createOrUpdateOperationSpec = {
264
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}",
265
+ httpMethod: "PUT",
266
+ responses: {
267
+ 200: {
268
+ bodyMapper: Mappers.RulesEngine
269
+ },
270
+ 201: {
271
+ bodyMapper: Mappers.RulesEngine
272
+ },
273
+ 202: {
274
+ bodyMapper: Mappers.RulesEngine
275
+ },
276
+ 204: {
277
+ bodyMapper: Mappers.RulesEngine
278
+ },
279
+ default: {
280
+ bodyMapper: Mappers.ErrorResponse
281
+ }
282
+ },
283
+ requestBody: Parameters.rulesEngineParameters,
284
+ queryParameters: [Parameters.apiVersion1],
285
+ urlParameters: [
286
+ Parameters.$host,
287
+ Parameters.subscriptionId,
288
+ Parameters.resourceGroupName,
289
+ Parameters.frontDoorName,
290
+ Parameters.rulesEngineName
291
+ ],
292
+ headerParameters: [Parameters.accept, Parameters.contentType],
293
+ mediaType: "json",
294
+ serializer
295
+ };
296
+ const deleteOperationSpec = {
297
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}",
298
+ httpMethod: "DELETE",
299
+ responses: {
300
+ 200: {},
301
+ 201: {},
302
+ 202: {},
303
+ 204: {},
304
+ default: {
305
+ bodyMapper: Mappers.ErrorResponse
306
+ }
307
+ },
308
+ queryParameters: [Parameters.apiVersion1],
309
+ urlParameters: [
310
+ Parameters.$host,
311
+ Parameters.subscriptionId,
312
+ Parameters.resourceGroupName,
313
+ Parameters.frontDoorName,
314
+ Parameters.rulesEngineName
315
+ ],
316
+ headerParameters: [Parameters.accept],
317
+ serializer
318
+ };
319
+ const listByFrontDoorNextOperationSpec = {
320
+ path: "{nextLink}",
321
+ httpMethod: "GET",
322
+ responses: {
323
+ 200: {
324
+ bodyMapper: Mappers.RulesEngineListResult
325
+ },
326
+ default: {
327
+ bodyMapper: Mappers.ErrorResponse
328
+ }
329
+ },
330
+ queryParameters: [Parameters.apiVersion1],
331
+ urlParameters: [
332
+ Parameters.$host,
333
+ Parameters.subscriptionId,
334
+ Parameters.resourceGroupName,
335
+ Parameters.nextLink,
336
+ Parameters.frontDoorName
337
+ ],
338
+ headerParameters: [Parameters.accept],
339
+ serializer
340
+ };
341
+ //# sourceMappingURL=rulesEngines.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rulesEngines.js","sourceRoot":"","sources":["../../../src/operations/rulesEngines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAcrC,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,eAAe,CACpB,iBAAyB,EACzB,aAAqB,EACrB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,iBAAiB,EACjB,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,yBAAyB,CACnC,iBAAiB,EACjB,aAAa,EACb,OAAO,CACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,yBAAyB,CACtC,iBAAyB,EACzB,aAAqB,EACrB,OAAmD;;YAEnD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,gBAAgB,CACtC,iBAAiB,EACjB,aAAa,EACb,OAAO,CACR,CAAA,CAAC;YACF,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,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,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { PurgeParameters, EndpointsPurgeContentOptionalParams } from "../models";
3
+ /** Interface representing a Endpoints. */
4
+ export interface Endpoints {
5
+ /**
6
+ * Removes a content from Front Door.
7
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
8
+ * @param frontDoorName Name of the Front Door which is globally unique.
9
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.
10
+ * '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*'
11
+ * which removes all folders and files in the directory.
12
+ * @param options The options parameters.
13
+ */
14
+ beginPurgeContent(resourceGroupName: string, frontDoorName: string, contentFilePaths: PurgeParameters, options?: EndpointsPurgeContentOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
15
+ /**
16
+ * Removes a content from Front Door.
17
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
18
+ * @param frontDoorName Name of the Front Door which is globally unique.
19
+ * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.
20
+ * '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*'
21
+ * which removes all folders and files in the directory.
22
+ * @param options The options parameters.
23
+ */
24
+ beginPurgeContentAndWait(resourceGroupName: string, frontDoorName: string, contentFilePaths: PurgeParameters, options?: EndpointsPurgeContentOptionalParams): Promise<void>;
25
+ }
26
+ //# sourceMappingURL=endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/endpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,eAAe,EACf,mCAAmC,EACpC,MAAM,WAAW,CAAC;AAEnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;;OAQG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,eAAe,EACjC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;;OAQG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,eAAe,EACjC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ export {};
9
+ //# sourceMappingURL=endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}