@azure/arm-appcontainers 2.2.0-alpha.20250421.1 → 2.2.0-alpha.20250422.2

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 (757) hide show
  1. package/CHANGELOG.md +104 -9
  2. package/LICENSE +1 -1
  3. package/README.md +4 -8
  4. package/dist/browser/containerAppsAPIClient.d.ts +2 -17
  5. package/dist/browser/containerAppsAPIClient.d.ts.map +1 -1
  6. package/dist/browser/containerAppsAPIClient.js +4 -23
  7. package/dist/browser/containerAppsAPIClient.js.map +1 -1
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +7 -0
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +261 -2063
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +33 -261
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +10 -107
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +1384 -4113
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +4 -31
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +28 -261
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/certificates.js +2 -2
  24. package/dist/browser/operations/certificates.js.map +1 -1
  25. package/dist/browser/operations/connectedEnvironments.js +2 -2
  26. package/dist/browser/operations/connectedEnvironments.js.map +1 -1
  27. package/dist/browser/operations/connectedEnvironmentsCertificates.js +2 -2
  28. package/dist/browser/operations/connectedEnvironmentsCertificates.js.map +1 -1
  29. package/dist/browser/operations/connectedEnvironmentsDaprComponents.js +1 -1
  30. package/dist/browser/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  31. package/dist/browser/operations/connectedEnvironmentsStorages.js +1 -1
  32. package/dist/browser/operations/connectedEnvironmentsStorages.js.map +1 -1
  33. package/dist/browser/operations/containerApps.js +2 -2
  34. package/dist/browser/operations/containerApps.js.map +1 -1
  35. package/dist/browser/operations/containerAppsAuthConfigs.js +2 -2
  36. package/dist/browser/operations/containerAppsAuthConfigs.js.map +1 -1
  37. package/dist/browser/operations/containerAppsDiagnostics.js +2 -2
  38. package/dist/browser/operations/containerAppsDiagnostics.js.map +1 -1
  39. package/dist/browser/operations/containerAppsRevisions.js +1 -1
  40. package/dist/browser/operations/containerAppsRevisions.js.map +1 -1
  41. package/dist/browser/operations/containerAppsSessionPools.js +2 -2
  42. package/dist/browser/operations/containerAppsSessionPools.js.map +1 -1
  43. package/dist/browser/operations/containerAppsSourceControls.js +4 -12
  44. package/dist/browser/operations/containerAppsSourceControls.js.map +1 -1
  45. package/dist/browser/operations/daprComponents.js +1 -1
  46. package/dist/browser/operations/daprComponents.js.map +1 -1
  47. package/dist/browser/operations/index.d.ts +0 -15
  48. package/dist/browser/operations/index.d.ts.map +1 -1
  49. package/dist/browser/operations/index.js +0 -15
  50. package/dist/browser/operations/index.js.map +1 -1
  51. package/dist/browser/operations/javaComponents.js +6 -6
  52. package/dist/browser/operations/javaComponents.js.map +1 -1
  53. package/dist/browser/operations/jobs.d.ts +1 -29
  54. package/dist/browser/operations/jobs.d.ts.map +1 -1
  55. package/dist/browser/operations/jobs.js +3 -167
  56. package/dist/browser/operations/jobs.js.map +1 -1
  57. package/dist/browser/operations/managedCertificates.js +2 -2
  58. package/dist/browser/operations/managedCertificates.js.map +1 -1
  59. package/dist/browser/operations/managedEnvironments.js +2 -2
  60. package/dist/browser/operations/managedEnvironments.js.map +1 -1
  61. package/dist/browser/operations/managedEnvironmentsStorages.js +1 -1
  62. package/dist/browser/operations/managedEnvironmentsStorages.js.map +1 -1
  63. package/dist/browser/operations/namespaces.js +1 -1
  64. package/dist/browser/operations/namespaces.js.map +1 -1
  65. package/dist/browser/operationsInterfaces/index.d.ts +0 -15
  66. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  67. package/dist/browser/operationsInterfaces/index.js +0 -15
  68. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  69. package/dist/browser/operationsInterfaces/jobs.d.ts +1 -29
  70. package/dist/browser/operationsInterfaces/jobs.d.ts.map +1 -1
  71. package/dist/browser/operationsInterfaces/jobs.js.map +1 -1
  72. package/dist/commonjs/containerAppsAPIClient.d.ts +2 -17
  73. package/dist/commonjs/containerAppsAPIClient.d.ts.map +1 -1
  74. package/dist/commonjs/containerAppsAPIClient.js +3 -22
  75. package/dist/commonjs/containerAppsAPIClient.js.map +1 -1
  76. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  77. package/dist/commonjs/lroImpl.js +7 -0
  78. package/dist/commonjs/lroImpl.js.map +1 -1
  79. package/dist/commonjs/models/index.d.ts +261 -2063
  80. package/dist/commonjs/models/index.d.ts.map +1 -1
  81. package/dist/commonjs/models/index.js +34 -263
  82. package/dist/commonjs/models/index.js.map +1 -1
  83. package/dist/commonjs/models/mappers.d.ts +10 -107
  84. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  85. package/dist/commonjs/models/mappers.js +1389 -4120
  86. package/dist/commonjs/models/mappers.js.map +1 -1
  87. package/dist/commonjs/models/parameters.d.ts +4 -31
  88. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  89. package/dist/commonjs/models/parameters.js +29 -262
  90. package/dist/commonjs/models/parameters.js.map +1 -1
  91. package/dist/commonjs/operations/certificates.js +2 -2
  92. package/dist/commonjs/operations/certificates.js.map +1 -1
  93. package/dist/commonjs/operations/connectedEnvironments.js +2 -2
  94. package/dist/commonjs/operations/connectedEnvironments.js.map +1 -1
  95. package/dist/commonjs/operations/connectedEnvironmentsCertificates.js +2 -2
  96. package/dist/commonjs/operations/connectedEnvironmentsCertificates.js.map +1 -1
  97. package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js +1 -1
  98. package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  99. package/dist/commonjs/operations/connectedEnvironmentsStorages.js +1 -1
  100. package/dist/commonjs/operations/connectedEnvironmentsStorages.js.map +1 -1
  101. package/dist/commonjs/operations/containerApps.js +2 -2
  102. package/dist/commonjs/operations/containerApps.js.map +1 -1
  103. package/dist/commonjs/operations/containerAppsAuthConfigs.js +2 -2
  104. package/dist/commonjs/operations/containerAppsAuthConfigs.js.map +1 -1
  105. package/dist/commonjs/operations/containerAppsDiagnostics.js +2 -2
  106. package/dist/commonjs/operations/containerAppsDiagnostics.js.map +1 -1
  107. package/dist/commonjs/operations/containerAppsRevisions.js +1 -1
  108. package/dist/commonjs/operations/containerAppsRevisions.js.map +1 -1
  109. package/dist/commonjs/operations/containerAppsSessionPools.js +2 -2
  110. package/dist/commonjs/operations/containerAppsSessionPools.js.map +1 -1
  111. package/dist/commonjs/operations/containerAppsSourceControls.js +4 -12
  112. package/dist/commonjs/operations/containerAppsSourceControls.js.map +1 -1
  113. package/dist/commonjs/operations/daprComponents.js +1 -1
  114. package/dist/commonjs/operations/daprComponents.js.map +1 -1
  115. package/dist/commonjs/operations/index.d.ts +0 -15
  116. package/dist/commonjs/operations/index.d.ts.map +1 -1
  117. package/dist/commonjs/operations/index.js +0 -15
  118. package/dist/commonjs/operations/index.js.map +1 -1
  119. package/dist/commonjs/operations/javaComponents.js +6 -6
  120. package/dist/commonjs/operations/javaComponents.js.map +1 -1
  121. package/dist/commonjs/operations/jobs.d.ts +1 -29
  122. package/dist/commonjs/operations/jobs.d.ts.map +1 -1
  123. package/dist/commonjs/operations/jobs.js +3 -167
  124. package/dist/commonjs/operations/jobs.js.map +1 -1
  125. package/dist/commonjs/operations/managedCertificates.js +2 -2
  126. package/dist/commonjs/operations/managedCertificates.js.map +1 -1
  127. package/dist/commonjs/operations/managedEnvironments.js +2 -2
  128. package/dist/commonjs/operations/managedEnvironments.js.map +1 -1
  129. package/dist/commonjs/operations/managedEnvironmentsStorages.js +1 -1
  130. package/dist/commonjs/operations/managedEnvironmentsStorages.js.map +1 -1
  131. package/dist/commonjs/operations/namespaces.js +1 -1
  132. package/dist/commonjs/operations/namespaces.js.map +1 -1
  133. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -15
  134. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  135. package/dist/commonjs/operationsInterfaces/index.js +0 -15
  136. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  137. package/dist/commonjs/operationsInterfaces/jobs.d.ts +1 -29
  138. package/dist/commonjs/operationsInterfaces/jobs.d.ts.map +1 -1
  139. package/dist/commonjs/operationsInterfaces/jobs.js.map +1 -1
  140. package/dist/esm/containerAppsAPIClient.d.ts +2 -17
  141. package/dist/esm/containerAppsAPIClient.d.ts.map +1 -1
  142. package/dist/esm/containerAppsAPIClient.js +4 -23
  143. package/dist/esm/containerAppsAPIClient.js.map +1 -1
  144. package/dist/esm/lroImpl.d.ts.map +1 -1
  145. package/dist/esm/lroImpl.js +7 -0
  146. package/dist/esm/lroImpl.js.map +1 -1
  147. package/dist/esm/models/index.d.ts +261 -2063
  148. package/dist/esm/models/index.d.ts.map +1 -1
  149. package/dist/esm/models/index.js +33 -261
  150. package/dist/esm/models/index.js.map +1 -1
  151. package/dist/esm/models/mappers.d.ts +10 -107
  152. package/dist/esm/models/mappers.d.ts.map +1 -1
  153. package/dist/esm/models/mappers.js +1384 -4113
  154. package/dist/esm/models/mappers.js.map +1 -1
  155. package/dist/esm/models/parameters.d.ts +4 -31
  156. package/dist/esm/models/parameters.d.ts.map +1 -1
  157. package/dist/esm/models/parameters.js +28 -261
  158. package/dist/esm/models/parameters.js.map +1 -1
  159. package/dist/esm/operations/certificates.js +2 -2
  160. package/dist/esm/operations/certificates.js.map +1 -1
  161. package/dist/esm/operations/connectedEnvironments.js +2 -2
  162. package/dist/esm/operations/connectedEnvironments.js.map +1 -1
  163. package/dist/esm/operations/connectedEnvironmentsCertificates.js +2 -2
  164. package/dist/esm/operations/connectedEnvironmentsCertificates.js.map +1 -1
  165. package/dist/esm/operations/connectedEnvironmentsDaprComponents.js +1 -1
  166. package/dist/esm/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  167. package/dist/esm/operations/connectedEnvironmentsStorages.js +1 -1
  168. package/dist/esm/operations/connectedEnvironmentsStorages.js.map +1 -1
  169. package/dist/esm/operations/containerApps.js +2 -2
  170. package/dist/esm/operations/containerApps.js.map +1 -1
  171. package/dist/esm/operations/containerAppsAuthConfigs.js +2 -2
  172. package/dist/esm/operations/containerAppsAuthConfigs.js.map +1 -1
  173. package/dist/esm/operations/containerAppsDiagnostics.js +2 -2
  174. package/dist/esm/operations/containerAppsDiagnostics.js.map +1 -1
  175. package/dist/esm/operations/containerAppsRevisions.js +1 -1
  176. package/dist/esm/operations/containerAppsRevisions.js.map +1 -1
  177. package/dist/esm/operations/containerAppsSessionPools.js +2 -2
  178. package/dist/esm/operations/containerAppsSessionPools.js.map +1 -1
  179. package/dist/esm/operations/containerAppsSourceControls.js +4 -12
  180. package/dist/esm/operations/containerAppsSourceControls.js.map +1 -1
  181. package/dist/esm/operations/daprComponents.js +1 -1
  182. package/dist/esm/operations/daprComponents.js.map +1 -1
  183. package/dist/esm/operations/index.d.ts +0 -15
  184. package/dist/esm/operations/index.d.ts.map +1 -1
  185. package/dist/esm/operations/index.js +0 -15
  186. package/dist/esm/operations/index.js.map +1 -1
  187. package/dist/esm/operations/javaComponents.js +6 -6
  188. package/dist/esm/operations/javaComponents.js.map +1 -1
  189. package/dist/esm/operations/jobs.d.ts +1 -29
  190. package/dist/esm/operations/jobs.d.ts.map +1 -1
  191. package/dist/esm/operations/jobs.js +3 -167
  192. package/dist/esm/operations/jobs.js.map +1 -1
  193. package/dist/esm/operations/managedCertificates.js +2 -2
  194. package/dist/esm/operations/managedCertificates.js.map +1 -1
  195. package/dist/esm/operations/managedEnvironments.js +2 -2
  196. package/dist/esm/operations/managedEnvironments.js.map +1 -1
  197. package/dist/esm/operations/managedEnvironmentsStorages.js +1 -1
  198. package/dist/esm/operations/managedEnvironmentsStorages.js.map +1 -1
  199. package/dist/esm/operations/namespaces.js +1 -1
  200. package/dist/esm/operations/namespaces.js.map +1 -1
  201. package/dist/esm/operationsInterfaces/index.d.ts +0 -15
  202. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  203. package/dist/esm/operationsInterfaces/index.js +0 -15
  204. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  205. package/dist/esm/operationsInterfaces/jobs.d.ts +1 -29
  206. package/dist/esm/operationsInterfaces/jobs.d.ts.map +1 -1
  207. package/dist/esm/operationsInterfaces/jobs.js.map +1 -1
  208. package/dist/react-native/containerAppsAPIClient.d.ts +2 -17
  209. package/dist/react-native/containerAppsAPIClient.d.ts.map +1 -1
  210. package/dist/react-native/containerAppsAPIClient.js +4 -23
  211. package/dist/react-native/containerAppsAPIClient.js.map +1 -1
  212. package/dist/react-native/lroImpl.d.ts.map +1 -1
  213. package/dist/react-native/lroImpl.js +7 -0
  214. package/dist/react-native/lroImpl.js.map +1 -1
  215. package/dist/react-native/models/index.d.ts +261 -2063
  216. package/dist/react-native/models/index.d.ts.map +1 -1
  217. package/dist/react-native/models/index.js +33 -261
  218. package/dist/react-native/models/index.js.map +1 -1
  219. package/dist/react-native/models/mappers.d.ts +10 -107
  220. package/dist/react-native/models/mappers.d.ts.map +1 -1
  221. package/dist/react-native/models/mappers.js +1384 -4113
  222. package/dist/react-native/models/mappers.js.map +1 -1
  223. package/dist/react-native/models/parameters.d.ts +4 -31
  224. package/dist/react-native/models/parameters.d.ts.map +1 -1
  225. package/dist/react-native/models/parameters.js +28 -261
  226. package/dist/react-native/models/parameters.js.map +1 -1
  227. package/dist/react-native/operations/certificates.js +2 -2
  228. package/dist/react-native/operations/certificates.js.map +1 -1
  229. package/dist/react-native/operations/connectedEnvironments.js +2 -2
  230. package/dist/react-native/operations/connectedEnvironments.js.map +1 -1
  231. package/dist/react-native/operations/connectedEnvironmentsCertificates.js +2 -2
  232. package/dist/react-native/operations/connectedEnvironmentsCertificates.js.map +1 -1
  233. package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js +1 -1
  234. package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
  235. package/dist/react-native/operations/connectedEnvironmentsStorages.js +1 -1
  236. package/dist/react-native/operations/connectedEnvironmentsStorages.js.map +1 -1
  237. package/dist/react-native/operations/containerApps.js +2 -2
  238. package/dist/react-native/operations/containerApps.js.map +1 -1
  239. package/dist/react-native/operations/containerAppsAuthConfigs.js +2 -2
  240. package/dist/react-native/operations/containerAppsAuthConfigs.js.map +1 -1
  241. package/dist/react-native/operations/containerAppsDiagnostics.js +2 -2
  242. package/dist/react-native/operations/containerAppsDiagnostics.js.map +1 -1
  243. package/dist/react-native/operations/containerAppsRevisions.js +1 -1
  244. package/dist/react-native/operations/containerAppsRevisions.js.map +1 -1
  245. package/dist/react-native/operations/containerAppsSessionPools.js +2 -2
  246. package/dist/react-native/operations/containerAppsSessionPools.js.map +1 -1
  247. package/dist/react-native/operations/containerAppsSourceControls.js +4 -12
  248. package/dist/react-native/operations/containerAppsSourceControls.js.map +1 -1
  249. package/dist/react-native/operations/daprComponents.js +1 -1
  250. package/dist/react-native/operations/daprComponents.js.map +1 -1
  251. package/dist/react-native/operations/index.d.ts +0 -15
  252. package/dist/react-native/operations/index.d.ts.map +1 -1
  253. package/dist/react-native/operations/index.js +0 -15
  254. package/dist/react-native/operations/index.js.map +1 -1
  255. package/dist/react-native/operations/javaComponents.js +6 -6
  256. package/dist/react-native/operations/javaComponents.js.map +1 -1
  257. package/dist/react-native/operations/jobs.d.ts +1 -29
  258. package/dist/react-native/operations/jobs.d.ts.map +1 -1
  259. package/dist/react-native/operations/jobs.js +3 -167
  260. package/dist/react-native/operations/jobs.js.map +1 -1
  261. package/dist/react-native/operations/managedCertificates.js +2 -2
  262. package/dist/react-native/operations/managedCertificates.js.map +1 -1
  263. package/dist/react-native/operations/managedEnvironments.js +2 -2
  264. package/dist/react-native/operations/managedEnvironments.js.map +1 -1
  265. package/dist/react-native/operations/managedEnvironmentsStorages.js +1 -1
  266. package/dist/react-native/operations/managedEnvironmentsStorages.js.map +1 -1
  267. package/dist/react-native/operations/namespaces.js +1 -1
  268. package/dist/react-native/operations/namespaces.js.map +1 -1
  269. package/dist/react-native/operationsInterfaces/index.d.ts +0 -15
  270. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  271. package/dist/react-native/operationsInterfaces/index.js +0 -15
  272. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  273. package/dist/react-native/operationsInterfaces/jobs.d.ts +1 -29
  274. package/dist/react-native/operationsInterfaces/jobs.d.ts.map +1 -1
  275. package/dist/react-native/operationsInterfaces/jobs.js.map +1 -1
  276. package/package.json +11 -9
  277. package/review/arm-appcontainers.api.md +99 -1626
  278. package/dist/browser/operations/appResiliencyOperations.d.ts +0 -72
  279. package/dist/browser/operations/appResiliencyOperations.d.ts.map +0 -1
  280. package/dist/browser/operations/appResiliencyOperations.js +0 -286
  281. package/dist/browser/operations/appResiliencyOperations.js.map +0 -1
  282. package/dist/browser/operations/buildAuthToken.d.ts +0 -21
  283. package/dist/browser/operations/buildAuthToken.d.ts.map +0 -1
  284. package/dist/browser/operations/buildAuthToken.js +0 -55
  285. package/dist/browser/operations/buildAuthToken.js.map +0 -1
  286. package/dist/browser/operations/builders.d.ts +0 -107
  287. package/dist/browser/operations/builders.d.ts.map +0 -1
  288. package/dist/browser/operations/builders.js +0 -542
  289. package/dist/browser/operations/builders.js.map +0 -1
  290. package/dist/browser/operations/builds.d.ts +0 -56
  291. package/dist/browser/operations/builds.d.ts.map +0 -1
  292. package/dist/browser/operations/builds.js +0 -237
  293. package/dist/browser/operations/builds.js.map +0 -1
  294. package/dist/browser/operations/buildsByBuilderResource.d.ts +0 -38
  295. package/dist/browser/operations/buildsByBuilderResource.d.ts.map +0 -1
  296. package/dist/browser/operations/buildsByBuilderResource.js +0 -150
  297. package/dist/browser/operations/buildsByBuilderResource.js.map +0 -1
  298. package/dist/browser/operations/containerAppsBuilds.d.ts +0 -38
  299. package/dist/browser/operations/containerAppsBuilds.d.ts.map +0 -1
  300. package/dist/browser/operations/containerAppsBuilds.js +0 -142
  301. package/dist/browser/operations/containerAppsBuilds.js.map +0 -1
  302. package/dist/browser/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
  303. package/dist/browser/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  304. package/dist/browser/operations/containerAppsBuildsByContainerApp.js +0 -150
  305. package/dist/browser/operations/containerAppsBuildsByContainerApp.js.map +0 -1
  306. package/dist/browser/operations/containerAppsPatches.d.ts +0 -97
  307. package/dist/browser/operations/containerAppsPatches.d.ts.map +0 -1
  308. package/dist/browser/operations/containerAppsPatches.js +0 -449
  309. package/dist/browser/operations/containerAppsPatches.js.map +0 -1
  310. package/dist/browser/operations/daprComponentResiliencyPolicies.d.ts +0 -70
  311. package/dist/browser/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
  312. package/dist/browser/operations/daprComponentResiliencyPolicies.js +0 -270
  313. package/dist/browser/operations/daprComponentResiliencyPolicies.js.map +0 -1
  314. package/dist/browser/operations/daprSubscriptions.d.ts +0 -63
  315. package/dist/browser/operations/daprSubscriptions.d.ts.map +0 -1
  316. package/dist/browser/operations/daprSubscriptions.js +0 -257
  317. package/dist/browser/operations/daprSubscriptions.js.map +0 -1
  318. package/dist/browser/operations/dotNetComponents.d.ts +0 -99
  319. package/dist/browser/operations/dotNetComponents.d.ts.map +0 -1
  320. package/dist/browser/operations/dotNetComponents.js +0 -458
  321. package/dist/browser/operations/dotNetComponents.js.map +0 -1
  322. package/dist/browser/operations/functionsExtension.d.ts +0 -22
  323. package/dist/browser/operations/functionsExtension.d.ts.map +0 -1
  324. package/dist/browser/operations/functionsExtension.js +0 -63
  325. package/dist/browser/operations/functionsExtension.js.map +0 -1
  326. package/dist/browser/operations/logicApps.d.ts +0 -101
  327. package/dist/browser/operations/logicApps.d.ts.map +0 -1
  328. package/dist/browser/operations/logicApps.js +0 -407
  329. package/dist/browser/operations/logicApps.js.map +0 -1
  330. package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
  331. package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  332. package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.js +0 -377
  333. package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  334. package/dist/browser/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
  335. package/dist/browser/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  336. package/dist/browser/operations/managedEnvironmentPrivateLinkResources.js +0 -150
  337. package/dist/browser/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
  338. package/dist/browser/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
  339. package/dist/browser/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
  340. package/dist/browser/operationsInterfaces/appResiliencyOperations.js +0 -9
  341. package/dist/browser/operationsInterfaces/appResiliencyOperations.js.map +0 -1
  342. package/dist/browser/operationsInterfaces/buildAuthToken.d.ts +0 -13
  343. package/dist/browser/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
  344. package/dist/browser/operationsInterfaces/buildAuthToken.js +0 -9
  345. package/dist/browser/operationsInterfaces/buildAuthToken.js.map +0 -1
  346. package/dist/browser/operationsInterfaces/builders.d.ts +0 -71
  347. package/dist/browser/operationsInterfaces/builders.d.ts.map +0 -1
  348. package/dist/browser/operationsInterfaces/builders.js +0 -9
  349. package/dist/browser/operationsInterfaces/builders.js.map +0 -1
  350. package/dist/browser/operationsInterfaces/builds.d.ts +0 -48
  351. package/dist/browser/operationsInterfaces/builds.d.ts.map +0 -1
  352. package/dist/browser/operationsInterfaces/builds.js +0 -9
  353. package/dist/browser/operationsInterfaces/builds.js.map +0 -1
  354. package/dist/browser/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
  355. package/dist/browser/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
  356. package/dist/browser/operationsInterfaces/buildsByBuilderResource.js +0 -9
  357. package/dist/browser/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
  358. package/dist/browser/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
  359. package/dist/browser/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
  360. package/dist/browser/operationsInterfaces/containerAppsBuilds.js +0 -9
  361. package/dist/browser/operationsInterfaces/containerAppsBuilds.js.map +0 -1
  362. package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
  363. package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  364. package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -9
  365. package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
  366. package/dist/browser/operationsInterfaces/containerAppsPatches.d.ts +0 -72
  367. package/dist/browser/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
  368. package/dist/browser/operationsInterfaces/containerAppsPatches.js +0 -9
  369. package/dist/browser/operationsInterfaces/containerAppsPatches.js.map +0 -1
  370. package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
  371. package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
  372. package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -9
  373. package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
  374. package/dist/browser/operationsInterfaces/daprSubscriptions.d.ts +0 -38
  375. package/dist/browser/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
  376. package/dist/browser/operationsInterfaces/daprSubscriptions.js +0 -9
  377. package/dist/browser/operationsInterfaces/daprSubscriptions.js.map +0 -1
  378. package/dist/browser/operationsInterfaces/dotNetComponents.d.ts +0 -74
  379. package/dist/browser/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
  380. package/dist/browser/operationsInterfaces/dotNetComponents.js +0 -9
  381. package/dist/browser/operationsInterfaces/dotNetComponents.js.map +0 -1
  382. package/dist/browser/operationsInterfaces/functionsExtension.d.ts +0 -14
  383. package/dist/browser/operationsInterfaces/functionsExtension.d.ts.map +0 -1
  384. package/dist/browser/operationsInterfaces/functionsExtension.js +0 -9
  385. package/dist/browser/operationsInterfaces/functionsExtension.js.map +0 -1
  386. package/dist/browser/operationsInterfaces/logicApps.d.ts +0 -74
  387. package/dist/browser/operationsInterfaces/logicApps.d.ts.map +0 -1
  388. package/dist/browser/operationsInterfaces/logicApps.js +0 -9
  389. package/dist/browser/operationsInterfaces/logicApps.js.map +0 -1
  390. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
  391. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  392. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -9
  393. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  394. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
  395. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  396. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -9
  397. package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
  398. package/dist/commonjs/operations/appResiliencyOperations.d.ts +0 -72
  399. package/dist/commonjs/operations/appResiliencyOperations.d.ts.map +0 -1
  400. package/dist/commonjs/operations/appResiliencyOperations.js +0 -290
  401. package/dist/commonjs/operations/appResiliencyOperations.js.map +0 -1
  402. package/dist/commonjs/operations/buildAuthToken.d.ts +0 -21
  403. package/dist/commonjs/operations/buildAuthToken.d.ts.map +0 -1
  404. package/dist/commonjs/operations/buildAuthToken.js +0 -60
  405. package/dist/commonjs/operations/buildAuthToken.js.map +0 -1
  406. package/dist/commonjs/operations/builders.d.ts +0 -107
  407. package/dist/commonjs/operations/builders.d.ts.map +0 -1
  408. package/dist/commonjs/operations/builders.js +0 -546
  409. package/dist/commonjs/operations/builders.js.map +0 -1
  410. package/dist/commonjs/operations/builds.d.ts +0 -56
  411. package/dist/commonjs/operations/builds.d.ts.map +0 -1
  412. package/dist/commonjs/operations/builds.js +0 -242
  413. package/dist/commonjs/operations/builds.js.map +0 -1
  414. package/dist/commonjs/operations/buildsByBuilderResource.d.ts +0 -38
  415. package/dist/commonjs/operations/buildsByBuilderResource.d.ts.map +0 -1
  416. package/dist/commonjs/operations/buildsByBuilderResource.js +0 -154
  417. package/dist/commonjs/operations/buildsByBuilderResource.js.map +0 -1
  418. package/dist/commonjs/operations/containerAppsBuilds.d.ts +0 -38
  419. package/dist/commonjs/operations/containerAppsBuilds.d.ts.map +0 -1
  420. package/dist/commonjs/operations/containerAppsBuilds.js +0 -147
  421. package/dist/commonjs/operations/containerAppsBuilds.js.map +0 -1
  422. package/dist/commonjs/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
  423. package/dist/commonjs/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  424. package/dist/commonjs/operations/containerAppsBuildsByContainerApp.js +0 -154
  425. package/dist/commonjs/operations/containerAppsBuildsByContainerApp.js.map +0 -1
  426. package/dist/commonjs/operations/containerAppsPatches.d.ts +0 -97
  427. package/dist/commonjs/operations/containerAppsPatches.d.ts.map +0 -1
  428. package/dist/commonjs/operations/containerAppsPatches.js +0 -453
  429. package/dist/commonjs/operations/containerAppsPatches.js.map +0 -1
  430. package/dist/commonjs/operations/daprComponentResiliencyPolicies.d.ts +0 -70
  431. package/dist/commonjs/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
  432. package/dist/commonjs/operations/daprComponentResiliencyPolicies.js +0 -274
  433. package/dist/commonjs/operations/daprComponentResiliencyPolicies.js.map +0 -1
  434. package/dist/commonjs/operations/daprSubscriptions.d.ts +0 -63
  435. package/dist/commonjs/operations/daprSubscriptions.d.ts.map +0 -1
  436. package/dist/commonjs/operations/daprSubscriptions.js +0 -261
  437. package/dist/commonjs/operations/daprSubscriptions.js.map +0 -1
  438. package/dist/commonjs/operations/dotNetComponents.d.ts +0 -99
  439. package/dist/commonjs/operations/dotNetComponents.d.ts.map +0 -1
  440. package/dist/commonjs/operations/dotNetComponents.js +0 -462
  441. package/dist/commonjs/operations/dotNetComponents.js.map +0 -1
  442. package/dist/commonjs/operations/functionsExtension.d.ts +0 -22
  443. package/dist/commonjs/operations/functionsExtension.d.ts.map +0 -1
  444. package/dist/commonjs/operations/functionsExtension.js +0 -68
  445. package/dist/commonjs/operations/functionsExtension.js.map +0 -1
  446. package/dist/commonjs/operations/logicApps.d.ts +0 -101
  447. package/dist/commonjs/operations/logicApps.d.ts.map +0 -1
  448. package/dist/commonjs/operations/logicApps.js +0 -411
  449. package/dist/commonjs/operations/logicApps.js.map +0 -1
  450. package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
  451. package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  452. package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.js +0 -381
  453. package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  454. package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
  455. package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  456. package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.js +0 -154
  457. package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
  458. package/dist/commonjs/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
  459. package/dist/commonjs/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
  460. package/dist/commonjs/operationsInterfaces/appResiliencyOperations.js +0 -10
  461. package/dist/commonjs/operationsInterfaces/appResiliencyOperations.js.map +0 -1
  462. package/dist/commonjs/operationsInterfaces/buildAuthToken.d.ts +0 -13
  463. package/dist/commonjs/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
  464. package/dist/commonjs/operationsInterfaces/buildAuthToken.js +0 -10
  465. package/dist/commonjs/operationsInterfaces/buildAuthToken.js.map +0 -1
  466. package/dist/commonjs/operationsInterfaces/builders.d.ts +0 -71
  467. package/dist/commonjs/operationsInterfaces/builders.d.ts.map +0 -1
  468. package/dist/commonjs/operationsInterfaces/builders.js +0 -10
  469. package/dist/commonjs/operationsInterfaces/builders.js.map +0 -1
  470. package/dist/commonjs/operationsInterfaces/builds.d.ts +0 -48
  471. package/dist/commonjs/operationsInterfaces/builds.d.ts.map +0 -1
  472. package/dist/commonjs/operationsInterfaces/builds.js +0 -10
  473. package/dist/commonjs/operationsInterfaces/builds.js.map +0 -1
  474. package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
  475. package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
  476. package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.js +0 -10
  477. package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
  478. package/dist/commonjs/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
  479. package/dist/commonjs/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
  480. package/dist/commonjs/operationsInterfaces/containerAppsBuilds.js +0 -10
  481. package/dist/commonjs/operationsInterfaces/containerAppsBuilds.js.map +0 -1
  482. package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
  483. package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  484. package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -10
  485. package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
  486. package/dist/commonjs/operationsInterfaces/containerAppsPatches.d.ts +0 -72
  487. package/dist/commonjs/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
  488. package/dist/commonjs/operationsInterfaces/containerAppsPatches.js +0 -10
  489. package/dist/commonjs/operationsInterfaces/containerAppsPatches.js.map +0 -1
  490. package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
  491. package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
  492. package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -10
  493. package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
  494. package/dist/commonjs/operationsInterfaces/daprSubscriptions.d.ts +0 -38
  495. package/dist/commonjs/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
  496. package/dist/commonjs/operationsInterfaces/daprSubscriptions.js +0 -10
  497. package/dist/commonjs/operationsInterfaces/daprSubscriptions.js.map +0 -1
  498. package/dist/commonjs/operationsInterfaces/dotNetComponents.d.ts +0 -74
  499. package/dist/commonjs/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
  500. package/dist/commonjs/operationsInterfaces/dotNetComponents.js +0 -10
  501. package/dist/commonjs/operationsInterfaces/dotNetComponents.js.map +0 -1
  502. package/dist/commonjs/operationsInterfaces/functionsExtension.d.ts +0 -14
  503. package/dist/commonjs/operationsInterfaces/functionsExtension.d.ts.map +0 -1
  504. package/dist/commonjs/operationsInterfaces/functionsExtension.js +0 -10
  505. package/dist/commonjs/operationsInterfaces/functionsExtension.js.map +0 -1
  506. package/dist/commonjs/operationsInterfaces/logicApps.d.ts +0 -74
  507. package/dist/commonjs/operationsInterfaces/logicApps.d.ts.map +0 -1
  508. package/dist/commonjs/operationsInterfaces/logicApps.js +0 -10
  509. package/dist/commonjs/operationsInterfaces/logicApps.js.map +0 -1
  510. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
  511. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  512. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -10
  513. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  514. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
  515. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  516. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -10
  517. package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
  518. package/dist/esm/operations/appResiliencyOperations.d.ts +0 -72
  519. package/dist/esm/operations/appResiliencyOperations.d.ts.map +0 -1
  520. package/dist/esm/operations/appResiliencyOperations.js +0 -286
  521. package/dist/esm/operations/appResiliencyOperations.js.map +0 -1
  522. package/dist/esm/operations/buildAuthToken.d.ts +0 -21
  523. package/dist/esm/operations/buildAuthToken.d.ts.map +0 -1
  524. package/dist/esm/operations/buildAuthToken.js +0 -55
  525. package/dist/esm/operations/buildAuthToken.js.map +0 -1
  526. package/dist/esm/operations/builders.d.ts +0 -107
  527. package/dist/esm/operations/builders.d.ts.map +0 -1
  528. package/dist/esm/operations/builders.js +0 -542
  529. package/dist/esm/operations/builders.js.map +0 -1
  530. package/dist/esm/operations/builds.d.ts +0 -56
  531. package/dist/esm/operations/builds.d.ts.map +0 -1
  532. package/dist/esm/operations/builds.js +0 -237
  533. package/dist/esm/operations/builds.js.map +0 -1
  534. package/dist/esm/operations/buildsByBuilderResource.d.ts +0 -38
  535. package/dist/esm/operations/buildsByBuilderResource.d.ts.map +0 -1
  536. package/dist/esm/operations/buildsByBuilderResource.js +0 -150
  537. package/dist/esm/operations/buildsByBuilderResource.js.map +0 -1
  538. package/dist/esm/operations/containerAppsBuilds.d.ts +0 -38
  539. package/dist/esm/operations/containerAppsBuilds.d.ts.map +0 -1
  540. package/dist/esm/operations/containerAppsBuilds.js +0 -142
  541. package/dist/esm/operations/containerAppsBuilds.js.map +0 -1
  542. package/dist/esm/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
  543. package/dist/esm/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  544. package/dist/esm/operations/containerAppsBuildsByContainerApp.js +0 -150
  545. package/dist/esm/operations/containerAppsBuildsByContainerApp.js.map +0 -1
  546. package/dist/esm/operations/containerAppsPatches.d.ts +0 -97
  547. package/dist/esm/operations/containerAppsPatches.d.ts.map +0 -1
  548. package/dist/esm/operations/containerAppsPatches.js +0 -449
  549. package/dist/esm/operations/containerAppsPatches.js.map +0 -1
  550. package/dist/esm/operations/daprComponentResiliencyPolicies.d.ts +0 -70
  551. package/dist/esm/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
  552. package/dist/esm/operations/daprComponentResiliencyPolicies.js +0 -270
  553. package/dist/esm/operations/daprComponentResiliencyPolicies.js.map +0 -1
  554. package/dist/esm/operations/daprSubscriptions.d.ts +0 -63
  555. package/dist/esm/operations/daprSubscriptions.d.ts.map +0 -1
  556. package/dist/esm/operations/daprSubscriptions.js +0 -257
  557. package/dist/esm/operations/daprSubscriptions.js.map +0 -1
  558. package/dist/esm/operations/dotNetComponents.d.ts +0 -99
  559. package/dist/esm/operations/dotNetComponents.d.ts.map +0 -1
  560. package/dist/esm/operations/dotNetComponents.js +0 -458
  561. package/dist/esm/operations/dotNetComponents.js.map +0 -1
  562. package/dist/esm/operations/functionsExtension.d.ts +0 -22
  563. package/dist/esm/operations/functionsExtension.d.ts.map +0 -1
  564. package/dist/esm/operations/functionsExtension.js +0 -63
  565. package/dist/esm/operations/functionsExtension.js.map +0 -1
  566. package/dist/esm/operations/logicApps.d.ts +0 -101
  567. package/dist/esm/operations/logicApps.d.ts.map +0 -1
  568. package/dist/esm/operations/logicApps.js +0 -407
  569. package/dist/esm/operations/logicApps.js.map +0 -1
  570. package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
  571. package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  572. package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.js +0 -377
  573. package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  574. package/dist/esm/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
  575. package/dist/esm/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  576. package/dist/esm/operations/managedEnvironmentPrivateLinkResources.js +0 -150
  577. package/dist/esm/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
  578. package/dist/esm/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
  579. package/dist/esm/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
  580. package/dist/esm/operationsInterfaces/appResiliencyOperations.js +0 -9
  581. package/dist/esm/operationsInterfaces/appResiliencyOperations.js.map +0 -1
  582. package/dist/esm/operationsInterfaces/buildAuthToken.d.ts +0 -13
  583. package/dist/esm/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
  584. package/dist/esm/operationsInterfaces/buildAuthToken.js +0 -9
  585. package/dist/esm/operationsInterfaces/buildAuthToken.js.map +0 -1
  586. package/dist/esm/operationsInterfaces/builders.d.ts +0 -71
  587. package/dist/esm/operationsInterfaces/builders.d.ts.map +0 -1
  588. package/dist/esm/operationsInterfaces/builders.js +0 -9
  589. package/dist/esm/operationsInterfaces/builders.js.map +0 -1
  590. package/dist/esm/operationsInterfaces/builds.d.ts +0 -48
  591. package/dist/esm/operationsInterfaces/builds.d.ts.map +0 -1
  592. package/dist/esm/operationsInterfaces/builds.js +0 -9
  593. package/dist/esm/operationsInterfaces/builds.js.map +0 -1
  594. package/dist/esm/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
  595. package/dist/esm/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
  596. package/dist/esm/operationsInterfaces/buildsByBuilderResource.js +0 -9
  597. package/dist/esm/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
  598. package/dist/esm/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
  599. package/dist/esm/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
  600. package/dist/esm/operationsInterfaces/containerAppsBuilds.js +0 -9
  601. package/dist/esm/operationsInterfaces/containerAppsBuilds.js.map +0 -1
  602. package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
  603. package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  604. package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -9
  605. package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
  606. package/dist/esm/operationsInterfaces/containerAppsPatches.d.ts +0 -72
  607. package/dist/esm/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
  608. package/dist/esm/operationsInterfaces/containerAppsPatches.js +0 -9
  609. package/dist/esm/operationsInterfaces/containerAppsPatches.js.map +0 -1
  610. package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
  611. package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
  612. package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -9
  613. package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
  614. package/dist/esm/operationsInterfaces/daprSubscriptions.d.ts +0 -38
  615. package/dist/esm/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
  616. package/dist/esm/operationsInterfaces/daprSubscriptions.js +0 -9
  617. package/dist/esm/operationsInterfaces/daprSubscriptions.js.map +0 -1
  618. package/dist/esm/operationsInterfaces/dotNetComponents.d.ts +0 -74
  619. package/dist/esm/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
  620. package/dist/esm/operationsInterfaces/dotNetComponents.js +0 -9
  621. package/dist/esm/operationsInterfaces/dotNetComponents.js.map +0 -1
  622. package/dist/esm/operationsInterfaces/functionsExtension.d.ts +0 -14
  623. package/dist/esm/operationsInterfaces/functionsExtension.d.ts.map +0 -1
  624. package/dist/esm/operationsInterfaces/functionsExtension.js +0 -9
  625. package/dist/esm/operationsInterfaces/functionsExtension.js.map +0 -1
  626. package/dist/esm/operationsInterfaces/logicApps.d.ts +0 -74
  627. package/dist/esm/operationsInterfaces/logicApps.d.ts.map +0 -1
  628. package/dist/esm/operationsInterfaces/logicApps.js +0 -9
  629. package/dist/esm/operationsInterfaces/logicApps.js.map +0 -1
  630. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
  631. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  632. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -9
  633. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  634. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
  635. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  636. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -9
  637. package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
  638. package/dist/react-native/operations/appResiliencyOperations.d.ts +0 -72
  639. package/dist/react-native/operations/appResiliencyOperations.d.ts.map +0 -1
  640. package/dist/react-native/operations/appResiliencyOperations.js +0 -286
  641. package/dist/react-native/operations/appResiliencyOperations.js.map +0 -1
  642. package/dist/react-native/operations/buildAuthToken.d.ts +0 -21
  643. package/dist/react-native/operations/buildAuthToken.d.ts.map +0 -1
  644. package/dist/react-native/operations/buildAuthToken.js +0 -55
  645. package/dist/react-native/operations/buildAuthToken.js.map +0 -1
  646. package/dist/react-native/operations/builders.d.ts +0 -107
  647. package/dist/react-native/operations/builders.d.ts.map +0 -1
  648. package/dist/react-native/operations/builders.js +0 -542
  649. package/dist/react-native/operations/builders.js.map +0 -1
  650. package/dist/react-native/operations/builds.d.ts +0 -56
  651. package/dist/react-native/operations/builds.d.ts.map +0 -1
  652. package/dist/react-native/operations/builds.js +0 -237
  653. package/dist/react-native/operations/builds.js.map +0 -1
  654. package/dist/react-native/operations/buildsByBuilderResource.d.ts +0 -38
  655. package/dist/react-native/operations/buildsByBuilderResource.d.ts.map +0 -1
  656. package/dist/react-native/operations/buildsByBuilderResource.js +0 -150
  657. package/dist/react-native/operations/buildsByBuilderResource.js.map +0 -1
  658. package/dist/react-native/operations/containerAppsBuilds.d.ts +0 -38
  659. package/dist/react-native/operations/containerAppsBuilds.d.ts.map +0 -1
  660. package/dist/react-native/operations/containerAppsBuilds.js +0 -142
  661. package/dist/react-native/operations/containerAppsBuilds.js.map +0 -1
  662. package/dist/react-native/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
  663. package/dist/react-native/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  664. package/dist/react-native/operations/containerAppsBuildsByContainerApp.js +0 -150
  665. package/dist/react-native/operations/containerAppsBuildsByContainerApp.js.map +0 -1
  666. package/dist/react-native/operations/containerAppsPatches.d.ts +0 -97
  667. package/dist/react-native/operations/containerAppsPatches.d.ts.map +0 -1
  668. package/dist/react-native/operations/containerAppsPatches.js +0 -449
  669. package/dist/react-native/operations/containerAppsPatches.js.map +0 -1
  670. package/dist/react-native/operations/daprComponentResiliencyPolicies.d.ts +0 -70
  671. package/dist/react-native/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
  672. package/dist/react-native/operations/daprComponentResiliencyPolicies.js +0 -270
  673. package/dist/react-native/operations/daprComponentResiliencyPolicies.js.map +0 -1
  674. package/dist/react-native/operations/daprSubscriptions.d.ts +0 -63
  675. package/dist/react-native/operations/daprSubscriptions.d.ts.map +0 -1
  676. package/dist/react-native/operations/daprSubscriptions.js +0 -257
  677. package/dist/react-native/operations/daprSubscriptions.js.map +0 -1
  678. package/dist/react-native/operations/dotNetComponents.d.ts +0 -99
  679. package/dist/react-native/operations/dotNetComponents.d.ts.map +0 -1
  680. package/dist/react-native/operations/dotNetComponents.js +0 -458
  681. package/dist/react-native/operations/dotNetComponents.js.map +0 -1
  682. package/dist/react-native/operations/functionsExtension.d.ts +0 -22
  683. package/dist/react-native/operations/functionsExtension.d.ts.map +0 -1
  684. package/dist/react-native/operations/functionsExtension.js +0 -63
  685. package/dist/react-native/operations/functionsExtension.js.map +0 -1
  686. package/dist/react-native/operations/logicApps.d.ts +0 -101
  687. package/dist/react-native/operations/logicApps.d.ts.map +0 -1
  688. package/dist/react-native/operations/logicApps.js +0 -407
  689. package/dist/react-native/operations/logicApps.js.map +0 -1
  690. package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
  691. package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  692. package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.js +0 -377
  693. package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  694. package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
  695. package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  696. package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.js +0 -150
  697. package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
  698. package/dist/react-native/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
  699. package/dist/react-native/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
  700. package/dist/react-native/operationsInterfaces/appResiliencyOperations.js +0 -9
  701. package/dist/react-native/operationsInterfaces/appResiliencyOperations.js.map +0 -1
  702. package/dist/react-native/operationsInterfaces/buildAuthToken.d.ts +0 -13
  703. package/dist/react-native/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
  704. package/dist/react-native/operationsInterfaces/buildAuthToken.js +0 -9
  705. package/dist/react-native/operationsInterfaces/buildAuthToken.js.map +0 -1
  706. package/dist/react-native/operationsInterfaces/builders.d.ts +0 -71
  707. package/dist/react-native/operationsInterfaces/builders.d.ts.map +0 -1
  708. package/dist/react-native/operationsInterfaces/builders.js +0 -9
  709. package/dist/react-native/operationsInterfaces/builders.js.map +0 -1
  710. package/dist/react-native/operationsInterfaces/builds.d.ts +0 -48
  711. package/dist/react-native/operationsInterfaces/builds.d.ts.map +0 -1
  712. package/dist/react-native/operationsInterfaces/builds.js +0 -9
  713. package/dist/react-native/operationsInterfaces/builds.js.map +0 -1
  714. package/dist/react-native/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
  715. package/dist/react-native/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
  716. package/dist/react-native/operationsInterfaces/buildsByBuilderResource.js +0 -9
  717. package/dist/react-native/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
  718. package/dist/react-native/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
  719. package/dist/react-native/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
  720. package/dist/react-native/operationsInterfaces/containerAppsBuilds.js +0 -9
  721. package/dist/react-native/operationsInterfaces/containerAppsBuilds.js.map +0 -1
  722. package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
  723. package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
  724. package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -9
  725. package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
  726. package/dist/react-native/operationsInterfaces/containerAppsPatches.d.ts +0 -72
  727. package/dist/react-native/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
  728. package/dist/react-native/operationsInterfaces/containerAppsPatches.js +0 -9
  729. package/dist/react-native/operationsInterfaces/containerAppsPatches.js.map +0 -1
  730. package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
  731. package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
  732. package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -9
  733. package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
  734. package/dist/react-native/operationsInterfaces/daprSubscriptions.d.ts +0 -38
  735. package/dist/react-native/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
  736. package/dist/react-native/operationsInterfaces/daprSubscriptions.js +0 -9
  737. package/dist/react-native/operationsInterfaces/daprSubscriptions.js.map +0 -1
  738. package/dist/react-native/operationsInterfaces/dotNetComponents.d.ts +0 -74
  739. package/dist/react-native/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
  740. package/dist/react-native/operationsInterfaces/dotNetComponents.js +0 -9
  741. package/dist/react-native/operationsInterfaces/dotNetComponents.js.map +0 -1
  742. package/dist/react-native/operationsInterfaces/functionsExtension.d.ts +0 -14
  743. package/dist/react-native/operationsInterfaces/functionsExtension.d.ts.map +0 -1
  744. package/dist/react-native/operationsInterfaces/functionsExtension.js +0 -9
  745. package/dist/react-native/operationsInterfaces/functionsExtension.js.map +0 -1
  746. package/dist/react-native/operationsInterfaces/logicApps.d.ts +0 -74
  747. package/dist/react-native/operationsInterfaces/logicApps.d.ts.map +0 -1
  748. package/dist/react-native/operationsInterfaces/logicApps.js +0 -9
  749. package/dist/react-native/operationsInterfaces/logicApps.js.map +0 -1
  750. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
  751. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
  752. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -9
  753. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
  754. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
  755. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
  756. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -9
  757. package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"certificates.js","sourceRoot":"","sources":["../../../src/operations/certificates.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AA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D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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;QACnB,UAAU,CAAC,eAAe;KAC3B;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 { Certificates } 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 Certificate,\n CertificatesListNextOptionalParams,\n CertificatesListOptionalParams,\n CertificatesListResponse,\n CertificatesGetOptionalParams,\n CertificatesGetResponse,\n CertificatesCreateOrUpdateOptionalParams,\n CertificatesCreateOrUpdateResponse,\n CertificatesDeleteOptionalParams,\n CertificatePatch,\n CertificatesUpdateOptionalParams,\n CertificatesUpdateResponse,\n CertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Certificates operations. */\nexport class CertificatesImpl implements Certificates {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class Certificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n environmentName,\n options,\n );\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.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, 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._listNext(\n resourceGroupName,\n environmentName,\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 *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): Promise<CertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesGetOptionalParams,\n ): Promise<CertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesCreateOrUpdateOptionalParams,\n ): Promise<CertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: CertificatesUpdateOptionalParams,\n ): Promise<CertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: CertificatesListNextOptionalParams,\n ): Promise<CertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\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.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\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.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"certificates.js","sourceRoot":"","sources":["../../../src/operations/certificates.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,eAAuB,EACvB,OAAwC,EACxC,QAAuB;;YAEvB,IAAI,MAAgC,CAAC;YACrC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CA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AAe;QAC1B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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;QACnB,UAAU,CAAC,eAAe;KAC3B;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 { Certificates } 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 Certificate,\n CertificatesListNextOptionalParams,\n CertificatesListOptionalParams,\n CertificatesListResponse,\n CertificatesGetOptionalParams,\n CertificatesGetResponse,\n CertificatesCreateOrUpdateOptionalParams,\n CertificatesCreateOrUpdateResponse,\n CertificatesDeleteOptionalParams,\n CertificatePatch,\n CertificatesUpdateOptionalParams,\n CertificatesUpdateResponse,\n CertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Certificates operations. */\nexport class CertificatesImpl implements Certificates {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class Certificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n environmentName,\n options,\n );\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.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, 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._listNext(\n resourceGroupName,\n environmentName,\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 *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): Promise<CertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesGetOptionalParams,\n ): Promise<CertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesCreateOrUpdateOptionalParams,\n ): Promise<CertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: CertificatesUpdateOptionalParams,\n ): Promise<CertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: CertificatesListNextOptionalParams,\n ): Promise<CertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\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.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\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.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\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/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -413,7 +413,7 @@ const createOrUpdateOperationSpec = {
413
413
  Parameters.resourceGroupName,
414
414
  Parameters.connectedEnvironmentName,
415
415
  ],
