@azure/arm-locks 2.1.1-alpha.20250211.1 → 2.1.1-alpha.20250213.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
@@ -0,0 +1,138 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AuthorizationOperationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing AuthorizationOperations operations. */
18
+ class AuthorizationOperationsImpl {
19
+ /**
20
+ * Initialize a new instance of the class AuthorizationOperations class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Lists all of the available Microsoft.Authorization REST API operations.
28
+ * @param options The options parameters.
29
+ */
30
+ list(options) {
31
+ const iter = this.listPagingAll(options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listPagingPage(options, settings);
44
+ }
45
+ };
46
+ }
47
+ listPagingPage(options, settings) {
48
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
49
+ let result;
50
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
+ if (!continuationToken) {
52
+ result = yield tslib_1.__await(this._list(options));
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield yield tslib_1.__await(page);
57
+ }
58
+ while (continuationToken) {
59
+ result = yield tslib_1.__await(this._listNext(continuationToken, options));
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield yield tslib_1.__await(page);
64
+ }
65
+ });
66
+ }
67
+ listPagingAll(options) {
68
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
69
+ var _a, e_1, _b, _c;
70
+ try {
71
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
+ _c = _f.value;
73
+ _d = false;
74
+ const page = _c;
75
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
+ }
77
+ }
78
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
+ finally {
80
+ try {
81
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
+ }
83
+ finally { if (e_1) throw e_1.error; }
84
+ }
85
+ });
86
+ }
87
+ /**
88
+ * Lists all of the available Microsoft.Authorization REST API operations.
89
+ * @param options The options parameters.
90
+ */
91
+ _list(options) {
92
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
93
+ }
94
+ /**
95
+ * ListNext
96
+ * @param nextLink The nextLink from the previous successful call to the List method.
97
+ * @param options The options parameters.
98
+ */
99
+ _listNext(nextLink, options) {
100
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
101
+ }
102
+ }
103
+ exports.AuthorizationOperationsImpl = AuthorizationOperationsImpl;
104
+ // Operation Specifications
105
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
106
+ const listOperationSpec = {
107
+ path: "/providers/Microsoft.Authorization/operations",
108
+ httpMethod: "GET",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: Mappers.OperationListResult
112
+ },
113
+ default: {
114
+ bodyMapper: Mappers.ErrorResponse
115
+ }
116
+ },
117
+ queryParameters: [Parameters.apiVersion],
118
+ urlParameters: [Parameters.$host],
119
+ headerParameters: [Parameters.accept],
120
+ serializer
121
+ };
122
+ const listNextOperationSpec = {
123
+ path: "{nextLink}",
124
+ httpMethod: "GET",
125
+ responses: {
126
+ 200: {
127
+ bodyMapper: Mappers.OperationListResult
128
+ },
129
+ default: {
130
+ bodyMapper: Mappers.ErrorResponse
131
+ }
132
+ },
133
+ queryParameters: [Parameters.apiVersion],
134
+ urlParameters: [Parameters.$host, Parameters.nextLink],
135
+ headerParameters: [Parameters.accept],
136
+ serializer
137
+ };
138
+ //# sourceMappingURL=authorizationOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizationOperations.js","sourceRoot":"","sources":["../../../src/operations/authorizationOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAa,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,CA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OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./authorizationOperations.js"), exports);
12
+ tslib_1.__exportStar(require("./managementLocks.js"), exports);
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,uEAA6C;AAC7C,+DAAqC","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"]}
@@ -0,0 +1,245 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
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
+ /** Class containing ManagementLocks operations. */
6
+ export declare class ManagementLocksImpl implements ManagementLocks {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ManagementLocks class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ManagementLockClient);
13
+ /**
14
+ * Gets all the management locks for a resource group.
15
+ * @param resourceGroupName The name of the resource group containing the locks to get.
16
+ * @param options The options parameters.
17
+ */
18
+ listAtResourceGroupLevel(resourceGroupName: string, options?: ManagementLocksListAtResourceGroupLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
19
+ private listAtResourceGroupLevelPagingPage;
20
+ private listAtResourceGroupLevelPagingAll;
21
+ /**
22
+ * Gets all the management locks for a resource or any level below resource.
23
+ * @param resourceGroupName The name of the resource group containing the locked resource. The name is
24
+ * case insensitive.
25
+ * @param resourceProviderNamespace The namespace of the resource provider.
26
+ * @param parentResourcePath The parent resource identity.
27
+ * @param resourceType The resource type of the locked resource.
28
+ * @param resourceName The name of the locked resource.
29
+ * @param options The options parameters.
30
+ */
31
+ listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: ManagementLocksListAtResourceLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
32
+ private listAtResourceLevelPagingPage;
33
+ private listAtResourceLevelPagingAll;
34
+ /**
35
+ * Gets all the management locks for a subscription.
36
+ * @param options The options parameters.
37
+ */
38
+ listAtSubscriptionLevel(options?: ManagementLocksListAtSubscriptionLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
39
+ private listAtSubscriptionLevelPagingPage;
40
+ private listAtSubscriptionLevelPagingAll;
41
+ /**
42
+ * Gets all the management locks for a scope.
43
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
44
+ * '/subscriptions/{subscriptionId}' for subscriptions,
45
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
46
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
47
+ * for resources.
48
+ * @param options The options parameters.
49
+ */
50
+ listByScope(scope: string, options?: ManagementLocksListByScopeOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
51
+ private listByScopePagingPage;
52
+ private listByScopePagingAll;
53
+ /**
54
+ * When you apply a lock at a parent scope, all child resources inherit the same lock. To create
55
+ * management locks, you must have access to Microsoft.Authorization/* or
56
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
57
+ * Administrator are granted those actions.
58
+ * @param resourceGroupName The name of the resource group to lock.
59
+ * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain
60
+ * <, > %, &, :, \, ?, /, or any control characters.
61
+ * @param parameters The management lock parameters.
62
+ * @param options The options parameters.
63
+ */
64
+ createOrUpdateAtResourceGroupLevel(resourceGroupName: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse>;
65
+ /**
66
+ * To delete management locks, you must have access to Microsoft.Authorization/* or
67
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
68
+ * Administrator are granted those actions.
69
+ * @param resourceGroupName The name of the resource group containing the lock.
70
+ * @param lockName The name of lock to delete.
71
+ * @param options The options parameters.
72
+ */
73
+ deleteAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams): Promise<void>;
74
+ /**
75
+ * Gets a management lock at the resource group level.
76
+ * @param resourceGroupName The name of the locked resource group.
77
+ * @param lockName The name of the lock to get.
78
+ * @param options The options parameters.
79
+ */
80
+ getAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: ManagementLocksGetAtResourceGroupLevelOptionalParams): Promise<ManagementLocksGetAtResourceGroupLevelResponse>;
81
+ /**
82
+ * Create or update a management lock by scope.
83
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
84
+ * '/subscriptions/{subscriptionId}' for subscriptions,
85
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
86
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
87
+ * for resources.
88
+ * @param lockName The name of lock.
89
+ * @param parameters Create or update management lock parameters.
90
+ * @param options The options parameters.
91
+ */
92
+ createOrUpdateByScope(scope: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateByScopeOptionalParams): Promise<ManagementLocksCreateOrUpdateByScopeResponse>;
93
+ /**
94
+ * Delete a management lock by scope.
95
+ * @param scope The scope for the lock.
96
+ * @param lockName The name of lock.
97
+ * @param options The options parameters.
98
+ */
99
+ deleteByScope(scope: string, lockName: string, options?: ManagementLocksDeleteByScopeOptionalParams): Promise<void>;
100
+ /**
101
+ * Get a management lock by scope.
102
+ * @param scope The scope for the lock.
103
+ * @param lockName The name of lock.
104
+ * @param options The options parameters.
105
+ */
106
+ getByScope(scope: string, lockName: string, options?: ManagementLocksGetByScopeOptionalParams): Promise<ManagementLocksGetByScopeResponse>;
107
+ /**
108
+ * When you apply a lock at a parent scope, all child resources inherit the same lock. To create
109
+ * management locks, you must have access to Microsoft.Authorization/* or
110
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
111
+ * Administrator are granted those actions.
112
+ * @param resourceGroupName The name of the resource group containing the resource to lock.
113
+ * @param resourceProviderNamespace The resource provider namespace of the resource to lock.
114
+ * @param parentResourcePath The parent resource identity.
115
+ * @param resourceType The resource type of the resource to lock.
116
+ * @param resourceName The name of the resource to lock.
117
+ * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
118
+ * contain <, > %, &, :, \, ?, /, or any control characters.
119
+ * @param parameters Parameters for creating or updating a management lock.
120
+ * @param options The options parameters.
121
+ */
122
+ createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse>;
123
+ /**
124
+ * To delete management locks, you must have access to Microsoft.Authorization/* or
125
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
126
+ * Administrator are granted those actions.
127
+ * @param resourceGroupName The name of the resource group containing the resource with the lock to
128
+ * delete.
129
+ * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to
130
+ * delete.
131
+ * @param parentResourcePath The parent resource identity.
132
+ * @param resourceType The resource type of the resource with the lock to delete.
133
+ * @param resourceName The name of the resource with the lock to delete.
134
+ * @param lockName The name of the lock to delete.
135
+ * @param options The options parameters.
136
+ */
137
+ deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: ManagementLocksDeleteAtResourceLevelOptionalParams): Promise<void>;
138
+ /**
139
+ * Get the management lock of a resource or any level below resource.
140
+ * @param resourceGroupName The name of the resource group.
141
+ * @param resourceProviderNamespace The namespace of the resource provider.
142
+ * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.
143
+ * @param resourceType The type of the resource.
144
+ * @param resourceName The name of the resource.
145
+ * @param lockName The name of lock.
146
+ * @param options The options parameters.
147
+ */
148
+ getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: ManagementLocksGetAtResourceLevelOptionalParams): Promise<ManagementLocksGetAtResourceLevelResponse>;
149
+ /**
150
+ * When you apply a lock at a parent scope, all child resources inherit the same lock. To create
151
+ * management locks, you must have access to Microsoft.Authorization/* or
152
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
153
+ * Administrator are granted those actions.
154
+ * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
155
+ * contain <, > %, &, :, \, ?, /, or any control characters.
156
+ * @param parameters The management lock parameters.
157
+ * @param options The options parameters.
158
+ */
159
+ createOrUpdateAtSubscriptionLevel(lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse>;
160
+ /**
161
+ * To delete management locks, you must have access to Microsoft.Authorization/* or
162
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
163
+ * Administrator are granted those actions.
164
+ * @param lockName The name of lock to delete.
165
+ * @param options The options parameters.
166
+ */
167
+ deleteAtSubscriptionLevel(lockName: string, options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams): Promise<void>;
168
+ /**
169
+ * Gets a management lock at the subscription level.
170
+ * @param lockName The name of the lock to get.
171
+ * @param options The options parameters.
172
+ */
173
+ getAtSubscriptionLevel(lockName: string, options?: ManagementLocksGetAtSubscriptionLevelOptionalParams): Promise<ManagementLocksGetAtSubscriptionLevelResponse>;
174
+ /**
175
+ * Gets all the management locks for a resource group.
176
+ * @param resourceGroupName The name of the resource group containing the locks to get.
177
+ * @param options The options parameters.
178
+ */
179
+ private _listAtResourceGroupLevel;
180
+ /**
181
+ * Gets all the management locks for a resource or any level below resource.
182
+ * @param resourceGroupName The name of the resource group containing the locked resource. The name is
183
+ * case insensitive.
184
+ * @param resourceProviderNamespace The namespace of the resource provider.
185
+ * @param parentResourcePath The parent resource identity.
186
+ * @param resourceType The resource type of the locked resource.
187
+ * @param resourceName The name of the locked resource.
188
+ * @param options The options parameters.
189
+ */
190
+ private _listAtResourceLevel;
191
+ /**
192
+ * Gets all the management locks for a subscription.
193
+ * @param options The options parameters.
194
+ */
195
+ private _listAtSubscriptionLevel;
196
+ /**
197
+ * Gets all the management locks for a scope.
198
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
199
+ * '/subscriptions/{subscriptionId}' for subscriptions,
200
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
201
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
202
+ * for resources.
203
+ * @param options The options parameters.
204
+ */
205
+ private _listByScope;
206
+ /**
207
+ * ListAtResourceGroupLevelNext
208
+ * @param resourceGroupName The name of the resource group containing the locks to get.
209
+ * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel
210
+ * method.
211
+ * @param options The options parameters.
212
+ */
213
+ private _listAtResourceGroupLevelNext;
214
+ /**
215
+ * ListAtResourceLevelNext
216
+ * @param resourceGroupName The name of the resource group containing the locked resource. The name is
217
+ * case insensitive.
218
+ * @param resourceProviderNamespace The namespace of the resource provider.
219
+ * @param parentResourcePath The parent resource identity.
220
+ * @param resourceType The resource type of the locked resource.
221
+ * @param resourceName The name of the locked resource.
222
+ * @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.
223
+ * @param options The options parameters.
224
+ */
225
+ private _listAtResourceLevelNext;
226
+ /**
227
+ * ListAtSubscriptionLevelNext
228
+ * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel
229
+ * method.
230
+ * @param options The options parameters.
231
+ */
232
+ private _listAtSubscriptionLevelNext;
233
+ /**
234
+ * ListByScopeNext
235
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
236
+ * '/subscriptions/{subscriptionId}' for subscriptions,
237
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
238
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
239
+ * for resources.
240
+ * @param nextLink The nextLink from the previous successful call to the ListByScope method.
241
+ * @param options The options parameters.
242
+ */
243
+ private _listByScopeNext;
244
+ }
245
+ //# sourceMappingURL=managementLocks.d.ts.map
@@ -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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