@azure/arm-locks-profile-2020-09-01-hybrid 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 (304) hide show
  1. package/README.md +21 -14
  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/{src/models/index.ts → dist/commonjs/models/index.d.ts} +104 -165
  47. package/dist/commonjs/models/index.d.ts.map +1 -0
  48. package/dist/commonjs/models/index.js +21 -0
  49. package/dist/commonjs/models/index.js.map +1 -0
  50. package/dist/commonjs/models/mappers.d.ts +8 -0
  51. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  52. package/dist/commonjs/models/mappers.js +178 -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 +131 -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 +897 -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 +199 -0
  96. package/dist/esm/models/index.d.ts.map +1 -0
  97. package/dist/esm/models/index.js +18 -0
  98. package/dist/esm/models/index.js.map +1 -0
  99. package/dist/esm/models/mappers.d.ts +8 -0
  100. package/dist/esm/models/mappers.d.ts.map +1 -0
  101. package/dist/esm/models/mappers.js +175 -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 +127 -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/{index.js → esm/operations/managementLocks.js} +176 -819
  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 +199 -0
  145. package/dist/react-native/models/index.d.ts.map +1 -0
  146. package/dist/react-native/models/index.js +18 -0
  147. package/dist/react-native/models/index.js.map +1 -0
  148. package/dist/react-native/models/mappers.d.ts +8 -0
  149. package/dist/react-native/models/mappers.d.ts.map +1 -0
  150. package/dist/react-native/models/mappers.js +175 -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 +127 -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 +893 -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.map +0 -1
  187. package/dist/index.min.js +0 -1
  188. package/dist/index.min.js.map +0 -1
  189. package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts +0 -2
  190. package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts.map +0 -1
  191. package/dist-esm/samples-dev/authorizationOperationsListSample.js +0 -50
  192. package/dist-esm/samples-dev/authorizationOperationsListSample.js.map +0 -1
  193. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts +0 -2
  194. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts.map +0 -1
  195. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js +0 -30
  196. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js.map +0 -1
  197. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts +0 -2
  198. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts.map +0 -1
  199. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js +0 -34
  200. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js.map +0 -1
  201. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts +0 -2
  202. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts.map +0 -1
  203. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js +0 -29
  204. package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js.map +0 -1
  205. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts +0 -2
  206. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts.map +0 -1
  207. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js +0 -30
  208. package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js.map +0 -1
  209. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts +0 -2
  210. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts.map +0 -1
  211. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js +0 -36
  212. package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js.map +0 -1
  213. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts +0 -2
  214. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts.map +0 -1
  215. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js +0 -40
  216. package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js.map +0 -1
  217. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts +0 -2
  218. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts.map +0 -1
  219. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js +0 -35
  220. package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js.map +0 -1
  221. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts +0 -2
  222. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts.map +0 -1
  223. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js +0 -36
  224. package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js.map +0 -1
  225. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts +0 -2
  226. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts.map +0 -1
  227. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js +0 -36
  228. package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js.map +0 -1
  229. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts +0 -2
  230. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts.map +0 -1
  231. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js +0 -40
  232. package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js.map +0 -1
  233. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts +0 -2
  234. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts.map +0 -1
  235. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js +0 -35
  236. package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js.map +0 -1
  237. package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts +0 -2
  238. package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts.map +0 -1
  239. package/dist-esm/samples-dev/managementLocksGetByScopeSample.js +0 -36
  240. package/dist-esm/samples-dev/managementLocksGetByScopeSample.js.map +0 -1
  241. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts +0 -2
  242. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js +0 -51
  244. package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js.map +0 -1
  245. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts +0 -2
  246. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js +0 -55
  248. package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js.map +0 -1
  249. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts +0 -2
  250. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts.map +0 -1
  251. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js +0 -50
  252. package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js.map +0 -1
  253. package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts +0 -2
  254. package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/managementLocksListByScopeSample.js +0 -51
  256. package/dist-esm/samples-dev/managementLocksListByScopeSample.js.map +0 -1
  257. package/dist-esm/src/index.d.ts +0 -5
  258. package/dist-esm/src/index.js.map +0 -1
  259. package/dist-esm/src/managementLockClient.d.ts.map +0 -1
  260. package/dist-esm/src/managementLockClient.js.map +0 -1
  261. package/dist-esm/src/models/index.js.map +0 -1
  262. package/dist-esm/src/models/mappers.js.map +0 -1
  263. package/dist-esm/src/models/parameters.js.map +0 -1
  264. package/dist-esm/src/operations/authorizationOperations.d.ts.map +0 -1
  265. package/dist-esm/src/operations/authorizationOperations.js.map +0 -1
  266. package/dist-esm/src/operations/index.d.ts +0 -3
  267. package/dist-esm/src/operations/index.js.map +0 -1
  268. package/dist-esm/src/operations/managementLocks.d.ts.map +0 -1
  269. package/dist-esm/src/operations/managementLocks.js.map +0 -1
  270. package/dist-esm/src/operationsInterfaces/authorizationOperations.d.ts.map +0 -1
  271. package/dist-esm/src/operationsInterfaces/authorizationOperations.js.map +0 -1
  272. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  273. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  274. package/dist-esm/src/operationsInterfaces/managementLocks.d.ts.map +0 -1
  275. package/dist-esm/src/operationsInterfaces/managementLocks.js.map +0 -1
  276. package/dist-esm/src/pagingHelper.js.map +0 -1
  277. package/dist-esm/test/sampleTest.d.ts +0 -2
  278. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  279. package/dist-esm/test/sampleTest.js +0 -42
  280. package/dist-esm/test/sampleTest.js.map +0 -1
  281. package/src/managementLockClient.ts +0 -145
  282. package/src/models/mappers.ts +0 -182
  283. package/src/models/parameters.ts +0 -184
  284. package/src/operations/authorizationOperations.ts +0 -143
  285. package/src/operations/managementLocks.ts +0 -1172
  286. package/src/operationsInterfaces/authorizationOperations.ts +0 -25
  287. package/src/operationsInterfaces/managementLocks.ts +0 -270
  288. package/src/pagingHelper.ts +0 -39
  289. package/tsconfig.json +0 -33
  290. package/types/arm-locks-profile-2020-09-01-hybrid.d.ts +0 -443
  291. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  292. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  293. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  294. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  295. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  296. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  297. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  298. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  299. /package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.js +0 -0
  300. /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.js +0 -0
  301. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  302. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  303. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  304. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLocks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementLocks.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 ManagementLockObject,\n ManagementLocksListAtResourceGroupLevelOptionalParams,\n ManagementLocksListAtResourceLevelOptionalParams,\n ManagementLocksListAtSubscriptionLevelOptionalParams,\n ManagementLocksListByScopeOptionalParams,\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} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ManagementLocks. */\nexport interface ManagementLocks {\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 listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\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 listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\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 listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,19 @@
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.ManagementLockClient = exports.getContinuationToken = void 0;
11
+ const tslib_1 = require("tslib");
12
+ /// <reference lib="esnext.asynciterable" />
13
+ var pagingHelper_js_1 = require("./pagingHelper.js");
14
+ Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
15
+ tslib_1.__exportStar(require("./models/index.js"), exports);
16
+ var managementLockClient_js_1 = require("./managementLockClient.js");
17
+ Object.defineProperty(exports, "ManagementLockClient", { enumerable: true, get: function () { return managementLockClient_js_1.ManagementLockClient; } });
18
+ tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
19
+ //# 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,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,0EAAgD","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"]}
@@ -0,0 +1,21 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { AuthorizationOperations, ManagementLocks } from "./operationsInterfaces/index.js";
4
+ import { ManagementLockClientOptionalParams } from "./models/index.js";
5
+ export declare class ManagementLockClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the ManagementLockClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The ID of the target subscription.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ManagementLockClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ authorizationOperations: AuthorizationOperations;
19
+ managementLocks: ManagementLocks;
20
+ }
21
+ //# sourceMappingURL=managementLockClient.d.ts.map
@@ -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"}
@@ -0,0 +1,103 @@
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.ManagementLockClient = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
+ const index_js_1 = require("./operations/index.js");
15
+ class ManagementLockClient extends coreClient.ServiceClient {
16
+ /**
17
+ * Initializes a new instance of the ManagementLockClient class.
18
+ * @param credentials Subscription credentials which uniquely identify client subscription.
19
+ * @param subscriptionId The ID of the target subscription.
20
+ * @param options The parameter options
21
+ */
22
+ constructor(credentials, subscriptionId, options) {
23
+ var _a, _b, _c;
24
+ if (credentials === undefined) {
25
+ throw new Error("'credentials' cannot be null");
26
+ }
27
+ if (subscriptionId === undefined) {
28
+ throw new Error("'subscriptionId' cannot be null");
29
+ }
30
+ // Initializing default values for options
31
+ if (!options) {
32
+ options = {};
33
+ }
34
+ const defaults = {
35
+ requestContentType: "application/json; charset=utf-8",
36
+ credential: credentials
37
+ };
38
+ const packageDetails = `azsdk-js-arm-locks-profile-2020-09-01-hybrid/2.1.1`;
39
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
40
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
41
+ : `${packageDetails}`;
42
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
43
+ userAgentPrefix
44
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
45
+ super(optionsWithDefaults);
46
+ let bearerTokenAuthenticationPolicyFound = false;
47
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
48
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
50
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
51
+ }
52
+ if (!options ||
53
+ !options.pipeline ||
54
+ options.pipeline.getOrderedPolicies().length == 0 ||
55
+ !bearerTokenAuthenticationPolicyFound) {
56
+ this.pipeline.removePolicy({
57
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
58
+ });
59
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
60
+ credential: credentials,
61
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
62
+ challengeCallbacks: {
63
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
64
+ }
65
+ }));
66
+ }
67
+ // Parameter assignments
68
+ this.subscriptionId = subscriptionId;
69
+ // Assigning values to Constant parameters
70
+ this.$host = options.$host || "https://management.azure.com";
71
+ this.apiVersion = options.apiVersion || "2016-09-01";
72
+ this.authorizationOperations = new index_js_1.AuthorizationOperationsImpl(this);
73
+ this.managementLocks = new index_js_1.ManagementLocksImpl(this);
74
+ this.addCustomApiVersionPolicy(options.apiVersion);
75
+ }
76
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
77
+ addCustomApiVersionPolicy(apiVersion) {
78
+ if (!apiVersion) {
79
+ return;
80
+ }
81
+ const apiVersionPolicy = {
82
+ name: "CustomApiVersionPolicy",
83
+ async sendRequest(request, next) {
84
+ const param = request.url.split("?");
85
+ if (param.length > 1) {
86
+ const newParams = param[1].split("&").map((item) => {
87
+ if (item.indexOf("api-version") > -1) {
88
+ return "api-version=" + apiVersion;
89
+ }
90
+ else {
91
+ return item;
92
+ }
93
+ });
94
+ request.url = param[0] + "?" + newParams.join("&");
95
+ }
96
+ return next(request);
97
+ }
98
+ };
99
+ this.pipeline.addPolicy(apiVersionPolicy);
100
+ }
101
+ }
102
+ exports.ManagementLockClient = ManagementLockClient;
103
+ //# sourceMappingURL=managementLockClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLockClient.js","sourceRoot":"","sources":["../../src/managementLockClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAAyF;AAOzF,MAAa,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAKhE;;;;;OAKG;IACH,YACE,WA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IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF;AAzHD,oDAyHC","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-profile-2020-09-01-hybrid/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 || \"2016-09-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"]}
@@ -1,88 +1,72 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
1
  import * as coreClient from "@azure/core-client";
