@azure/arm-appservice 30.0.0-alpha.20211001.1

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 (238) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/LICENSE +21 -0
  3. package/README.md +96 -0
  4. package/dist/index.js +59024 -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/index.d.ts +6 -0
  9. package/dist-esm/index.d.ts.map +1 -0
  10. package/dist-esm/index.js +13 -0
  11. package/dist-esm/index.js.map +1 -0
  12. package/dist-esm/lroImpl.d.ts +16 -0
  13. package/dist-esm/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/lroImpl.js +29 -0
  15. package/dist-esm/lroImpl.js.map +1 -0
  16. package/dist-esm/models/index.d.ts +12050 -0
  17. package/dist-esm/models/index.d.ts.map +1 -0
  18. package/dist-esm/models/index.js +227 -0
  19. package/dist-esm/models/index.js.map +1 -0
  20. package/dist-esm/models/mappers.d.ts +405 -0
  21. package/dist-esm/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/models/mappers.js +19668 -0
  23. package/dist-esm/models/mappers.js.map +1 -0
  24. package/dist-esm/models/parameters.d.ts +183 -0
  25. package/dist-esm/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/models/parameters.js +1382 -0
  27. package/dist-esm/models/parameters.js.map +1 -0
  28. package/dist-esm/operations/appServiceCertificateOrders.d.ts +233 -0
  29. package/dist-esm/operations/appServiceCertificateOrders.d.ts.map +1 -0
  30. package/dist-esm/operations/appServiceCertificateOrders.js +1024 -0
  31. package/dist-esm/operations/appServiceCertificateOrders.js.map +1 -0
  32. package/dist-esm/operations/appServiceEnvironments.d.ts +780 -0
  33. package/dist-esm/operations/appServiceEnvironments.d.ts.map +1 -0
  34. package/dist-esm/operations/appServiceEnvironments.js +3646 -0
  35. package/dist-esm/operations/appServiceEnvironments.js.map +1 -0
  36. package/dist-esm/operations/appServicePlans.d.ts +339 -0
  37. package/dist-esm/operations/appServicePlans.d.ts.map +1 -0
  38. package/dist-esm/operations/appServicePlans.js +1490 -0
  39. package/dist-esm/operations/appServicePlans.js.map +1 -0
  40. package/dist-esm/operations/certificateOrdersDiagnostics.d.ts +48 -0
  41. package/dist-esm/operations/certificateOrdersDiagnostics.d.ts.map +1 -0
  42. package/dist-esm/operations/certificateOrdersDiagnostics.js +176 -0
  43. package/dist-esm/operations/certificateOrdersDiagnostics.js.map +1 -0
  44. package/dist-esm/operations/certificateRegistrationProvider.d.ts +35 -0
  45. package/dist-esm/operations/certificateRegistrationProvider.d.ts.map +1 -0
  46. package/dist-esm/operations/certificateRegistrationProvider.js +123 -0
  47. package/dist-esm/operations/certificateRegistrationProvider.js.map +1 -0
  48. package/dist-esm/operations/certificates.d.ts +84 -0
  49. package/dist-esm/operations/certificates.d.ts.map +1 -0
  50. package/dist-esm/operations/certificates.js +357 -0
  51. package/dist-esm/operations/certificates.js.map +1 -0
  52. package/dist-esm/operations/deletedWebApps.d.ts +61 -0
  53. package/dist-esm/operations/deletedWebApps.d.ts.map +1 -0
  54. package/dist-esm/operations/deletedWebApps.js +262 -0
  55. package/dist-esm/operations/deletedWebApps.js.map +1 -0
  56. package/dist-esm/operations/diagnostics.d.ts +378 -0
  57. package/dist-esm/operations/diagnostics.d.ts.map +1 -0
  58. package/dist-esm/operations/diagnostics.js +1624 -0
  59. package/dist-esm/operations/diagnostics.js.map +1 -0
  60. package/dist-esm/operations/domainRegistrationProvider.d.ts +35 -0
  61. package/dist-esm/operations/domainRegistrationProvider.d.ts.map +1 -0
  62. package/dist-esm/operations/domainRegistrationProvider.js +123 -0
  63. package/dist-esm/operations/domainRegistrationProvider.js.map +1 -0
  64. package/dist-esm/operations/domains.d.ts +193 -0
  65. package/dist-esm/operations/domains.d.ts.map +1 -0
  66. package/dist-esm/operations/domains.js +856 -0
  67. package/dist-esm/operations/domains.js.map +1 -0
  68. package/dist-esm/operations/global.d.ts +32 -0
  69. package/dist-esm/operations/global.d.ts.map +1 -0
  70. package/dist-esm/operations/global.js +112 -0
  71. package/dist-esm/operations/global.js.map +1 -0
  72. package/dist-esm/operations/index.d.ts +19 -0
  73. package/dist-esm/operations/index.d.ts.map +1 -0
  74. package/dist-esm/operations/index.js +26 -0
  75. package/dist-esm/operations/index.js.map +1 -0
  76. package/dist-esm/operations/kubeEnvironments.d.ts +100 -0
  77. package/dist-esm/operations/kubeEnvironments.d.ts.map +1 -0
  78. package/dist-esm/operations/kubeEnvironments.js +454 -0
  79. package/dist-esm/operations/kubeEnvironments.js.map +1 -0
  80. package/dist-esm/operations/provider.d.ts +152 -0
  81. package/dist-esm/operations/provider.d.ts.map +1 -0
  82. package/dist-esm/operations/provider.js +706 -0
  83. package/dist-esm/operations/provider.js.map +1 -0
  84. package/dist-esm/operations/recommendations.d.ts +206 -0
  85. package/dist-esm/operations/recommendations.d.ts.map +1 -0
  86. package/dist-esm/operations/recommendations.js +912 -0
  87. package/dist-esm/operations/recommendations.js.map +1 -0
  88. package/dist-esm/operations/resourceHealthMetadataOperations.d.ts +126 -0
  89. package/dist-esm/operations/resourceHealthMetadataOperations.d.ts.map +1 -0
  90. package/dist-esm/operations/resourceHealthMetadataOperations.js +529 -0
  91. package/dist-esm/operations/resourceHealthMetadataOperations.js.map +1 -0
  92. package/dist-esm/operations/staticSites.d.ts +702 -0
  93. package/dist-esm/operations/staticSites.d.ts.map +1 -0
  94. package/dist-esm/operations/staticSites.js +3069 -0
  95. package/dist-esm/operations/staticSites.js.map +1 -0
  96. package/dist-esm/operations/topLevelDomains.d.ts +63 -0
  97. package/dist-esm/operations/topLevelDomains.d.ts.map +1 -0
  98. package/dist-esm/operations/topLevelDomains.js +258 -0
  99. package/dist-esm/operations/topLevelDomains.js.map +1 -0
  100. package/dist-esm/operations/webApps.d.ts +5070 -0
  101. package/dist-esm/operations/webApps.d.ts.map +1 -0
  102. package/dist-esm/operations/webApps.js +20820 -0
  103. package/dist-esm/operations/webApps.js.map +1 -0
  104. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts +180 -0
  105. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts.map +1 -0
  106. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js +9 -0
  107. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js.map +1 -0
  108. package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts +380 -0
  109. package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts.map +1 -0
  110. package/dist-esm/operationsInterfaces/appServiceEnvironments.js +9 -0
  111. package/dist-esm/operationsInterfaces/appServiceEnvironments.js.map +1 -0
  112. package/dist-esm/operationsInterfaces/appServicePlans.d.ts +230 -0
  113. package/dist-esm/operationsInterfaces/appServicePlans.d.ts.map +1 -0
  114. package/dist-esm/operationsInterfaces/appServicePlans.js +9 -0
  115. package/dist-esm/operationsInterfaces/appServicePlans.js.map +1 -0
  116. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts +22 -0
  117. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts.map +1 -0
  118. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js +9 -0
  119. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js.map +1 -0
  120. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts +13 -0
  121. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts.map +1 -0
  122. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js +9 -0
  123. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js.map +1 -0
  124. package/dist-esm/operationsInterfaces/certificates.d.ts +48 -0
  125. package/dist-esm/operationsInterfaces/certificates.d.ts.map +1 -0
  126. package/dist-esm/operationsInterfaces/certificates.js +9 -0
  127. package/dist-esm/operationsInterfaces/certificates.js.map +1 -0
  128. package/dist-esm/operationsInterfaces/deletedWebApps.d.ts +25 -0
  129. package/dist-esm/operationsInterfaces/deletedWebApps.d.ts.map +1 -0
  130. package/dist-esm/operationsInterfaces/deletedWebApps.js +9 -0
  131. package/dist-esm/operationsInterfaces/deletedWebApps.js.map +1 -0
  132. package/dist-esm/operationsInterfaces/diagnostics.d.ts +196 -0
  133. package/dist-esm/operationsInterfaces/diagnostics.d.ts.map +1 -0
  134. package/dist-esm/operationsInterfaces/diagnostics.js +9 -0
  135. package/dist-esm/operationsInterfaces/diagnostics.js.map +1 -0
  136. package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts +13 -0
  137. package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts.map +1 -0
  138. package/dist-esm/operationsInterfaces/domainRegistrationProvider.js +9 -0
  139. package/dist-esm/operationsInterfaces/domainRegistrationProvider.js.map +1 -0
  140. package/dist-esm/operationsInterfaces/domains.d.ts +124 -0
  141. package/dist-esm/operationsInterfaces/domains.d.ts.map +1 -0
  142. package/dist-esm/operationsInterfaces/domains.js +9 -0
  143. package/dist-esm/operationsInterfaces/domains.js.map +1 -0
  144. package/dist-esm/operationsInterfaces/global.d.ts +24 -0
  145. package/dist-esm/operationsInterfaces/global.d.ts.map +1 -0
  146. package/dist-esm/operationsInterfaces/global.js +9 -0
  147. package/dist-esm/operationsInterfaces/global.js.map +1 -0
  148. package/dist-esm/operationsInterfaces/index.d.ts +19 -0
  149. package/dist-esm/operationsInterfaces/index.d.ts.map +1 -0
  150. package/dist-esm/operationsInterfaces/index.js +26 -0
  151. package/dist-esm/operationsInterfaces/index.js.map +1 -0
  152. package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts +64 -0
  153. package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts.map +1 -0
  154. package/dist-esm/operationsInterfaces/kubeEnvironments.js +9 -0
  155. package/dist-esm/operationsInterfaces/kubeEnvironments.js.map +1 -0
  156. package/dist-esm/operationsInterfaces/provider.d.ts +45 -0
  157. package/dist-esm/operationsInterfaces/provider.d.ts.map +1 -0
  158. package/dist-esm/operationsInterfaces/provider.js +9 -0
  159. package/dist-esm/operationsInterfaces/provider.js.map +1 -0
  160. package/dist-esm/operationsInterfaces/recommendations.d.ts +114 -0
  161. package/dist-esm/operationsInterfaces/recommendations.d.ts.map +1 -0
  162. package/dist-esm/operationsInterfaces/recommendations.js +9 -0
  163. package/dist-esm/operationsInterfaces/recommendations.js.map +1 -0
  164. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts +51 -0
  165. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts.map +1 -0
  166. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js +9 -0
  167. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js.map +1 -0
  168. package/dist-esm/operationsInterfaces/staticSites.d.ts +516 -0
  169. package/dist-esm/operationsInterfaces/staticSites.d.ts.map +1 -0
  170. package/dist-esm/operationsInterfaces/staticSites.js +9 -0
  171. package/dist-esm/operationsInterfaces/staticSites.js.map +1 -0
  172. package/dist-esm/operationsInterfaces/topLevelDomains.d.ts +25 -0
  173. package/dist-esm/operationsInterfaces/topLevelDomains.d.ts.map +1 -0
  174. package/dist-esm/operationsInterfaces/topLevelDomains.js +9 -0
  175. package/dist-esm/operationsInterfaces/topLevelDomains.js.map +1 -0
  176. package/dist-esm/operationsInterfaces/webApps.d.ts +3798 -0
  177. package/dist-esm/operationsInterfaces/webApps.d.ts.map +1 -0
  178. package/dist-esm/operationsInterfaces/webApps.js +9 -0
  179. package/dist-esm/operationsInterfaces/webApps.js.map +1 -0
  180. package/dist-esm/webSiteManagementClient.d.ts +205 -0
  181. package/dist-esm/webSiteManagementClient.d.ts.map +1 -0
  182. package/dist-esm/webSiteManagementClient.js +892 -0
  183. package/dist-esm/webSiteManagementClient.js.map +1 -0
  184. package/dist-esm/webSiteManagementClientContext.d.ts +17 -0
  185. package/dist-esm/webSiteManagementClientContext.d.ts.map +1 -0
  186. package/dist-esm/webSiteManagementClientContext.js +50 -0
  187. package/dist-esm/webSiteManagementClientContext.js.map +1 -0
  188. package/package.json +99 -0
  189. package/review/arm-appservice.api.md +10633 -0
  190. package/rollup.config.js +188 -0
  191. package/src/index.ts +13 -0
  192. package/src/lroImpl.ts +34 -0
  193. package/src/models/index.ts +14289 -0
  194. package/src/models/mappers.ts +21388 -0
  195. package/src/models/parameters.ts +1647 -0
  196. package/src/operations/appServiceCertificateOrders.ts +1373 -0
  197. package/src/operations/appServiceEnvironments.ts +5073 -0
  198. package/src/operations/appServicePlans.ts +1987 -0
  199. package/src/operations/certificateOrdersDiagnostics.ts +247 -0
  200. package/src/operations/certificateRegistrationProvider.ts +144 -0
  201. package/src/operations/certificates.ts +444 -0
  202. package/src/operations/deletedWebApps.ts +311 -0
  203. package/src/operations/diagnostics.ts +2273 -0
  204. package/src/operations/domainRegistrationProvider.ts +144 -0
  205. package/src/operations/domains.ts +1122 -0
  206. package/src/operations/global.ts +150 -0
  207. package/src/operations/index.ts +26 -0
  208. package/src/operations/kubeEnvironments.ts +594 -0
  209. package/src/operations/provider.ts +829 -0
  210. package/src/operations/recommendations.ts +1210 -0
  211. package/src/operations/resourceHealthMetadataOperations.ts +679 -0
  212. package/src/operations/staticSites.ts +4336 -0
  213. package/src/operations/topLevelDomains.ts +319 -0
  214. package/src/operations/webApps.ts +28925 -0
  215. package/src/operationsInterfaces/appServiceCertificateOrders.ts +340 -0
  216. package/src/operationsInterfaces/appServiceEnvironments.ts +725 -0
  217. package/src/operationsInterfaces/appServicePlans.ts +433 -0
  218. package/src/operationsInterfaces/certificateOrdersDiagnostics.ts +47 -0
  219. package/src/operationsInterfaces/certificateRegistrationProvider.ts +27 -0
  220. package/src/operationsInterfaces/certificates.ts +92 -0
  221. package/src/operationsInterfaces/deletedWebApps.ts +49 -0
  222. package/src/operationsInterfaces/diagnostics.ts +368 -0
  223. package/src/operationsInterfaces/domainRegistrationProvider.ts +27 -0
  224. package/src/operationsInterfaces/domains.ts +231 -0
  225. package/src/operationsInterfaces/global.ts +48 -0
  226. package/src/operationsInterfaces/index.ts +26 -0
  227. package/src/operationsInterfaces/kubeEnvironments.ts +122 -0
  228. package/src/operationsInterfaces/provider.ts +82 -0
  229. package/src/operationsInterfaces/recommendations.ts +204 -0
  230. package/src/operationsInterfaces/resourceHealthMetadataOperations.ts +93 -0
  231. package/src/operationsInterfaces/staticSites.ts +963 -0
  232. package/src/operationsInterfaces/topLevelDomains.ts +51 -0
  233. package/src/operationsInterfaces/webApps.ts +6889 -0
  234. package/src/webSiteManagementClient.ts +1177 -0
  235. package/src/webSiteManagementClientContext.ts +71 -0
  236. package/tsconfig.json +19 -0
  237. package/types/arm-appservice.d.ts +20041 -0
  238. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,454 @@
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 "@azure/core-paging";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { LroEngine } from "@azure/core-lro";
14
+ import { LroImpl } from "../lroImpl";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class representing a KubeEnvironments. */
17
+ export class KubeEnvironmentsImpl {
18
+ /**
19
+ * Initialize a new instance of the class KubeEnvironments class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Description for Get all Kubernetes Environments for a subscription.
27
+ * @param options The options parameters.
28
+ */
29
+ listBySubscription(options) {
30
+ const iter = this.listBySubscriptionPagingAll(options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listBySubscriptionPagingPage(options);
40
+ }
41
+ };
42
+ }
43
+ listBySubscriptionPagingPage(options) {
44
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
45
+ let result = yield __await(this._listBySubscription(options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listBySubscriptionPagingAll(options) {
56
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
60
+ const page = _c.value;
61
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
62
+ }
63
+ }
64
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
+ finally {
66
+ try {
67
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
68
+ }
69
+ finally { if (e_1) throw e_1.error; }
70
+ }
71
+ });
72
+ }
73
+ /**
74
+ * Description for Get all the Kubernetes Environments in a resource group.
75
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
76
+ * @param options The options parameters.
77
+ */
78
+ listByResourceGroup(resourceGroupName, options) {
79
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: () => {
88
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
89
+ }
90
+ };
91
+ }
92
+ listByResourceGroupPagingPage(resourceGroupName, options) {
93
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
94
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
95
+ yield yield __await(result.value || []);
96
+ let continuationToken = result.nextLink;
97
+ while (continuationToken) {
98
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
99
+ continuationToken = result.nextLink;
100
+ yield yield __await(result.value || []);
101
+ }
102
+ });
103
+ }
104
+ listByResourceGroupPagingAll(resourceGroupName, options) {
105
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
106
+ var e_2, _a;
107
+ try {
108
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
109
+ const page = _c.value;
110
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
111
+ }
112
+ }
113
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
114
+ finally {
115
+ try {
116
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
117
+ }
118
+ finally { if (e_2) throw e_2.error; }
119
+ }
120
+ });
121
+ }
122
+ /**
123
+ * Description for Get all Kubernetes Environments for a subscription.
124
+ * @param options The options parameters.
125
+ */
126
+ _listBySubscription(options) {
127
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
128
+ }
129
+ /**
130
+ * Description for Get all the Kubernetes Environments in a resource group.
131
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
132
+ * @param options The options parameters.
133
+ */
134
+ _listByResourceGroup(resourceGroupName, options) {
135
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
136
+ }
137
+ /**
138
+ * Description for Get the properties of a Kubernetes Environment.
139
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
140
+ * @param name Name of the Kubernetes Environment.
141
+ * @param options The options parameters.
142
+ */
143
+ get(resourceGroupName, name, options) {
144
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
145
+ }
146
+ /**
147
+ * Description for Creates or updates a Kubernetes Environment.
148
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
149
+ * @param name Name of the Kubernetes Environment.
150
+ * @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
151
+ * @param options The options parameters.
152
+ */
153
+ beginCreateOrUpdate(resourceGroupName, name, kubeEnvironmentEnvelope, options) {
154
+ return __awaiter(this, void 0, void 0, function* () {
155
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
156
+ return this.client.sendOperationRequest(args, spec);
157
+ });
158
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
159
+ var _a;
160
+ let currentRawResponse = undefined;
161
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
162
+ const callback = (rawResponse, flatResponse) => {
163
+ currentRawResponse = rawResponse;
164
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
165
+ };
166
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
167
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
168
+ return {
169
+ flatResponse,
170
+ rawResponse: {
171
+ statusCode: currentRawResponse.status,
172
+ body: currentRawResponse.parsedBody,
173
+ headers: currentRawResponse.headers.toJSON()
174
+ }
175
+ };
176
+ });
177
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, kubeEnvironmentEnvelope, options }, createOrUpdateOperationSpec);
178
+ return new LroEngine(lro, {
179
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
180
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
181
+ });
182
+ });
183
+ }
184
+ /**
185
+ * Description for Creates or updates a Kubernetes Environment.
186
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
187
+ * @param name Name of the Kubernetes Environment.
188
+ * @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
189
+ * @param options The options parameters.
190
+ */
191
+ beginCreateOrUpdateAndWait(resourceGroupName, name, kubeEnvironmentEnvelope, options) {
192
+ return __awaiter(this, void 0, void 0, function* () {
193
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, kubeEnvironmentEnvelope, options);
194
+ return poller.pollUntilDone();
195
+ });
196
+ }
197
+ /**
198
+ * Description for Delete a Kubernetes Environment.
199
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
200
+ * @param name Name of the Kubernetes Environment.
201
+ * @param options The options parameters.
202
+ */
203
+ beginDelete(resourceGroupName, name, options) {
204
+ return __awaiter(this, void 0, void 0, function* () {
205
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
206
+ return this.client.sendOperationRequest(args, spec);
207
+ });
208
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
209
+ var _a;
210
+ let currentRawResponse = undefined;
211
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
212
+ const callback = (rawResponse, flatResponse) => {
213
+ currentRawResponse = rawResponse;
214
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
215
+ };
216
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
217
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
218
+ return {
219
+ flatResponse,
220
+ rawResponse: {
221
+ statusCode: currentRawResponse.status,
222
+ body: currentRawResponse.parsedBody,
223
+ headers: currentRawResponse.headers.toJSON()
224
+ }
225
+ };
226
+ });
227
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
228
+ return new LroEngine(lro, {
229
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
230
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
231
+ });
232
+ });
233
+ }
234
+ /**
235
+ * Description for Delete a Kubernetes Environment.
236
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
237
+ * @param name Name of the Kubernetes Environment.
238
+ * @param options The options parameters.
239
+ */
240
+ beginDeleteAndWait(resourceGroupName, name, options) {
241
+ return __awaiter(this, void 0, void 0, function* () {
242
+ const poller = yield this.beginDelete(resourceGroupName, name, options);
243
+ return poller.pollUntilDone();
244
+ });
245
+ }
246
+ /**
247
+ * Description for Creates or updates a Kubernetes Environment.
248
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
249
+ * @param name Name of the Kubernetes Environment.
250
+ * @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
251
+ * @param options The options parameters.
252
+ */
253
+ update(resourceGroupName, name, kubeEnvironmentEnvelope, options) {
254
+ return this.client.sendOperationRequest({ resourceGroupName, name, kubeEnvironmentEnvelope, options }, updateOperationSpec);
255
+ }
256
+ /**
257
+ * ListBySubscriptionNext
258
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
259
+ * @param options The options parameters.
260
+ */
261
+ _listBySubscriptionNext(nextLink, options) {
262
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
263
+ }
264
+ /**
265
+ * ListByResourceGroupNext
266
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
267
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
268
+ * @param options The options parameters.
269
+ */
270
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
271
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
272
+ }
273
+ }
274
+ // Operation Specifications
275
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
276
+ const listBySubscriptionOperationSpec = {
277
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments",
278
+ httpMethod: "GET",
279
+ responses: {
280
+ 200: {
281
+ bodyMapper: Mappers.KubeEnvironmentCollection
282
+ },
283
+ default: {
284
+ bodyMapper: Mappers.DefaultErrorResponse
285
+ }
286
+ },
287
+ queryParameters: [Parameters.apiVersion],
288
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
289
+ headerParameters: [Parameters.accept],
290
+ serializer
291
+ };
292
+ const listByResourceGroupOperationSpec = {
293
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments",
294
+ httpMethod: "GET",
295
+ responses: {
296
+ 200: {
297
+ bodyMapper: Mappers.KubeEnvironmentCollection
298
+ },
299
+ default: {
300
+ bodyMapper: Mappers.DefaultErrorResponse
301
+ }
302
+ },
303
+ queryParameters: [Parameters.apiVersion],
304
+ urlParameters: [
305
+ Parameters.$host,
306
+ Parameters.subscriptionId,
307
+ Parameters.resourceGroupName
308
+ ],
309
+ headerParameters: [Parameters.accept],
310
+ serializer
311
+ };
312
+ const getOperationSpec = {
313
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
314
+ httpMethod: "GET",
315
+ responses: {
316
+ 200: {
317
+ bodyMapper: Mappers.KubeEnvironment
318
+ },
319
+ default: {
320
+ bodyMapper: Mappers.DefaultErrorResponse
321
+ }
322
+ },
323
+ queryParameters: [Parameters.apiVersion],
324
+ urlParameters: [
325
+ Parameters.$host,
326
+ Parameters.subscriptionId,
327
+ Parameters.resourceGroupName,
328
+ Parameters.name
329
+ ],
330
+ headerParameters: [Parameters.accept],
331
+ serializer
332
+ };
333
+ const createOrUpdateOperationSpec = {
334
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
335
+ httpMethod: "PUT",
336
+ responses: {
337
+ 200: {
338
+ bodyMapper: Mappers.KubeEnvironment
339
+ },
340
+ 201: {
341
+ bodyMapper: Mappers.KubeEnvironment
342
+ },
343
+ 202: {
344
+ bodyMapper: Mappers.KubeEnvironment
345
+ },
346
+ 204: {
347
+ bodyMapper: Mappers.KubeEnvironment
348
+ },
349
+ default: {
350
+ bodyMapper: Mappers.DefaultErrorResponse
351
+ }
352
+ },
353
+ requestBody: Parameters.kubeEnvironmentEnvelope,
354
+ queryParameters: [Parameters.apiVersion],
355
+ urlParameters: [
356
+ Parameters.$host,
357
+ Parameters.subscriptionId,
358
+ Parameters.resourceGroupName,
359
+ Parameters.name
360
+ ],
361
+ headerParameters: [Parameters.accept, Parameters.contentType],
362
+ mediaType: "json",
363
+ serializer
364
+ };
365
+ const deleteOperationSpec = {
366
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
367
+ httpMethod: "DELETE",
368
+ responses: {
369
+ 200: {},
370
+ 201: {},
371
+ 202: {},
372
+ 204: {},
373
+ default: {
374
+ bodyMapper: Mappers.DefaultErrorResponse
375
+ }
376
+ },
377
+ queryParameters: [Parameters.apiVersion],
378
+ urlParameters: [
379
+ Parameters.$host,
380
+ Parameters.subscriptionId,
381
+ Parameters.resourceGroupName,
382
+ Parameters.name
383
+ ],
384
+ headerParameters: [Parameters.accept],
385
+ serializer
386
+ };
387
+ const updateOperationSpec = {
388
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
389
+ httpMethod: "PATCH",
390
+ responses: {
391
+ 200: {
392
+ bodyMapper: Mappers.KubeEnvironment
393
+ },
394
+ 201: {
395
+ bodyMapper: Mappers.KubeEnvironment
396
+ },
397
+ default: {
398
+ bodyMapper: Mappers.DefaultErrorResponse
399
+ }
400
+ },
401
+ requestBody: Parameters.kubeEnvironmentEnvelope1,
402
+ queryParameters: [Parameters.apiVersion],
403
+ urlParameters: [
404
+ Parameters.$host,
405
+ Parameters.subscriptionId,
406
+ Parameters.resourceGroupName,
407
+ Parameters.name
408
+ ],
409
+ headerParameters: [Parameters.accept, Parameters.contentType],
410
+ mediaType: "json",
411
+ serializer
412
+ };
413
+ const listBySubscriptionNextOperationSpec = {
414
+ path: "{nextLink}",
415
+ httpMethod: "GET",
416
+ responses: {
417
+ 200: {
418
+ bodyMapper: Mappers.KubeEnvironmentCollection
419
+ },
420
+ default: {
421
+ bodyMapper: Mappers.DefaultErrorResponse
422
+ }
423
+ },
424
+ queryParameters: [Parameters.apiVersion],
425
+ urlParameters: [
426
+ Parameters.$host,
427
+ Parameters.subscriptionId,
428
+ Parameters.nextLink
429
+ ],
430
+ headerParameters: [Parameters.accept],
431
+ serializer
432
+ };
433
+ const listByResourceGroupNextOperationSpec = {
434
+ path: "{nextLink}",
435
+ httpMethod: "GET",
436
+ responses: {
437
+ 200: {
438
+ bodyMapper: Mappers.KubeEnvironmentCollection
439
+ },
440
+ default: {
441
+ bodyMapper: Mappers.DefaultErrorResponse
442
+ }
443
+ },
444
+ queryParameters: [Parameters.apiVersion],
445
+ urlParameters: [
446
+ Parameters.$host,
447
+ Parameters.subscriptionId,
448
+ Parameters.resourceGroupName,
449
+ Parameters.nextLink
450
+ ],
451
+ headerParameters: [Parameters.accept],
452
+ serializer
453
+ };
454
+ //# sourceMappingURL=kubeEnvironments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kubeEnvironments.js","sourceRoot":"","sources":["../../src/operations/kubeEnvironments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,oBAAoB,CAAC;AAG5B,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;AAqBrC,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,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,EA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ACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,152 @@
1
+ import "@azure/core-paging";
2
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
+ import { Provider } from "../operationsInterfaces";
4
+ import { WebSiteManagementClientContext } from "../webSiteManagementClientContext";
5
+ import { ApplicationStackResource, ProviderGetAvailableStacksOptionalParams, FunctionAppStack, ProviderGetFunctionAppStacksOptionalParams, ProviderGetFunctionAppStacksForLocationOptionalParams, WebAppStack, ProviderGetWebAppStacksForLocationOptionalParams, CsmOperationDescription, ProviderListOperationsOptionalParams, ProviderGetWebAppStacksOptionalParams, ProviderGetAvailableStacksOnPremOptionalParams } from "../models";
6
+ /** Class representing a Provider. */
7
+ export declare class ProviderImpl implements Provider {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Provider class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: WebSiteManagementClientContext);
14
+ /**
15
+ * Description for Get available application frameworks and their versions
16
+ * @param options The options parameters.
17
+ */
18
+ listAvailableStacks(options?: ProviderGetAvailableStacksOptionalParams): PagedAsyncIterableIterator<ApplicationStackResource>;
19
+ private getAvailableStacksPagingPage;
20
+ private getAvailableStacksPagingAll;
21
+ /**
22
+ * Description for Get available Function app frameworks and their versions
23
+ * @param options The options parameters.
24
+ */
25
+ listFunctionAppStacks(options?: ProviderGetFunctionAppStacksOptionalParams): PagedAsyncIterableIterator<FunctionAppStack>;
26
+ private getFunctionAppStacksPagingPage;
27
+ private getFunctionAppStacksPagingAll;
28
+ /**
29
+ * Description for Get available Function app frameworks and their versions for location
30
+ * @param location Function App stack location.
31
+ * @param options The options parameters.
32
+ */
33
+ listFunctionAppStacksForLocation(location: string, options?: ProviderGetFunctionAppStacksForLocationOptionalParams): PagedAsyncIterableIterator<FunctionAppStack>;
34
+ private getFunctionAppStacksForLocationPagingPage;
35
+ private getFunctionAppStacksForLocationPagingAll;
36
+ /**
37
+ * Description for Get available Web app frameworks and their versions for location
38
+ * @param location Web App stack location.
39
+ * @param options The options parameters.
40
+ */
41
+ listWebAppStacksForLocation(location: string, options?: ProviderGetWebAppStacksForLocationOptionalParams): PagedAsyncIterableIterator<WebAppStack>;
42
+ private getWebAppStacksForLocationPagingPage;
43
+ private getWebAppStacksForLocationPagingAll;
44
+ /**
45
+ * Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
46
+ * resource metric definitions
47
+ * @param options The options parameters.
48
+ */
49
+ listOperations(options?: ProviderListOperationsOptionalParams): PagedAsyncIterableIterator<CsmOperationDescription>;
50
+ private listOperationsPagingPage;
51
+ private listOperationsPagingAll;
52
+ /**
53
+ * Description for Get available Web app frameworks and their versions
54
+ * @param options The options parameters.
55
+ */
56
+ listWebAppStacks(options?: ProviderGetWebAppStacksOptionalParams): PagedAsyncIterableIterator<WebAppStack>;
57
+ private getWebAppStacksPagingPage;
58
+ private getWebAppStacksPagingAll;
59
+ /**
60
+ * Description for Get available application frameworks and their versions
61
+ * @param options The options parameters.
62
+ */
63
+ listAvailableStacksOnPrem(options?: ProviderGetAvailableStacksOnPremOptionalParams): PagedAsyncIterableIterator<ApplicationStackResource>;
64
+ private getAvailableStacksOnPremPagingPage;
65
+ private getAvailableStacksOnPremPagingAll;
66
+ /**
67
+ * Description for Get available application frameworks and their versions
68
+ * @param options The options parameters.
69
+ */
70
+ private _getAvailableStacks;
71
+ /**
72
+ * Description for Get available Function app frameworks and their versions
73
+ * @param options The options parameters.
74
+ */
75
+ private _getFunctionAppStacks;
76
+ /**
77
+ * Description for Get available Function app frameworks and their versions for location
78
+ * @param location Function App stack location.
79
+ * @param options The options parameters.
80
+ */
81
+ private _getFunctionAppStacksForLocation;
82
+ /**
83
+ * Description for Get available Web app frameworks and their versions for location
84
+ * @param location Web App stack location.
85
+ * @param options The options parameters.
86
+ */
87
+ private _getWebAppStacksForLocation;
88
+ /**
89
+ * Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
90
+ * resource metric definitions
91
+ * @param options The options parameters.
92
+ */
93
+ private _listOperations;
94
+ /**
95
+ * Description for Get available Web app frameworks and their versions
96
+ * @param options The options parameters.
97
+ */
98
+ private _getWebAppStacks;
99
+ /**
100
+ * Description for Get available application frameworks and their versions
101
+ * @param options The options parameters.
102
+ */
103
+ private _getAvailableStacksOnPrem;
104
+ /**
105
+ * GetAvailableStacksNext
106
+ * @param nextLink The nextLink from the previous successful call to the GetAvailableStacks method.
107
+ * @param options The options parameters.
108
+ */
109
+ private _getAvailableStacksNext;
110
+ /**
111
+ * GetFunctionAppStacksNext
112
+ * @param nextLink The nextLink from the previous successful call to the GetFunctionAppStacks method.
113
+ * @param options The options parameters.
114
+ */
115
+ private _getFunctionAppStacksNext;
116
+ /**
117
+ * GetFunctionAppStacksForLocationNext
118
+ * @param location Function App stack location.
119
+ * @param nextLink The nextLink from the previous successful call to the
120
+ * GetFunctionAppStacksForLocation method.
121
+ * @param options The options parameters.
122
+ */
123
+ private _getFunctionAppStacksForLocationNext;
124
+ /**
125
+ * GetWebAppStacksForLocationNext
126
+ * @param location Web App stack location.
127
+ * @param nextLink The nextLink from the previous successful call to the GetWebAppStacksForLocation
128
+ * method.
129
+ * @param options The options parameters.
130
+ */
131
+ private _getWebAppStacksForLocationNext;
132
+ /**
133
+ * ListOperationsNext
134
+ * @param nextLink The nextLink from the previous successful call to the ListOperations method.
135
+ * @param options The options parameters.
136
+ */
137
+ private _listOperationsNext;
138
+ /**
139
+ * GetWebAppStacksNext
140
+ * @param nextLink The nextLink from the previous successful call to the GetWebAppStacks method.
141
+ * @param options The options parameters.
142
+ */
143
+ private _getWebAppStacksNext;
144
+ /**
145
+ * GetAvailableStacksOnPremNext
146
+ * @param nextLink The nextLink from the previous successful call to the GetAvailableStacksOnPrem
147
+ * method.
148
+ * @param options The options parameters.
149
+ */
150
+ private _getAvailableStacksOnPremNext;
151
+ }
152
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/operations/provider.ts"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,wBAAwB,EAExB,wCAAwC,EACxC,gBAAgB,EAEhB,0CAA0C,EAE1C,qDAAqD,EACrD,WAAW,EAEX,gDAAgD,EAChD,uBAAuB,EAEvB,oCAAoC,EAEpC,qCAAqC,EAErC,8CAA8C,EAe/C,MAAM,WAAW,CAAC;AAGnB,qCAAqC;AACrC,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACI,mBAAmB,CACxB,OAAO,CAA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