416
- headerParameters: [Parameters.contentType, Parameters.accept],
416
+ headerParameters: [Parameters.accept, Parameters.contentType],
417
417
  mediaType: "json",
418
418
  serializer,
419
419
  };
@@ -479,7 +479,7 @@ const checkNameAvailabilityOperationSpec = {
479
479
  Parameters.resourceGroupName,
480
480
  Parameters.connectedEnvironmentName,
481
481
  ],
482
- headerParameters: [Parameters.contentType, Parameters.accept],
482
+ headerParameters: [Parameters.accept, Parameters.contentType],
483
483
  mediaType: "json",
484
484
  serializer,
485
485
  };
@@ -1 +1 @@
1
- {"version":3,"file":"connectedEnvironments.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAuB9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA+D;QAE/D,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,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ClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;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 { ConnectedEnvironments } 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 ConnectedEnvironment,\n ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ConnectedEnvironmentsListBySubscriptionResponse,\n ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ConnectedEnvironmentsListByResourceGroupResponse,\n ConnectedEnvironmentsGetOptionalParams,\n ConnectedEnvironmentsGetResponse,\n ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDeleteOptionalParams,\n ConnectedEnvironmentsUpdateOptionalParams,\n ConnectedEnvironmentsUpdateResponse,\n CheckNameAvailabilityRequest,\n ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ConnectedEnvironmentsCheckNameAvailabilityResponse,\n ConnectedEnvironmentsListBySubscriptionNextResponse,\n ConnectedEnvironmentsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironments operations. */\nexport class ConnectedEnvironmentsImpl implements ConnectedEnvironments {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironments class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\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?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListBySubscriptionResponse;\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?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments in a 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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListByResourceGroupResponse;\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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get all connectedEnvironments in a 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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>,\n ConnectedEnvironmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> => {\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 connectedEnvironmentName,\n environmentEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsCreateOrUpdateResponse,\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>\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 * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n connectedEnvironmentName,\n environmentEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\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, connectedEnvironmentName, 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 an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a Managed Environment. Only patching of tags is supported currently\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Checks if resource connectedEnvironmentName is available.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Managed Environment.\n * @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n checkNameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ): Promise<ConnectedEnvironmentsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n checkNameAvailabilityRequest,\n options,\n },\n checkNameAvailabilityOperationSpec,\n );\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?: ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionNextResponse> {\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?: ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupNextResponse> {\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/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\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/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\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/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 201: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 202: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 204: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.environmentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.checkNameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\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.ConnectedEnvironmentCollection,\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":"connectedEnvironments.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAuB9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBAC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AU;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,8BAA8B;SACnD;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 { ConnectedEnvironments } 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 ConnectedEnvironment,\n ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ConnectedEnvironmentsListBySubscriptionResponse,\n ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ConnectedEnvironmentsListByResourceGroupResponse,\n ConnectedEnvironmentsGetOptionalParams,\n ConnectedEnvironmentsGetResponse,\n ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDeleteOptionalParams,\n ConnectedEnvironmentsUpdateOptionalParams,\n ConnectedEnvironmentsUpdateResponse,\n CheckNameAvailabilityRequest,\n ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ConnectedEnvironmentsCheckNameAvailabilityResponse,\n ConnectedEnvironmentsListBySubscriptionNextResponse,\n ConnectedEnvironmentsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironments operations. */\nexport class ConnectedEnvironmentsImpl implements ConnectedEnvironments {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironments class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\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?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListBySubscriptionResponse;\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?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments in a 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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListByResourceGroupResponse;\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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get all connectedEnvironments in a 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?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>,\n ConnectedEnvironmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> => {\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 connectedEnvironmentName,\n environmentEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsCreateOrUpdateResponse,\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>\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 * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n connectedEnvironmentName,\n environmentEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\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, connectedEnvironmentName, 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 an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a Managed Environment. Only patching of tags is supported currently\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Checks if resource connectedEnvironmentName is available.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Managed Environment.\n * @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n checkNameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ): Promise<ConnectedEnvironmentsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n checkNameAvailabilityRequest,\n options,\n },\n checkNameAvailabilityOperationSpec,\n );\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?: ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionNextResponse> {\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?: ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupNextResponse> {\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/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\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/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\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/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 201: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 202: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 204: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.environmentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\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/connectedEnvironments/{connectedEnvironmentName}\",\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.checkNameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\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.ConnectedEnvironmentCollection,\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"]}
@@ -219,7 +219,7 @@ const createOrUpdateOperationSpec = {
219
219
  Parameters.connectedEnvironmentName,
220
220
  Parameters.certificateName,
221
221
  ],