10
-
11
2
  /** 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. */
12
3
  export interface OperationListResult {
13
- /** List of Microsoft.Authorization operations. */
14
- value?: Operation[];
15
- /** URL to get the next set of operation list results if there are any. */
16
- nextLink?: string;
4
+ /** List of Microsoft.Authorization operations. */
5
+ value?: Operation[];
6
+ /** URL to get the next set of operation list results if there are any. */
7
+ nextLink?: string;
17
8
  }
18
-
19
9
  /** Microsoft.Authorization operation */
20
10
  export interface Operation {
21
- /** Operation name: {provider}/{resource}/{operation} */
22
- name?: string;
23
- /** The object that represents the operation. */
24
- display?: OperationDisplay;
11
+ /** Operation name: {provider}/{resource}/{operation} */
12
+ name?: string;
13
+ /** The object that represents the operation. */
14
+ display?: OperationDisplay;
25
15
  }
26
-
27
16
  /** The object that represents the operation. */
28
17
  export interface OperationDisplay {
29
- /** Service provider: Microsoft.Authorization */
30
- provider?: string;
31
- /** Resource on which the operation is performed: Profile, endpoint, etc. */
32
- resource?: string;
33
- /** Operation type: Read, write, delete, etc. */
34
- operation?: string;
18
+ /** Service provider: Microsoft.Authorization */
19
+ provider?: string;
20
+ /** Resource on which the operation is performed: Profile, endpoint, etc. */
21
+ resource?: string;
22
+ /** Operation type: Read, write, delete, etc. */
23
+ operation?: string;
35
24
  }
