@azure/arm-appcontainers 2.2.0-alpha.20250718.1 → 2.2.0-alpha.20250721.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 (251) hide show
  1. package/dist/browser/containerAppsAPIClient.js +40 -5
  2. package/dist/browser/containerAppsAPIClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +318 -145
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/availableWorkloadProfiles.js +23 -40
  8. package/dist/browser/operations/availableWorkloadProfiles.js.map +1 -1
  9. package/dist/browser/operations/billingMeters.js +1 -0
  10. package/dist/browser/operations/billingMeters.js.map +1 -1
  11. package/dist/browser/operations/certificates.js +23 -40
  12. package/dist/browser/operations/certificates.js.map +1 -1
  13. package/dist/browser/operations/connectedEnvironments.js +67 -91
  14. package/dist/browser/operations/connectedEnvironments.js.map +1 -1
  15. package/dist/browser/operations/connectedEnvironmentsCertificates.js +23 -40
  16. package/dist/browser/operations/connectedEnvironmentsCertificates.js.map +1 -1
  17. package/dist/browser/operations/connectedEnvironmentsDaprComponents.js +23 -40
  18. package/dist/browser/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  19. package/dist/browser/operations/connectedEnvironmentsStorages.js +1 -0
  20. package/dist/browser/operations/connectedEnvironmentsStorages.js.map +1 -1
  21. package/dist/browser/operations/containerApps.js +100 -109
  22. package/dist/browser/operations/containerApps.js.map +1 -1
  23. package/dist/browser/operations/containerAppsAuthConfigs.js +23 -40
  24. package/dist/browser/operations/containerAppsAuthConfigs.js.map +1 -1
  25. package/dist/browser/operations/containerAppsDiagnostics.js +45 -79
  26. package/dist/browser/operations/containerAppsDiagnostics.js.map +1 -1
  27. package/dist/browser/operations/containerAppsRevisionReplicas.js +1 -0
  28. package/dist/browser/operations/containerAppsRevisionReplicas.js.map +1 -1
  29. package/dist/browser/operations/containerAppsRevisions.js +23 -40
  30. package/dist/browser/operations/containerAppsRevisions.js.map +1 -1
  31. package/dist/browser/operations/containerAppsSessionPools.js +78 -97
  32. package/dist/browser/operations/containerAppsSessionPools.js.map +1 -1
  33. package/dist/browser/operations/containerAppsSourceControls.js +45 -52
  34. package/dist/browser/operations/containerAppsSourceControls.js.map +1 -1
  35. package/dist/browser/operations/daprComponents.js +23 -40
  36. package/dist/browser/operations/daprComponents.js.map +1 -1
  37. package/dist/browser/operations/javaComponents.js +56 -58
  38. package/dist/browser/operations/javaComponents.js.map +1 -1
  39. package/dist/browser/operations/jobs.js +136 -157
  40. package/dist/browser/operations/jobs.js.map +1 -1
  41. package/dist/browser/operations/jobsExecutions.js +23 -40
  42. package/dist/browser/operations/jobsExecutions.js.map +1 -1
  43. package/dist/browser/operations/managedCertificates.js +34 -46
  44. package/dist/browser/operations/managedCertificates.js.map +1 -1
  45. package/dist/browser/operations/managedEnvironmentDiagnostics.js +1 -0
  46. package/dist/browser/operations/managedEnvironmentDiagnostics.js.map +1 -1
  47. package/dist/browser/operations/managedEnvironmentUsages.js +23 -40
  48. package/dist/browser/operations/managedEnvironmentUsages.js.map +1 -1
  49. package/dist/browser/operations/managedEnvironments.js +100 -136
  50. package/dist/browser/operations/managedEnvironments.js.map +1 -1
  51. package/dist/browser/operations/managedEnvironmentsDiagnostics.js +1 -0
  52. package/dist/browser/operations/managedEnvironmentsDiagnostics.js.map +1 -1
  53. package/dist/browser/operations/managedEnvironmentsStorages.js +1 -0
  54. package/dist/browser/operations/managedEnvironmentsStorages.js.map +1 -1
  55. package/dist/browser/operations/namespaces.js +1 -0
  56. package/dist/browser/operations/namespaces.js.map +1 -1
  57. package/dist/browser/operations/operations.js +23 -40
  58. package/dist/browser/operations/operations.js.map +1 -1
  59. package/dist/browser/operations/usages.js +23 -40
  60. package/dist/browser/operations/usages.js.map +1 -1
  61. package/dist/browser/pagingHelper.js +2 -4
  62. package/dist/browser/pagingHelper.js.map +1 -1
  63. package/dist/commonjs/containerAppsAPIClient.js +40 -5
  64. package/dist/commonjs/containerAppsAPIClient.js.map +1 -1
  65. package/dist/commonjs/lroImpl.js +7 -3
  66. package/dist/commonjs/lroImpl.js.map +1 -1
  67. package/dist/commonjs/models/mappers.js +318 -145
  68. package/dist/commonjs/models/mappers.js.map +1 -1
  69. package/dist/commonjs/operations/availableWorkloadProfiles.js +23 -39
  70. package/dist/commonjs/operations/availableWorkloadProfiles.js.map +1 -1
  71. package/dist/commonjs/operations/billingMeters.js +1 -0
  72. package/dist/commonjs/operations/billingMeters.js.map +1 -1
  73. package/dist/commonjs/operations/certificates.js +23 -39
  74. package/dist/commonjs/operations/certificates.js.map +1 -1
  75. package/dist/commonjs/operations/connectedEnvironments.js +67 -90
  76. package/dist/commonjs/operations/connectedEnvironments.js.map +1 -1
  77. package/dist/commonjs/operations/connectedEnvironmentsCertificates.js +23 -39
  78. package/dist/commonjs/operations/connectedEnvironmentsCertificates.js.map +1 -1
  79. package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js +23 -39
  80. package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  81. package/dist/commonjs/operations/connectedEnvironmentsStorages.js +1 -0
  82. package/dist/commonjs/operations/connectedEnvironmentsStorages.js.map +1 -1
  83. package/dist/commonjs/operations/containerApps.js +100 -108
  84. package/dist/commonjs/operations/containerApps.js.map +1 -1
  85. package/dist/commonjs/operations/containerAppsAuthConfigs.js +23 -39
  86. package/dist/commonjs/operations/containerAppsAuthConfigs.js.map +1 -1
  87. package/dist/commonjs/operations/containerAppsDiagnostics.js +45 -78
  88. package/dist/commonjs/operations/containerAppsDiagnostics.js.map +1 -1
  89. package/dist/commonjs/operations/containerAppsRevisionReplicas.js +1 -0
  90. package/dist/commonjs/operations/containerAppsRevisionReplicas.js.map +1 -1
  91. package/dist/commonjs/operations/containerAppsRevisions.js +23 -39
  92. package/dist/commonjs/operations/containerAppsRevisions.js.map +1 -1
  93. package/dist/commonjs/operations/containerAppsSessionPools.js +78 -96
  94. package/dist/commonjs/operations/containerAppsSessionPools.js.map +1 -1
  95. package/dist/commonjs/operations/containerAppsSourceControls.js +45 -51
  96. package/dist/commonjs/operations/containerAppsSourceControls.js.map +1 -1
  97. package/dist/commonjs/operations/daprComponents.js +23 -39
  98. package/dist/commonjs/operations/daprComponents.js.map +1 -1
  99. package/dist/commonjs/operations/javaComponents.js +56 -57
  100. package/dist/commonjs/operations/javaComponents.js.map +1 -1
  101. package/dist/commonjs/operations/jobs.js +136 -156
  102. package/dist/commonjs/operations/jobs.js.map +1 -1
  103. package/dist/commonjs/operations/jobsExecutions.js +23 -39
  104. package/dist/commonjs/operations/jobsExecutions.js.map +1 -1
  105. package/dist/commonjs/operations/managedCertificates.js +34 -45
  106. package/dist/commonjs/operations/managedCertificates.js.map +1 -1
  107. package/dist/commonjs/operations/managedEnvironmentDiagnostics.js +1 -0
  108. package/dist/commonjs/operations/managedEnvironmentDiagnostics.js.map +1 -1
  109. package/dist/commonjs/operations/managedEnvironmentUsages.js +23 -39
  110. package/dist/commonjs/operations/managedEnvironmentUsages.js.map +1 -1
  111. package/dist/commonjs/operations/managedEnvironments.js +100 -135
  112. package/dist/commonjs/operations/managedEnvironments.js.map +1 -1
  113. package/dist/commonjs/operations/managedEnvironmentsDiagnostics.js +1 -0
  114. package/dist/commonjs/operations/managedEnvironmentsDiagnostics.js.map +1 -1
  115. package/dist/commonjs/operations/managedEnvironmentsStorages.js +1 -0
  116. package/dist/commonjs/operations/managedEnvironmentsStorages.js.map +1 -1
  117. package/dist/commonjs/operations/namespaces.js +1 -0
  118. package/dist/commonjs/operations/namespaces.js.map +1 -1
  119. package/dist/commonjs/operations/operations.js +23 -39
  120. package/dist/commonjs/operations/operations.js.map +1 -1
  121. package/dist/commonjs/operations/usages.js +23 -39
  122. package/dist/commonjs/operations/usages.js.map +1 -1
  123. package/dist/commonjs/pagingHelper.js +2 -4
  124. package/dist/commonjs/pagingHelper.js.map +1 -1
  125. package/dist/commonjs/tsdoc-metadata.json +11 -11
  126. package/dist/esm/containerAppsAPIClient.js +40 -5
  127. package/dist/esm/containerAppsAPIClient.js.map +1 -1
  128. package/dist/esm/lroImpl.js +7 -3
  129. package/dist/esm/lroImpl.js.map +1 -1
  130. package/dist/esm/models/mappers.js +318 -145
  131. package/dist/esm/models/mappers.js.map +1 -1
  132. package/dist/esm/operations/availableWorkloadProfiles.js +23 -40
  133. package/dist/esm/operations/availableWorkloadProfiles.js.map +1 -1
  134. package/dist/esm/operations/billingMeters.js +1 -0
  135. package/dist/esm/operations/billingMeters.js.map +1 -1
  136. package/dist/esm/operations/certificates.js +23 -40
  137. package/dist/esm/operations/certificates.js.map +1 -1
  138. package/dist/esm/operations/connectedEnvironments.js +67 -91
  139. package/dist/esm/operations/connectedEnvironments.js.map +1 -1
  140. package/dist/esm/operations/connectedEnvironmentsCertificates.js +23 -40
  141. package/dist/esm/operations/connectedEnvironmentsCertificates.js.map +1 -1
  142. package/dist/esm/operations/connectedEnvironmentsDaprComponents.js +23 -40
  143. package/dist/esm/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  144. package/dist/esm/operations/connectedEnvironmentsStorages.js +1 -0
  145. package/dist/esm/operations/connectedEnvironmentsStorages.js.map +1 -1
  146. package/dist/esm/operations/containerApps.js +100 -109
  147. package/dist/esm/operations/containerApps.js.map +1 -1
  148. package/dist/esm/operations/containerAppsAuthConfigs.js +23 -40
  149. package/dist/esm/operations/containerAppsAuthConfigs.js.map +1 -1
  150. package/dist/esm/operations/containerAppsDiagnostics.js +45 -79
  151. package/dist/esm/operations/containerAppsDiagnostics.js.map +1 -1
  152. package/dist/esm/operations/containerAppsRevisionReplicas.js +1 -0
  153. package/dist/esm/operations/containerAppsRevisionReplicas.js.map +1 -1
  154. package/dist/esm/operations/containerAppsRevisions.js +23 -40
  155. package/dist/esm/operations/containerAppsRevisions.js.map +1 -1
  156. package/dist/esm/operations/containerAppsSessionPools.js +78 -97
  157. package/dist/esm/operations/containerAppsSessionPools.js.map +1 -1
  158. package/dist/esm/operations/containerAppsSourceControls.js +45 -52
  159. package/dist/esm/operations/containerAppsSourceControls.js.map +1 -1
  160. package/dist/esm/operations/daprComponents.js +23 -40
  161. package/dist/esm/operations/daprComponents.js.map +1 -1
  162. package/dist/esm/operations/javaComponents.js +56 -58
  163. package/dist/esm/operations/javaComponents.js.map +1 -1
  164. package/dist/esm/operations/jobs.js +136 -157
  165. package/dist/esm/operations/jobs.js.map +1 -1
  166. package/dist/esm/operations/jobsExecutions.js +23 -40
  167. package/dist/esm/operations/jobsExecutions.js.map +1 -1
  168. package/dist/esm/operations/managedCertificates.js +34 -46
  169. package/dist/esm/operations/managedCertificates.js.map +1 -1
  170. package/dist/esm/operations/managedEnvironmentDiagnostics.js +1 -0
  171. package/dist/esm/operations/managedEnvironmentDiagnostics.js.map +1 -1
  172. package/dist/esm/operations/managedEnvironmentUsages.js +23 -40
  173. package/dist/esm/operations/managedEnvironmentUsages.js.map +1 -1
  174. package/dist/esm/operations/managedEnvironments.js +100 -136
  175. package/dist/esm/operations/managedEnvironments.js.map +1 -1
  176. package/dist/esm/operations/managedEnvironmentsDiagnostics.js +1 -0
  177. package/dist/esm/operations/managedEnvironmentsDiagnostics.js.map +1 -1
  178. package/dist/esm/operations/managedEnvironmentsStorages.js +1 -0
  179. package/dist/esm/operations/managedEnvironmentsStorages.js.map +1 -1
  180. package/dist/esm/operations/namespaces.js +1 -0
  181. package/dist/esm/operations/namespaces.js.map +1 -1
  182. package/dist/esm/operations/operations.js +23 -40
  183. package/dist/esm/operations/operations.js.map +1 -1
  184. package/dist/esm/operations/usages.js +23 -40
  185. package/dist/esm/operations/usages.js.map +1 -1
  186. package/dist/esm/pagingHelper.js +2 -4
  187. package/dist/esm/pagingHelper.js.map +1 -1
  188. package/dist/react-native/containerAppsAPIClient.js +40 -5
  189. package/dist/react-native/containerAppsAPIClient.js.map +1 -1
  190. package/dist/react-native/lroImpl.js +7 -3
  191. package/dist/react-native/lroImpl.js.map +1 -1
  192. package/dist/react-native/models/mappers.js +318 -145
  193. package/dist/react-native/models/mappers.js.map +1 -1
  194. package/dist/react-native/operations/availableWorkloadProfiles.js +23 -40
  195. package/dist/react-native/operations/availableWorkloadProfiles.js.map +1 -1
  196. package/dist/react-native/operations/billingMeters.js +1 -0
  197. package/dist/react-native/operations/billingMeters.js.map +1 -1
  198. package/dist/react-native/operations/certificates.js +23 -40
  199. package/dist/react-native/operations/certificates.js.map +1 -1
  200. package/dist/react-native/operations/connectedEnvironments.js +67 -91
  201. package/dist/react-native/operations/connectedEnvironments.js.map +1 -1
  202. package/dist/react-native/operations/connectedEnvironmentsCertificates.js +23 -40
  203. package/dist/react-native/operations/connectedEnvironmentsCertificates.js.map +1 -1
  204. package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js +23 -40
  205. package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  206. package/dist/react-native/operations/connectedEnvironmentsStorages.js +1 -0
  207. package/dist/react-native/operations/connectedEnvironmentsStorages.js.map +1 -1
  208. package/dist/react-native/operations/containerApps.js +100 -109
  209. package/dist/react-native/operations/containerApps.js.map +1 -1
  210. package/dist/react-native/operations/containerAppsAuthConfigs.js +23 -40
  211. package/dist/react-native/operations/containerAppsAuthConfigs.js.map +1 -1
  212. package/dist/react-native/operations/containerAppsDiagnostics.js +45 -79
  213. package/dist/react-native/operations/containerAppsDiagnostics.js.map +1 -1
  214. package/dist/react-native/operations/containerAppsRevisionReplicas.js +1 -0
  215. package/dist/react-native/operations/containerAppsRevisionReplicas.js.map +1 -1
  216. package/dist/react-native/operations/containerAppsRevisions.js +23 -40
  217. package/dist/react-native/operations/containerAppsRevisions.js.map +1 -1
  218. package/dist/react-native/operations/containerAppsSessionPools.js +78 -97
  219. package/dist/react-native/operations/containerAppsSessionPools.js.map +1 -1
  220. package/dist/react-native/operations/containerAppsSourceControls.js +45 -52
  221. package/dist/react-native/operations/containerAppsSourceControls.js.map +1 -1
  222. package/dist/react-native/operations/daprComponents.js +23 -40
  223. package/dist/react-native/operations/daprComponents.js.map +1 -1
  224. package/dist/react-native/operations/javaComponents.js +56 -58
  225. package/dist/react-native/operations/javaComponents.js.map +1 -1
  226. package/dist/react-native/operations/jobs.js +136 -157
  227. package/dist/react-native/operations/jobs.js.map +1 -1
  228. package/dist/react-native/operations/jobsExecutions.js +23 -40
  229. package/dist/react-native/operations/jobsExecutions.js.map +1 -1
  230. package/dist/react-native/operations/managedCertificates.js +34 -46
  231. package/dist/react-native/operations/managedCertificates.js.map +1 -1
  232. package/dist/react-native/operations/managedEnvironmentDiagnostics.js +1 -0
  233. package/dist/react-native/operations/managedEnvironmentDiagnostics.js.map +1 -1
  234. package/dist/react-native/operations/managedEnvironmentUsages.js +23 -40
  235. package/dist/react-native/operations/managedEnvironmentUsages.js.map +1 -1
  236. package/dist/react-native/operations/managedEnvironments.js +100 -136
  237. package/dist/react-native/operations/managedEnvironments.js.map +1 -1
  238. package/dist/react-native/operations/managedEnvironmentsDiagnostics.js +1 -0
  239. package/dist/react-native/operations/managedEnvironmentsDiagnostics.js.map +1 -1
  240. package/dist/react-native/operations/managedEnvironmentsStorages.js +1 -0
  241. package/dist/react-native/operations/managedEnvironmentsStorages.js.map +1 -1
  242. package/dist/react-native/operations/namespaces.js +1 -0
  243. package/dist/react-native/operations/namespaces.js.map +1 -1
  244. package/dist/react-native/operations/operations.js +23 -40
  245. package/dist/react-native/operations/operations.js.map +1 -1
  246. package/dist/react-native/operations/usages.js +23 -40
  247. package/dist/react-native/operations/usages.js.map +1 -1
  248. package/dist/react-native/pagingHelper.js +2 -4
  249. package/dist/react-native/pagingHelper.js.map +1 -1
  250. package/package.json +2 -2
  251. package/review/arm-appcontainers-node.api.md +3476 -3476
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Class containing ContainerApps operations. */
20
20
  class ContainerAppsImpl {
21
+ client;
21
22
  /**
22
23
  * Initialize a new instance of the class ContainerApps class.
23
24
  * @param client Reference to the service client
@@ -39,52 +40,35 @@ class ContainerAppsImpl {
39
40
  return this;
40
41
  },
41
42
  byPage: (settings) => {
42
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ if (settings?.maxPageSize) {
43
44
  throw new Error("maxPageSize is not supported by this operation.");
44
45
  }
45
46
  return this.listBySubscriptionPagingPage(options, settings);
46
47
  },
47
48
  };
48
49
  }
49
- listBySubscriptionPagingPage(options, settings) {
50
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
51
- let result;
52
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
- if (!continuationToken) {
54
- result = yield tslib_1.__await(this._listBySubscription(options));
55
- let page = result.value || [];
56
- continuationToken = result.nextLink;
57
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
- yield yield tslib_1.__await(page);
59
- }
60
- while (continuationToken) {
61
- result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
62
- continuationToken = result.nextLink;
63
- let page = result.value || [];
64
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
- yield yield tslib_1.__await(page);
66
- }
67
- });
50
+ async *listBySubscriptionPagingPage(options, settings) {
51
+ let result;
52
+ let continuationToken = settings?.continuationToken;
53
+ if (!continuationToken) {
54
+ result = await this._listBySubscription(options);
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield page;
59
+ }
60
+ while (continuationToken) {
61
+ result = await this._listBySubscriptionNext(continuationToken, options);
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield page;
66
+ }
68
67
  }
69
- listBySubscriptionPagingAll(options) {
70
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
71
- var _a, e_1, _b, _c;
72
- try {
73
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
74
- _c = _f.value;
75
- _d = false;
76
- const page = _c;
77
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
78
- }
79
- }
80
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
- finally {
82
- try {
83
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
84
- }
85
- finally { if (e_1) throw e_1.error; }
86
- }
87
- });
68
+ async *listBySubscriptionPagingAll(options) {
69
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
70
+ yield* page;
71
+ }
88
72
  }
89
73
  /**
90
74
  * Get the Container Apps in a given resource group.
@@ -101,52 +85,35 @@ class ContainerAppsImpl {
101
85
  return this;
102
86
  },
103
87
  byPage: (settings) => {
104
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
88
+ if (settings?.maxPageSize) {
105
89
  throw new Error("maxPageSize is not supported by this operation.");
106
90
  }
107
91
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
108
92
  },
109
93
  };
110
94
  }
111
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
112
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
113
- let result;
114
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
115
- if (!continuationToken) {
116
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
117
- let page = result.value || [];
118
- continuationToken = result.nextLink;
119
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
120
- yield yield tslib_1.__await(page);
121
- }
122
- while (continuationToken) {
123
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
124
- continuationToken = result.nextLink;
125
- let page = result.value || [];
126
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
127
- yield yield tslib_1.__await(page);
128
- }
129
- });
95
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
96
+ let result;
97
+ let continuationToken = settings?.continuationToken;
98
+ if (!continuationToken) {
99
+ result = await this._listByResourceGroup(resourceGroupName, options);
100
+ let page = result.value || [];
101
+ continuationToken = result.nextLink;
102
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
103
+ yield page;
104
+ }
105
+ while (continuationToken) {
106
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
107
+ continuationToken = result.nextLink;
108
+ let page = result.value || [];
109
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
110
+ yield page;
111
+ }
130
112
  }
131
- listByResourceGroupPagingAll(resourceGroupName, options) {
132
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
133
- var _a, e_2, _b, _c;
134
- try {
135
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
136
- _c = _f.value;
137
- _d = false;
138
- const page = _c;
139
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
140
- }
141
- }
142
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
143
- finally {
144
- try {
145
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
146
- }
147
- finally { if (e_2) throw e_2.error; }
148
- }
149
- });
113
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
114
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
115
+ yield* page;
116
+ }
150
117
  }
151
118
  /**
152
119
  * Get the Container Apps in a given subscription.
@@ -184,14 +151,19 @@ class ContainerAppsImpl {
184
151
  return this.client.sendOperationRequest(args, spec);
185
152
  };
186
153
  const sendOperationFn = async (args, spec) => {
187
- var _a;
188
154
  let currentRawResponse = undefined;
189
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
155
+ const providedCallback = args.options?.onResponse;
190
156
  const callback = (rawResponse, flatResponse) => {
191
157
  currentRawResponse = rawResponse;
192
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
158
+ providedCallback?.(rawResponse, flatResponse);
159
+ };
160
+ const updatedArgs = {
161
+ ...args,
162
+ options: {
163
+ ...args.options,
164
+ onResponse: callback,
165
+ },
193
166
  };
194
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
195
167
  const flatResponse = await directSendOperation(updatedArgs, spec);
196
168
  return {
197
169
  flatResponse,
@@ -213,8 +185,8 @@ class ContainerAppsImpl {
213
185
  spec: createOrUpdateOperationSpec,
214
186
  });
215
187
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
216
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
217
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
188
+ restoreFrom: options?.resumeFrom,
189
+ intervalInMs: options?.updateIntervalInMs,
218
190
  resourceLocationConfig: "azure-async-operation",
219
191
  });
220
192
  await poller.poll();
@@ -242,14 +214,19 @@ class ContainerAppsImpl {
242
214
  return this.client.sendOperationRequest(args, spec);
243
215
  };
244
216
  const sendOperationFn = async (args, spec) => {
245
- var _a;
246
217
  let currentRawResponse = undefined;
247
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
218
+ const providedCallback = args.options?.onResponse;
248
219
  const callback = (rawResponse, flatResponse) => {
249
220
  currentRawResponse = rawResponse;
250
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
221
+ providedCallback?.(rawResponse, flatResponse);
222
+ };
223
+ const updatedArgs = {
224
+ ...args,
225
+ options: {
226
+ ...args.options,
227
+ onResponse: callback,
228
+ },
251
229
  };
252
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
253
230
  const flatResponse = await directSendOperation(updatedArgs, spec);
254
231
  return {
255
232
  flatResponse,
@@ -266,8 +243,8 @@ class ContainerAppsImpl {
266
243
  spec: deleteOperationSpec,
267
244
  });
268
245
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
269
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
270
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
246
+ restoreFrom: options?.resumeFrom,
247
+ intervalInMs: options?.updateIntervalInMs,
271
248
  resourceLocationConfig: "location",
272
249
  });
273
250
  await poller.poll();
@@ -295,14 +272,19 @@ class ContainerAppsImpl {
295
272
  return this.client.sendOperationRequest(args, spec);
296
273
  };
297
274
  const sendOperationFn = async (args, spec) => {
298
- var _a;
299
275
  let currentRawResponse = undefined;
300
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
276
+ const providedCallback = args.options?.onResponse;
301
277
  const callback = (rawResponse, flatResponse) => {
302
278
  currentRawResponse = rawResponse;
303
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
279
+ providedCallback?.(rawResponse, flatResponse);
280
+ };
281
+ const updatedArgs = {
282
+ ...args,
283
+ options: {
284
+ ...args.options,
285
+ onResponse: callback,
286
+ },
304
287
  };
305
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
306
288
  const flatResponse = await directSendOperation(updatedArgs, spec);
307
289
  return {
308
290
  flatResponse,
@@ -324,8 +306,8 @@ class ContainerAppsImpl {
324
306
  spec: updateOperationSpec,
325
307
  });
326
308
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
327
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
328
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
309
+ restoreFrom: options?.resumeFrom,
310
+ intervalInMs: options?.updateIntervalInMs,
329
311
  });
330
312
  await poller.poll();
331
313
  return poller;
@@ -379,14 +361,19 @@ class ContainerAppsImpl {
379
361
  return this.client.sendOperationRequest(args, spec);
380
362
  };
381
363
  const sendOperationFn = async (args, spec) => {
382
- var _a;
383
364
  let currentRawResponse = undefined;
384
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
365
+ const providedCallback = args.options?.onResponse;
385
366
  const callback = (rawResponse, flatResponse) => {
386
367
  currentRawResponse = rawResponse;
387
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
368
+ providedCallback?.(rawResponse, flatResponse);
369
+ };
370
+ const updatedArgs = {
371
+ ...args,
372
+ options: {
373
+ ...args.options,
374
+ onResponse: callback,
375
+ },
388
376
  };
389
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
390
377
  const flatResponse = await directSendOperation(updatedArgs, spec);
391
378
  return {
392
379
  flatResponse,
@@ -403,8 +390,8 @@ class ContainerAppsImpl {
403
390
  spec: startOperationSpec,
404
391
  });
405
392
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
406
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
407
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
393
+ restoreFrom: options?.resumeFrom,
394
+ intervalInMs: options?.updateIntervalInMs,
408
395
  resourceLocationConfig: "location",
409
396
  });
410
397
  await poller.poll();
@@ -431,14 +418,19 @@ class ContainerAppsImpl {
431
418
  return this.client.sendOperationRequest(args, spec);
432
419
  };
433
420
  const sendOperationFn = async (args, spec) => {
434
- var _a;
435
421
  let currentRawResponse = undefined;
436
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
422
+ const providedCallback = args.options?.onResponse;
437
423
  const callback = (rawResponse, flatResponse) => {
438
424
  currentRawResponse = rawResponse;
439
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
425
+ providedCallback?.(rawResponse, flatResponse);
426
+ };
427
+ const updatedArgs = {
428
+ ...args,
429
+ options: {
430
+ ...args.options,
431
+ onResponse: callback,
432
+ },
440
433
  };
441
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
442
434
  const flatResponse = await directSendOperation(updatedArgs, spec);
443
435
  return {
444
436
  flatResponse,
@@ -455,8 +447,8 @@ class ContainerAppsImpl {
455
447
  spec: stopOperationSpec,
456
448
  });
457
449
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
458
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
459
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
450
+ restoreFrom: options?.resumeFrom,
451
+ intervalInMs: options?.updateIntervalInMs,
460
452
  resourceLocationConfig: "location",
461
453
  });
462
454
  await poller.poll();
@@ -1 +1 @@
1
- {"version":3,"file":"containerApps.js","sourceRoot":"","sources":["../../../src/operations/containerApps.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA8B9C,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAuD;QAEvD,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,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBA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ACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,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,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ContainerApps } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ContainerApp,\n ContainerAppsListBySubscriptionNextOptionalParams,\n ContainerAppsListBySubscriptionOptionalParams,\n ContainerAppsListBySubscriptionResponse,\n ContainerAppsListByResourceGroupNextOptionalParams,\n ContainerAppsListByResourceGroupOptionalParams,\n ContainerAppsListByResourceGroupResponse,\n ContainerAppsGetOptionalParams,\n ContainerAppsGetResponse,\n ContainerAppsCreateOrUpdateOptionalParams,\n ContainerAppsCreateOrUpdateResponse,\n ContainerAppsDeleteOptionalParams,\n ContainerAppsUpdateOptionalParams,\n ContainerAppsUpdateResponse,\n ContainerAppsListCustomHostNameAnalysisOptionalParams,\n ContainerAppsListCustomHostNameAnalysisResponse,\n ContainerAppsListSecretsOptionalParams,\n ContainerAppsListSecretsResponse,\n ContainerAppsGetAuthTokenOptionalParams,\n ContainerAppsGetAuthTokenResponse,\n ContainerAppsStartOptionalParams,\n ContainerAppsStartResponse,\n ContainerAppsStopOptionalParams,\n ContainerAppsStopResponse,\n ContainerAppsListBySubscriptionNextResponse,\n ContainerAppsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerApps operations. */\nexport class ContainerAppsImpl implements ContainerApps {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerApps class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Container Apps in a given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ContainerApp> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerApp[]> {\n let result: ContainerAppsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ContainerApp> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the Container Apps in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ContainerApp> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerApp[]> {\n let result: ContainerAppsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ContainerApp> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Container Apps in a given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n ): Promise<ContainerAppsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get the Container Apps in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n ): Promise<ContainerAppsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsGetOptionalParams,\n ): Promise<ContainerAppsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties used to create a container app\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsCreateOrUpdateResponse>,\n ContainerAppsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsCreateOrUpdateResponse,\n OperationState<ContainerAppsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties used to create a container app\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsCreateOrUpdateOptionalParams,\n ): Promise<ContainerAppsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, containerAppName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n containerAppName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a Container App using JSON Merge Patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties of a Container App that need to be updated\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsUpdateResponse>,\n ContainerAppsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsUpdateResponse,\n OperationState<ContainerAppsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Patches a Container App using JSON Merge Patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties of a Container App that need to be updated\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsUpdateOptionalParams,\n ): Promise<ContainerAppsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Analyzes a custom hostname for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n listCustomHostNameAnalysis(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsListCustomHostNameAnalysisOptionalParams,\n ): Promise<ContainerAppsListCustomHostNameAnalysisResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listCustomHostNameAnalysisOperationSpec,\n );\n }\n\n /**\n * List secrets for a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsListSecretsOptionalParams,\n ): Promise<ContainerAppsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * Get auth token for a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n getAuthToken(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsGetAuthTokenOptionalParams,\n ): Promise<ContainerAppsGetAuthTokenResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n getAuthTokenOperationSpec,\n );\n }\n\n /**\n * Start a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsStartResponse>,\n ContainerAppsStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, containerAppName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsStartResponse,\n OperationState<ContainerAppsStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Start a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStartOptionalParams,\n ): Promise<ContainerAppsStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n containerAppName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stop a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStopOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsStopResponse>,\n ContainerAppsStopResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsStopResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, containerAppName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsStopResponse,\n OperationState<ContainerAppsStopResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stop a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStopOptionalParams,\n ): Promise<ContainerAppsStopResponse> {\n const poller = await this.beginStop(\n resourceGroupName,\n containerAppName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ContainerAppsListBySubscriptionNextOptionalParams,\n ): Promise<ContainerAppsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ContainerAppsListByResourceGroupNextOptionalParams,\n ): Promise<ContainerAppsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.App/containerApps\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 404: {\n isError: true,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.containerAppEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.containerAppEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listCustomHostNameAnalysisOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listCustomHostNameAnalysis\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomHostnameAnalysisResult,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.customHostname],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAuthTokenOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/getAuthtoken\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppAuthToken,\n },\n 404: {\n isError: true,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"containerApps.js","sourceRoot":"","sources":["../../../src/operations/containerApps.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA8B9C,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAAiB;IACX,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAuD;QAEvD,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,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,4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,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,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,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,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ContainerApps } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ContainerApp,\n ContainerAppsListBySubscriptionNextOptionalParams,\n ContainerAppsListBySubscriptionOptionalParams,\n ContainerAppsListBySubscriptionResponse,\n ContainerAppsListByResourceGroupNextOptionalParams,\n ContainerAppsListByResourceGroupOptionalParams,\n ContainerAppsListByResourceGroupResponse,\n ContainerAppsGetOptionalParams,\n ContainerAppsGetResponse,\n ContainerAppsCreateOrUpdateOptionalParams,\n ContainerAppsCreateOrUpdateResponse,\n ContainerAppsDeleteOptionalParams,\n ContainerAppsUpdateOptionalParams,\n ContainerAppsUpdateResponse,\n ContainerAppsListCustomHostNameAnalysisOptionalParams,\n ContainerAppsListCustomHostNameAnalysisResponse,\n ContainerAppsListSecretsOptionalParams,\n ContainerAppsListSecretsResponse,\n ContainerAppsGetAuthTokenOptionalParams,\n ContainerAppsGetAuthTokenResponse,\n ContainerAppsStartOptionalParams,\n ContainerAppsStartResponse,\n ContainerAppsStopOptionalParams,\n ContainerAppsStopResponse,\n ContainerAppsListBySubscriptionNextResponse,\n ContainerAppsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerApps operations. */\nexport class ContainerAppsImpl implements ContainerApps {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerApps class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Container Apps in a given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ContainerApp> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerApp[]> {\n let result: ContainerAppsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ContainerApp> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the Container Apps in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ContainerApp> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerApp[]> {\n let result: ContainerAppsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ContainerApp> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Container Apps in a given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ContainerAppsListBySubscriptionOptionalParams,\n ): Promise<ContainerAppsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get the Container Apps in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ContainerAppsListByResourceGroupOptionalParams,\n ): Promise<ContainerAppsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsGetOptionalParams,\n ): Promise<ContainerAppsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties used to create a container app\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsCreateOrUpdateResponse>,\n ContainerAppsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsCreateOrUpdateResponse,\n OperationState<ContainerAppsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties used to create a container app\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsCreateOrUpdateOptionalParams,\n ): Promise<ContainerAppsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, containerAppName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n containerAppName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a Container App using JSON Merge Patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties of a Container App that need to be updated\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsUpdateResponse>,\n ContainerAppsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsUpdateResponse,\n OperationState<ContainerAppsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Patches a Container App using JSON Merge Patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param containerAppEnvelope Properties of a Container App that need to be updated\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n containerAppName: string,\n containerAppEnvelope: ContainerApp,\n options?: ContainerAppsUpdateOptionalParams,\n ): Promise<ContainerAppsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n containerAppName,\n containerAppEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Analyzes a custom hostname for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n listCustomHostNameAnalysis(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsListCustomHostNameAnalysisOptionalParams,\n ): Promise<ContainerAppsListCustomHostNameAnalysisResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listCustomHostNameAnalysisOperationSpec,\n );\n }\n\n /**\n * List secrets for a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsListSecretsOptionalParams,\n ): Promise<ContainerAppsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * Get auth token for a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n getAuthToken(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsGetAuthTokenOptionalParams,\n ): Promise<ContainerAppsGetAuthTokenResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n getAuthTokenOperationSpec,\n );\n }\n\n /**\n * Start a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsStartResponse>,\n ContainerAppsStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, containerAppName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsStartResponse,\n OperationState<ContainerAppsStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Start a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStartOptionalParams,\n ): Promise<ContainerAppsStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n containerAppName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stop a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStopOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsStopResponse>,\n ContainerAppsStopResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsStopResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, containerAppName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsStopResponse,\n OperationState<ContainerAppsStopResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stop a container app\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsStopOptionalParams,\n ): Promise<ContainerAppsStopResponse> {\n const poller = await this.beginStop(\n resourceGroupName,\n containerAppName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ContainerAppsListBySubscriptionNextOptionalParams,\n ): Promise<ContainerAppsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ContainerAppsListByResourceGroupNextOptionalParams,\n ): Promise<ContainerAppsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.App/containerApps\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 404: {\n isError: true,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.containerAppEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.containerAppEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listCustomHostNameAnalysisOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listCustomHostNameAnalysis\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomHostnameAnalysisResult,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.customHostname],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAuthTokenOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/getAuthtoken\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppAuthToken,\n },\n 404: {\n isError: true,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerApp,\n },\n 201: {\n bodyMapper: Mappers.ContainerApp,\n },\n 202: {\n bodyMapper: Mappers.ContainerApp,\n },\n 204: {\n bodyMapper: Mappers.ContainerApp,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerAppCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}