222
- headerParameters: [Parameters.contentType, Parameters.accept],
222
+ headerParameters: [Parameters.accept, Parameters.contentType],
223
223
  mediaType: "json",
224
224
  serializer,
225
225
  };
@@ -264,7 +264,7 @@ const updateOperationSpec = {
264
264
  Parameters.connectedEnvironmentName,
265
265
  Parameters.certificateName,
266
266
  ],
267
- headerParameters: [Parameters.contentType, Parameters.accept],
267
+ headerParameters: [Parameters.accept, Parameters.contentType],
268
268
  mediaType: "json",
269
269
  serializer,
270
270
  };
@@ -1 +1 @@
1
- {"version":3,"file":"connectedEnvironmentsCertificates.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsCertificates.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAa,qCAAqC;IAKhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,wBAAgC,EAChC,OAA6D,EAC7D,QAAuB;;YAEvB,IAAI,MAAqD,CAAC;YAC1D,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,KAAK,CACvB,iBAAiB,EACjB,wBA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C,wBAAwB;QACnC,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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;QACnB,UAAU,CAAC,wBAAwB;KACpC;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 { ConnectedEnvironmentsCertificates } 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 Certificate,\n ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ConnectedEnvironmentsCertificatesListOptionalParams,\n ConnectedEnvironmentsCertificatesListResponse,\n ConnectedEnvironmentsCertificatesGetOptionalParams,\n ConnectedEnvironmentsCertificatesGetResponse,\n ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesCreateOrUpdateResponse,\n ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n CertificatePatch,\n ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesUpdateResponse,\n ConnectedEnvironmentsCertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsCertificates operations. */\nexport class ConnectedEnvironmentsCertificatesImpl\n implements ConnectedEnvironmentsCertificates\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsCertificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\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.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: ConnectedEnvironmentsCertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\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 *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\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.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"connectedEnvironmentsCertificates.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsCertificates.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,qEAAqE;AACr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UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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;QACnB,UAAU,CAAC,wBAAwB;KACpC;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 { ConnectedEnvironmentsCertificates } 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 Certificate,\n ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ConnectedEnvironmentsCertificatesListOptionalParams,\n ConnectedEnvironmentsCertificatesListResponse,\n ConnectedEnvironmentsCertificatesGetOptionalParams,\n ConnectedEnvironmentsCertificatesGetResponse,\n ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesCreateOrUpdateResponse,\n ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n CertificatePatch,\n ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesUpdateResponse,\n ConnectedEnvironmentsCertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsCertificates operations. */\nexport class ConnectedEnvironmentsCertificatesImpl\n implements ConnectedEnvironmentsCertificates\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsCertificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\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.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: ConnectedEnvironmentsCertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\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 *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\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.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\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/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -219,7 +219,7 @@ const createOrUpdateOperationSpec = {
219
219
  Parameters.connectedEnvironmentName,
220
220
  Parameters.componentName,
221
221
  ],
222
- headerParameters: [Parameters.contentType, Parameters.accept],
222
+ headerParameters: [Parameters.accept, Parameters.contentType],
223
223
  mediaType: "json",
224
224
  serializer,
225
225
  };
