@azure/arm-locks 2.1.1-alpha.20250211.1 → 2.1.1-alpha.20250212.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/README.md +13 -18
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/managementLockClient.d.ts +2 -2
  7. package/dist/browser/managementLockClient.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/managementLockClient.js +15 -18
  9. package/dist/browser/managementLockClient.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/authorizationOperations.d.ts +3 -3
  15. package/dist/browser/operations/authorizationOperations.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/authorizationOperations.js +3 -3
  17. package/dist/browser/operations/authorizationOperations.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +3 -0
  19. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  20. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
  21. package/dist/browser/operations/index.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/managementLocks.d.ts +3 -3
  23. package/dist/browser/operations/managementLocks.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/managementLocks.js +3 -3
  25. package/dist/browser/operations/managementLocks.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.d.ts +1 -1
  27. package/dist/browser/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
  28. package/dist/browser/operationsInterfaces/authorizationOperations.js.map +1 -0
  29. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  30. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  31. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
  32. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.d.ts +1 -1
  34. package/dist/browser/operationsInterfaces/managementLocks.d.ts.map +1 -0
  35. package/dist/browser/operationsInterfaces/managementLocks.js.map +1 -0
  36. package/dist/browser/package.json +3 -0
  37. package/dist/browser/pagingHelper.js.map +1 -0
  38. package/dist/commonjs/index.d.ts +5 -0
  39. package/dist/commonjs/index.d.ts.map +1 -0
  40. package/dist/commonjs/index.js +19 -0
  41. package/dist/commonjs/index.js.map +1 -0
  42. package/dist/commonjs/managementLockClient.d.ts +21 -0
  43. package/dist/commonjs/managementLockClient.d.ts.map +1 -0
  44. package/dist/commonjs/managementLockClient.js +103 -0
  45. package/dist/commonjs/managementLockClient.js.map +1 -0
  46. package/dist/commonjs/models/index.d.ts +295 -0
  47. package/dist/commonjs/models/index.d.ts.map +1 -0
  48. package/dist/commonjs/models/index.js +33 -0
  49. package/dist/commonjs/models/index.js.map +1 -0
  50. package/dist/commonjs/models/mappers.d.ts +12 -0
  51. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  52. package/dist/commonjs/models/mappers.js +322 -0
  53. package/dist/commonjs/models/mappers.js.map +1 -0
  54. package/dist/commonjs/models/parameters.d.ts +17 -0
  55. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  56. package/dist/commonjs/models/parameters.js +167 -0
  57. package/dist/commonjs/models/parameters.js.map +1 -0
  58. package/dist/commonjs/operations/authorizationOperations.d.ts +32 -0
  59. package/dist/commonjs/operations/authorizationOperations.d.ts.map +1 -0
  60. package/dist/commonjs/operations/authorizationOperations.js +138 -0
  61. package/dist/commonjs/operations/authorizationOperations.js.map +1 -0
  62. package/dist/commonjs/operations/index.d.ts +3 -0
  63. package/dist/commonjs/operations/index.d.ts.map +1 -0
  64. package/dist/commonjs/operations/index.js +13 -0
  65. package/dist/commonjs/operations/index.js.map +1 -0
  66. package/dist/commonjs/operations/managementLocks.d.ts +245 -0
  67. package/dist/commonjs/operations/managementLocks.d.ts.map +1 -0
  68. package/dist/commonjs/operations/managementLocks.js +977 -0
  69. package/dist/commonjs/operations/managementLocks.js.map +1 -0
  70. package/dist/commonjs/operationsInterfaces/authorizationOperations.d.ts +11 -0
  71. package/dist/commonjs/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
  72. package/dist/commonjs/operationsInterfaces/authorizationOperations.js +10 -0
  73. package/dist/commonjs/operationsInterfaces/authorizationOperations.js.map +1 -0
  74. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  75. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  76. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  77. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  78. package/dist/commonjs/operationsInterfaces/managementLocks.d.ts +159 -0
  79. package/dist/commonjs/operationsInterfaces/managementLocks.d.ts.map +1 -0
  80. package/dist/commonjs/operationsInterfaces/managementLocks.js +10 -0
  81. package/dist/commonjs/operationsInterfaces/managementLocks.js.map +1 -0
  82. package/dist/commonjs/package.json +3 -0
  83. package/dist/commonjs/pagingHelper.d.ts +13 -0
  84. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  85. package/dist/commonjs/pagingHelper.js +36 -0
  86. package/dist/commonjs/pagingHelper.js.map +1 -0
  87. package/dist/esm/index.d.ts +5 -0
  88. package/dist/esm/index.d.ts.map +1 -0
  89. package/{src/index.ts → dist/esm/index.js} +5 -5
  90. package/dist/esm/index.js.map +1 -0
  91. package/dist/esm/managementLockClient.d.ts +21 -0
  92. package/dist/esm/managementLockClient.d.ts.map +1 -0
  93. package/dist/esm/managementLockClient.js +98 -0
  94. package/dist/esm/managementLockClient.js.map +1 -0
  95. package/dist/esm/models/index.d.ts +295 -0
  96. package/dist/esm/models/index.d.ts.map +1 -0
  97. package/dist/esm/models/index.js +30 -0
  98. package/dist/esm/models/index.js.map +1 -0
  99. package/dist/esm/models/mappers.d.ts +12 -0
  100. package/dist/esm/models/mappers.d.ts.map +1 -0
  101. package/dist/esm/models/mappers.js +319 -0
  102. package/dist/esm/models/mappers.js.map +1 -0
  103. package/dist/esm/models/parameters.d.ts +17 -0
  104. package/dist/esm/models/parameters.d.ts.map +1 -0
  105. package/dist/esm/models/parameters.js +164 -0
  106. package/dist/esm/models/parameters.js.map +1 -0
  107. package/dist/esm/operations/authorizationOperations.d.ts +32 -0
  108. package/dist/esm/operations/authorizationOperations.d.ts.map +1 -0
  109. package/dist/esm/operations/authorizationOperations.js +134 -0
  110. package/dist/esm/operations/authorizationOperations.js.map +1 -0
  111. package/dist/esm/operations/index.d.ts +3 -0
  112. package/dist/esm/operations/index.d.ts.map +1 -0
  113. package/dist/esm/operations/index.js +10 -0
  114. package/dist/esm/operations/index.js.map +1 -0
  115. package/dist/esm/operations/managementLocks.d.ts +245 -0
  116. package/dist/esm/operations/managementLocks.d.ts.map +1 -0
  117. package/dist/esm/operations/managementLocks.js +973 -0
  118. package/dist/esm/operations/managementLocks.js.map +1 -0
  119. package/dist/esm/operationsInterfaces/authorizationOperations.d.ts +11 -0
  120. package/dist/esm/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
  121. package/{src/operations/index.ts → dist/esm/operationsInterfaces/authorizationOperations.js} +2 -3
  122. package/dist/esm/operationsInterfaces/authorizationOperations.js.map +1 -0
  123. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  124. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  125. package/dist/esm/operationsInterfaces/index.js +10 -0
  126. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  127. package/dist/esm/operationsInterfaces/managementLocks.d.ts +159 -0
  128. package/dist/esm/operationsInterfaces/managementLocks.d.ts.map +1 -0
  129. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/managementLocks.js} +2 -3
  130. package/dist/esm/operationsInterfaces/managementLocks.js.map +1 -0
  131. package/dist/esm/package.json +3 -0
  132. package/dist/esm/pagingHelper.d.ts +13 -0
  133. package/dist/esm/pagingHelper.d.ts.map +1 -0
  134. package/dist/esm/pagingHelper.js +32 -0
  135. package/dist/esm/pagingHelper.js.map +1 -0
  136. package/dist/react-native/index.d.ts +5 -0
  137. package/dist/react-native/index.d.ts.map +1 -0
  138. package/dist/react-native/index.js +13 -0
  139. package/dist/react-native/index.js.map +1 -0
  140. package/dist/react-native/managementLockClient.d.ts +21 -0
  141. package/dist/react-native/managementLockClient.d.ts.map +1 -0
  142. package/dist/react-native/managementLockClient.js +98 -0
  143. package/dist/react-native/managementLockClient.js.map +1 -0
  144. package/dist/react-native/models/index.d.ts +295 -0
  145. package/dist/react-native/models/index.d.ts.map +1 -0
  146. package/dist/react-native/models/index.js +30 -0
  147. package/dist/react-native/models/index.js.map +1 -0
  148. package/dist/react-native/models/mappers.d.ts +12 -0
  149. package/dist/react-native/models/mappers.d.ts.map +1 -0
  150. package/dist/react-native/models/mappers.js +319 -0
  151. package/dist/react-native/models/mappers.js.map +1 -0
  152. package/dist/react-native/models/parameters.d.ts +17 -0
  153. package/dist/react-native/models/parameters.d.ts.map +1 -0
  154. package/dist/react-native/models/parameters.js +164 -0
  155. package/dist/react-native/models/parameters.js.map +1 -0
  156. package/dist/react-native/operations/authorizationOperations.d.ts +32 -0
  157. package/dist/react-native/operations/authorizationOperations.d.ts.map +1 -0
  158. package/dist/react-native/operations/authorizationOperations.js +134 -0
  159. package/dist/react-native/operations/authorizationOperations.js.map +1 -0
  160. package/dist/react-native/operations/index.d.ts +3 -0
  161. package/dist/react-native/operations/index.d.ts.map +1 -0
  162. package/dist/react-native/operations/index.js +10 -0
  163. package/dist/react-native/operations/index.js.map +1 -0
  164. package/dist/react-native/operations/managementLocks.d.ts +245 -0
  165. package/dist/react-native/operations/managementLocks.d.ts.map +1 -0
  166. package/dist/react-native/operations/managementLocks.js +973 -0
  167. package/dist/react-native/operations/managementLocks.js.map +1 -0
  168. package/dist/react-native/operationsInterfaces/authorizationOperations.d.ts +11 -0
  169. package/dist/react-native/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
  170. package/dist/react-native/operationsInterfaces/authorizationOperations.js +9 -0
  171. package/dist/react-native/operationsInterfaces/authorizationOperations.js.map +1 -0
  172. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  173. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist/react-native/operationsInterfaces/index.js +10 -0
  175. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  176. package/dist/react-native/operationsInterfaces/managementLocks.d.ts +159 -0
  177. package/dist/react-native/operationsInterfaces/managementLocks.d.ts.map +1 -0
  178. package/dist/react-native/operationsInterfaces/managementLocks.js +9 -0
  179. package/dist/react-native/operationsInterfaces/managementLocks.js.map +1 -0
  180. package/dist/react-native/package.json +3 -0
  181. package/dist/react-native/pagingHelper.d.ts +13 -0
  182. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  183. package/dist/react-native/pagingHelper.js +32 -0
  184. package/dist/react-native/pagingHelper.js.map +1 -0
  185. package/package.json +69 -40
  186. package/dist/index.js +0 -1783
  187. package/dist/index.js.map +0 -1
  188. package/dist/index.min.js +0 -1
  189. package/dist/index.min.js.map +0 -1
  190. package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts +0 -2
  191. package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts.map +0 -1
  192. package/dist-esm/samples-dev/authorizationOperationsListSample.js +0 -43
  193. package/dist-esm/samples-dev/authorizationOperationsListSample.js.map +0 -1
  194. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts +0 -2
  195. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts.map +0 -1
  196. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js +0 -23
  197. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js.map +0 -1
  198. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts +0 -2
  199. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts.map +0 -1
  200. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js +0 -27
  201. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js.map +0 -1
  202. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts +0 -2
  203. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts.map +0 -1
  204. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js +0 -22
  205. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js.map +0 -1
  206. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts +0 -2
  207. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts.map +0 -1
  208. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js +0 -23
  209. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js.map +0 -1
  210. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts +0 -2
  211. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts.map +0 -1
  212. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js +0 -29
  213. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js.map +0 -1
  214. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts +0 -2
  215. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts.map +0 -1
  216. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js +0 -33
  217. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js.map +0 -1
  218. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts +0 -2
  219. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts.map +0 -1
  220. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js +0 -28
  221. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js.map +0 -1
  222. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts +0 -2
  223. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts.map +0 -1
  224. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js +0 -29
  225. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js.map +0 -1
  226. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts +0 -2
  227. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts.map +0 -1
  228. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js +0 -29
  229. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js.map +0 -1
  230. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts +0 -2
  231. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts.map +0 -1
  232. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js +0 -33
  233. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js.map +0 -1
  234. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts +0 -2
  235. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js +0 -28
  237. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js.map +0 -1
  238. package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/managementLocksGetByScopeSample.js +0 -29
  241. package/dist-esm/samples-dev/managementLocksGetByScopeSample.js.map +0 -1
  242. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js +0 -44
  245. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js.map +0 -1
  246. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js +0 -48
  249. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js.map +0 -1
  250. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js +0 -43
  253. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js.map +0 -1
  254. package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/managementLocksListByScopeSample.js +0 -44
  257. package/dist-esm/samples-dev/managementLocksListByScopeSample.js.map +0 -1
  258. package/dist-esm/src/index.d.ts +0 -5
  259. package/dist-esm/src/index.js.map +0 -1
  260. package/dist-esm/src/managementLockClient.d.ts.map +0 -1
  261. package/dist-esm/src/managementLockClient.js.map +0 -1
  262. package/dist-esm/src/models/index.js.map +0 -1
  263. package/dist-esm/src/models/mappers.js.map +0 -1
  264. package/dist-esm/src/models/parameters.js.map +0 -1
  265. package/dist-esm/src/operations/authorizationOperations.d.ts.map +0 -1
  266. package/dist-esm/src/operations/authorizationOperations.js.map +0 -1
  267. package/dist-esm/src/operations/index.d.ts +0 -3
  268. package/dist-esm/src/operations/index.js.map +0 -1
  269. package/dist-esm/src/operations/managementLocks.d.ts.map +0 -1
  270. package/dist-esm/src/operations/managementLocks.js.map +0 -1
  271. package/dist-esm/src/operationsInterfaces/authorizationOperations.d.ts.map +0 -1
  272. package/dist-esm/src/operationsInterfaces/authorizationOperations.js.map +0 -1
  273. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  274. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  275. package/dist-esm/src/operationsInterfaces/managementLocks.d.ts.map +0 -1
  276. package/dist-esm/src/operationsInterfaces/managementLocks.js.map +0 -1
  277. package/dist-esm/src/pagingHelper.js.map +0 -1
  278. package/dist-esm/test/locks_examples.d.ts +0 -4
  279. package/dist-esm/test/locks_examples.d.ts.map +0 -1
  280. package/dist-esm/test/locks_examples.js +0 -93
  281. package/dist-esm/test/locks_examples.js.map +0 -1
  282. package/src/managementLockClient.ts +0 -145
  283. package/src/models/index.ts +0 -366
  284. package/src/models/mappers.ts +0 -330
  285. package/src/models/parameters.ts +0 -184
  286. package/src/operations/authorizationOperations.ts +0 -150
  287. package/src/operations/managementLocks.ts +0 -1252
  288. package/src/operationsInterfaces/authorizationOperations.ts +0 -25
  289. package/src/operationsInterfaces/managementLocks.ts +0 -270
  290. package/src/pagingHelper.ts +0 -39
  291. package/tsconfig.json +0 -35
  292. package/types/arm-locks.d.ts +0 -545
  293. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  294. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  295. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  296. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  297. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  298. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  299. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  300. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  301. /package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.js +0 -0
  302. /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.js +0 -0
  303. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  304. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  305. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  306. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
