@azure/arm-extendedlocation 1.0.0-beta.2 → 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 (314) hide show
  1. package/CHANGELOG.md +23 -3
  2. package/LICENSE +4 -4
  3. package/README.md +27 -18
  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 +47 -38
  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 -3
  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 +186 -203
  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 +114 -116
  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/browser/pagingHelper.d.ts +13 -0
  45. package/dist/browser/pagingHelper.d.ts.map +1 -0
  46. package/dist/browser/pagingHelper.js +30 -0
  47. package/dist/browser/pagingHelper.js.map +1 -0
  48. package/dist/commonjs/customLocationsManagementClient.d.ts +21 -0
  49. package/dist/commonjs/customLocationsManagementClient.d.ts.map +1 -0
  50. package/dist/commonjs/customLocationsManagementClient.js +113 -0
  51. package/dist/commonjs/customLocationsManagementClient.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +5 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +19 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/lroImpl.d.ts +16 -0
  57. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  58. package/dist/commonjs/lroImpl.js +37 -0
  59. package/dist/commonjs/lroImpl.js.map +1 -0
  60. package/{types/arm-extendedlocation.d.ts → dist/commonjs/models/index.d.ts} +541 -781
  61. package/dist/commonjs/models/index.d.ts.map +1 -0
  62. package/dist/commonjs/models/index.js +37 -0
  63. package/dist/commonjs/models/index.js.map +1 -0
  64. package/dist/commonjs/models/mappers.d.ts +26 -0
  65. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  66. package/dist/commonjs/models/mappers.js +810 -0
  67. package/dist/commonjs/models/mappers.js.map +1 -0
  68. package/dist/commonjs/models/parameters.d.ts +27 -0
  69. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  70. package/dist/commonjs/models/parameters.js +188 -0
  71. package/dist/commonjs/models/parameters.js.map +1 -0
  72. package/dist/commonjs/operations/customLocations.d.ts +155 -0
  73. package/dist/commonjs/operations/customLocations.d.ts.map +1 -0
  74. package/dist/commonjs/operations/customLocations.js +704 -0
  75. package/dist/commonjs/operations/customLocations.js.map +1 -0
  76. package/dist/commonjs/operations/index.d.ts +3 -0
  77. package/dist/commonjs/operations/index.d.ts.map +1 -0
  78. package/dist/commonjs/operations/index.js +13 -0
  79. package/dist/commonjs/operations/index.js.map +1 -0
  80. package/dist/commonjs/operations/resourceSyncRules.d.ts +97 -0
  81. package/dist/commonjs/operations/resourceSyncRules.d.ts.map +1 -0
  82. package/dist/commonjs/operations/resourceSyncRules.js +403 -0
  83. package/dist/commonjs/operations/resourceSyncRules.js.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/customLocations.d.ts +86 -0
  85. package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/customLocations.js +10 -0
  87. package/dist/commonjs/operationsInterfaces/customLocations.js.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  89. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  91. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  93. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +10 -0
  95. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +1 -0
  96. package/dist/commonjs/package.json +3 -0
  97. package/dist/commonjs/pagingHelper.d.ts +13 -0
  98. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  99. package/dist/commonjs/pagingHelper.js +34 -0
  100. package/dist/commonjs/pagingHelper.js.map +1 -0
  101. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  102. package/dist/esm/customLocationsManagementClient.d.ts +21 -0
  103. package/dist/esm/customLocationsManagementClient.d.ts.map +1 -0
  104. package/dist/esm/customLocationsManagementClient.js +108 -0
  105. package/dist/esm/customLocationsManagementClient.js.map +1 -0
  106. package/dist/esm/index.d.ts +5 -0
  107. package/dist/esm/index.d.ts.map +1 -0
  108. package/{src/index.ts → dist/esm/index.js} +5 -4
  109. package/dist/esm/index.js.map +1 -0
  110. package/dist/esm/lroImpl.d.ts +16 -0
  111. package/dist/esm/lroImpl.d.ts.map +1 -0
  112. package/dist/esm/lroImpl.js +33 -0
  113. package/dist/esm/lroImpl.js.map +1 -0
  114. package/dist/esm/models/index.d.ts +541 -0
  115. package/dist/esm/models/index.d.ts.map +1 -0
  116. package/dist/esm/models/index.js +34 -0
  117. package/dist/esm/models/index.js.map +1 -0
  118. package/dist/esm/models/mappers.d.ts +26 -0
  119. package/dist/esm/models/mappers.d.ts.map +1 -0
  120. package/dist/esm/models/mappers.js +807 -0
  121. package/dist/esm/models/mappers.js.map +1 -0
  122. package/dist/esm/models/parameters.d.ts +27 -0
  123. package/dist/esm/models/parameters.d.ts.map +1 -0
  124. package/dist/esm/models/parameters.js +185 -0
  125. package/dist/esm/models/parameters.js.map +1 -0
  126. package/dist/esm/operations/customLocations.d.ts +155 -0
  127. package/dist/esm/operations/customLocations.d.ts.map +1 -0
  128. package/dist/esm/operations/customLocations.js +699 -0
  129. package/dist/esm/operations/customLocations.js.map +1 -0
  130. package/dist/esm/operations/index.d.ts +3 -0
  131. package/dist/esm/operations/index.d.ts.map +1 -0
  132. package/dist/esm/operations/index.js +10 -0
  133. package/dist/esm/operations/index.js.map +1 -0
  134. package/dist/esm/operations/resourceSyncRules.d.ts +97 -0
  135. package/dist/esm/operations/resourceSyncRules.d.ts.map +1 -0
  136. package/dist/esm/operations/resourceSyncRules.js +398 -0
  137. package/dist/esm/operations/resourceSyncRules.js.map +1 -0
  138. package/dist/esm/operationsInterfaces/customLocations.d.ts +86 -0
  139. package/dist/esm/operationsInterfaces/customLocations.d.ts.map +1 -0
  140. package/{src/operations/index.ts → dist/esm/operationsInterfaces/customLocations.js} +2 -3
  141. package/dist/esm/operationsInterfaces/customLocations.js.map +1 -0
  142. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  143. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  144. package/dist/esm/operationsInterfaces/index.js +10 -0
  145. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  146. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  147. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  148. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/resourceSyncRules.js} +2 -3
  149. package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +1 -0
  150. package/dist/esm/package.json +3 -0
  151. package/dist/esm/pagingHelper.d.ts +13 -0
  152. package/dist/esm/pagingHelper.d.ts.map +1 -0
  153. package/dist/esm/pagingHelper.js +30 -0
  154. package/dist/esm/pagingHelper.js.map +1 -0
  155. package/dist/react-native/customLocationsManagementClient.d.ts +21 -0
  156. package/dist/react-native/customLocationsManagementClient.d.ts.map +1 -0
  157. package/dist/react-native/customLocationsManagementClient.js +108 -0
  158. package/dist/react-native/customLocationsManagementClient.js.map +1 -0
  159. package/dist/react-native/index.d.ts +5 -0
  160. package/dist/react-native/index.d.ts.map +1 -0
  161. package/dist/react-native/index.js +13 -0
  162. package/dist/react-native/index.js.map +1 -0
  163. package/dist/react-native/lroImpl.d.ts +16 -0
  164. package/dist/react-native/lroImpl.d.ts.map +1 -0
  165. package/dist/react-native/lroImpl.js +33 -0
  166. package/dist/react-native/lroImpl.js.map +1 -0
  167. package/dist/react-native/models/index.d.ts +541 -0
  168. package/dist/react-native/models/index.d.ts.map +1 -0
  169. package/dist/react-native/models/index.js +34 -0
  170. package/dist/react-native/models/index.js.map +1 -0
  171. package/dist/react-native/models/mappers.d.ts +26 -0
  172. package/dist/react-native/models/mappers.d.ts.map +1 -0
  173. package/dist/react-native/models/mappers.js +807 -0
  174. package/dist/react-native/models/mappers.js.map +1 -0
  175. package/dist/react-native/models/parameters.d.ts +27 -0
  176. package/dist/react-native/models/parameters.d.ts.map +1 -0
  177. package/dist/react-native/models/parameters.js +185 -0
  178. package/dist/react-native/models/parameters.js.map +1 -0
  179. package/dist/react-native/operations/customLocations.d.ts +155 -0
  180. package/dist/react-native/operations/customLocations.d.ts.map +1 -0
  181. package/dist/react-native/operations/customLocations.js +699 -0
  182. package/dist/react-native/operations/customLocations.js.map +1 -0
  183. package/dist/react-native/operations/index.d.ts +3 -0
  184. package/dist/react-native/operations/index.d.ts.map +1 -0
  185. package/dist/react-native/operations/index.js +10 -0
  186. package/dist/react-native/operations/index.js.map +1 -0
  187. package/dist/react-native/operations/resourceSyncRules.d.ts +97 -0
  188. package/dist/react-native/operations/resourceSyncRules.d.ts.map +1 -0
  189. package/dist/react-native/operations/resourceSyncRules.js +398 -0
  190. package/dist/react-native/operations/resourceSyncRules.js.map +1 -0
  191. package/dist/react-native/operationsInterfaces/customLocations.d.ts +86 -0
  192. package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +1 -0
  193. package/dist/react-native/operationsInterfaces/customLocations.js +9 -0
  194. package/dist/react-native/operationsInterfaces/customLocations.js.map +1 -0
  195. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  196. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  197. package/dist/react-native/operationsInterfaces/index.js +10 -0
  198. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  199. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  200. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  201. package/dist/react-native/operationsInterfaces/resourceSyncRules.js +9 -0
  202. package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +1 -0
  203. package/dist/react-native/package.json +3 -0
  204. package/dist/react-native/pagingHelper.d.ts +13 -0
  205. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  206. package/dist/react-native/pagingHelper.js +30 -0
  207. package/dist/react-native/pagingHelper.js.map +1 -0
  208. package/package.json +88 -77
  209. package/review/{arm-extendedlocation.api.md → arm-extendedlocation-node.api.md} +3 -0
  210. package/dist/index.js +0 -2230
  211. package/dist/index.js.map +0 -1
  212. package/dist/index.min.js +0 -1
  213. package/dist/index.min.js.map +0 -1
  214. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
  215. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
  216. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -42
  217. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
  218. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
  219. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
  220. package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -31
  221. package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
  222. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
  223. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
  224. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -34
  225. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
  226. package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
  227. package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
  228. package/dist-esm/samples-dev/customLocationsGetSample.js +0 -31
  229. package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
  230. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
  231. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
  232. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -44
  233. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
  234. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
  235. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -43
  237. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
  238. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -45
  241. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
  242. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -43
  245. package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
  246. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -34
  249. package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
  250. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -41
  253. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
  254. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -32
  257. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
  258. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
  259. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -32
  261. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
  262. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -45
  265. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
  266. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -34
  269. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
  270. package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
  271. package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
  272. package/dist-esm/src/index.d.ts +0 -5
  273. package/dist-esm/src/index.d.ts.map +0 -1
  274. package/dist-esm/src/index.js.map +0 -1
  275. package/dist-esm/src/lroImpl.js.map +0 -1
  276. package/dist-esm/src/models/index.js.map +0 -1
  277. package/dist-esm/src/models/mappers.js.map +0 -1
  278. package/dist-esm/src/models/parameters.js.map +0 -1
  279. package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
  280. package/dist-esm/src/operations/customLocations.js.map +0 -1
  281. package/dist-esm/src/operations/index.d.ts +0 -3
  282. package/dist-esm/src/operations/index.js.map +0 -1
  283. package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
  284. package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
  285. package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
  287. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  288. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  289. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  290. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
  291. package/dist-esm/test/sampleTest.d.ts +0 -2
  292. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  293. package/dist-esm/test/sampleTest.js +0 -38
  294. package/dist-esm/test/sampleTest.js.map +0 -1
  295. package/rollup.config.js +0 -122
  296. package/src/customLocationsManagementClient.ts +0 -136
  297. package/src/lroImpl.ts +0 -34
  298. package/src/models/index.ts +0 -606
  299. package/src/models/mappers.ts +0 -832
  300. package/src/models/parameters.ts +0 -225
  301. package/src/operations/customLocations.ts +0 -927
  302. package/src/operations/resourceSyncRules.ts +0 -562
  303. package/src/operationsInterfaces/customLocations.ts +0 -160
  304. package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
  305. package/tsconfig.json +0 -33
  306. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  307. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  308. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  309. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  310. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  311. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  312. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  313. /package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.js +0 -0
  314. /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.js +0 -0