@@ -1 +1 @@
1
- {"version":3,"file":"connectedEnvironmentsDaprComponents.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,uEAAuE;AACvE,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C7C;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;QACnB,UAAU,CAAC,wBAAwB;KACpC;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 { ConnectedEnvironmentsDaprComponents } 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 DaprComponent,\n ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ConnectedEnvironmentsDaprComponentsListResponse,\n ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ConnectedEnvironmentsDaprComponentsGetResponse,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsResponse,\n ConnectedEnvironmentsDaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsDaprComponents operations. */\nexport class ConnectedEnvironmentsDaprComponentsImpl\n implements ConnectedEnvironmentsDaprComponents\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsDaprComponents class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\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.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: ConnectedEnvironmentsDaprComponentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\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 *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a dapr component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List secrets for a dapr component\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\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.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.daprComponentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprSecretsCollection,\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.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"connectedEnvironmentsDaprComponents.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,uEAAuE;AACvE,MAAa,uCAAuC;IAKlD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,O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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 { ConnectedEnvironmentsDaprComponents } 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 DaprComponent,\n ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ConnectedEnvironmentsDaprComponentsListResponse,\n ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ConnectedEnvironmentsDaprComponentsGetResponse,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsResponse,\n ConnectedEnvironmentsDaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsDaprComponents operations. */\nexport class ConnectedEnvironmentsDaprComponentsImpl\n implements ConnectedEnvironmentsDaprComponents\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsDaprComponents class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\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.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: ConnectedEnvironmentsDaprComponentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\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 *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a dapr component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List secrets for a dapr component\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\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.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.daprComponentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\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/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprSecretsCollection,\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.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -134,7 +134,7 @@ const createOrUpdateOperationSpec = {
134
134
  Parameters.connectedEnvironmentName,
135
135
  Parameters.storageName,
136
136
  ],
137
- headerParameters: [Parameters.contentType, Parameters.accept],
137
+ headerParameters: [Parameters.accept, Parameters.contentType],
138
138
  mediaType: "json",
139
139
  serializer,
140
140
  };