package/README.md CHANGED
@@ -48,20 +48,16 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica
48
48
 
49
49
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { ManagementLockClient } = require("@azure/arm-locks");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55
-
56
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
- const client = new ManagementLockClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new ManagementLockClient(credential, subscriptionId);
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+
55
+ ```
56
+
57
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
58
+
59
+ ```ts snippet:ReadmeSampleCreateClient_Browser
60
+
65
61
  ```
66
62
 
67
63
  ### JavaScript Bundle
@@ -80,8 +76,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
76
 
81
77
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
78
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
79
+ ```ts snippet:SetLogLevel
80
+ import { setLogLevel } from "@azure/logger";
81
+
85
82
  setLogLevel("info");
86
83
  ```
87
84
 
@@ -99,8 +96,6 @@ If you'd like to contribute to this library, please read the [contributing guide
99
96
 
100
97
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
98
 
102
-
103
-
104
99
  [azure_cli]: https://learn.microsoft.com/cli/azure
105
100
  [azure_sub]: https://azure.microsoft.com/free/
106
101
  [azure_sub]: https://azure.microsoft.com/free/
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { ManagementLockClient } from "./managementLockClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { ManagementLockClient } from "./managementLockClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { ManagementLockClient } from "./managementLockClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ManagementLockClient } from \"./managementLockClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { AuthorizationOperations, ManagementLocks } from "./operationsInterfaces";
4
- import { ManagementLockClientOptionalParams } from "./models";
3
+ import { AuthorizationOperations, ManagementLocks } from "./operationsInterfaces/index.js";
4
+ import { ManagementLockClientOptionalParams } from "./models/index.js";
5
5
  export declare class ManagementLockClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLockClient.d.ts","sourceRoot":"","sources":["../../src/managementLockClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EACL,uBAAuB,EACvB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kCAAkC;IA6E9C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,eAAe,EAAE,eAAe,CAAC;CAClC"}
@@ -5,10 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { AuthorizationOperationsImpl, ManagementLocksImpl } from "./operations";
10
+ import { AuthorizationOperationsImpl, ManagementLocksImpl } from "./operations/index.js";
12
11
  export class ManagementLockClient extends coreClient.ServiceClient {
13
12
  /**
14
13
  * Initializes a new instance of the ManagementLockClient class.
@@ -77,22 +76,20 @@ export class ManagementLockClient extends coreClient.ServiceClient {
77
76
  }
78
77
  const apiVersionPolicy = {
79
78
  name: "CustomApiVersionPolicy",
80
- sendRequest(request, next) {
81
- return __awaiter(this, void 0, void 0, function* () {
82
- const param = request.url.split("?");
83
- if (param.length > 1) {
84
- const newParams = param[1].split("&").map((item) => {
85
- if (item.indexOf("api-version") > -1) {
86
- return "api-version=" + apiVersion;
87
- }
88
- else {
89
- return item;
90
- }
91
- });
92
- request.url = param[0] + "?" + newParams.join("&");
93
- }
94
- return next(request);
95
- });
79
+ async sendRequest(request, next) {
80
+ const param = request.url.split("?");
81
+ if (param.length > 1) {
82
+ const newParams = param[1].split("&").map((item) => {
83
+ if (item.indexOf("api-version") > -1) {
84
+ return "api-version=" + apiVersion;
85
+ }
86
+ else {
87
+ return item;
88
+ }
89
+ });
90
+ request.url = param[0] + "?" + newParams.join("&");
91
+ }
92
+ return next(request);
96
93
  }
97
94
  };
98
95
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLockClient.js","sourceRoot":"","sources":["../../src/managementLockClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOzF,MAAM,OAAO,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAKhE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA4C;;QAE5C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAuC;YACnD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,0BAA0B,CAAC;QAClD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,C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AC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AuthorizationOperationsImpl, ManagementLocksImpl } from \"./operations/index.js\";\nimport {\n AuthorizationOperations,\n ManagementLocks\n} from \"./operationsInterfaces/index.js\";\nimport { ManagementLockClientOptionalParams } from \"./models/index.js\";\n\nexport class ManagementLockClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagementLockClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ManagementLockClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ManagementLockClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-locks/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2020-05-01\";\n this.authorizationOperations = new AuthorizationOperationsImpl(this);\n this.managementLocks = new ManagementLocksImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n authorizationOperations: AuthorizationOperations;\n managementLocks: ManagementLocks;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2IH,kEAAkE;AAClE,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,mBAAmB;IACnB,+CAA6B,CAAA;IAC7B,mBAAmB;IACnB,+CAA6B,CAAA;IAC7B,eAAe;IACf,uCAAqB,CAAA;AACvB,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB;AAaD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Microsoft.Authorization operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Authorization operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft.Authorization operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Authorization */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The lock information. */\nexport interface ManagementLockObject {\n /**\n * The resource ID of the lock.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The resource type of the lock - Microsoft.Authorization/locks.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The name of the lock.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. */\n level: LockLevel;\n /** Notes about the lock. Maximum of 512 characters. */\n notes?: string;\n /** The owners of the lock. */\n owners?: ManagementLockOwner[];\n}\n\n/** Lock owner properties. */\nexport interface ManagementLockOwner {\n /** The application ID of the lock owner. */\n applicationId?: string;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The list of locks. */\nexport interface ManagementLockListResult {\n /** The list of locks. */\n value?: ManagementLockObject[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Known values of {@link LockLevel} that the service accepts. */\nexport enum KnownLockLevel {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** CanNotDelete */\n CanNotDelete = \"CanNotDelete\",\n /** ReadOnly */\n ReadOnly = \"ReadOnly\"\n}\n\n/**\n * Defines values for LockLevel. \\\n * {@link KnownLockLevel} can be used interchangeably with LockLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **CanNotDelete** \\\n * **ReadOnly**\n */\nexport type LockLevel = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface AuthorizationOperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AuthorizationOperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AuthorizationOperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AuthorizationOperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceGroupLevel operation. */\nexport type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateByScope operation. */\nexport type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByScope operation. */\nexport type ManagementLocksGetByScopeResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtResourceLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceLevel operation. */\nexport type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtSubscriptionLevel operation. */\nexport type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevel operation. */\nexport type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevel operation. */\nexport type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevel operation. */\nexport type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScope operation. */\nexport type ManagementLocksListByScopeResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceGroupLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevelNext operation. */\nexport type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevelNext operation. */\nexport type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevelNext operation. */\nexport type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScopeNext operation. */\nexport type ManagementLocksListByScopeNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLockClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,W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U;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,sBAAsB;yBAClC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ManagementLockObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockObject\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n level: {\n serializedName: \"properties.level\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n notes: {\n serializedName: \"properties.notes\",\n type: {\n name: \"String\"\n }\n },\n owners: {\n serializedName: \"properties.owners\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementLockOwner\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementLockOwner: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockOwner\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ManagementLockListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementLockObject\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { ManagementLockObject as ManagementLockObjectMapper } from "../models/mappers";
8
+ import { ManagementLockObject as ManagementLockObjectMapper } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH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N,cAAc,EAAE,oBAAoB;QACpC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAA4B;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { ManagementLockObject as ManagementLockObjectMapper } from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-05-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagementLockObjectMapper\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const lockName: OperationURLParameter = {\n parameterPath: \"lockName\",\n mapper: {\n serializedName: \"lockName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { AuthorizationOperations } from "../operationsInterfaces";
3
- import { ManagementLockClient } from "../managementLockClient";
4
- import { Operation, AuthorizationOperationsListOptionalParams } from "../models";
2
+ import { AuthorizationOperations } from "../operationsInterfaces/index.js";
3
+ import { ManagementLockClient } from "../managementLockClient.js";
4
+ import { Operation, AuthorizationOperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing AuthorizationOperations operations. */
6
6
  export declare class AuthorizationOperationsImpl implements AuthorizationOperations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizationOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/authorizationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,SAAS,EAET,yCAAyC,EAG1C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,qBAAa,2BAA4B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing AuthorizationOperations operations. */
15
15
  export class AuthorizationOperationsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizationOperations.js","sourceRoot":"","sources":["../../../src/operations/authorizationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAM,OAAO,2BAA2B;IAGtC;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YAC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,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AuthorizationOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagementLockClient } from \"../managementLockClient.js\";\nimport {\n Operation,\n AuthorizationOperationsListNextOptionalParams,\n AuthorizationOperationsListOptionalParams,\n AuthorizationOperationsListResponse,\n AuthorizationOperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AuthorizationOperations operations. */\nexport class AuthorizationOperationsImpl implements AuthorizationOperations {\n private readonly client: ManagementLockClient;\n\n /**\n * Initialize a new instance of the class AuthorizationOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLockClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Authorization REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: AuthorizationOperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AuthorizationOperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: AuthorizationOperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AuthorizationOperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Authorization REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: AuthorizationOperationsListOptionalParams\n ): Promise<AuthorizationOperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AuthorizationOperationsListNextOptionalParams\n ): Promise<AuthorizationOperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Authorization/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./authorizationOperations.js";
2
+ export * from "./managementLocks.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
@@ -5,6 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./authorizationOperations";
9
- export * from "./managementLocks";
8
+ export * from "./authorizationOperations.js";
9
+ export * from "./managementLocks.js";
10
10
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./authorizationOperations.js\";\nexport * from \"./managementLocks.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ManagementLocks } from "../operationsInterfaces";
3
- import { ManagementLockClient } from "../managementLockClient";
4
- import { ManagementLockObject, ManagementLocksListAtResourceGroupLevelOptionalParams, ManagementLocksListAtResourceLevelOptionalParams, ManagementLocksListAtSubscriptionLevelOptionalParams, ManagementLocksListByScopeOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse, ManagementLocksDeleteAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelResponse, ManagementLocksCreateOrUpdateByScopeOptionalParams, ManagementLocksCreateOrUpdateByScopeResponse, ManagementLocksDeleteByScopeOptionalParams, ManagementLocksGetByScopeOptionalParams, ManagementLocksGetByScopeResponse, ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceLevelResponse, ManagementLocksDeleteAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelResponse, ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams, ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse, ManagementLocksDeleteAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelResponse } from "../models";
2
+ import { ManagementLocks } from "../operationsInterfaces/index.js";
3
+ import { ManagementLockClient } from "../managementLockClient.js";
4
+ import { ManagementLockObject, ManagementLocksListAtResourceGroupLevelOptionalParams, ManagementLocksListAtResourceLevelOptionalParams, ManagementLocksListAtSubscriptionLevelOptionalParams, ManagementLocksListByScopeOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse, ManagementLocksDeleteAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelResponse, ManagementLocksCreateOrUpdateByScopeOptionalParams, ManagementLocksCreateOrUpdateByScopeResponse, ManagementLocksDeleteByScopeOptionalParams, ManagementLocksGetByScopeOptionalParams, ManagementLocksGetByScopeResponse, ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceLevelResponse, ManagementLocksDeleteAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelResponse, ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams, ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse, ManagementLocksDeleteAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelResponse } from "../models/index.js";
5
5
  /** Class containing ManagementLocks operations. */
6
6
  export declare class ManagementLocksImpl implements ManagementLocks {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLocks.d.ts","sourceRoot":"","sources":["../../../src/operations/managementLocks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,oBAAoB,EAEpB,qDAAqD,EAGrD,gDAAgD,EAGhD,oDAAoD,EAGpD,wCAAwC,EAExC,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACvD,oDAAoD,EACpD,8CAA8C,EAC9C,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EACjC,0DAA0D,EAC1D,oDAAoD,EACpD,kDAAkD,EAClD,+CAA+C,EAC/C,yCAAyC,EACzC,8DAA8D,EAC9D,wDAAwD,EACxD,sDAAsD,EACtD,mDAAmD,EACnD,6CAA6C,EAK9C,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;OAIG;IACI,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,oBAAoB,CAAC;YAyBpC,kCAA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AOpE;;;;;;OAMG;IACH,yBAAyB,CACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,sBAAsB,CACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;IAOzD;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAUjC;;;;;;;;;OASG;IACH,OAAO,CAAC,oBAAoB;IAqB5B;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAShC;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IAUpB;;;;;;OAMG;IACH,OAAO,CAAC,6BAA6B;IAWrC;;;;;;;;;;OAUG;IACH,OAAO,CAAC,wBAAwB;IAuBhC;;;;;OAKG;IACH,OAAO,CAAC,4BAA4B;IAUpC;;;;;;;;;OASG;IACH,OAAO,CAAC,gBAAgB;CAUzB"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing ManagementLocks operations. */
15
15
  export class ManagementLocksImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLocks.js","sourceRoot":"","sources":["../../../src/operations/managementLocks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK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,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC;IACxE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ManagementLocks } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagementLockClient } from \"../managementLockClient.js\";\nimport {\n ManagementLockObject,\n ManagementLocksListAtResourceGroupLevelNextOptionalParams,\n ManagementLocksListAtResourceGroupLevelOptionalParams,\n ManagementLocksListAtResourceGroupLevelResponse,\n ManagementLocksListAtResourceLevelNextOptionalParams,\n ManagementLocksListAtResourceLevelOptionalParams,\n ManagementLocksListAtResourceLevelResponse,\n ManagementLocksListAtSubscriptionLevelNextOptionalParams,\n ManagementLocksListAtSubscriptionLevelOptionalParams,\n ManagementLocksListAtSubscriptionLevelResponse,\n ManagementLocksListByScopeNextOptionalParams,\n ManagementLocksListByScopeOptionalParams,\n ManagementLocksListByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse,\n ManagementLocksDeleteAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelResponse,\n ManagementLocksCreateOrUpdateByScopeOptionalParams,\n ManagementLocksCreateOrUpdateByScopeResponse,\n ManagementLocksDeleteByScopeOptionalParams,\n ManagementLocksGetByScopeOptionalParams,\n ManagementLocksGetByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceLevelResponse,\n ManagementLocksDeleteAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelResponse,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse,\n ManagementLocksDeleteAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelResponse,\n ManagementLocksListAtResourceGroupLevelNextResponse,\n ManagementLocksListAtResourceLevelNextResponse,\n ManagementLocksListAtSubscriptionLevelNextResponse,\n ManagementLocksListByScopeNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagementLocks operations. */\nexport class ManagementLocksImpl implements ManagementLocks {\n private readonly client: ManagementLockClient;\n\n /**\n * Initialize a new instance of the class ManagementLocks class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLockClient) {\n this.client = client;\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n public listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceGroupLevelPagingAll(\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAtResourceGroupLevelPagingPage(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListAtResourceGroupLevelResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtResourceGroupLevel(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtResourceGroupLevelNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtResourceGroupLevelPagingAll(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n public listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceLevelPagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAtResourceLevelPagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListAtResourceLevelResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtResourceLevel(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtResourceLevelNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtResourceLevelPagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n public listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtSubscriptionLevelPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtSubscriptionLevelPagingPage(options, settings);\n }\n };\n }\n\n private async *listAtSubscriptionLevelPagingPage(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListAtSubscriptionLevelResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtSubscriptionLevel(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtSubscriptionLevelNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtSubscriptionLevelPagingAll(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtSubscriptionLevelPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n public listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listByScopePagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByScopePagingPage(scope, options, settings);\n }\n };\n }\n\n private async *listByScopePagingPage(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListByScopeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByScope(scope, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByScopeNext(scope, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByScopePagingAll(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listByScopePagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group to lock.\n * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain\n * <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, parameters, options },\n createOrUpdateAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the lock.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n deleteAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the resource group level.\n * @param resourceGroupName The name of the locked resource group.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n getAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Create or update a management lock by scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param lockName The name of lock.\n * @param parameters Create or update management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateByScope(\n scope: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateByScopeOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, parameters, options },\n createOrUpdateByScopeOperationSpec\n );\n }\n\n /**\n * Delete a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n deleteByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksDeleteByScopeOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n deleteByScopeOperationSpec\n );\n }\n\n /**\n * Get a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksGetByScopeOptionalParams\n ): Promise<ManagementLocksGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n getByScopeOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource to lock.\n * @param resourceProviderNamespace The resource provider namespace of the resource to lock.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to lock.\n * @param resourceName The name of the resource to lock.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters Parameters for creating or updating a management lock.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n parameters,\n options\n },\n createOrUpdateAtResourceLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource with the lock to\n * delete.\n * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to\n * delete.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource with the lock to delete.\n * @param resourceName The name of the resource with the lock to delete.\n * @param lockName The name of the lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n deleteAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Get the management lock of a resource or any level below resource.\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.\n * @param resourceType The type of the resource.\n * @param resourceName The name of the resource.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n getAtResourceLevelOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtSubscriptionLevel(\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, parameters, options },\n createOrUpdateAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { lockName, options },\n deleteAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the subscription level.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksGetAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksGetAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, options },\n getAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n private _listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n },\n listAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n private _listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): Promise<ManagementLocksListByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listByScopeOperationSpec\n );\n }\n\n /**\n * ListAtResourceGroupLevelNext\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevelNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceGroupLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listAtResourceGroupLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtResourceLevelNext\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.\n * @param options The options parameters.\n */\n private _listAtResourceLevelNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options\n },\n listAtResourceLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionLevelNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevelNext(\n nextLink: string,\n options?: ManagementLocksListAtSubscriptionLevelNextOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionLevelNextOperationSpec\n );\n }\n\n /**\n * ListByScopeNext\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param nextLink The nextLink from the previous successful call to the ListByScope method.\n * @param options The options parameters.\n */\n private _listByScopeNext(\n scope: string,\n nextLink: string,\n options?: ManagementLocksListByScopeNextOptionalParams\n ): Promise<ManagementLocksListByScopeNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listByScopeNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, AuthorizationOperationsListOptionalParams } from "../models";
2
+ import { Operation, AuthorizationOperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a AuthorizationOperations. */
4
4
  export interface AuthorizationOperations {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizationOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/authorizationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizationOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/authorizationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Operation,\n AuthorizationOperationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AuthorizationOperations. */\nexport interface AuthorizationOperations {\n /**\n * Lists all of the available Microsoft.Authorization REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: AuthorizationOperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./authorizationOperations.js";
2
+ export * from "./managementLocks.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
@@ -5,6 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./authorizationOperations";
9
- export * from "./managementLocks";
8
+ export * from "./authorizationOperations.js";
9
+ export * from "./managementLocks.js";
10
10
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./authorizationOperations.js\";\nexport * from \"./managementLocks.js\";\n"]}