36
-
37
25
  /** The lock information. */
38
26
  export interface ManagementLockObject {
39
- /**
40
- * The resource ID of the lock.
41
- * NOTE: This property will not be serialized. It can only be populated by the server.
42
- */
43
- readonly id?: string;
44
- /**
45
- * The resource type of the lock - Microsoft.Authorization/locks.
46
- * NOTE: This property will not be serialized. It can only be populated by the server.
47
- */
48
- readonly type?: string;
49
- /**
50
- * The name of the lock.
51
- * NOTE: This property will not be serialized. It can only be populated by the server.
52
- */
53
- readonly name?: string;
54
- /** 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. */
55
- level: LockLevel;
56
- /** Notes about the lock. Maximum of 512 characters. */
57
- notes?: string;
58
- /** The owners of the lock. */
59
- owners?: ManagementLockOwner[];
27
+ /**
28
+ * The resource ID of the lock.
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly id?: string;
32
+ /**
33
+ * The resource type of the lock - Microsoft.Authorization/locks.
34
+ * NOTE: This property will not be serialized. It can only be populated by the server.
35
+ */
36
+ readonly type?: string;
37
+ /**
38
+ * The name of the lock.
39
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
+ */
41
+ readonly name?: string;
42
+ /** 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. */
43
+ level: LockLevel;
44
+ /** Notes about the lock. Maximum of 512 characters. */
45
+ notes?: string;
46
+ /** The owners of the lock. */
47
+ owners?: ManagementLockOwner[];
60
48
  }
