@azure/arm-extendedlocation 1.0.0-beta.3 → 1.0.0-beta.5

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 (348) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +30 -24
  3. package/dist/browser/api/customLocations/index.d.ts +3 -0
  4. package/dist/browser/api/customLocations/index.js +4 -0
  5. package/dist/browser/api/customLocations/index.js.map +1 -0
  6. package/dist/browser/api/customLocations/operations.d.ts +43 -0
  7. package/dist/browser/api/customLocations/operations.js +305 -0
  8. package/dist/browser/api/customLocations/operations.js.map +1 -0
  9. package/dist/browser/api/customLocations/options.d.ts +39 -0
  10. package/dist/browser/api/customLocations/options.js +4 -0
  11. package/dist/browser/api/customLocations/options.js.map +1 -0
  12. package/dist/browser/api/customLocationsManagementContext.d.ts +22 -0
  13. package/dist/browser/api/customLocationsManagementContext.js +26 -0
  14. package/dist/browser/api/customLocationsManagementContext.js.map +1 -0
  15. package/dist/browser/api/index.d.ts +3 -0
  16. package/dist/browser/api/index.js +4 -0
  17. package/dist/browser/api/index.js.map +1 -0
  18. package/dist/browser/api/resourceSyncRules/index.d.ts +3 -0
  19. package/dist/browser/api/resourceSyncRules/index.js +4 -0
  20. package/dist/browser/api/resourceSyncRules/index.js.map +1 -0
  21. package/dist/browser/api/resourceSyncRules/operations.d.ts +27 -0
  22. package/dist/browser/api/resourceSyncRules/operations.js +181 -0
  23. package/dist/browser/api/resourceSyncRules/operations.js.map +1 -0
  24. package/dist/browser/api/resourceSyncRules/options.d.ts +25 -0
  25. package/dist/browser/api/resourceSyncRules/options.js +4 -0
  26. package/dist/browser/api/resourceSyncRules/options.js.map +1 -0
  27. package/dist/browser/classic/customLocations/index.d.ts +37 -0
  28. package/dist/browser/classic/customLocations/index.js +39 -0
  29. package/dist/browser/classic/customLocations/index.js.map +1 -0
  30. package/dist/browser/classic/index.d.ts +3 -0
  31. package/dist/browser/classic/index.js +4 -0
  32. package/dist/browser/classic/index.js.map +1 -0
  33. package/dist/browser/classic/resourceSyncRules/index.d.ts +29 -0
  34. package/dist/browser/classic/resourceSyncRules/index.js +35 -0
  35. package/dist/browser/classic/resourceSyncRules/index.js.map +1 -0
  36. package/dist/browser/customLocationsManagementClient.d.ts +18 -0
  37. package/dist/browser/customLocationsManagementClient.js +37 -0
  38. package/dist/browser/customLocationsManagementClient.js.map +1 -0
  39. package/dist/browser/index.d.ts +18 -0
  40. package/dist/browser/index.js +9 -0
  41. package/dist/browser/index.js.map +1 -0
  42. package/dist/browser/logger.d.ts +2 -0
  43. package/dist/browser/logger.js +5 -0
  44. package/dist/browser/logger.js.map +1 -0
  45. package/dist/browser/models/index.d.ts +3 -0
  46. package/dist/browser/models/index.js +4 -0
  47. package/dist/browser/models/index.js.map +1 -0
  48. package/dist/browser/models/models.d.ts +402 -0
  49. package/dist/browser/models/models.js +506 -0
  50. package/dist/browser/models/models.js.map +1 -0
  51. package/dist/browser/package.json +3 -0
  52. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  53. package/dist/browser/restorePollerHelpers.js +101 -0
  54. package/dist/browser/restorePollerHelpers.js.map +1 -0
  55. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  56. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  57. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  58. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  59. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  60. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  61. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  62. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  63. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  64. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  65. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  66. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  67. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  68. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  69. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  70. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  71. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  72. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  73. package/dist/commonjs/api/customLocations/index.d.ts +3 -0
  74. package/dist/commonjs/api/customLocations/index.js +44 -0
  75. package/dist/commonjs/api/customLocations/index.js.map +7 -0
  76. package/dist/commonjs/api/customLocations/operations.d.ts +43 -0
  77. package/dist/commonjs/api/customLocations/operations.js +434 -0
  78. package/dist/commonjs/api/customLocations/operations.js.map +7 -0
  79. package/dist/commonjs/api/customLocations/options.d.ts +39 -0
  80. package/dist/commonjs/api/customLocations/options.js +16 -0
  81. package/dist/commonjs/api/customLocations/options.js.map +7 -0
  82. package/dist/commonjs/api/customLocationsManagementContext.d.ts +22 -0
  83. package/dist/commonjs/api/customLocationsManagementContext.js +47 -0
  84. package/dist/commonjs/api/customLocationsManagementContext.js.map +7 -0
  85. package/dist/commonjs/api/index.d.ts +3 -0
  86. package/dist/commonjs/api/index.js +28 -0
  87. package/dist/commonjs/api/index.js.map +7 -0
  88. package/dist/commonjs/api/resourceSyncRules/index.d.ts +3 -0
  89. package/dist/commonjs/api/resourceSyncRules/index.js +36 -0
  90. package/dist/commonjs/api/resourceSyncRules/index.js.map +7 -0
  91. package/dist/commonjs/api/resourceSyncRules/operations.d.ts +27 -0
  92. package/dist/commonjs/api/resourceSyncRules/operations.js +271 -0
  93. package/dist/commonjs/api/resourceSyncRules/operations.js.map +7 -0
  94. package/dist/commonjs/api/resourceSyncRules/options.d.ts +25 -0
  95. package/dist/commonjs/api/resourceSyncRules/options.js +16 -0
  96. package/dist/commonjs/api/resourceSyncRules/options.js.map +7 -0
  97. package/dist/commonjs/classic/customLocations/index.d.ts +37 -0
  98. package/dist/commonjs/classic/customLocations/index.js +63 -0
  99. package/dist/commonjs/classic/customLocations/index.js.map +7 -0
  100. package/dist/commonjs/classic/index.d.ts +3 -0
  101. package/dist/commonjs/classic/index.js +16 -0
  102. package/dist/commonjs/classic/index.js.map +7 -0
  103. package/dist/commonjs/classic/resourceSyncRules/index.d.ts +29 -0
  104. package/dist/commonjs/classic/resourceSyncRules/index.js +80 -0
  105. package/dist/commonjs/classic/resourceSyncRules/index.js.map +7 -0
  106. package/dist/commonjs/customLocationsManagementClient.d.ts +18 -0
  107. package/dist/commonjs/customLocationsManagementClient.js +58 -0
  108. package/dist/commonjs/customLocationsManagementClient.js.map +7 -0
  109. package/dist/commonjs/index.d.ts +18 -0
  110. package/dist/commonjs/index.js +48 -0
  111. package/dist/commonjs/index.js.map +7 -0
  112. package/dist/commonjs/logger.d.ts +2 -0
  113. package/dist/commonjs/logger.js +29 -0
  114. package/dist/commonjs/logger.js.map +7 -0
  115. package/dist/commonjs/models/index.d.ts +3 -0
  116. package/dist/commonjs/models/index.js +34 -0
  117. package/dist/commonjs/models/index.js.map +7 -0
  118. package/dist/commonjs/models/models.d.ts +402 -0
  119. package/dist/commonjs/models/models.js +560 -0
  120. package/dist/commonjs/models/models.js.map +7 -0
  121. package/dist/commonjs/package.json +3 -0
  122. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  123. package/dist/commonjs/restorePollerHelpers.js +114 -0
  124. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  125. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  126. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  127. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  128. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  129. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  130. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  131. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  132. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  133. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  134. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  135. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  136. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  137. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  138. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  139. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  140. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  141. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  142. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  143. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  144. package/dist/esm/api/customLocations/index.d.ts +3 -0
  145. package/dist/esm/api/customLocations/index.js +4 -0
  146. package/dist/esm/api/customLocations/index.js.map +1 -0
  147. package/dist/esm/api/customLocations/operations.d.ts +43 -0
  148. package/dist/esm/api/customLocations/operations.js +305 -0
  149. package/dist/esm/api/customLocations/operations.js.map +1 -0
  150. package/dist/esm/api/customLocations/options.d.ts +39 -0
  151. package/dist/esm/api/customLocations/options.js +4 -0
  152. package/dist/esm/api/customLocations/options.js.map +1 -0
  153. package/dist/esm/api/customLocationsManagementContext.d.ts +22 -0
  154. package/dist/esm/api/customLocationsManagementContext.js +26 -0
  155. package/dist/esm/api/customLocationsManagementContext.js.map +1 -0
  156. package/dist/esm/api/index.d.ts +3 -0
  157. package/dist/esm/api/index.js +4 -0
  158. package/dist/esm/api/index.js.map +1 -0
  159. package/dist/esm/api/resourceSyncRules/index.d.ts +3 -0
  160. package/dist/esm/api/resourceSyncRules/index.js +4 -0
  161. package/dist/esm/api/resourceSyncRules/index.js.map +1 -0
  162. package/dist/esm/api/resourceSyncRules/operations.d.ts +27 -0
  163. package/dist/esm/api/resourceSyncRules/operations.js +181 -0
  164. package/dist/esm/api/resourceSyncRules/operations.js.map +1 -0
  165. package/dist/esm/api/resourceSyncRules/options.d.ts +25 -0
  166. package/dist/esm/api/resourceSyncRules/options.js +4 -0
  167. package/dist/esm/api/resourceSyncRules/options.js.map +1 -0
  168. package/dist/esm/classic/customLocations/index.d.ts +37 -0
  169. package/dist/esm/classic/customLocations/index.js +39 -0
  170. package/dist/esm/classic/customLocations/index.js.map +1 -0
  171. package/dist/esm/classic/index.d.ts +3 -0
  172. package/dist/esm/classic/index.js +4 -0
  173. package/dist/esm/classic/index.js.map +1 -0
  174. package/dist/esm/classic/resourceSyncRules/index.d.ts +29 -0
  175. package/dist/esm/classic/resourceSyncRules/index.js +35 -0
  176. package/dist/esm/classic/resourceSyncRules/index.js.map +1 -0
  177. package/dist/esm/customLocationsManagementClient.d.ts +18 -0
  178. package/dist/esm/customLocationsManagementClient.js +37 -0
  179. package/dist/esm/customLocationsManagementClient.js.map +1 -0
  180. package/dist/esm/index.d.ts +18 -0
  181. package/dist/esm/index.js +9 -0
  182. package/dist/esm/index.js.map +1 -0
  183. package/dist/esm/logger.d.ts +2 -0
  184. package/dist/esm/logger.js +5 -0
  185. package/dist/esm/logger.js.map +1 -0
  186. package/dist/esm/models/index.d.ts +3 -0
  187. package/dist/esm/models/index.js +4 -0
  188. package/dist/esm/models/index.js.map +1 -0
  189. package/dist/esm/models/models.d.ts +402 -0
  190. package/dist/esm/models/models.js +506 -0
  191. package/dist/esm/models/models.js.map +1 -0
  192. package/dist/esm/package.json +3 -0
  193. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  194. package/dist/esm/restorePollerHelpers.js +101 -0
  195. package/dist/esm/restorePollerHelpers.js.map +1 -0
  196. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  197. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  198. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  199. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  200. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  201. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  202. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  203. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  204. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  205. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  206. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  207. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  208. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  209. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  210. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  211. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  212. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  213. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  214. package/package.json +151 -90
  215. package/CHANGELOG.md +0 -54
  216. package/dist/index.js +0 -2315
  217. package/dist/index.js.map +0 -1
  218. package/dist/index.min.js +0 -1
  219. package/dist/index.min.js.map +0 -1
  220. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
  221. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
  222. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -50
  223. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
  224. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
  225. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
  226. package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -39
  227. package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
  228. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
  229. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
  230. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -42
  231. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
  232. package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
  233. package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
  234. package/dist-esm/samples-dev/customLocationsGetSample.js +0 -39
  235. package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
  236. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -52
  239. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
  240. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -51
  243. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
  244. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -53
  247. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
  248. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -51
  251. package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
  252. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -42
  255. package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
  256. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -49
  259. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
  260. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -40
  263. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
  264. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -40
  267. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
  268. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
  269. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
  270. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -53
  271. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
  272. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -42
  275. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
  276. package/dist-esm/src/customLocationsManagementClient.d.ts +0 -21
  277. package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
  278. package/dist-esm/src/customLocationsManagementClient.js +0 -101
  279. package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
  280. package/dist-esm/src/index.d.ts +0 -6
  281. package/dist-esm/src/index.d.ts.map +0 -1
  282. package/dist-esm/src/index.js +0 -13
  283. package/dist-esm/src/index.js.map +0 -1
  284. package/dist-esm/src/lroImpl.d.ts +0 -16
  285. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  286. package/dist-esm/src/lroImpl.js +0 -29
  287. package/dist-esm/src/lroImpl.js.map +0 -1
  288. package/dist-esm/src/models/index.d.ts +0 -541
  289. package/dist-esm/src/models/index.d.ts.map +0 -1
  290. package/dist-esm/src/models/index.js +0 -34
  291. package/dist-esm/src/models/index.js.map +0 -1
  292. package/dist-esm/src/models/mappers.d.ts +0 -26
  293. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  294. package/dist-esm/src/models/mappers.js +0 -777
  295. package/dist-esm/src/models/mappers.js.map +0 -1
  296. package/dist-esm/src/models/parameters.d.ts +0 -27
  297. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  298. package/dist-esm/src/models/parameters.js +0 -185
  299. package/dist-esm/src/models/parameters.js.map +0 -1
  300. package/dist-esm/src/operations/customLocations.d.ts +0 -155
  301. package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
  302. package/dist-esm/src/operations/customLocations.js +0 -757
  303. package/dist-esm/src/operations/customLocations.js.map +0 -1
  304. package/dist-esm/src/operations/index.d.ts +0 -3
  305. package/dist-esm/src/operations/index.d.ts.map +0 -1
  306. package/dist-esm/src/operations/index.js +0 -10
  307. package/dist-esm/src/operations/index.js.map +0 -1
  308. package/dist-esm/src/operations/resourceSyncRules.d.ts +0 -97
  309. package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
  310. package/dist-esm/src/operations/resourceSyncRules.js +0 -411
  311. package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
  312. package/dist-esm/src/operationsInterfaces/customLocations.d.ts +0 -86
  313. package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
  314. package/dist-esm/src/operationsInterfaces/customLocations.js +0 -9
  315. package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
  316. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  317. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  318. package/dist-esm/src/operationsInterfaces/index.js +0 -10
  319. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  320. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts +0 -71
  321. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js +0 -9
  323. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
  324. package/dist-esm/src/pagingHelper.d.ts +0 -13
  325. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  326. package/dist-esm/src/pagingHelper.js +0 -32
  327. package/dist-esm/src/pagingHelper.js.map +0 -1
  328. package/dist-esm/test/sampleTest.d.ts +0 -2
  329. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  330. package/dist-esm/test/sampleTest.js +0 -38
  331. package/dist-esm/test/sampleTest.js.map +0 -1
  332. package/review/arm-extendedlocation.api.md +0 -434
  333. package/rollup.config.js +0 -122
  334. package/src/customLocationsManagementClient.ts +0 -142
  335. package/src/index.ts +0 -13
  336. package/src/lroImpl.ts +0 -34
  337. package/src/models/index.ts +0 -606
  338. package/src/models/mappers.ts +0 -832
  339. package/src/models/parameters.ts +0 -225
  340. package/src/operations/customLocations.ts +0 -977
  341. package/src/operations/index.ts +0 -10
  342. package/src/operations/resourceSyncRules.ts +0 -575
  343. package/src/operationsInterfaces/customLocations.ts +0 -160
  344. package/src/operationsInterfaces/index.ts +0 -10
  345. package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
  346. package/src/pagingHelper.ts +0 -39
  347. package/tsconfig.json +0 -33
  348. package/types/arm-extendedlocation.d.ts +0 -790
