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

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 (316) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/{dist-esm/src → dist/browser}/customLocationsManagementClient.d.ts +2 -2
  5. package/dist/browser/customLocationsManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/customLocationsManagementClient.js +31 -24
  7. package/dist/browser/customLocationsManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  13. package/dist/browser/lroImpl.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/index.d.ts +20 -20
  15. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +55 -25
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  20. package/dist/browser/models/parameters.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/customLocations.d.ts +3 -3
  22. package/dist/browser/operations/customLocations.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/customLocations.js +170 -228
  24. package/dist/browser/operations/customLocations.js.map +1 -0
  25. package/dist/browser/operations/index.d.ts +3 -0
  26. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  27. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
  28. package/dist/browser/operations/index.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.d.ts +3 -3
  30. package/dist/browser/operations/resourceSyncRules.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.js +110 -123
  32. package/dist/browser/operations/resourceSyncRules.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.d.ts +1 -1
  34. package/dist/browser/operationsInterfaces/customLocations.d.ts.map +1 -0
  35. package/dist/browser/operationsInterfaces/customLocations.js.map +1 -0
  36. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  38. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
  39. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/resourceSyncRules.js.map +1 -0
  43. package/dist/browser/package.json +3 -0
  44. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  45. package/dist/browser/pagingHelper.js.map +1 -0
  46. package/dist/commonjs/customLocationsManagementClient.d.ts +21 -0
  47. package/dist/commonjs/customLocationsManagementClient.d.ts.map +1 -0
  48. package/dist/commonjs/customLocationsManagementClient.js +113 -0
  49. package/dist/commonjs/customLocationsManagementClient.js.map +1 -0
  50. package/dist/commonjs/index.d.ts +5 -0
  51. package/dist/commonjs/index.d.ts.map +1 -0
  52. package/dist/commonjs/index.js +19 -0
  53. package/dist/commonjs/index.js.map +1 -0
  54. package/dist/commonjs/lroImpl.d.ts +16 -0
  55. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  56. package/dist/commonjs/lroImpl.js +37 -0
  57. package/dist/commonjs/lroImpl.js.map +1 -0
  58. package/{types/arm-extendedlocation.d.ts → dist/commonjs/models/index.d.ts} +541 -790
  59. package/dist/commonjs/models/index.d.ts.map +1 -0
  60. package/dist/commonjs/models/index.js +37 -0
  61. package/dist/commonjs/models/index.js.map +1 -0
  62. package/dist/commonjs/models/mappers.d.ts +26 -0
  63. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  64. package/dist/commonjs/models/mappers.js +810 -0
  65. package/dist/commonjs/models/mappers.js.map +1 -0
  66. package/dist/commonjs/models/parameters.d.ts +27 -0
  67. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  68. package/dist/commonjs/models/parameters.js +188 -0
  69. package/dist/commonjs/models/parameters.js.map +1 -0
  70. package/dist/commonjs/operations/customLocations.d.ts +155 -0
  71. package/dist/commonjs/operations/customLocations.d.ts.map +1 -0
  72. package/dist/commonjs/operations/customLocations.js +704 -0
  73. package/dist/commonjs/operations/customLocations.js.map +1 -0
  74. package/dist/commonjs/operations/index.d.ts +3 -0
  75. package/dist/commonjs/operations/index.d.ts.map +1 -0
  76. package/dist/commonjs/operations/index.js +13 -0
  77. package/dist/commonjs/operations/index.js.map +1 -0
  78. package/dist/commonjs/operations/resourceSyncRules.d.ts +97 -0
  79. package/dist/commonjs/operations/resourceSyncRules.d.ts.map +1 -0
  80. package/dist/commonjs/operations/resourceSyncRules.js +403 -0
  81. package/dist/commonjs/operations/resourceSyncRules.js.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/customLocations.d.ts +86 -0
  83. package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/customLocations.js +10 -0
  85. package/dist/commonjs/operationsInterfaces/customLocations.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  87. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  89. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  91. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +1 -0
  94. package/dist/commonjs/package.json +3 -0
  95. package/dist/commonjs/pagingHelper.d.ts +13 -0
  96. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  97. package/dist/commonjs/pagingHelper.js +34 -0
  98. package/dist/commonjs/pagingHelper.js.map +1 -0
  99. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  100. package/dist/esm/customLocationsManagementClient.d.ts +21 -0
  101. package/dist/esm/customLocationsManagementClient.d.ts.map +1 -0
  102. package/dist/esm/customLocationsManagementClient.js +108 -0
  103. package/dist/esm/customLocationsManagementClient.js.map +1 -0
  104. package/dist/esm/index.d.ts +5 -0
  105. package/dist/esm/index.d.ts.map +1 -0
  106. package/{src/index.ts → dist/esm/index.js} +5 -5
  107. package/dist/esm/index.js.map +1 -0
  108. package/dist/esm/lroImpl.d.ts +16 -0
  109. package/dist/esm/lroImpl.d.ts.map +1 -0
  110. package/dist/esm/lroImpl.js +33 -0
  111. package/dist/esm/lroImpl.js.map +1 -0
  112. package/dist/esm/models/index.d.ts +541 -0
  113. package/dist/esm/models/index.d.ts.map +1 -0
  114. package/dist/esm/models/index.js +34 -0
  115. package/dist/esm/models/index.js.map +1 -0
  116. package/dist/esm/models/mappers.d.ts +26 -0
  117. package/dist/esm/models/mappers.d.ts.map +1 -0
  118. package/dist/esm/models/mappers.js +807 -0
  119. package/dist/esm/models/mappers.js.map +1 -0
  120. package/dist/esm/models/parameters.d.ts +27 -0
  121. package/dist/esm/models/parameters.d.ts.map +1 -0
  122. package/dist/esm/models/parameters.js +185 -0
  123. package/dist/esm/models/parameters.js.map +1 -0
  124. package/dist/esm/operations/customLocations.d.ts +155 -0
  125. package/dist/esm/operations/customLocations.d.ts.map +1 -0
  126. package/dist/esm/operations/customLocations.js +699 -0
  127. package/dist/esm/operations/customLocations.js.map +1 -0
  128. package/dist/esm/operations/index.d.ts +3 -0
  129. package/dist/esm/operations/index.d.ts.map +1 -0
  130. package/dist/esm/operations/index.js +10 -0
  131. package/dist/esm/operations/index.js.map +1 -0
  132. package/dist/esm/operations/resourceSyncRules.d.ts +97 -0
  133. package/dist/esm/operations/resourceSyncRules.d.ts.map +1 -0
  134. package/dist/esm/operations/resourceSyncRules.js +398 -0
  135. package/dist/esm/operations/resourceSyncRules.js.map +1 -0
  136. package/dist/esm/operationsInterfaces/customLocations.d.ts +86 -0
  137. package/dist/esm/operationsInterfaces/customLocations.d.ts.map +1 -0
  138. package/{src/operations/index.ts → dist/esm/operationsInterfaces/customLocations.js} +2 -3
  139. package/dist/esm/operationsInterfaces/customLocations.js.map +1 -0
  140. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  141. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  142. package/dist/esm/operationsInterfaces/index.js +10 -0
  143. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  144. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  145. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  146. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/resourceSyncRules.js} +2 -3
  147. package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +1 -0
  148. package/dist/esm/package.json +3 -0
  149. package/dist/esm/pagingHelper.d.ts +13 -0
  150. package/dist/esm/pagingHelper.d.ts.map +1 -0
  151. package/dist/esm/pagingHelper.js +30 -0
  152. package/dist/esm/pagingHelper.js.map +1 -0
  153. package/dist/react-native/customLocationsManagementClient.d.ts +21 -0
  154. package/dist/react-native/customLocationsManagementClient.d.ts.map +1 -0
  155. package/dist/react-native/customLocationsManagementClient.js +108 -0
  156. package/dist/react-native/customLocationsManagementClient.js.map +1 -0
  157. package/dist/react-native/index.d.ts +5 -0
  158. package/dist/react-native/index.d.ts.map +1 -0
  159. package/dist/react-native/index.js +13 -0
  160. package/dist/react-native/index.js.map +1 -0
  161. package/dist/react-native/lroImpl.d.ts +16 -0
  162. package/dist/react-native/lroImpl.d.ts.map +1 -0
  163. package/dist/react-native/lroImpl.js +33 -0
  164. package/dist/react-native/lroImpl.js.map +1 -0
  165. package/dist/react-native/models/index.d.ts +541 -0
  166. package/dist/react-native/models/index.d.ts.map +1 -0
  167. package/dist/react-native/models/index.js +34 -0
  168. package/dist/react-native/models/index.js.map +1 -0
  169. package/dist/react-native/models/mappers.d.ts +26 -0
  170. package/dist/react-native/models/mappers.d.ts.map +1 -0
  171. package/dist/react-native/models/mappers.js +807 -0
  172. package/dist/react-native/models/mappers.js.map +1 -0
  173. package/dist/react-native/models/parameters.d.ts +27 -0
  174. package/dist/react-native/models/parameters.d.ts.map +1 -0
  175. package/dist/react-native/models/parameters.js +185 -0
  176. package/dist/react-native/models/parameters.js.map +1 -0
  177. package/dist/react-native/operations/customLocations.d.ts +155 -0
  178. package/dist/react-native/operations/customLocations.d.ts.map +1 -0
  179. package/dist/react-native/operations/customLocations.js +699 -0
  180. package/dist/react-native/operations/customLocations.js.map +1 -0
  181. package/dist/react-native/operations/index.d.ts +3 -0
  182. package/dist/react-native/operations/index.d.ts.map +1 -0
  183. package/dist/react-native/operations/index.js +10 -0
  184. package/dist/react-native/operations/index.js.map +1 -0
  185. package/dist/react-native/operations/resourceSyncRules.d.ts +97 -0
  186. package/dist/react-native/operations/resourceSyncRules.d.ts.map +1 -0
  187. package/dist/react-native/operations/resourceSyncRules.js +398 -0
  188. package/dist/react-native/operations/resourceSyncRules.js.map +1 -0
  189. package/dist/react-native/operationsInterfaces/customLocations.d.ts +86 -0
  190. package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +1 -0
  191. package/dist/react-native/operationsInterfaces/customLocations.js +9 -0
  192. package/dist/react-native/operationsInterfaces/customLocations.js.map +1 -0
  193. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  194. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  195. package/dist/react-native/operationsInterfaces/index.js +10 -0
  196. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  197. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  198. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  199. package/dist/react-native/operationsInterfaces/resourceSyncRules.js +9 -0
  200. package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +1 -0
  201. package/dist/react-native/package.json +3 -0
  202. package/dist/react-native/pagingHelper.d.ts +13 -0
  203. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  204. package/dist/react-native/pagingHelper.js +30 -0
  205. package/dist/react-native/pagingHelper.js.map +1 -0
  206. package/package.json +87 -78
  207. package/dist/index.js +0 -2315
  208. package/dist/index.js.map +0 -1
  209. package/dist/index.min.js +0 -1
  210. package/dist/index.min.js.map +0 -1
  211. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
  212. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
  213. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -50
  214. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
  215. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
  216. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -39
  218. package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
  219. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
  220. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -42
  222. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
  223. package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
  224. package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/customLocationsGetSample.js +0 -39
  226. package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
  227. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
  228. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -52
  230. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
  231. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
  232. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
  233. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -51
  234. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
  235. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
  236. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -53
  238. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
  239. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
  240. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -51
  242. package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
  243. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
  244. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
  245. package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -42
  246. package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
  247. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -49
  250. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
  251. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -40
  254. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
  255. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
  256. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
  257. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -40
  258. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
  259. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -53
  262. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
  263. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -42
  266. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
  267. package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
  268. package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
  269. package/dist-esm/src/index.d.ts +0 -6
  270. package/dist-esm/src/index.d.ts.map +0 -1
  271. package/dist-esm/src/index.js.map +0 -1
  272. package/dist-esm/src/lroImpl.js.map +0 -1
  273. package/dist-esm/src/models/index.js.map +0 -1
  274. package/dist-esm/src/models/mappers.js.map +0 -1
  275. package/dist-esm/src/models/parameters.js.map +0 -1
  276. package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
  277. package/dist-esm/src/operations/customLocations.js.map +0 -1
  278. package/dist-esm/src/operations/index.d.ts +0 -3
  279. package/dist-esm/src/operations/index.js.map +0 -1
  280. package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
  281. package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
  282. package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
  283. package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
  284. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  285. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  287. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
  288. package/dist-esm/src/pagingHelper.js.map +0 -1
  289. package/dist-esm/test/sampleTest.d.ts +0 -2
  290. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  291. package/dist-esm/test/sampleTest.js +0 -38
  292. package/dist-esm/test/sampleTest.js.map +0 -1
  293. package/rollup.config.js +0 -122
  294. package/src/customLocationsManagementClient.ts +0 -142
  295. package/src/lroImpl.ts +0 -34
  296. package/src/models/index.ts +0 -606
  297. package/src/models/mappers.ts +0 -832
  298. package/src/models/parameters.ts +0 -225
  299. package/src/operations/customLocations.ts +0 -977
  300. package/src/operations/resourceSyncRules.ts +0 -575
  301. package/src/operationsInterfaces/customLocations.ts +0 -160
  302. package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
  303. package/src/pagingHelper.ts +0 -39
  304. package/tsconfig.json +0 -33
  305. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  306. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  307. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  308. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  309. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  310. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  311. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  312. /package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.js +0 -0
  313. /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.js +0 -0
  314. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  315. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  316. /package/review/{arm-extendedlocation.api.md → arm-extendedlocation-node.api.md} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,18 +1,28 @@