61
-
62
49
  /** Lock owner properties. */
63
50
  export interface ManagementLockOwner {
64
- /** The application ID of the lock owner. */
65
- applicationId?: string;
51
+ /** The application ID of the lock owner. */
52
+ applicationId?: string;
66
53
  }
67
-
68
54
  /** The list of locks. */
69
55
  export interface ManagementLockListResult {
70
- /** The list of locks. */
71
- value?: ManagementLockObject[];
72
- /** The URL to use for getting the next set of results. */
73
- nextLink?: string;
56
+ /** The list of locks. */
57
+ value?: ManagementLockObject[];
58
+ /** The URL to use for getting the next set of results. */
59
+ nextLink?: string;
74
60
  }
75
-
76
61
  /** Known values of {@link LockLevel} that the service accepts. */
77
- export enum KnownLockLevel {
78
- /** NotSpecified */
79
- NotSpecified = "NotSpecified",
80
- /** CanNotDelete */
81
- CanNotDelete = "CanNotDelete",
82
- /** ReadOnly */
83
- ReadOnly = "ReadOnly"
62
+ export declare enum KnownLockLevel {
63
+ /** NotSpecified */
64
+ NotSpecified = "NotSpecified",
65
+ /** CanNotDelete */
66
+ CanNotDelete = "CanNotDelete",
67
+ /** ReadOnly */
68
+ ReadOnly = "ReadOnly"
84
69
  }
85
-
86
70
  /**
87
71
  * Defines values for LockLevel. \
88
72
  * {@link KnownLockLevel} can be used interchangeably with LockLevel,
@@ -93,168 +77,123 @@ export enum KnownLockLevel {
93
77
  * **ReadOnly**
94
78
  */
95
79
  export type LockLevel = string;
96
-
97
80
  /** Optional parameters. */
98
- export interface AuthorizationOperationsListOptionalParams
99
- extends coreClient.OperationOptions {}
100
-
81
+ export interface AuthorizationOperationsListOptionalParams extends coreClient.OperationOptions {
82
+ }
101
83
  /** Contains response data for the list operation. */
102
84
  export type AuthorizationOperationsListResponse = OperationListResult;
103
-
104
85
  /** Optional parameters. */
105
- export interface AuthorizationOperationsListNextOptionalParams
106
- extends coreClient.OperationOptions {}
107
-
86
+ export interface AuthorizationOperationsListNextOptionalParams extends coreClient.OperationOptions {
87
+ }
108
88
  /** Contains response data for the listNext operation. */
109
89
  export type AuthorizationOperationsListNextResponse = OperationListResult;
110
-
111
90
  /** Optional parameters. */
112
- export interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams
113
- extends coreClient.OperationOptions {}
114
-
91
+ export interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
92
+ }
115
93
  /** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */
116
94
  export type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;
117
-
118
95
  /** Optional parameters. */
119
- export interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams
120
- extends coreClient.OperationOptions {}
121
-
96
+ export interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
97
+ }
122
98
  /** Optional parameters. */
123
- export interface ManagementLocksGetAtResourceGroupLevelOptionalParams
124
- extends coreClient.OperationOptions {}
125
-
99
+ export interface ManagementLocksGetAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
100
+ }
126
101
  /** Contains response data for the getAtResourceGroupLevel operation. */
127
102
  export type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;
128
-
129
103
  /** Optional parameters. */
130
- export interface ManagementLocksCreateOrUpdateByScopeOptionalParams
131
- extends coreClient.OperationOptions {}
132
-
104
+ export interface ManagementLocksCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
105
+ }
133
106
  /** Contains response data for the createOrUpdateByScope operation. */
134
107
  export type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;
135
-
136
108
  /** Optional parameters. */
137
- export interface ManagementLocksDeleteByScopeOptionalParams
138
- extends coreClient.OperationOptions {}
139
-
109
+ export interface ManagementLocksDeleteByScopeOptionalParams extends coreClient.OperationOptions {
110
+ }
140
111
  /** Optional parameters. */
141
- export interface ManagementLocksGetByScopeOptionalParams
142
- extends coreClient.OperationOptions {}
143
-
112
+ export interface ManagementLocksGetByScopeOptionalParams extends coreClient.OperationOptions {
113
+ }
144
114
  /** Contains response data for the getByScope operation. */
145
115
  export type ManagementLocksGetByScopeResponse = ManagementLockObject;
146
-
147
116
  /** Optional parameters. */
148
- export interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams
149
- extends coreClient.OperationOptions {}
150
-
117
+ export interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams extends coreClient.OperationOptions {
118
+ }
151
119
  /** Contains response data for the createOrUpdateAtResourceLevel operation. */
152
120
  export type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;
153
-
154
121
  /** Optional parameters. */
155
- export interface ManagementLocksDeleteAtResourceLevelOptionalParams
156
- extends coreClient.OperationOptions {}
157
-
122
+ export interface ManagementLocksDeleteAtResourceLevelOptionalParams extends coreClient.OperationOptions {
123
+ }
158
124
  /** Optional parameters. */
159
- export interface ManagementLocksGetAtResourceLevelOptionalParams
160
- extends coreClient.OperationOptions {}
161
-
125
+ export interface ManagementLocksGetAtResourceLevelOptionalParams extends coreClient.OperationOptions {
126
+ }
162
127
  /** Contains response data for the getAtResourceLevel operation. */
163
128
  export type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;
164
-
165
129
  /** Optional parameters. */
166
- export interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams
167
- extends coreClient.OperationOptions {}
168
-
130
+ export interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
131
+ }
169
132
  /** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */
170
133
  export type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;
171
-
172
134
  /** Optional parameters. */
173
- export interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams
174
- extends coreClient.OperationOptions {}
175
-
135
+ export interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
136
+ }
176
137
  /** Optional parameters. */
177
- export interface ManagementLocksGetAtSubscriptionLevelOptionalParams
178
- extends coreClient.OperationOptions {}
179
-
138
+ export interface ManagementLocksGetAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
139
+ }
180
140
  /** Contains response data for the getAtSubscriptionLevel operation. */
181
141
  export type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;
182
-
183
142
  /** Optional parameters. */
184
- export interface ManagementLocksListAtResourceGroupLevelOptionalParams
185
- extends coreClient.OperationOptions {
186
- /** The filter to apply on the operation. */
187
- filter?: string;
143
+ export interface ManagementLocksListAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
144
+ /** The filter to apply on the operation. */
145
+ filter?: string;
188
146
  }
189
-
190
147
  /** Contains response data for the listAtResourceGroupLevel operation. */
191
148
  export type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;
192
-
193
149
  /** Optional parameters. */