@@ -1,781 +1,541 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /**
8
- * Defines values for CreatedByType. \
9
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
10
- * this enum contains the known values that the service supports.
11
- * ### Known values supported by the service
12
- * **User** \
13
- * **Application** \
14
- * **ManagedIdentity** \
15
- * **Key**
16
- */
17
- export declare type CreatedByType = string;
18
-
19
- /** Custom Locations definition. */
20
- export declare interface CustomLocation extends TrackedResource {
21
- /** Identity for the resource. */
22
- identity?: Identity;
23
- /**
24
- * Metadata pertaining to creation and last modification of the resource
25
- * NOTE: This property will not be serialized. It can only be populated by the server.
26
- */
27
- readonly systemData?: SystemData;
28
- /** This is optional input that contains the authentication that should be used to generate the namespace. */
29
- authentication?: CustomLocationPropertiesAuthentication;
30
- /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */
31
- clusterExtensionIds?: string[];
32
- /** Display name for the Custom Locations location. */
33
- displayName?: string;
34
- /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */
35
- hostResourceId?: string;
36
- /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
37
- hostType?: HostType;
38
- /** Kubernetes namespace that will be created on the specified cluster. */
39
- namespace?: string;
40
- /** Provisioning State for the Custom Location. */
41
- provisioningState?: string;
42
- }
43
-
44
- /** The Find Target Resource Group operation request. */
45
- export declare interface CustomLocationFindTargetResourceGroupProperties {
46
- /** Labels of the custom resource, this is a map of {key,value} pairs. */
47
- labels?: {
48
- [propertyName: string]: string;
49
- };
50
- }
51
-
52
- /** The Find Target Resource Group operation response. */
53
- export declare interface CustomLocationFindTargetResourceGroupResult {
54
- /**
55
- * 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.
56
- * NOTE: This property will not be serialized. It can only be populated by the server.
57
- */
58
- readonly matchedResourceSyncRule?: string;
59
- /**
60
- * 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.
61
- * NOTE: This property will not be serialized. It can only be populated by the server.
62
- */
63
- readonly targetResourceGroup?: string;
64
- }
65
-
66
- /** The List Custom Locations operation response. */
67
- export declare interface CustomLocationListResult {
68
- /**
69
- * The URL to use for getting the next set of results.
70
- * NOTE: This property will not be serialized. It can only be populated by the server.
71
- */
72
- readonly nextLink?: string;
73
- /**
74
- * The list of Custom Locations.
75
- * NOTE: This property will not be serialized. It can only be populated by the server.
76
- */
77
- readonly value?: CustomLocation[];
78
- }
79
-
80
- /** Custom Locations operation. */
81
- export declare interface CustomLocationOperation {
82
- /**
83
- * Is this Operation a data plane operation
84
- * NOTE: This property will not be serialized. It can only be populated by the server.
85
- */
86
- readonly isDataAction?: boolean;
87
- /**
88
- * The name of the compute operation.
89
- * NOTE: This property will not be serialized. It can only be populated by the server.
90
- */
91
- readonly name?: string;
92
- /**
93
- * The origin of the compute operation.
94
- * NOTE: This property will not be serialized. It can only be populated by the server.
95
- */
96
- readonly origin?: string;
97
- /**
98
- * The description of the operation.
99
- * NOTE: This property will not be serialized. It can only be populated by the server.
100
- */
101
- readonly description?: string;
102
- /**
103
- * The display name of the compute operation.
104
- * NOTE: This property will not be serialized. It can only be populated by the server.
105
- */
106
- readonly operation?: string;
107
- /**
108
- * The resource provider for the operation.
109
- * NOTE: This property will not be serialized. It can only be populated by the server.
110
- */
111
- readonly provider?: string;
112
- /**
113
- * The display name of the resource the operation applies to.
114
- * NOTE: This property will not be serialized. It can only be populated by the server.
115
- */
116
- readonly resource?: string;
117
- }
118
-
119
- /** Lists of Custom Locations operations. */
120
- export declare interface CustomLocationOperationsList {
121
- /** Next page of operations. */
122
- nextLink?: string;
123
- /** Array of customLocationOperation */
124
- value: CustomLocationOperation[];
125
- }
126
-
127
- /** This is optional input that contains the authentication that should be used to generate the namespace. */
128
- export declare interface CustomLocationPropertiesAuthentication {
129
- /** The type of the Custom Locations authentication */
130
- type?: string;
131
- /** The kubeconfig value. */
132
- value?: string;
133
- }
134
-
135
- /** Interface representing a CustomLocations. */
136
- export declare interface CustomLocations {
137
- /**
138
- * Lists all available Custom Locations operations.
139
- * @param options The options parameters.
140
- */
141
- listOperations(options?: CustomLocationsListOperationsOptionalParams): PagedAsyncIterableIterator<CustomLocationOperation>;
142
- /**
143
- * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
144
- * each Custom Location
145
- * @param options The options parameters.
146
- */
147
- listBySubscription(options?: CustomLocationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomLocation>;
148
- /**
149
- * Gets a list of Custom Locations in the specified subscription and resource group. The operation
150
- * returns properties of each Custom Location.
151
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
152
- * @param options The options parameters.
153
- */
154
- listByResourceGroup(resourceGroupName: string, options?: CustomLocationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CustomLocation>;
155
- /**
156
- * Gets the list of the Enabled Resource Types.
157
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
- * @param resourceName Custom Locations name.
159
- * @param options The options parameters.
160
- */
161
- listEnabledResourceTypes(resourceGroupName: string, resourceName: string, options?: CustomLocationsListEnabledResourceTypesOptionalParams): PagedAsyncIterableIterator<EnabledResourceType>;
162
- /**
163
- * Gets the details of the customLocation with a specified resource group and name.
164
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
165
- * @param resourceName Custom Locations name.
166
- * @param options The options parameters.
167
- */
168
- get(resourceGroupName: string, resourceName: string, options?: CustomLocationsGetOptionalParams): Promise<CustomLocationsGetResponse>;
169
- /**
170
- * Creates or updates a Custom Location in the specified Subscription and Resource Group
171
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
172
- * @param resourceName Custom Locations name.
173
- * @param parameters Parameters supplied to create or update a Custom Location.
174
- * @param options The options parameters.
175
- */
176
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: CustomLocation, options?: CustomLocationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CustomLocationsCreateOrUpdateResponse>, CustomLocationsCreateOrUpdateResponse>>;
177
- /**
178
- * Creates or updates a Custom Location in the specified Subscription and Resource Group
179
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
- * @param resourceName Custom Locations name.
181
- * @param parameters Parameters supplied to create or update a Custom Location.
182
- * @param options The options parameters.
183
- */
184
- beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, parameters: CustomLocation, options?: CustomLocationsCreateOrUpdateOptionalParams): Promise<CustomLocationsCreateOrUpdateResponse>;
185
- /**
186
- * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
187
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
188
- * @param resourceName Custom Locations name.
189
- * @param options The options parameters.
190
- */
191
- beginDelete(resourceGroupName: string, resourceName: string, options?: CustomLocationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
192
- /**
193
- * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
194
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
195
- * @param resourceName Custom Locations name.
196
- * @param options The options parameters.
197
- */
198
- beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: CustomLocationsDeleteOptionalParams): Promise<void>;
199
- /**
200
- * Updates a Custom Location with the specified Resource Name in the specified Resource Group and
201
- * Subscription.
202
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
203
- * @param resourceName Custom Locations name.
204
- * @param options The options parameters.
205
- */
206
- update(resourceGroupName: string, resourceName: string, options?: CustomLocationsUpdateOptionalParams): Promise<CustomLocationsUpdateResponse>;
207
- /**
208
- * Returns the target resource group associated with the resource sync rules of the Custom Location
209
- * that match the rules passed in with the Find Target Resource Group Request.
210
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
211
- * @param resourceName Custom Locations name.
212
- * @param parameters Parameters of the find target resource group request.
213
- * @param options The options parameters.
214
- */
215
- findTargetResourceGroup(resourceGroupName: string, resourceName: string, parameters: CustomLocationFindTargetResourceGroupProperties, options?: CustomLocationsFindTargetResourceGroupOptionalParams): Promise<CustomLocationsFindTargetResourceGroupResponse>;
216
- }
217
-
218
- /** Optional parameters. */
219
- export declare interface CustomLocationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
220
- /** Delay to wait until next poll, in milliseconds. */
221
- updateIntervalInMs?: number;
222
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
223
- resumeFrom?: string;
224
- }
225
-
226
- /** Contains response data for the createOrUpdate operation. */
227
- export declare type CustomLocationsCreateOrUpdateResponse = CustomLocation;
228
-
229
- /** Optional parameters. */
230
- export declare interface CustomLocationsDeleteOptionalParams extends coreClient.OperationOptions {
231
- /** Delay to wait until next poll, in milliseconds. */
232
- updateIntervalInMs?: number;
233
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
234
- resumeFrom?: string;
235
- }
236
-
237
- /** Optional parameters. */
238
- export declare interface CustomLocationsFindTargetResourceGroupOptionalParams extends coreClient.OperationOptions {
239
- }
240
-
241
- /** Contains response data for the findTargetResourceGroup operation. */
242
- export declare type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;
243
-
244
- /** Optional parameters. */
245
- export declare interface CustomLocationsGetOptionalParams extends coreClient.OperationOptions {
246
- }
247
-
248
- /** Contains response data for the get operation. */
249
- export declare type CustomLocationsGetResponse = CustomLocation;
250
-
251
- /** Optional parameters. */
252
- export declare interface CustomLocationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
253
- }
254
-
255
- /** Contains response data for the listByResourceGroupNext operation. */
256
- export declare type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;
257
-
258
- /** Optional parameters. */
259
- export declare interface CustomLocationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
260
- }
261
-
262
- /** Contains response data for the listByResourceGroup operation. */
263
- export declare type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;
264
-
265
- /** Optional parameters. */
266
- export declare interface CustomLocationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
267
- }
268
-
269
- /** Contains response data for the listBySubscriptionNext operation. */
270
- export declare type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;
271
-
272
- /** Optional parameters. */
273
- export declare interface CustomLocationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
274
- }
275
-
276
- /** Contains response data for the listBySubscription operation. */
277
- export declare type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;
278
-
279
- /** Optional parameters. */
280
- export declare interface CustomLocationsListEnabledResourceTypesNextOptionalParams extends coreClient.OperationOptions {
281
- }
282
-
283
- /** Contains response data for the listEnabledResourceTypesNext operation. */
284
- export declare type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;
285
-
286
- /** Optional parameters. */
287
- export declare interface CustomLocationsListEnabledResourceTypesOptionalParams extends coreClient.OperationOptions {
288
- }
289
-
290
- /** Contains response data for the listEnabledResourceTypes operation. */
291
- export declare type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;
292
-
293
- /** Optional parameters. */
294
- export declare interface CustomLocationsListOperationsNextOptionalParams extends coreClient.OperationOptions {
295
- }
296
-
297
- /** Contains response data for the listOperationsNext operation. */
298
- export declare type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;
299
-
300
- /** Optional parameters. */
301
- export declare interface CustomLocationsListOperationsOptionalParams extends coreClient.OperationOptions {
302
- }
303
-
304
- /** Contains response data for the listOperations operation. */
305
- export declare type CustomLocationsListOperationsResponse = CustomLocationOperationsList;
306
-
307
- export declare class CustomLocationsManagementClient extends coreClient.ServiceClient {
308
- $host: string;
309
- apiVersion: string;
310
- subscriptionId: string;
311
- /**
312
- * Initializes a new instance of the CustomLocationsManagementClient class.
313
- * @param credentials Subscription credentials which uniquely identify client subscription.
314
- * @param subscriptionId The ID of the target subscription.
315
- * @param options The parameter options
316
- */
317
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CustomLocationsManagementClientOptionalParams);
318
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
319
- private addCustomApiVersionPolicy;
320
- customLocations: CustomLocations;
321
- resourceSyncRules: ResourceSyncRules;
322
- }
323
-
324
- /** Optional parameters. */
325
- export declare interface CustomLocationsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
326
- /** server parameter */
327
- $host?: string;
328
- /** Api Version */
329
- apiVersion?: string;
330
- /** Overrides client endpoint. */
331
- endpoint?: string;
332
- }
333
-
334
- /** Optional parameters. */
335
- export declare interface CustomLocationsUpdateOptionalParams extends coreClient.OperationOptions {
336
- /** Identity for the resource. */
337
- identity?: Identity;
338
- /** Resource tags */
339
- tags?: {
340
- [propertyName: string]: string;
341
- };
342
- /** This is optional input that contains the authentication that should be used to generate the namespace. */
343
- authentication?: CustomLocationPropertiesAuthentication;
344
- /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */
345
- clusterExtensionIds?: string[];
346
- /** Display name for the Custom Locations location. */
347
- displayName?: string;
348
- /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */
349
- hostResourceId?: string;
350
- /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
351
- hostType?: HostType;
352
- /** Kubernetes namespace that will be created on the specified cluster. */
353
- namespace?: string;
354
- /** Provisioning State for the Custom Location. */
355
- provisioningState?: string;
356
- }
357
-
358
- /** Contains response data for the update operation. */
359
- export declare type CustomLocationsUpdateResponse = CustomLocation;
360
-
361
- /** EnabledResourceType definition. */
362
- export declare interface EnabledResourceType extends ProxyResource {
363
- /**
364
- * Metadata pertaining to creation and last modification of the resource
365
- * NOTE: This property will not be serialized. It can only be populated by the server.
366
- */
367
- readonly systemData?: SystemData;
368
- /** Cluster Extension ID */
369
- clusterExtensionId?: string;
370
- /** Cluster Extension Type */
371
- extensionType?: string;
372
- /** Metadata of the Resource Type */
373
- typesMetadata?: EnabledResourceTypePropertiesTypesMetadataItem[];
374
- }
375
-
376
- /** Metadata of the Resource Type. */
377
- export declare interface EnabledResourceTypePropertiesTypesMetadataItem {
378
- /** Api Version of Resource Type */
379
- apiVersion?: string;
380
- /** Resource Provider Namespace of Resource Type */
381
- resourceProviderNamespace?: string;
382
- /** Resource Type */
383
- resourceType?: string;
384
- }
385
-
386
- /** List of EnabledResourceTypes definition. */
387
- export declare interface EnabledResourceTypesListResult {
388
- /**
389
- * The URL to use for getting the next set of results.
390
- * NOTE: This property will not be serialized. It can only be populated by the server.
391
- */
392
- readonly nextLink?: string;
393
- /**
394
- * The list of EnabledResourceTypes available for a customLocation.
395
- * NOTE: This property will not be serialized. It can only be populated by the server.
396
- */
397
- readonly value?: EnabledResourceType[];
398
- }
399
-
400
- /** The resource management error additional info. */
401
- export declare interface ErrorAdditionalInfo {
402
- /**
403
- * The additional info type.
404
- * NOTE: This property will not be serialized. It can only be populated by the server.
405
- */
406
- readonly type?: string;
407
- /**
408
- * The additional info.
409
- * NOTE: This property will not be serialized. It can only be populated by the server.
410
- */
411
- readonly info?: Record<string, unknown>;
412
- }
413
-
414
- /** The error detail. */
415
- export declare interface ErrorDetail {
416
- /**
417
- * The error code.
418
- * NOTE: This property will not be serialized. It can only be populated by the server.
419
- */
420
- readonly code?: string;
421
- /**
422
- * The error message.
423
- * NOTE: This property will not be serialized. It can only be populated by the server.
424
- */
425
- readonly message?: string;
426
- /**
427
- * The error target.
428
- * NOTE: This property will not be serialized. It can only be populated by the server.
429
- */
430
- readonly target?: string;
431
- /**
432
- * The error details.
433
- * NOTE: This property will not be serialized. It can only be populated by the server.
434
- */
435
- readonly details?: ErrorDetail[];
436
- /**
437
- * The error additional info.
438
- * NOTE: This property will not be serialized. It can only be populated by the server.
439
- */
440
- readonly additionalInfo?: ErrorAdditionalInfo[];
441
- }
442
-
443
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
444
- export declare interface ErrorResponse {
445
- /** The error object. */
446
- error?: ErrorDetail;
447
- }
448
-
449
- /**
450
- * Defines values for HostType. \
451
- * {@link KnownHostType} can be used interchangeably with HostType,
452
- * this enum contains the known values that the service supports.
453
- * ### Known values supported by the service
454
- * **Kubernetes**
455
- */
456
- export declare type HostType = string;
457
-
458
- /** Identity for the resource. */
459
- export declare interface Identity {
460
- /**
461
- * The principal ID of resource identity.
462
- * NOTE: This property will not be serialized. It can only be populated by the server.
463
- */
464
- readonly principalId?: string;
465
- /**
466
- * The tenant ID of resource.
467
- * NOTE: This property will not be serialized. It can only be populated by the server.
468
- */
469
- readonly tenantId?: string;
470
- /** The identity type. */
471
- type?: ResourceIdentityType;
472
- }
473
-
474
- /** Known values of {@link CreatedByType} that the service accepts. */
475
- export declare enum KnownCreatedByType {
476
- /** User */
477
- User = "User",
478
- /** Application */
479
- Application = "Application",
480
- /** ManagedIdentity */
481
- ManagedIdentity = "ManagedIdentity",
482
- /** Key */
483
- Key = "Key"
484
- }
485
-
486
- /** Known values of {@link HostType} that the service accepts. */
487
- export declare enum KnownHostType {
488
- /** Kubernetes */
489
- Kubernetes = "Kubernetes"
490
- }
491
-
492
- /** Known values of {@link ResourceIdentityType} that the service accepts. */
493
- export declare enum KnownResourceIdentityType {
494
- /** SystemAssigned */
495
- SystemAssigned = "SystemAssigned",
496
- /** None */
497
- None = "None"
498
- }
499
-
500
- /** Resource Sync Rules matchExpression property definition. */
501
- export declare interface MatchExpressionsProperties {
502
- /** Key is the label key that the selector applies to. */
503
- key?: string;
504
- /** The Operator field represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */
505
- operator?: string;
506
- /** The label value */
507
- values?: string[];
508
- }
509
-
510
- /** The Custom Locations patchable resource definition. */
511
- export declare interface PatchableCustomLocations {
512
- /** Identity for the resource. */
513
- identity?: Identity;
514
- /** Resource tags */
515
- tags?: {
516
- [propertyName: string]: string;
517
- };
518
- /** This is optional input that contains the authentication that should be used to generate the namespace. */
519
- authentication?: CustomLocationPropertiesAuthentication;
520
- /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */
521
- clusterExtensionIds?: string[];
522
- /** Display name for the Custom Locations location. */
523
- displayName?: string;
524
- /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */
525
- hostResourceId?: string;
526
- /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
527
- hostType?: HostType;
528
- /** Kubernetes namespace that will be created on the specified cluster. */
529
- namespace?: string;
530
- /** Provisioning State for the Custom Location. */
531
- provisioningState?: string;
532
- }
533
-
534
- /** The Resource Sync Rules patchable resource definition. */
535
- export declare interface PatchableResourceSyncRule {
536
- /** Resource tags */
537
- tags?: {
538
- [propertyName: string]: string;
539
- };
540
- /** Priority represents a priority of the Resource Sync Rule */
541
- priority?: number;
542
- /**
543
- * Provisioning State for the Resource Sync Rule.
544
- * NOTE: This property will not be serialized. It can only be populated by the server.
545
- */
546
- readonly provisioningState?: string;
547
- /** 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. */
548
- selector?: ResourceSyncRulePropertiesSelector;
549
- /** 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. */
550
- targetResourceGroup?: string;
551
- }
552
-
553
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
554
- export declare interface ProxyResource extends Resource {
555
- }
556
-
557
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
558
- export declare interface Resource {
559
- /**
560
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
561
- * NOTE: This property will not be serialized. It can only be populated by the server.
562
- */
563
- readonly id?: string;
564
- /**
565
- * The name of the resource
566
- * NOTE: This property will not be serialized. It can only be populated by the server.
567
- */
568
- readonly name?: string;
569
- /**
570
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
571
- * NOTE: This property will not be serialized. It can only be populated by the server.
572
- */
573
- readonly type?: string;
574
- }
575
-
576
- /**
577
- * Defines values for ResourceIdentityType. \
578
- * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
579
- * this enum contains the known values that the service supports.
580
- * ### Known values supported by the service
581
- * **SystemAssigned** \
582
- * **None**
583
- */
584
- export declare type ResourceIdentityType = string;
585
-
586
- /** Resource Sync Rules definition. */
587
- export declare interface ResourceSyncRule extends TrackedResource {
588
- /**
589
- * Metadata pertaining to creation and last modification of the resource
590
- * NOTE: This property will not be serialized. It can only be populated by the server.
591
- */
592
- readonly systemData?: SystemData;
593
- /** Priority represents a priority of the Resource Sync Rule */
594
- priority?: number;
595
- /**
596
- * Provisioning State for the Resource Sync Rule.
597
- * NOTE: This property will not be serialized. It can only be populated by the server.
598
- */
599
- readonly provisioningState?: string;
600
- /** 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. */
601
- selector?: ResourceSyncRulePropertiesSelector;
602
- /** 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. */
603
- targetResourceGroup?: string;
604
- }
605
-
606
- /** The List Resource Sync Rules operation response. */
607
- export declare interface ResourceSyncRuleListResult {
608
- /**
609
- * The URL to use for getting the next set of results.
610
- * NOTE: This property will not be serialized. It can only be populated by the server.
611
- */
612
- readonly nextLink?: string;
613
- /**
614
- * The list of Resource Sync Rules.
615
- * NOTE: This property will not be serialized. It can only be populated by the server.
616
- */
617
- readonly value?: ResourceSyncRule[];
618
- }
619
-
620
- /** 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. */
621
- export declare interface ResourceSyncRulePropertiesSelector {
622
- /** 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. */
623
- matchExpressions?: MatchExpressionsProperties[];
624
- /** 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'. */
625
- matchLabels?: {
626
- [propertyName: string]: string;
627
- };
628
- }
629
-
630
- /** Interface representing a ResourceSyncRules. */
631
- export declare interface ResourceSyncRules {
632
- /**
633
- * Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
634
- * of each Resource Sync Rule
635
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
636
- * @param resourceName Custom Locations name.
637
- * @param options The options parameters.
638
- */
639
- listByCustomLocationID(resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams): PagedAsyncIterableIterator<ResourceSyncRule>;
640
- /**
641
- * Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom
642
- * Location resource name and Resource Sync Rule name.
643
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
644
- * @param resourceName Custom Locations name.
645
- * @param childResourceName Resource Sync Rule name.
646
- * @param options The options parameters.
647
- */
648
- get(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams): Promise<ResourceSyncRulesGetResponse>;
649
- /**
650
- * Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
651
- * Group
652
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
653
- * @param resourceName Custom Locations name.
654
- * @param childResourceName Resource Sync Rule name.
655
- * @param parameters Parameters supplied to create or update a Resource Sync Rule.
656
- * @param options The options parameters.
657
- */
658
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRulesCreateOrUpdateResponse>, ResourceSyncRulesCreateOrUpdateResponse>>;
659
- /**
660
- * Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
661
- * Group
662
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
663
- * @param resourceName Custom Locations name.
664
- * @param childResourceName Resource Sync Rule name.
665
- * @param parameters Parameters supplied to create or update a Resource Sync Rule.
666
- * @param options The options parameters.
667
- */
668
- beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<ResourceSyncRulesCreateOrUpdateResponse>;
669
- /**
670
- * Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource
671
- * Name, Resource Group, and Subscription Id.
672
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
673
- * @param resourceName Custom Locations name.
674
- * @param childResourceName Resource Sync Rule name.
675
- * @param options The options parameters.
676
- */
677
- delete(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams): Promise<void>;
678
- /**
679
- * Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
680
- * Group, Subscription and Custom Location name.
681
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
682
- * @param resourceName Custom Locations name.
683
- * @param childResourceName Resource Sync Rule name.
684
- * @param options The options parameters.
685
- */
686
- beginUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRulesUpdateResponse>, ResourceSyncRulesUpdateResponse>>;
687
- /**
688
- * Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
689
- * Group, Subscription and Custom Location name.
690
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
691
- * @param resourceName Custom Locations name.
692
- * @param childResourceName Resource Sync Rule name.
693
- * @param options The options parameters.
694
- */
695
- beginUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<ResourceSyncRulesUpdateResponse>;
696
- }
697
-
698
- /** Optional parameters. */
699
- export declare interface ResourceSyncRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
700
- /** Delay to wait until next poll, in milliseconds. */
701
- updateIntervalInMs?: number;
702
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
703
- resumeFrom?: string;
704
- }
705
-
706
- /** Contains response data for the createOrUpdate operation. */
707
- export declare type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;
708
-
709
- /** Optional parameters. */
710
- export declare interface ResourceSyncRulesDeleteOptionalParams extends coreClient.OperationOptions {
711
- }
712
-
713
- /** Optional parameters. */
714
- export declare interface ResourceSyncRulesGetOptionalParams extends coreClient.OperationOptions {
715
- }
716
-
717
- /** Contains response data for the get operation. */
718
- export declare type ResourceSyncRulesGetResponse = ResourceSyncRule;
719
-
720
- /** Optional parameters. */
721
- export declare interface ResourceSyncRulesListByCustomLocationIDNextOptionalParams extends coreClient.OperationOptions {
722
- }
723
-
724
- /** Contains response data for the listByCustomLocationIDNext operation. */
725
- export declare type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;
726
-
727
- /** Optional parameters. */
728
- export declare interface ResourceSyncRulesListByCustomLocationIDOptionalParams extends coreClient.OperationOptions {
729
- }
730
-
731
- /** Contains response data for the listByCustomLocationID operation. */
732
- export declare type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;
733
-
734
- /** Optional parameters. */
735
- export declare interface ResourceSyncRulesUpdateOptionalParams extends coreClient.OperationOptions {
736
- /** Resource tags */
737
- tags?: {
738
- [propertyName: string]: string;
739
- };
740
- /** Priority represents a priority of the Resource Sync Rule */
741
- priority?: number;
742
- /** 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. */
743
- selector?: ResourceSyncRulePropertiesSelector;
744
- /** 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. */
745
- targetResourceGroup?: string;
746
- /** Delay to wait until next poll, in milliseconds. */
747
- updateIntervalInMs?: number;
748
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
749
- resumeFrom?: string;
750
- }
751
-
752
- /** Contains response data for the update operation. */
753
- export declare type ResourceSyncRulesUpdateResponse = ResourceSyncRule;
754
-
755
- /** Metadata pertaining to creation and last modification of the resource. */
756
- export declare interface SystemData {
757
- /** The identity that created the resource. */
758
- createdBy?: string;
759
- /** The type of identity that created the resource. */
760
- createdByType?: CreatedByType;
761
- /** The timestamp of resource creation (UTC). */
762
- createdAt?: Date;
763
- /** The identity that last modified the resource. */
764
- lastModifiedBy?: string;
765
- /** The type of identity that last modified the resource. */
766
- lastModifiedByType?: CreatedByType;
767
- /** The timestamp of resource last modification (UTC) */
768
- lastModifiedAt?: Date;
769
- }
770
-
771
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
772
- export declare interface TrackedResource extends Resource {
773
- /** Resource tags. */
774
- tags?: {
775
- [propertyName: string]: string;
776
- };
777
- /** The geo-location where the resource lives */
778
- location: string;
779
- }
780
-
781
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Lists of Custom Locations operations. */
3
+ export interface CustomLocationOperationsList {
4
+ /** Next page of operations. */
5
+ nextLink?: string;
6
+ /** Array of customLocationOperation */
7
+ value: CustomLocationOperation[];
8
+ }
9
+ /** Custom Locations operation. */
10
+ export interface CustomLocationOperation {
11
+ /**
12
+ * Is this Operation a data plane operation
13
+ * NOTE: This property will not be serialized. It can only be populated by the server.
14
+ */
15
+ readonly isDataAction?: boolean;
16
+ /**
17
+ * The name of the compute operation.
18
+ * NOTE: This property will not be serialized. It can only be populated by the server.
19
+ */
20
+ readonly name?: string;
21
+ /**
22
+ * The origin of the compute operation.
23
+ * NOTE: This property will not be serialized. It can only be populated by the server.
24
+ */
25
+ readonly origin?: string;
26
+ /**
27
+ * The description of the operation.
28
+ * NOTE: This property will not be serialized. It can only be populated by the server.
29
+ */
30
+ readonly description?: string;
31
+ /**
32
+ * The display name of the compute operation.
33
+ * NOTE: This property will not be serialized. It can only be populated by the server.
34
+ */
35
+ readonly operation?: string;
36
+ /**
37
+ * The resource provider for the operation.
38
+ * NOTE: This property will not be serialized. It can only be populated by the server.
39
+ */
40
+ readonly provider?: string;
41
+ /**
42
+ * The display name of the resource the operation applies to.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly resource?: string;
46
+ }
47
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
48
+ export interface ErrorResponse {
49
+ /** The error object. */
50
+ error?: ErrorDetail;
51
+ }
52
+ /** The error detail. */
53
+ export interface ErrorDetail {
54
+ /**
55
+ * The error code.
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
57
+ */
58
+ readonly code?: string;
59
+ /**
60
+ * The error message.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly message?: string;
64
+ /**
65
+ * The error target.
66
+ * NOTE: This property will not be serialized. It can only be populated by the server.
67
+ */
68
+ readonly target?: string;
69
+ /**
70
+ * The error details.
71
+ * NOTE: This property will not be serialized. It can only be populated by the server.
72
+ */
73
+ readonly details?: ErrorDetail[];
74
+ /**
75
+ * The error additional info.
76
+ * NOTE: This property will not be serialized. It can only be populated by the server.
77
+ */
78
+ readonly additionalInfo?: ErrorAdditionalInfo[];
79
+ }
80
+ /** The resource management error additional info. */
81
+ export interface ErrorAdditionalInfo {
82
+ /**
83
+ * The additional info type.
84
+ * NOTE: This property will not be serialized. It can only be populated by the server.
85
+ */
86
+ readonly type?: string;
87
+ /**
88
+ * The additional info.
89
+ * NOTE: This property will not be serialized. It can only be populated by the server.
90
+ */
91
+ readonly info?: Record<string, unknown>;
92
+ }
93
+ /** The List Custom Locations operation response. */
94
+ export interface CustomLocationListResult {
95
+ /**
96
+ * The URL to use for getting the next set of results.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly nextLink?: string;
100
+ /**
101
+ * The list of Custom Locations.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly value?: CustomLocation[];
105
+ }
106
+ /** Identity for the resource. */
107
+ export interface Identity {
108
+ /**
109
+ * The principal ID of resource identity.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly principalId?: string;
113
+ /**
114
+ * The tenant ID of resource.
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
+ */
117
+ readonly tenantId?: string;
118
+ /** The identity type. */
119
+ type?: ResourceIdentityType;
120
+ }
121
+ /** This is optional input that contains the authentication that should be used to generate the namespace. */
122
+ export interface CustomLocationPropertiesAuthentication {
123
+ /** The type of the Custom Locations authentication */
124
+ type?: string;
125
+ /** The kubeconfig value. */
126
+ value?: string;
127
+ }
128
+ /** Metadata pertaining to creation and last modification of the resource. */
129
+ export interface SystemData {
130
+ /** The identity that created the resource. */
131
+ createdBy?: string;
132
+ /** The type of identity that created the resource. */
133
+ createdByType?: CreatedByType;
134
+ /** The timestamp of resource creation (UTC). */
135
+ createdAt?: Date;
136
+ /** The identity that last modified the resource. */
137
+ lastModifiedBy?: string;
138
+ /** The type of identity that last modified the resource. */
139
+ lastModifiedByType?: CreatedByType;
140
+ /** The timestamp of resource last modification (UTC) */
141
+ lastModifiedAt?: Date;
142
+ }
143
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
144
+ export interface Resource {
145
+ /**
146
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
148
+ */
149
+ readonly id?: string;
150
+ /**
151
+ * The name of the resource
152
+ * NOTE: This property will not be serialized. It can only be populated by the server.
153
+ */
154
+ readonly name?: string;
155
+ /**
156
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
157
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
+ */
159
+ readonly type?: string;
160
+ }
161
+ /** The Custom Locations patchable resource definition. */
162
+ export interface PatchableCustomLocations {
163
+ /** Identity for the resource. */
164
+ identity?: Identity;
165
+ /** Resource tags */
166
+ tags?: {
167
+ [propertyName: string]: string;
168
+ };
169
+ /** This is optional input that contains the authentication that should be used to generate the namespace. */
170
+ authentication?: CustomLocationPropertiesAuthentication;
171
+ /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */
172
+ clusterExtensionIds?: string[];
173
+ /** Display name for the Custom Locations location. */
174
+ displayName?: string;
175
+ /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */
176
+ hostResourceId?: string;
177
+ /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
178
+ hostType?: HostType;
179
+ /** Kubernetes namespace that will be created on the specified cluster. */
180
+ namespace?: string;
181
+ /** Provisioning State for the Custom Location. */
182
+ provisioningState?: string;
183
+ }
184
+ /** List of EnabledResourceTypes definition. */
185
+ export interface EnabledResourceTypesListResult {
186
+ /**
187
+ * The URL to use for getting the next set of results.
188
+ * NOTE: This property will not be serialized. It can only be populated by the server.
189
+ */
190
+ readonly nextLink?: string;
191
+ /**
192
+ * The list of EnabledResourceTypes available for a customLocation.
193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
194
+ */
195
+ readonly value?: EnabledResourceType[];
196
+ }
197
+ /** Metadata of the Resource Type. */
198
+ export interface EnabledResourceTypePropertiesTypesMetadataItem {
199
+ /** Api Version of Resource Type */
200
+ apiVersion?: string;
201
+ /** Resource Provider Namespace of Resource Type */
202
+ resourceProviderNamespace?: string;
203
+ /** Resource Type */
204
+ resourceType?: string;
205
+ }
206
+ /** The Find Target Resource Group operation request. */
207
+ export interface CustomLocationFindTargetResourceGroupProperties {
208
+ /** Labels of the custom resource, this is a map of {key,value} pairs. */
209
+ labels?: {
210
+ [propertyName: string]: string;
211
+ };
212
+ }
213
+ /** The Find Target Resource Group operation response. */
214
+ export interface CustomLocationFindTargetResourceGroupResult {
215
+ /**
216
+ * 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.
217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
218
+ */
219
+ readonly matchedResourceSyncRule?: string;
220
+ /**
221
+ * 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.
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
+ */
224
+ readonly targetResourceGroup?: string;
225
+ }
226
+ /** The List Resource Sync Rules operation response. */
227
+ export interface ResourceSyncRuleListResult {
228
+ /**
229
+ * The URL to use for getting the next set of results.
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
+ */
232
+ readonly nextLink?: string;
233
+ /**
234
+ * The list of Resource Sync Rules.
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly value?: ResourceSyncRule[];
238
+ }
239
+ /** 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. */
240
+ export interface ResourceSyncRulePropertiesSelector {
241
+ /** 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. */
242
+ matchExpressions?: MatchExpressionsProperties[];
243
+ /** 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'. */
244
+ matchLabels?: {
245
+ [propertyName: string]: string;
246
+ };
247
+ }
248
+ /** Resource Sync Rules matchExpression property definition. */
249
+ export interface MatchExpressionsProperties {
250
+ /** Key is the label key that the selector applies to. */
251
+ key?: string;
252
+ /** The Operator field represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */
253
+ operator?: string;
254
+ /** The label value */
255
+ values?: string[];
256
+ }
257
+ /** The Resource Sync Rules patchable resource definition. */
258
+ export interface PatchableResourceSyncRule {
259
+ /** Resource tags */
260
+ tags?: {
261
+ [propertyName: string]: string;
262
+ };
263
+ /** Priority represents a priority of the Resource Sync Rule */
264
+ priority?: number;
265
+ /**
266
+ * Provisioning State for the Resource Sync Rule.
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
268
+ */
269
+ readonly provisioningState?: string;
270
+ /** 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. */
271
+ selector?: ResourceSyncRulePropertiesSelector;
272
+ /** 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. */
273
+ targetResourceGroup?: string;
274
+ }
275
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
276
+ export interface TrackedResource extends Resource {
277
+ /** Resource tags. */
278
+ tags?: {
279
+ [propertyName: string]: string;
280
+ };
281
+ /** The geo-location where the resource lives */
282
+ location: string;
283
+ }
284
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
285
+ export interface ProxyResource extends Resource {
286
+ }
287
+ /** Custom Locations definition. */
288
+ export interface CustomLocation extends TrackedResource {
289
+ /** Identity for the resource. */
290
+ identity?: Identity;
291
+ /**
292
+ * Metadata pertaining to creation and last modification of the resource
293
+ * NOTE: This property will not be serialized. It can only be populated by the server.
294
+ */
295
+ readonly systemData?: SystemData;
296
+ /** This is optional input that contains the authentication that should be used to generate the namespace. */
297
+ authentication?: CustomLocationPropertiesAuthentication;
298
+ /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */
299
+ clusterExtensionIds?: string[];
300
+ /** Display name for the Custom Locations location. */
301
+ displayName?: string;
302
+ /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */
303
+ hostResourceId?: string;
304
+ /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
305
+ hostType?: HostType;
306
+ /** Kubernetes namespace that will be created on the specified cluster. */
307
+ namespace?: string;
308
+ /** Provisioning State for the Custom Location. */
309
+ provisioningState?: string;
310
+ }
311
+ /** Resource Sync Rules definition. */
312
+ export interface ResourceSyncRule extends TrackedResource {
313
+ /**
314
+ * Metadata pertaining to creation and last modification of the resource
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
+ */
317
+ readonly systemData?: SystemData;
318
+ /** Priority represents a priority of the Resource Sync Rule */
319
+ priority?: number;
320
+ /**
321
+ * Provisioning State for the Resource Sync Rule.
322
+ * NOTE: This property will not be serialized. It can only be populated by the server.
323
+ */
324
+ readonly provisioningState?: string;
325
+ /** 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. */
326
+ selector?: ResourceSyncRulePropertiesSelector;
327
+ /** 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. */
328
+ targetResourceGroup?: string;
329
+ }
330
+ /** EnabledResourceType definition. */
331
+ export interface EnabledResourceType extends ProxyResource {
332
+ /**
333
+ * Metadata pertaining to creation and last modification of the resource
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly systemData?: SystemData;
337
+ /** Cluster Extension ID */
338
+ clusterExtensionId?: string;
339
+ /** Cluster Extension Type */
340
+ extensionType?: string;
341
+ /** Metadata of the Resource Type */
342
+ typesMetadata?: EnabledResourceTypePropertiesTypesMetadataItem[];
343
+ }
344
+ /** Known values of {@link ResourceIdentityType} that the service accepts. */
345
+ export declare enum KnownResourceIdentityType {
346
+ /** SystemAssigned */
347
+ SystemAssigned = "SystemAssigned",
348
+ /** None */
349
+ None = "None"
350
+ }
351
+ /**
352
+ * Defines values for ResourceIdentityType. \
353
+ * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
354
+ * this enum contains the known values that the service supports.
355
+ * ### Known values supported by the service
356
+ * **SystemAssigned** \
357
+ * **None**
358
+ */
359
+ export type ResourceIdentityType = string;
360
+ /** Known values of {@link HostType} that the service accepts. */
361
+ export declare enum KnownHostType {
362
+ /** Kubernetes */
363
+ Kubernetes = "Kubernetes"
364
+ }
365
+ /**
366
+ * Defines values for HostType. \
367
+ * {@link KnownHostType} can be used interchangeably with HostType,
368
+ * this enum contains the known values that the service supports.
369
+ * ### Known values supported by the service
370
+ * **Kubernetes**
371
+ */
372
+ export type HostType = string;
373
+ /** Known values of {@link CreatedByType} that the service accepts. */
374
+ export declare enum KnownCreatedByType {
375
+ /** User */
376
+ User = "User",
377
+ /** Application */
378
+ Application = "Application",
379
+ /** ManagedIdentity */
380
+ ManagedIdentity = "ManagedIdentity",
381
+ /** Key */
382
+ Key = "Key"
383
+ }
384
+ /**
385
+ * Defines values for CreatedByType. \
386
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
387
+ * this enum contains the known values that the service supports.
388
+ * ### Known values supported by the service
389
+ * **User** \
390
+ * **Application** \
391
+ * **ManagedIdentity** \
392
+ * **Key**
393
+ */
394
+ export type CreatedByType = string;
395
+ /** Optional parameters. */
396
+ export interface CustomLocationsListOperationsOptionalParams extends coreClient.OperationOptions {
397
+ }
398
+ /** Contains response data for the listOperations operation. */
399
+ export type CustomLocationsListOperationsResponse = CustomLocationOperationsList;
400
+ /** Optional parameters. */
401
+ export interface CustomLocationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
402
+ }
403
+ /** Contains response data for the listBySubscription operation. */
404
+ export type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;
405
+ /** Optional parameters. */
406
+ export interface CustomLocationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
407
+ }
408
+ /** Contains response data for the listByResourceGroup operation. */
409
+ export type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;
410
+ /** Optional parameters. */
411
+ export interface CustomLocationsGetOptionalParams extends coreClient.OperationOptions {
412
+ }
413
+ /** Contains response data for the get operation. */
414
+ export type CustomLocationsGetResponse = CustomLocation;
415
+ /** Optional parameters. */
416
+ export interface CustomLocationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
417
+ /** Delay to wait until next poll, in milliseconds. */
418
+ updateIntervalInMs?: number;
419
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
420
+ resumeFrom?: string;
421
+ }
422
+ /** Contains response data for the createOrUpdate operation. */
423
+ export type CustomLocationsCreateOrUpdateResponse = CustomLocation;
424
+ /** Optional parameters. */
425
+ export interface CustomLocationsDeleteOptionalParams extends coreClient.OperationOptions {
426
+ /** Delay to wait until next poll, in milliseconds. */
427
+ updateIntervalInMs?: number;
428
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
429
+ resumeFrom?: string;
430
+ }
431
+ /** Optional parameters. */
432
+ export interface CustomLocationsUpdateOptionalParams extends coreClient.OperationOptions {
433
+ /** Identity for the resource. */
434
+ identity?: Identity;
435
+ /** Resource tags */
436
+ tags?: {
437
+ [propertyName: string]: string;
438
+ };
439
+ /** This is optional input that contains the authentication that should be used to generate the namespace. */
440
+ authentication?: CustomLocationPropertiesAuthentication;
441
+ /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */
442
+ clusterExtensionIds?: string[];
443
+ /** Display name for the Custom Locations location. */
444
+ displayName?: string;
445
+ /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */
446
+ hostResourceId?: string;
447
+ /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
448
+ hostType?: HostType;
449
+ /** Kubernetes namespace that will be created on the specified cluster. */
450
+ namespace?: string;
451
+ /** Provisioning State for the Custom Location. */
452
+ provisioningState?: string;
453
+ }
454
+ /** Contains response data for the update operation. */
455
+ export type CustomLocationsUpdateResponse = CustomLocation;
456
+ /** Optional parameters. */
457
+ export interface CustomLocationsListEnabledResourceTypesOptionalParams extends coreClient.OperationOptions {
458
+ }
459
+ /** Contains response data for the listEnabledResourceTypes operation. */
460
+ export type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;
461
+ /** Optional parameters. */
462
+ export interface CustomLocationsFindTargetResourceGroupOptionalParams extends coreClient.OperationOptions {
463
+ }
464
+ /** Contains response data for the findTargetResourceGroup operation. */
465
+ export type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;
466
+ /** Optional parameters. */
467
+ export interface CustomLocationsListOperationsNextOptionalParams extends coreClient.OperationOptions {
468
+ }
469
+ /** Contains response data for the listOperationsNext operation. */
470
+ export type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;
471
+ /** Optional parameters. */
472
+ export interface CustomLocationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
473
+ }
474
+ /** Contains response data for the listBySubscriptionNext operation. */
475
+ export type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;
476
+ /** Optional parameters. */
477
+ export interface CustomLocationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
478
+ }
479
+ /** Contains response data for the listByResourceGroupNext operation. */
480
+ export type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;
481
+ /** Optional parameters. */
482
+ export interface CustomLocationsListEnabledResourceTypesNextOptionalParams extends coreClient.OperationOptions {
483
+ }
484
+ /** Contains response data for the listEnabledResourceTypesNext operation. */
485
+ export type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;
486
+ /** Optional parameters. */
487
+ export interface ResourceSyncRulesListByCustomLocationIDOptionalParams extends coreClient.OperationOptions {
488
+ }
489
+ /** Contains response data for the listByCustomLocationID operation. */
490
+ export type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;
491
+ /** Optional parameters. */
492
+ export interface ResourceSyncRulesGetOptionalParams extends coreClient.OperationOptions {
493
+ }
494
+ /** Contains response data for the get operation. */
495
+ export type ResourceSyncRulesGetResponse = ResourceSyncRule;
496
+ /** Optional parameters. */
497
+ export interface ResourceSyncRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
498
+ /** Delay to wait until next poll, in milliseconds. */
499
+ updateIntervalInMs?: number;
500
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
501
+ resumeFrom?: string;
502
+ }
503
+ /** Contains response data for the createOrUpdate operation. */
504
+ export type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;
505
+ /** Optional parameters. */
506
+ export interface ResourceSyncRulesDeleteOptionalParams extends coreClient.OperationOptions {
507
+ }
508
+ /** Optional parameters. */
509
+ export interface ResourceSyncRulesUpdateOptionalParams extends coreClient.OperationOptions {
510
+ /** Resource tags */
511
+ tags?: {
512
+ [propertyName: string]: string;
513
+ };
514
+ /** Priority represents a priority of the Resource Sync Rule */
515
+ priority?: number;
516
+ /** 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. */
517
+ selector?: ResourceSyncRulePropertiesSelector;
518
+ /** 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. */
519
+ targetResourceGroup?: string;
520
+ /** Delay to wait until next poll, in milliseconds. */
521
+ updateIntervalInMs?: number;
522
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
523
+ resumeFrom?: string;
524
+ }
525
+ /** Contains response data for the update operation. */
526
+ export type ResourceSyncRulesUpdateResponse = ResourceSyncRule;
527
+ /** Optional parameters. */
528
+ export interface ResourceSyncRulesListByCustomLocationIDNextOptionalParams extends coreClient.OperationOptions {
529
+ }
530
+ /** Contains response data for the listByCustomLocationIDNext operation. */
531
+ export type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;
532
+ /** Optional parameters. */
533
+ export interface CustomLocationsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
534
+ /** server parameter */
535
+ $host?: string;
536
+ /** Api Version */
537
+ apiVersion?: string;
538
+ /** Overrides client endpoint. */
539
+ endpoint?: string;
540
+ }
541
+ //# sourceMappingURL=index.d.ts.map