1
1
  # Release History
2
2
 
3
+ ## 1.0.0-beta.4 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
3
13
  ## 1.0.0-beta.3 (2023-01-10)
4
14
 
5
- **Features**
15
+ ### Features Added
6
16
 
7
17
  - Exposes `getContinuationToken` helper function to extract continuation token
8
18
 
9
- **Bugs Fixed**
19
+ ### Bugs Fixed
10
20
 
11
21
  - A series of small bug fixs relevant to authentication and apiVersion policy
12
22
 
13
23
  ## 1.0.0-beta.2 (2022-07-20)
14
24
 
15
- **Features**
25
+ ### Features Added
16
26
 
17
27
  - Added operation group ResourceSyncRules
18
28
  - Added operation CustomLocations.findTargetResourceGroup
@@ -45,7 +55,7 @@
45
55
  - Class CustomLocationsManagementClient has a new parameter resourceSyncRules
46
56
  - Class CustomLocationsManagementClient has a new parameter subscriptionId
47
57
 
48
- **Breaking Changes**
58
+ ### Breaking Changes
49
59
 
50
60
  - Deleted Class CustomLocationsManagementClientContext
51
61
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2023 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,7 +6,7 @@ The customLocations Rest API spec.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/extendedlocation/arm-extendedlocation) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-extendedlocation) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-extendedlocation?view=azure-node-preview) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-extendedlocation?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
@@ -46,26 +46,34 @@ npm install @azure/identity
46
46
  You will also need to **register a new AAD application and grant access to Azure CustomLocationsManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