194
- export interface ManagementLocksListAtResourceLevelOptionalParams
195
- extends coreClient.OperationOptions {
196
- /** The filter to apply on the operation. */
197
- filter?: string;
150
+ export interface ManagementLocksListAtResourceLevelOptionalParams extends coreClient.OperationOptions {
151
+ /** The filter to apply on the operation. */
152
+ filter?: string;
198
153
  }
199
-
200
154
  /** Contains response data for the listAtResourceLevel operation. */
201
155
  export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;
202
-
203
156
  /** Optional parameters. */
204
- export interface ManagementLocksListAtSubscriptionLevelOptionalParams
205
- extends coreClient.OperationOptions {
206
- /** The filter to apply on the operation. */
207
- filter?: string;
157
+ export interface ManagementLocksListAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
158
+ /** The filter to apply on the operation. */
159
+ filter?: string;
208
160
  }
209
-
210
161
  /** Contains response data for the listAtSubscriptionLevel operation. */
211
162
  export type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;
212
-
213
163
  /** Optional parameters. */
214
- export interface ManagementLocksListByScopeOptionalParams
215
- extends coreClient.OperationOptions {
216
- /** The filter to apply on the operation. */
217
- filter?: string;
164
+ export interface ManagementLocksListByScopeOptionalParams extends coreClient.OperationOptions {
165
+ /** The filter to apply on the operation. */
166
+ filter?: string;
218
167
  }
219
-
220
168
  /** Contains response data for the listByScope operation. */
221
169
  export type ManagementLocksListByScopeResponse = ManagementLockListResult;
222
-
223
170
  /** Optional parameters. */
224
- export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams
225
- extends coreClient.OperationOptions {}
226
-
171
+ export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams extends coreClient.OperationOptions {
172
+ }
227
173
  /** Contains response data for the listAtResourceGroupLevelNext operation. */
228
174
  export type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;
229
-
230
175
  /** Optional parameters. */
231
- export interface ManagementLocksListAtResourceLevelNextOptionalParams
232
- extends coreClient.OperationOptions {}
233
-
176
+ export interface ManagementLocksListAtResourceLevelNextOptionalParams extends coreClient.OperationOptions {
177
+ }
234
178
  /** Contains response data for the listAtResourceLevelNext operation. */
235
179
  export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;
236
-
237
180
  /** Optional parameters. */
238
- export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams
239
- extends coreClient.OperationOptions {}
240
-
181
+ export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams extends coreClient.OperationOptions {
182
+ }
241
183
  /** Contains response data for the listAtSubscriptionLevelNext operation. */
242
184
  export type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;
243
-
244
185
  /** Optional parameters. */
245
- export interface ManagementLocksListByScopeNextOptionalParams
246
- extends coreClient.OperationOptions {}
247
-
186
+ export interface ManagementLocksListByScopeNextOptionalParams extends coreClient.OperationOptions {
187
+ }
248
188
  /** Contains response data for the listByScopeNext operation. */
249
189
  export type ManagementLocksListByScopeNextResponse = ManagementLockListResult;
250
-
251
190
  /** Optional parameters. */
252
- export interface ManagementLockClientOptionalParams
253
- extends coreClient.ServiceClientOptions {
254
- /** server parameter */
255
- $host?: string;
256
- /** Api Version */
257
- apiVersion?: string;
258
- /** Overrides client endpoint. */
259
- endpoint?: string;
191
+ export interface ManagementLockClientOptionalParams extends coreClient.ServiceClientOptions {
192
+ /** server parameter */
193
+ $host?: string;
194
+ /** Api Version */
195
+ apiVersion?: string;
196
+ /** Overrides client endpoint. */
197
+ endpoint?: string;
260
198
  }
199
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,wJAAwJ;AACxJ,MAAM,WAAW,mBAAmB;IAClC,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wCAAwC;AACxC,MAAM,WAAW,SAAS;IACxB,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B;AAED,gDAAgD;AAChD,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4BAA4B;AAC5B,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,IAAI,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,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,21 @@
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.KnownLockLevel = void 0;
11
+ /** Known values of {@link LockLevel} that the service accepts. */
12
+ var KnownLockLevel;
13
+ (function (KnownLockLevel) {
14
+ /** NotSpecified */
15
+ KnownLockLevel["NotSpecified"] = "NotSpecified";
16
+ /** CanNotDelete */
17
+ KnownLockLevel["CanNotDelete"] = "CanNotDelete";
18
+ /** ReadOnly */
19
+ KnownLockLevel["ReadOnly"] = "ReadOnly";
20
+ })(KnownLockLevel || (exports.KnownLockLevel = KnownLockLevel = {}));
21
+ //# sourceMappingURL=index.js.map