@@ -1 +1 @@
1
- {"version":3,"file":"connectedEnvironmentsStorages.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsStorages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,iEAAiE;AACjE,MAAa,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,wBAAgC,EAChC,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,OAAO,EAAE,EACxD,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,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AG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,wBAAwB;QACnC,UAAU,CAAC,WAAW;KACvB;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 { ConnectedEnvironmentsStorages } 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 ConnectedEnvironmentsStoragesListOptionalParams,\n ConnectedEnvironmentsStoragesListResponse,\n ConnectedEnvironmentsStoragesGetOptionalParams,\n ConnectedEnvironmentsStoragesGetResponse,\n ConnectedEnvironmentStorage,\n ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsStoragesCreateOrUpdateResponse,\n ConnectedEnvironmentsStoragesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing ConnectedEnvironmentsStorages operations. */\nexport class ConnectedEnvironmentsStoragesImpl\n implements ConnectedEnvironmentsStorages\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsStorages class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all storages for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsStoragesListOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param storageEnvelope Configuration details of storage.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n storageEnvelope: ConnectedEnvironmentStorage,\n options?: ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n storageName,\n storageEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStoragesCollection,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\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.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.storageEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"connectedEnvironmentsStorages.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsStorages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,iEAAiE;AACjE,MAAa,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,wBAAgC,EAChC,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,OAAO,EAAE,EACxD,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,iBAAyB,EACzB,wBAAgC,EAChC,WAAmB,EACnB,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,WAAW,EAAE,OAAO,EAAE,EACrE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CACZ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QAC5B,UAAU,CAAC,wBAAwB;QACnC,UAAU,CAAC,WAAW;KACvB;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 { ConnectedEnvironmentsStorages } 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 ConnectedEnvironmentsStoragesListOptionalParams,\n ConnectedEnvironmentsStoragesListResponse,\n ConnectedEnvironmentsStoragesGetOptionalParams,\n ConnectedEnvironmentsStoragesGetResponse,\n ConnectedEnvironmentStorage,\n ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsStoragesCreateOrUpdateResponse,\n ConnectedEnvironmentsStoragesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing ConnectedEnvironmentsStorages operations. */\nexport class ConnectedEnvironmentsStoragesImpl\n implements ConnectedEnvironmentsStorages\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsStorages class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all storages for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsStoragesListOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param storageEnvelope Configuration details of storage.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n storageEnvelope: ConnectedEnvironmentStorage,\n options?: ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n storageName,\n storageEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStoragesCollection,\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.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\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.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.storageEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\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/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -581,7 +581,7 @@ const createOrUpdateOperationSpec = {
581
581
  Parameters.resourceGroupName,
582
582
  Parameters.containerAppName,
583
583
  ],
584
- headerParameters: [Parameters.contentType, Parameters.accept],
584
+ headerParameters: [Parameters.accept, Parameters.contentType],
585
585
  mediaType: "json",
586
586
  serializer,
587
587
  };
@@ -635,7 +635,7 @@ const updateOperationSpec = {
635
635
  Parameters.resourceGroupName,
636
636
  Parameters.containerAppName,
637
637
  ],
638
- headerParameters: [Parameters.contentType, Parameters.accept],
638
+ headerParameters: [Parameters.accept, Parameters.contentType],
639
639
  mediaType: "json",
640
640
  serializer,
641
641
  };