48
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { CustomLocationsManagementClient } = require("@azure/arm-extendedlocation");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { CustomLocationsManagementClient } from "@azure/arm-extendedlocation";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
58
  const client = new CustomLocationsManagementClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new CustomLocationsManagementClient(credential, subscriptionId);
65
59
  ```
66
60
 
61
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62
+
63
+ ```ts snippet:ReadmeSampleCreateClient_Browser
64
+ import { InteractiveBrowserCredential } from "@azure/identity";
65
+ import { CustomLocationsManagementClient } from "@azure/arm-extendedlocation";
66
+
67
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const client = new CustomLocationsManagementClient(credential, subscriptionId);
73
+ ```
67
74
 
68
75
  ### JavaScript Bundle
76
+
69
77
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
78
 
71
79
  ## Key concepts
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
88
 
81
89
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
90
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
91
+ ```ts snippet:SetLogLevel
92
+ import { setLogLevel } from "@azure/logger";
93
+
85
94
  setLogLevel("info");
86
95
  ```
87
96
 
@@ -99,9 +108,9 @@ If you'd like to contribute to this library, please read the [contributing guide
99
108
 
100
109
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
110
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fextendedlocation%2Farm-extendedlocation%2FREADME.png)
103
111
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
112
+
113
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
114
  [azure_sub]: https://azure.microsoft.com/free/
106
115
  [azure_sub]: https://azure.microsoft.com/free/
107
116
  [azure_portal]: https://portal.azure.com
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { CustomLocations, ResourceSyncRules } from "./operationsInterfaces";
4
- import { CustomLocationsManagementClientOptionalParams } from "./models";
3
+ import { CustomLocations, ResourceSyncRules } from "./operationsInterfaces/index.js";
4
+ import { CustomLocationsManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class CustomLocationsManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customLocationsManagementClient.d.ts","sourceRoot":"","sources":["../../src/customLocationsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,6CAA6C,EAAE,MAAM,mBAAmB,CAAC;AAElF,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;IA6EzD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC"}
@@ -5,11 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { CustomLocationsImpl, ResourceSyncRulesImpl } from "./operations";
10
+ import { CustomLocationsImpl, ResourceSyncRulesImpl } from "./operations/index.js";
12
11
  export class CustomLocationsManagementClient extends coreClient.ServiceClient {
12
+ $host;
13
+ apiVersion;
14
+ subscriptionId;
13
15
  /**
14
16
  * Initializes a new instance of the CustomLocationsManagementClient class.
15
17
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -17,7 +19,6 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
17
19
  * @param options The parameter options
18
20
  */
19
21
  constructor(credentials, subscriptionId, options) {
20
- var _a, _b, _c;
21
22
  if (credentials === undefined) {
22
23
  throw new Error("'credentials' cannot be null");
23
24
  }
@@ -32,16 +33,21 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
32
33
  requestContentType: "application/json; charset=utf-8",
33
34
  credential: credentials
34
35
  };
35
- const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.3`;
36
+ const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.4`;
36
37
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
38
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
39
  : `${packageDetails}`;
39
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ const optionsWithDefaults = {
41
+ ...defaults,
42
+ ...options,
43
+ userAgentOptions: {
40
44
  userAgentPrefix
41
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
45
+ },
46
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
47
+ };
42
48
  super(optionsWithDefaults);
43
49
  let bearerTokenAuthenticationPolicyFound = false;
44
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
50
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
45
51
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
52
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
53
  coreRestPipeline.bearerTokenAuthenticationPolicyName);
@@ -55,7 +61,8 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
55
61
  });
56
62
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
63
  credential: credentials,
58
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
64
+ scopes: optionsWithDefaults.credentialScopes ??
65
+ `${optionsWithDefaults.endpoint}/.default`,
59
66
  challengeCallbacks: {
60
67
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
61
68
  }
@@ -77,25 +84,25 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
77
84
  }
78
85
  const apiVersionPolicy = {
79
86
  name: "CustomApiVersionPolicy",
80
- sendRequest(request, next) {
81
- return __awaiter(this, void 0, void 0, function* () {
82
- const param = request.url.split("?");
83
- if (param.length > 1) {
84
- const newParams = param[1].split("&").map((item) => {
85
- if (item.indexOf("api-version") > -1) {
86
- return "api-version=" + apiVersion;
87
- }
88
- else {
89
- return item;
90
- }
91
- });
92
- request.url = param[0] + "?" + newParams.join("&");
93
- }
94
- return next(request);
95
- });
87
+ async sendRequest(request, next) {
88
+ const param = request.url.split("?");
89
+ if (param.length > 1) {
90
+ const newParams = param[1].split("&").map((item) => {
91
+ if (item.indexOf("api-version") > -1) {
92
+ return "api-version=" + apiVersion;
93
+ }
94
+ else {
95
+ return item;
96
+ }
97
+ });
98
+ request.url = param[0] + "?" + newParams.join("&");
99
+ }
100
+ return next(request);
96
101
  }
97
102
  };
98
103
  this.pipeline.addPolicy(apiVersionPolicy);
99
104
  }
105
+ customLocations;
106
+ resourceSyncRules;
100
107
  }
101
108
  //# sourceMappingURL=customLocationsManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customLocationsManagementClient.js","sourceRoot":"","sources":["../../src/customLocationsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAInF,MAAM,OAAO,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuD;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,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CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;CACtC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { CustomLocationsImpl, ResourceSyncRulesImpl } from \"./operations/index.js\";\nimport { CustomLocations, ResourceSyncRules } from \"./operationsInterfaces/index.js\";\nimport { CustomLocationsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CustomLocationsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CustomLocationsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CustomLocationsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CustomLocationsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-08-31-preview\";\n this.customLocations = new CustomLocationsImpl(this);\n this.resourceSyncRules = new ResourceSyncRulesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n customLocations: CustomLocations;\n resourceSyncRules: ResourceSyncRules;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { CustomLocationsManagementClient } from "./customLocationsManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { CustomLocationsManagementClient } from "./customLocationsManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { CustomLocationsManagementClient } from "./customLocationsManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { CustomLocationsManagementClient } from \"./customLocationsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -5,8 +5,12 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter, __rest } from "tslib";
9
8
  export class LroImpl {
9
+ sendOperationFn;
10
+ args;
11
+ spec;
12
+ requestPath;
13
+ requestMethod;
10
14
  constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
11
15
  this.sendOperationFn = sendOperationFn;
12
16
  this.args = args;
@@ -14,15 +18,15 @@ export class LroImpl {
14
18
  this.requestPath = requestPath;
15
19
  this.requestMethod = requestMethod;
16
20
  }
17
- sendInitialRequest() {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- return this.sendOperationFn(this.args, this.spec);
20
- });
21
+ async sendInitialRequest() {
22
+ return this.sendOperationFn(this.args, this.spec);
21
23
  }
22
- sendPollRequest(path) {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
25
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
24
+ async sendPollRequest(path) {
25
+ const { requestBody, ...restSpec } = this.spec;
26
+ return this.sendOperationFn(this.args, {
27
+ ...restSpec,
28
+ path,
29
+ httpMethod: "GET"
26
30
  });
27
31
  }
28
32
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
@@ -356,7 +356,7 @@ export declare enum KnownResourceIdentityType {
356
356
  * **SystemAssigned** \
357
357
  * **None**
358
358
  */
359
- export declare type ResourceIdentityType = string;
359
+ export type ResourceIdentityType = string;
360
360
  /** Known values of {@link HostType} that the service accepts. */
361
361
  export declare enum KnownHostType {
362
362
  /** Kubernetes */
@@ -369,7 +369,7 @@ export declare enum KnownHostType {
369
369
  * ### Known values supported by the service
370
370
  * **Kubernetes**
371
371
  */
372
- export declare type HostType = string;
372
+ export type HostType = string;
373
373
  /** Known values of {@link CreatedByType} that the service accepts. */
374
374
  export declare enum KnownCreatedByType {
375
375
  /** User */
@@ -391,27 +391,27 @@ export declare enum KnownCreatedByType {
391
391
  * **ManagedIdentity** \
392
392
  * **Key**
393
393
  */
394
- export declare type CreatedByType = string;
394
+ export type CreatedByType = string;
395
395
  /** Optional parameters. */
396
396
  export interface CustomLocationsListOperationsOptionalParams extends coreClient.OperationOptions {
397
397
  }
398
398
  /** Contains response data for the listOperations operation. */
399
- export declare type CustomLocationsListOperationsResponse = CustomLocationOperationsList;
399
+ export type CustomLocationsListOperationsResponse = CustomLocationOperationsList;
400
400
  /** Optional parameters. */
401
401
  export interface CustomLocationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
402
402
  }
403
403
  /** Contains response data for the listBySubscription operation. */
404
- export declare type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;
404
+ export type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;
405
405
  /** Optional parameters. */
406
406
  export interface CustomLocationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
407
407
  }
408
408
  /** Contains response data for the listByResourceGroup operation. */
409
- export declare type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;
409
+ export type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;
410
410
  /** Optional parameters. */
411
411
  export interface CustomLocationsGetOptionalParams extends coreClient.OperationOptions {
412
412
  }
413
413
  /** Contains response data for the get operation. */
414
- export declare type CustomLocationsGetResponse = CustomLocation;
414
+ export type CustomLocationsGetResponse = CustomLocation;
415
415
  /** Optional parameters. */
416
416
  export interface CustomLocationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
417
417
  /** Delay to wait until next poll, in milliseconds. */
@@ -420,7 +420,7 @@ export interface CustomLocationsCreateOrUpdateOptionalParams extends coreClient.
420
420
  resumeFrom?: string;
421
421
  }
422
422
  /** Contains response data for the createOrUpdate operation. */
423
- export declare type CustomLocationsCreateOrUpdateResponse = CustomLocation;
423
+ export type CustomLocationsCreateOrUpdateResponse = CustomLocation;
424
424
  /** Optional parameters. */
425
425
  export interface CustomLocationsDeleteOptionalParams extends coreClient.OperationOptions {
426
426
  /** Delay to wait until next poll, in milliseconds. */
@@ -452,47 +452,47 @@ export interface CustomLocationsUpdateOptionalParams extends coreClient.Operatio
452
452
  provisioningState?: string;
453
453
  }
454
454
  /** Contains response data for the update operation. */
455
- export declare type CustomLocationsUpdateResponse = CustomLocation;
455
+ export type CustomLocationsUpdateResponse = CustomLocation;
456
456
  /** Optional parameters. */
457
457
  export interface CustomLocationsListEnabledResourceTypesOptionalParams extends coreClient.OperationOptions {
458
458
  }
459
459
  /** Contains response data for the listEnabledResourceTypes operation. */
460
- export declare type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;
460
+ export type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;
461
461
  /** Optional parameters. */
462
462
  export interface CustomLocationsFindTargetResourceGroupOptionalParams extends coreClient.OperationOptions {
463
463
  }
464
464
  /** Contains response data for the findTargetResourceGroup operation. */
465
- export declare type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;
465
+ export type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;
466
466
  /** Optional parameters. */
467
467
  export interface CustomLocationsListOperationsNextOptionalParams extends coreClient.OperationOptions {
468
468
  }
469
469
  /** Contains response data for the listOperationsNext operation. */
470
- export declare type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;
470
+ export type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;
471
471
  /** Optional parameters. */
472
472
  export interface CustomLocationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
473
473
  }
474
474
  /** Contains response data for the listBySubscriptionNext operation. */
475
- export declare type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;
475
+ export type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;
476
476
  /** Optional parameters. */
477
477
  export interface CustomLocationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
478
478
  }
479
479
  /** Contains response data for the listByResourceGroupNext operation. */
480
- export declare type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;
480
+ export type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;
481
481
  /** Optional parameters. */
482
482
  export interface CustomLocationsListEnabledResourceTypesNextOptionalParams extends coreClient.OperationOptions {
483
483
  }
484
484
  /** Contains response data for the listEnabledResourceTypesNext operation. */
485
- export declare type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;
485
+ export type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;
486
486
  /** Optional parameters. */
487
487
  export interface ResourceSyncRulesListByCustomLocationIDOptionalParams extends coreClient.OperationOptions {
488
488
  }
489
489
  /** Contains response data for the listByCustomLocationID operation. */
490
- export declare type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;
490
+ export type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;
491
491
  /** Optional parameters. */
492
492
  export interface ResourceSyncRulesGetOptionalParams extends coreClient.OperationOptions {
493
493
  }
494
494
  /** Contains response data for the get operation. */
495
- export declare type ResourceSyncRulesGetResponse = ResourceSyncRule;
495
+ export type ResourceSyncRulesGetResponse = ResourceSyncRule;
496
496
  /** Optional parameters. */
497
497
  export interface ResourceSyncRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
498
498
  /** Delay to wait until next poll, in milliseconds. */
@@ -501,7 +501,7 @@ export interface ResourceSyncRulesCreateOrUpdateOptionalParams extends coreClien
501
501
  resumeFrom?: string;
502
502
  }
503
503
  /** Contains response data for the createOrUpdate operation. */
504
- export declare type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;
504
+ export type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;
505
505
  /** Optional parameters. */
506
506
  export interface ResourceSyncRulesDeleteOptionalParams extends coreClient.OperationOptions {
507
507
  }
@@ -523,12 +523,12 @@ export interface ResourceSyncRulesUpdateOptionalParams extends coreClient.Operat
523
523
  resumeFrom?: string;
524
524
  }
525
525
  /** Contains response data for the update operation. */
526
- export declare type ResourceSyncRulesUpdateResponse = ResourceSyncRule;
526
+ export type ResourceSyncRulesUpdateResponse = ResourceSyncRule;
527
527
  /** Optional parameters. */
528
528
  export interface ResourceSyncRulesListByCustomLocationIDNextOptionalParams extends coreClient.OperationOptions {
529
529
  }
530
530
  /** Contains response data for the listByCustomLocationIDNext operation. */
531
- export declare type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;
531
+ export type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;
532
532
  /** Optional parameters. */
533
533
  export interface CustomLocationsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
534
534
  /** server parameter */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,4CAA4C;AAC5C,MAAM,WAAW,4BAA4B;IAC3C,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,KAAK,EAAE,uBAAuB,EAAE,CAAC;CAClC;AAED,kCAAkC;AAClC,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,qKAAqK;AACrK,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,wBAAwB;AACxB,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cA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vD,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAE/D,2BAA2B;AAC3B,MAAM,WAAW,yDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,2EAA2E;AAC3E,MAAM,MAAM,mDAAmD,GAAG,0BAA0B,CAAC;AAE7F,2BAA2B;AAC3B,MAAM,WAAW,6CACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuWH,6EAA6E;AAC7E,MAAM,CAAN,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,8DAAiC,CAAA;IACjC,WAAW;IACX,0CAAa,CAAA;AACf,CAAC,EALW,yBAAyB,KAAzB,yBAAyB,QAKpC;AAYD,iEAAiE;AACjE,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iBAAiB;IACjB,0CAAyB,CAAA;AAC3B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAWD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","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 * as coreClient from \"@azure/core-client\";\n\n/** Lists of Custom Locations operations. */\nexport interface CustomLocationOperationsList {\n /** Next page of operations. */\n nextLink?: string;\n /** Array of customLocationOperation */\n value: CustomLocationOperation[];\n}\n\n/** Custom Locations operation. */\nexport interface CustomLocationOperation {\n /**\n * Is this Operation a data plane operation\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /**\n * The name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The origin of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: string;\n /**\n * The description of the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The display name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The resource provider for the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The display name of the resource the operation applies to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The List Custom Locations operation response. */\nexport interface CustomLocationListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of Custom Locations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: CustomLocation[];\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\n}\n\n/** This is optional input that contains the authentication that should be used to generate the namespace. */\nexport interface CustomLocationPropertiesAuthentication {\n /** The type of the Custom Locations authentication */\n type?: string;\n /** The kubeconfig value. */\n value?: string;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The Custom Locations patchable resource definition. */\nexport interface PatchableCustomLocations {\n /** Identity for the resource. */\n identity?: Identity;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /** This is optional input that contains the authentication that should be used to generate the namespace. */\n authentication?: CustomLocationPropertiesAuthentication;\n /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */\n clusterExtensionIds?: string[];\n /** Display name for the Custom Locations location. */\n displayName?: string;\n /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */\n hostResourceId?: string;\n /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */\n hostType?: HostType;\n /** Kubernetes namespace that will be created on the specified cluster. */\n namespace?: string;\n /** Provisioning State for the Custom Location. */\n provisioningState?: string;\n}\n\n/** List of EnabledResourceTypes definition. */\nexport interface EnabledResourceTypesListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of EnabledResourceTypes available for a customLocation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: EnabledResourceType[];\n}\n\n/** Metadata of the Resource Type. */\nexport interface EnabledResourceTypePropertiesTypesMetadataItem {\n /** Api Version of Resource Type */\n apiVersion?: string;\n /** Resource Provider Namespace of Resource Type */\n resourceProviderNamespace?: string;\n /** Resource Type */\n resourceType?: string;\n}\n\n/** The Find Target Resource Group operation request. */\nexport interface CustomLocationFindTargetResourceGroupProperties {\n /** Labels of the custom resource, this is a map of {key,value} pairs. */\n labels?: { [propertyName: string]: string };\n}\n\n/** The Find Target Resource Group operation response. */\nexport interface CustomLocationFindTargetResourceGroupResult {\n /**\n * The matching resource sync rule is the particular resource sync rule that matched the match expressions and labels and had lowest priority. This is the rule responsible for mapping the target resource to the target resource group.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly matchedResourceSyncRule?: string;\n /**\n * The target resource group of matching resource sync rule. The labels from the request will be used to find out matching resource sync rule against the selector property of the resource sync rule. The one with highest priority will be returned if there are multiple matching rules.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly targetResourceGroup?: string;\n}\n\n/** The List Resource Sync Rules operation response. */\nexport interface ResourceSyncRuleListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of Resource Sync Rules.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: ResourceSyncRule[];\n}\n\n/** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\nexport interface ResourceSyncRulePropertiesSelector {\n /** MatchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. */\n matchExpressions?: MatchExpressionsProperties[];\n /** MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. */\n matchLabels?: { [propertyName: string]: string };\n}\n\n/** Resource Sync Rules matchExpression property definition. */\nexport interface MatchExpressionsProperties {\n /** Key is the label key that the selector applies to. */\n key?: string;\n /** The Operator field represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */\n operator?: string;\n /** The label value */\n values?: string[];\n}\n\n/** The Resource Sync Rules patchable resource definition. */\nexport interface PatchableResourceSyncRule {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /**\n * Provisioning State for the Resource Sync Rule.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: string;\n /** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\n selector?: ResourceSyncRulePropertiesSelector;\n /** For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule. */\n targetResourceGroup?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** Custom Locations definition. */\nexport interface CustomLocation extends TrackedResource {\n /** Identity for the resource. */\n identity?: Identity;\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** This is optional input that contains the authentication that should be used to generate the namespace. */\n authentication?: CustomLocationPropertiesAuthentication;\n /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */\n clusterExtensionIds?: string[];\n /** Display name for the Custom Locations location. */\n displayName?: string;\n /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */\n hostResourceId?: string;\n /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */\n hostType?: HostType;\n /** Kubernetes namespace that will be created on the specified cluster. */\n namespace?: string;\n /** Provisioning State for the Custom Location. */\n provisioningState?: string;\n}\n\n/** Resource Sync Rules definition. */\nexport interface ResourceSyncRule extends TrackedResource {\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /**\n * Provisioning State for the Resource Sync Rule.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: string;\n /** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\n selector?: ResourceSyncRulePropertiesSelector;\n /** For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule. */\n targetResourceGroup?: string;\n}\n\n/** EnabledResourceType definition. */\nexport interface EnabledResourceType extends ProxyResource {\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Cluster Extension ID */\n clusterExtensionId?: string;\n /** Cluster Extension Type */\n extensionType?: string;\n /** Metadata of the Resource Type */\n typesMetadata?: EnabledResourceTypePropertiesTypesMetadataItem[];\n}\n\n/** Known values of {@link ResourceIdentityType} that the service accepts. */\nexport enum KnownResourceIdentityType {\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for ResourceIdentityType. \\\n * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SystemAssigned** \\\n * **None**\n */\nexport type ResourceIdentityType = string;\n\n/** Known values of {@link HostType} that the service accepts. */\nexport enum KnownHostType {\n /** Kubernetes */\n Kubernetes = \"Kubernetes\"\n}\n\n/**\n * Defines values for HostType. \\\n * {@link KnownHostType} can be used interchangeably with HostType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Kubernetes**\n */\nexport type HostType = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface CustomLocationsListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type CustomLocationsListOperationsResponse = CustomLocationOperationsList;\n\n/** Optional parameters. */\nexport interface CustomLocationsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CustomLocationsGetResponse = CustomLocation;\n\n/** Optional parameters. */\nexport interface CustomLocationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type CustomLocationsCreateOrUpdateResponse = CustomLocation;\n\n/** Optional parameters. */\nexport interface CustomLocationsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface CustomLocationsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Identity for the resource. */\n identity?: Identity;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /** This is optional input that contains the authentication that should be used to generate the namespace. */\n authentication?: CustomLocationPropertiesAuthentication;\n /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */\n clusterExtensionIds?: string[];\n /** Display name for the Custom Locations location. */\n displayName?: string;\n /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */\n hostResourceId?: string;\n /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */\n hostType?: HostType;\n /** Kubernetes namespace that will be created on the specified cluster. */\n namespace?: string;\n /** Provisioning State for the Custom Location. */\n provisioningState?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type CustomLocationsUpdateResponse = CustomLocation;\n\n/** Optional parameters. */\nexport interface CustomLocationsListEnabledResourceTypesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listEnabledResourceTypes operation. */\nexport type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsFindTargetResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the findTargetResourceGroup operation. */\nexport type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;\n\n/** Optional parameters. */\nexport interface CustomLocationsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListEnabledResourceTypesNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listEnabledResourceTypesNext operation. */\nexport type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesListByCustomLocationIDOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByCustomLocationID operation. */\nexport type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ResourceSyncRulesGetResponse = ResourceSyncRule;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\n selector?: ResourceSyncRulePropertiesSelector;\n /** For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule. */\n targetResourceGroup?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type ResourceSyncRulesUpdateResponse = ResourceSyncRule;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesListByCustomLocationIDNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByCustomLocationIDNext operation. */\nexport type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}