@@ -1,757 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- import { LroEngine } from "@azure/core-lro";
14
- import { LroImpl } from "../lroImpl";
15
- /// <reference lib="esnext.asynciterable" />
16
- /** Class containing CustomLocations operations. */
17
- export class CustomLocationsImpl {
18
- /**
19
- * Initialize a new instance of the class CustomLocations class.
20
- * @param client Reference to the service client
21
- */
22
- constructor(client) {
23
- this.client = client;
24
- }
25
- /**
26
- * Lists all available Custom Locations operations.
27
- * @param options The options parameters.
28
- */
29
- listOperations(options) {
30
- const iter = this.listOperationsPagingAll(options);
31
- return {
32
- next() {
33
- return iter.next();
34
- },
35
- [Symbol.asyncIterator]() {
36
- return this;
37
- },
38
- byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
- throw new Error("maxPageSize is not supported by this operation.");
41
- }
42
- return this.listOperationsPagingPage(options, settings);
43
- }
44
- };
45
- }
46
- listOperationsPagingPage(options, settings) {
47
- return __asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._listOperations(options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listOperationsNext(continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
65
- }
66
- listOperationsPagingAll(options) {
67
- return __asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
68
- var e_1, _a;
69
- try {
70
- for (var _b = __asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
71
- const page = _c.value;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
83
- }
84
- /**
85
- * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
86
- * each Custom Location
87
- * @param options The options parameters.
88
- */
89
- listBySubscription(options) {
90
- const iter = this.listBySubscriptionPagingAll(options);
91
- return {
92
- next() {
93
- return iter.next();
94
- },
95
- [Symbol.asyncIterator]() {
96
- return this;
97
- },
98
- byPage: (settings) => {
99
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
100
- throw new Error("maxPageSize is not supported by this operation.");
101
- }
102
- return this.listBySubscriptionPagingPage(options, settings);
103
- }
104
- };
105
- }
106
- listBySubscriptionPagingPage(options, settings) {
107
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
108
- let result;
109
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
- if (!continuationToken) {
111
- result = yield __await(this._listBySubscription(options));
112
- let page = result.value || [];
113
- continuationToken = result.nextLink;
114
- setContinuationToken(page, continuationToken);
115
- yield yield __await(page);
116
- }
117
- while (continuationToken) {
118
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
119
- continuationToken = result.nextLink;
120
- let page = result.value || [];
121
- setContinuationToken(page, continuationToken);
122
- yield yield __await(page);
123
- }
124
- });
125
- }
126
- listBySubscriptionPagingAll(options) {
127
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
128
- var e_2, _a;
129
- try {
130
- for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
131
- const page = _c.value;
132
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
133
- }
134
- }
135
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
136
- finally {
137
- try {
138
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
139
- }
140
- finally { if (e_2) throw e_2.error; }
141
- }
142
- });
143
- }
144
- /**
145
- * Gets a list of Custom Locations in the specified subscription and resource group. The operation
146
- * returns properties of each Custom Location.
147
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
- * @param options The options parameters.
149
- */
150
- listByResourceGroup(resourceGroupName, options) {
151
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
152
- return {
153
- next() {
154
- return iter.next();
155
- },
156
- [Symbol.asyncIterator]() {
157
- return this;
158
- },
159
- byPage: (settings) => {
160
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
161
- throw new Error("maxPageSize is not supported by this operation.");
162
- }
163
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
164
- }
165
- };
166
- }
167
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
168
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
169
- let result;
170
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
171
- if (!continuationToken) {
172
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
173
- let page = result.value || [];
174
- continuationToken = result.nextLink;
175
- setContinuationToken(page, continuationToken);
176
- yield yield __await(page);
177
- }
178
- while (continuationToken) {
179
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
180
- continuationToken = result.nextLink;
181
- let page = result.value || [];
182
- setContinuationToken(page, continuationToken);
183
- yield yield __await(page);
184
- }
185
- });
186
- }
187
- listByResourceGroupPagingAll(resourceGroupName, options) {
188
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
189
- var e_3, _a;
190
- try {
191
- for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
192
- const page = _c.value;
193
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
194
- }
195
- }
196
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
197
- finally {
198
- try {
199
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
200
- }
201
- finally { if (e_3) throw e_3.error; }
202
- }
203
- });
204
- }
205
- /**
206
- * Gets the list of the Enabled Resource Types.
207
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
208
- * @param resourceName Custom Locations name.
209
- * @param options The options parameters.
210
- */
211
- listEnabledResourceTypes(resourceGroupName, resourceName, options) {
212
- const iter = this.listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options);
213
- return {
214
- next() {
215
- return iter.next();
216
- },
217
- [Symbol.asyncIterator]() {
218
- return this;
219
- },
220
- byPage: (settings) => {
221
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
222
- throw new Error("maxPageSize is not supported by this operation.");
223
- }
224
- return this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings);
225
- }
226
- };
227
- }
228
- listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings) {
229
- return __asyncGenerator(this, arguments, function* listEnabledResourceTypesPagingPage_1() {
230
- let result;
231
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
232
- if (!continuationToken) {
233
- result = yield __await(this._listEnabledResourceTypes(resourceGroupName, resourceName, options));
234
- let page = result.value || [];
235
- continuationToken = result.nextLink;
236
- setContinuationToken(page, continuationToken);
237
- yield yield __await(page);
238
- }
239
- while (continuationToken) {
240
- result = yield __await(this._listEnabledResourceTypesNext(resourceGroupName, resourceName, continuationToken, options));
241
- continuationToken = result.nextLink;
242
- let page = result.value || [];
243
- setContinuationToken(page, continuationToken);
244
- yield yield __await(page);
245
- }
246
- });
247
- }
248
- listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options) {
249
- return __asyncGenerator(this, arguments, function* listEnabledResourceTypesPagingAll_1() {
250
- var e_4, _a;
251
- try {
252
- for (var _b = __asyncValues(this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
253
- const page = _c.value;
254
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
255
- }
256
- }
257
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
258
- finally {
259
- try {
260
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
261
- }
262
- finally { if (e_4) throw e_4.error; }
263
- }
264
- });
265
- }
266
- /**
267
- * Lists all available Custom Locations operations.
268
- * @param options The options parameters.
269
- */
270
- _listOperations(options) {
271
- return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
272
- }
273
- /**
274
- * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
275
- * each Custom Location
276
- * @param options The options parameters.
277
- */
278
- _listBySubscription(options) {
279
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
280
- }
281
- /**
282
- * Gets a list of Custom Locations in the specified subscription and resource group. The operation
283
- * returns properties of each Custom Location.
284
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
285
- * @param options The options parameters.
286
- */
287
- _listByResourceGroup(resourceGroupName, options) {
288
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
289
- }
290
- /**
291
- * Gets the details of the customLocation with a specified resource group and name.
292
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
293
- * @param resourceName Custom Locations name.
294
- * @param options The options parameters.
295
- */
296
- get(resourceGroupName, resourceName, options) {
297
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
298
- }
299
- /**
300
- * Creates or updates a Custom Location in the specified Subscription and Resource Group
301
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
302
- * @param resourceName Custom Locations name.
303
- * @param parameters Parameters supplied to create or update a Custom Location.
304
- * @param options The options parameters.
305
- */
306
- beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options) {
307
- return __awaiter(this, void 0, void 0, function* () {
308
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
309
- return this.client.sendOperationRequest(args, spec);
310
- });
311
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
312
- var _a;
313
- let currentRawResponse = undefined;
314
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
315
- const callback = (rawResponse, flatResponse) => {
316
- currentRawResponse = rawResponse;
317
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
318
- };
319
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
320
- const flatResponse = yield directSendOperation(updatedArgs, spec);
321
- return {
322
- flatResponse,
323
- rawResponse: {
324
- statusCode: currentRawResponse.status,
325
- body: currentRawResponse.parsedBody,
326
- headers: currentRawResponse.headers.toJSON()
327
- }
328
- };
329
- });
330
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
331
- const poller = new LroEngine(lro, {
332
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
333
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
334
- lroResourceLocationConfig: "azure-async-operation"
335
- });
336
- yield poller.poll();
337
- return poller;
338
- });
339
- }
340
- /**
341
- * Creates or updates a Custom Location in the specified Subscription and Resource Group
342
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
343
- * @param resourceName Custom Locations name.
344
- * @param parameters Parameters supplied to create or update a Custom Location.
345
- * @param options The options parameters.
346
- */
347
- beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
348
- return __awaiter(this, void 0, void 0, function* () {
349
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
350
- return poller.pollUntilDone();
351
- });
352
- }
353
- /**
354
- * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
355
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
356
- * @param resourceName Custom Locations name.
357
- * @param options The options parameters.
358
- */
359
- beginDelete(resourceGroupName, resourceName, options) {
360
- return __awaiter(this, void 0, void 0, function* () {
361
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
362
- return this.client.sendOperationRequest(args, spec);
363
- });
364
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
365
- var _a;
366
- let currentRawResponse = undefined;
367
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
368
- const callback = (rawResponse, flatResponse) => {
369
- currentRawResponse = rawResponse;
370
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
371
- };
372
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
373
- const flatResponse = yield directSendOperation(updatedArgs, spec);
374
- return {
375
- flatResponse,
376
- rawResponse: {
377
- statusCode: currentRawResponse.status,
378
- body: currentRawResponse.parsedBody,
379
- headers: currentRawResponse.headers.toJSON()
380
- }
381
- };
382
- });
383
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
384
- const poller = new LroEngine(lro, {
385
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
386
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
387
- lroResourceLocationConfig: "azure-async-operation"
388
- });
389
- yield poller.poll();
390
- return poller;
391
- });
392
- }
393
- /**
394
- * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
395
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
396
- * @param resourceName Custom Locations name.
397
- * @param options The options parameters.
398
- */
399
- beginDeleteAndWait(resourceGroupName, resourceName, options) {
400
- return __awaiter(this, void 0, void 0, function* () {
401
- const poller = yield this.beginDelete(resourceGroupName, resourceName, options);
402
- return poller.pollUntilDone();
403
- });
404
- }
405
- /**
406
- * Updates a Custom Location with the specified Resource Name in the specified Resource Group and
407
- * Subscription.
408
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
409
- * @param resourceName Custom Locations name.
410
- * @param options The options parameters.
411
- */
412
- update(resourceGroupName, resourceName, options) {
413
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec);
414
- }
415
- /**
416
- * Gets the list of the Enabled Resource Types.
417
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
418
- * @param resourceName Custom Locations name.
419
- * @param options The options parameters.
420
- */
421
- _listEnabledResourceTypes(resourceGroupName, resourceName, options) {
422
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listEnabledResourceTypesOperationSpec);
423
- }
424
- /**
425
- * Returns the target resource group associated with the resource sync rules of the Custom Location
426
- * that match the rules passed in with the Find Target Resource Group Request.
427
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
428
- * @param resourceName Custom Locations name.
429
- * @param parameters Parameters of the find target resource group request.
430
- * @param options The options parameters.
431
- */
432
- findTargetResourceGroup(resourceGroupName, resourceName, parameters, options) {
433
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, findTargetResourceGroupOperationSpec);
434
- }
435
- /**
436
- * ListOperationsNext
437
- * @param nextLink The nextLink from the previous successful call to the ListOperations method.
438
- * @param options The options parameters.
439
- */
440
- _listOperationsNext(nextLink, options) {
441
- return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
442
- }
443
- /**
444
- * ListBySubscriptionNext
445
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
446
- * @param options The options parameters.
447
- */
448
- _listBySubscriptionNext(nextLink, options) {
449
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
450
- }
451
- /**
452
- * ListByResourceGroupNext
453
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
454
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
455
- * @param options The options parameters.
456
- */
457
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
458
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
459
- }
460
- /**
461
- * ListEnabledResourceTypesNext
462
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
463
- * @param resourceName Custom Locations name.
464
- * @param nextLink The nextLink from the previous successful call to the ListEnabledResourceTypes
465
- * method.
466
- * @param options The options parameters.
467
- */
468
- _listEnabledResourceTypesNext(resourceGroupName, resourceName, nextLink, options) {
469
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listEnabledResourceTypesNextOperationSpec);
470
- }
471
- }
472
- // Operation Specifications
473
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
474
- const listOperationsOperationSpec = {
475
- path: "/providers/Microsoft.ExtendedLocation/operations",
476
- httpMethod: "GET",
477
- responses: {
478
- 200: {
479
- bodyMapper: Mappers.CustomLocationOperationsList
480
- },
481
- default: {
482
- bodyMapper: Mappers.ErrorResponse
483
- }
484
- },
485
- queryParameters: [Parameters.apiVersion],
486
- urlParameters: [Parameters.$host],
487
- headerParameters: [Parameters.accept],
488
- serializer
489
- };
490
- const listBySubscriptionOperationSpec = {
491
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations",
492
- httpMethod: "GET",
493
- responses: {
494
- 200: {
495
- bodyMapper: Mappers.CustomLocationListResult
496
- },
497
- default: {
498
- bodyMapper: Mappers.ErrorResponse
499
- }
500
- },
501
- queryParameters: [Parameters.apiVersion],
502
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
503
- headerParameters: [Parameters.accept],
504
- serializer
505
- };
506
- const listByResourceGroupOperationSpec = {
507
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations",
508
- httpMethod: "GET",
509
- responses: {
510
- 200: {
511
- bodyMapper: Mappers.CustomLocationListResult
512
- },
513
- default: {
514
- bodyMapper: Mappers.ErrorResponse
515
- }
516
- },
517
- queryParameters: [Parameters.apiVersion],
518
- urlParameters: [
519
- Parameters.$host,
520
- Parameters.subscriptionId,
521
- Parameters.resourceGroupName
522
- ],
523
- headerParameters: [Parameters.accept],
524
- serializer
525
- };
526
- const getOperationSpec = {
527
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
528
- httpMethod: "GET",
529
- responses: {
530
- 200: {
531
- bodyMapper: Mappers.CustomLocation
532
- },
533
- default: {
534
- bodyMapper: Mappers.ErrorResponse
535
- }
536
- },
537
- queryParameters: [Parameters.apiVersion],
538
- urlParameters: [
539
- Parameters.$host,
540
- Parameters.subscriptionId,
541
- Parameters.resourceGroupName,
542
- Parameters.resourceName
543
- ],
544
- headerParameters: [Parameters.accept],
545
- serializer
546
- };
547
- const createOrUpdateOperationSpec = {
548
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
549
- httpMethod: "PUT",
550
- responses: {
551
- 200: {
552
- bodyMapper: Mappers.CustomLocation
553
- },
554
- 201: {
555
- bodyMapper: Mappers.CustomLocation
556
- },
557
- 202: {
558
- bodyMapper: Mappers.CustomLocation
559
- },
560
- 204: {
561
- bodyMapper: Mappers.CustomLocation
562
- },
563
- default: {
564
- bodyMapper: Mappers.ErrorResponse
565
- }
566
- },
567
- requestBody: Parameters.parameters,
568
- queryParameters: [Parameters.apiVersion],
569
- urlParameters: [
570
- Parameters.$host,
571
- Parameters.subscriptionId,
572
- Parameters.resourceGroupName,
573
- Parameters.resourceName
574
- ],
575
- headerParameters: [Parameters.accept, Parameters.contentType],
576
- mediaType: "json",
577
- serializer
578
- };
579
- const deleteOperationSpec = {
580
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
581
- httpMethod: "DELETE",
582
- responses: {
583
- 200: {},
584
- 201: {},
585
- 202: {},
586
- 204: {},
587
- default: {
588
- bodyMapper: Mappers.ErrorResponse
589
- }
590
- },
591
- queryParameters: [Parameters.apiVersion],
592
- urlParameters: [
593
- Parameters.$host,
594
- Parameters.subscriptionId,
595
- Parameters.resourceGroupName,
596
- Parameters.resourceName
597
- ],
598
- headerParameters: [Parameters.accept],
599
- serializer
600
- };
601
- const updateOperationSpec = {
602
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
603
- httpMethod: "PATCH",
604
- responses: {
605
- 200: {
606
- bodyMapper: Mappers.CustomLocation
607
- },
608
- default: {
609
- bodyMapper: Mappers.ErrorResponse
610
- }
611
- },
612
- requestBody: {
613
- parameterPath: {
614
- identity: ["options", "identity"],
615
- tags: ["options", "tags"],
616
- authentication: ["options", "authentication"],
617
- clusterExtensionIds: ["options", "clusterExtensionIds"],
618
- displayName: ["options", "displayName"],
619
- hostResourceId: ["options", "hostResourceId"],
620
- hostType: ["options", "hostType"],
621
- namespace: ["options", "namespace"],
622
- provisioningState: ["options", "provisioningState"]
623
- },
624
- mapper: Object.assign(Object.assign({}, Mappers.PatchableCustomLocations), { required: true })
625
- },
626
- queryParameters: [Parameters.apiVersion],
627
- urlParameters: [
628
- Parameters.$host,
629
- Parameters.subscriptionId,
630
- Parameters.resourceGroupName,
631
- Parameters.resourceName
632
- ],
633
- headerParameters: [Parameters.accept, Parameters.contentType],
634
- mediaType: "json",
635
- serializer
636
- };
637
- const listEnabledResourceTypesOperationSpec = {
638
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes",
639
- httpMethod: "GET",
640
- responses: {
641
- 200: {
642
- bodyMapper: Mappers.EnabledResourceTypesListResult
643
- },
644
- default: {
645
- bodyMapper: Mappers.ErrorResponse
646
- }
647
- },
648
- queryParameters: [Parameters.apiVersion],
649
- urlParameters: [
650
- Parameters.$host,
651
- Parameters.subscriptionId,
652
- Parameters.resourceGroupName,
653
- Parameters.resourceName
654
- ],
655
- headerParameters: [Parameters.accept],
656
- serializer
657
- };
658
- const findTargetResourceGroupOperationSpec = {
659
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup",
660
- httpMethod: "POST",
661
- responses: {
662
- 200: {
663
- bodyMapper: Mappers.CustomLocationFindTargetResourceGroupResult
664
- },
665
- 204: {},
666
- default: {
667
- bodyMapper: Mappers.ErrorResponse
668
- }
669
- },
670
- requestBody: Parameters.parameters2,
671
- queryParameters: [Parameters.apiVersion],
672
- urlParameters: [
673
- Parameters.$host,
674
- Parameters.subscriptionId,
675
- Parameters.resourceGroupName,
676
- Parameters.resourceName
677
- ],
678
- headerParameters: [Parameters.accept, Parameters.contentType],
679
- mediaType: "json",
680
- serializer
681
- };
682
- const listOperationsNextOperationSpec = {
683
- path: "{nextLink}",
684
- httpMethod: "GET",
685
- responses: {
686
- 200: {
687
- bodyMapper: Mappers.CustomLocationOperationsList
688
- },
689
- default: {
690
- bodyMapper: Mappers.ErrorResponse
691
- }
692
- },
693
- urlParameters: [Parameters.$host, Parameters.nextLink],
694
- headerParameters: [Parameters.accept],
695
- serializer
696
- };
697
- const listBySubscriptionNextOperationSpec = {
698
- path: "{nextLink}",
699
- httpMethod: "GET",
700
- responses: {
701
- 200: {
702
- bodyMapper: Mappers.CustomLocationListResult
703
- },
704
- default: {
705
- bodyMapper: Mappers.ErrorResponse
706
- }
707
- },
708
- urlParameters: [
709
- Parameters.$host,
710
- Parameters.subscriptionId,
711
- Parameters.nextLink
712
- ],
713
- headerParameters: [Parameters.accept],
714
- serializer
715
- };
716
- const listByResourceGroupNextOperationSpec = {
717
- path: "{nextLink}",
718
- httpMethod: "GET",
719
- responses: {
720
- 200: {
721
- bodyMapper: Mappers.CustomLocationListResult
722
- },
723
- default: {
724
- bodyMapper: Mappers.ErrorResponse
725
- }
726
- },
727
- urlParameters: [
728
- Parameters.$host,
729
- Parameters.subscriptionId,
730
- Parameters.resourceGroupName,
731
- Parameters.nextLink
732
- ],
733
- headerParameters: [Parameters.accept],
734
- serializer
735
- };
736
- const listEnabledResourceTypesNextOperationSpec = {
737
- path: "{nextLink}",
738
- httpMethod: "GET",
739
- responses: {
740
- 200: {
741
- bodyMapper: Mappers.EnabledResourceTypesListResult
742
- },
743
- default: {
744
- bodyMapper: Mappers.ErrorResponse
745
- }
746
- },
747
- urlParameters: [
748
- Parameters.$host,
749
- Parameters.subscriptionId,
750
- Parameters.resourceGroupName,
751
- Parameters.resourceName,
752
- Parameters.nextLink
753
- ],
754
- headerParameters: [Parameters.accept],
755
- serializer
756
- };
757
- //# sourceMappingURL=customLocations.js.map