@azure/arm-locks-profile-2020-09-01-hybrid 2.1.1-alpha.20250211.1 → 2.1.1-alpha.20250212.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,98 @@
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
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { AuthorizationOperationsImpl, ManagementLocksImpl } from "./operations/index.js";
11
+ export class ManagementLockClient extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the ManagementLockClient class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId The ID of the target subscription.
16
+ * @param options The parameter options
17
+ */
18
+ constructor(credentials, subscriptionId, options) {
19
+ var _a, _b, _c;
20
+ if (credentials === undefined) {
21
+ throw new Error("'credentials' cannot be null");
22
+ }
23
+ if (subscriptionId === undefined) {
24
+ throw new Error("'subscriptionId' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials
33
+ };
34
+ const packageDetails = `azsdk-js-arm-locks-profile-2020-09-01-hybrid/2.1.1`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
60
+ }
61
+ }));
62
+ }
63
+ // Parameter assignments
64
+ this.subscriptionId = subscriptionId;
65
+ // Assigning values to Constant parameters
66
+ this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2016-09-01";
68
+ this.authorizationOperations = new AuthorizationOperationsImpl(this);
69
+ this.managementLocks = new ManagementLocksImpl(this);
70
+ this.addCustomApiVersionPolicy(options.apiVersion);
71
+ }
72
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
73
+ addCustomApiVersionPolicy(apiVersion) {
74
+ if (!apiVersion) {
75
+ return;
76
+ }
77
+ const apiVersionPolicy = {
78
+ name: "CustomApiVersionPolicy",
79
+ async sendRequest(request, next) {
80
+ const param = request.url.split("?");
81
+ if (param.length > 1) {
82
+ const newParams = param[1].split("&").map((item) => {
83
+ if (item.indexOf("api-version") > -1) {
84
+ return "api-version=" + apiVersion;
85
+ }
86
+ else {
87
+ return item;
88
+ }
89
+ });
90
+ request.url = param[0] + "?" + newParams.join("&");
91
+ }
92
+ return next(request);
93
+ }
94
+ };
95
+ this.pipeline.addPolicy(apiVersionPolicy);
96
+ }
97
+ }
98
+ //# sourceMappingURL=managementLockClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLockClient.js","sourceRoot":"","sources":["../../src/managementLockClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOzF,MAAM,OAAO,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAKhE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA4C;;QAE5C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAuC;YACnD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,oDAAoD,CAAC;QAC5E,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI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AC,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","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"]}
@@ -0,0 +1,199 @@
1
+ import * as coreClient from "@azure/core-client";
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. */
3
+ export interface OperationListResult {
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;
8
+ }
9
+ /** Microsoft.Authorization operation */
10
+ export interface Operation {
11
+ /** Operation name: {provider}/{resource}/{operation} */
12
+ name?: string;
13
+ /** The object that represents the operation. */
14
+ display?: OperationDisplay;
15
+ }
16
+ /** The object that represents the operation. */
17
+ export interface OperationDisplay {
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;
24
+ }
25
+ /** The lock information. */
26
+ export interface ManagementLockObject {
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[];
48
+ }
49
+ /** Lock owner properties. */
50
+ export interface ManagementLockOwner {
51
+ /** The application ID of the lock owner. */
52
+ applicationId?: string;
53
+ }
54
+ /** The list of locks. */
55
+ export interface ManagementLockListResult {
56
+ /** The list of locks. */
57
+ value?: ManagementLockObject[];
58
+ /** The URL to use for getting the next set of results. */
59
+ nextLink?: string;
60
+ }
61
+ /** Known values of {@link LockLevel} that the service accepts. */
62
+ export declare enum KnownLockLevel {
63
+ /** NotSpecified */
64
+ NotSpecified = "NotSpecified",
65
+ /** CanNotDelete */
66
+ CanNotDelete = "CanNotDelete",
67
+ /** ReadOnly */
68
+ ReadOnly = "ReadOnly"
69
+ }
70
+ /**
71
+ * Defines values for LockLevel. \
72
+ * {@link KnownLockLevel} can be used interchangeably with LockLevel,
73
+ * this enum contains the known values that the service supports.
74
+ * ### Known values supported by the service
75
+ * **NotSpecified** \
76
+ * **CanNotDelete** \
77
+ * **ReadOnly**
78
+ */
79
+ export type LockLevel = string;
80
+ /** Optional parameters. */
81
+ export interface AuthorizationOperationsListOptionalParams extends coreClient.OperationOptions {
82
+ }
83
+ /** Contains response data for the list operation. */
84
+ export type AuthorizationOperationsListResponse = OperationListResult;
85
+ /** Optional parameters. */
86
+ export interface AuthorizationOperationsListNextOptionalParams extends coreClient.OperationOptions {
87
+ }
88
+ /** Contains response data for the listNext operation. */
89
+ export type AuthorizationOperationsListNextResponse = OperationListResult;
90
+ /** Optional parameters. */
91
+ export interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
92
+ }
93
+ /** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */
94
+ export type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;
95
+ /** Optional parameters. */
96
+ export interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
97
+ }
98
+ /** Optional parameters. */
99
+ export interface ManagementLocksGetAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
100
+ }
101
+ /** Contains response data for the getAtResourceGroupLevel operation. */
102
+ export type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;
103
+ /** Optional parameters. */
104
+ export interface ManagementLocksCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
105
+ }
106
+ /** Contains response data for the createOrUpdateByScope operation. */
107
+ export type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;
108
+ /** Optional parameters. */
109
+ export interface ManagementLocksDeleteByScopeOptionalParams extends coreClient.OperationOptions {
110
+ }
111
+ /** Optional parameters. */
112
+ export interface ManagementLocksGetByScopeOptionalParams extends coreClient.OperationOptions {
113
+ }
114
+ /** Contains response data for the getByScope operation. */
115
+ export type ManagementLocksGetByScopeResponse = ManagementLockObject;
116
+ /** Optional parameters. */
117
+ export interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams extends coreClient.OperationOptions {
118
+ }
119
+ /** Contains response data for the createOrUpdateAtResourceLevel operation. */
120
+ export type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;
121
+ /** Optional parameters. */
122
+ export interface ManagementLocksDeleteAtResourceLevelOptionalParams extends coreClient.OperationOptions {
123
+ }
124
+ /** Optional parameters. */
125
+ export interface ManagementLocksGetAtResourceLevelOptionalParams extends coreClient.OperationOptions {
126
+ }
127
+ /** Contains response data for the getAtResourceLevel operation. */
128
+ export type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;
129
+ /** Optional parameters. */
130
+ export interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
131
+ }
132
+ /** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */
133
+ export type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;
134
+ /** Optional parameters. */
135
+ export interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
136
+ }
137
+ /** Optional parameters. */
138
+ export interface ManagementLocksGetAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
139
+ }
140
+ /** Contains response data for the getAtSubscriptionLevel operation. */
141
+ export type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;
142
+ /** Optional parameters. */
143
+ export interface ManagementLocksListAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
144
+ /** The filter to apply on the operation. */
145
+ filter?: string;
146
+ }
147
+ /** Contains response data for the listAtResourceGroupLevel operation. */
148
+ export type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;
149
+ /** Optional parameters. */
150
+ export interface ManagementLocksListAtResourceLevelOptionalParams extends coreClient.OperationOptions {
151
+ /** The filter to apply on the operation. */
152
+ filter?: string;
153
+ }
154
+ /** Contains response data for the listAtResourceLevel operation. */
155
+ export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;
156
+ /** Optional parameters. */
157
+ export interface ManagementLocksListAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
158
+ /** The filter to apply on the operation. */
159
+ filter?: string;
160
+ }
161
+ /** Contains response data for the listAtSubscriptionLevel operation. */
162
+ export type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;
163
+ /** Optional parameters. */
164
+ export interface ManagementLocksListByScopeOptionalParams extends coreClient.OperationOptions {
165
+ /** The filter to apply on the operation. */
166
+ filter?: string;
167
+ }
168
+ /** Contains response data for the listByScope operation. */
169
+ export type ManagementLocksListByScopeResponse = ManagementLockListResult;
170
+ /** Optional parameters. */
171
+ export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams extends coreClient.OperationOptions {
172
+ }
173
+ /** Contains response data for the listAtResourceGroupLevelNext operation. */
174
+ export type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;
175
+ /** Optional parameters. */
176
+ export interface ManagementLocksListAtResourceLevelNextOptionalParams extends coreClient.OperationOptions {
177
+ }
178
+ /** Contains response data for the listAtResourceLevelNext operation. */
179
+ export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;
180
+ /** Optional parameters. */
181
+ export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams extends coreClient.OperationOptions {
182
+ }
183
+ /** Contains response data for the listAtSubscriptionLevelNext operation. */
184
+ export type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;
185
+ /** Optional parameters. */
186
+ export interface ManagementLocksListByScopeNextOptionalParams extends coreClient.OperationOptions {
187
+ }
188
+ /** Contains response data for the listByScopeNext operation. */
189
+ export type ManagementLocksListByScopeNextResponse = ManagementLockListResult;
190
+ /** Optional parameters. */
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;
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;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gEAAgE;AAChE,MAAM,MAAM,sCAAsC,GAAG,wBAAwB,CAAC;AAE9E,2BAA2B;AAC3B,MAAM,WAAW,kCACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,18 @@
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
+ /** Known values of {@link LockLevel} that the service accepts. */
9
+ export var KnownLockLevel;
10
+ (function (KnownLockLevel) {
11
+ /** NotSpecified */
12
+ KnownLockLevel["NotSpecified"] = "NotSpecified";
13
+ /** CanNotDelete */
14
+ KnownLockLevel["CanNotDelete"] = "CanNotDelete";
15
+ /** ReadOnly */
16
+ KnownLockLevel["ReadOnly"] = "ReadOnly";
17
+ })(KnownLockLevel || (KnownLockLevel = {}));
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAqEH,kEAAkE;AAClE,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,mBAAmB;IACnB,+CAA6B,CAAA;IAC7B,mBAAmB;IACnB,+CAA6B,CAAA;IAC7B,eAAe;IACf,uCAAqB,CAAA;AACvB,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Microsoft.Authorization operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Authorization operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft.Authorization operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Authorization */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n}\n\n/** The lock information. */\nexport interface ManagementLockObject {\n /**\n * The resource ID of the lock.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The resource type of the lock - Microsoft.Authorization/locks.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The name of the lock.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. */\n level: LockLevel;\n /** Notes about the lock. Maximum of 512 characters. */\n notes?: string;\n /** The owners of the lock. */\n owners?: ManagementLockOwner[];\n}\n\n/** Lock owner properties. */\nexport interface ManagementLockOwner {\n /** The application ID of the lock owner. */\n applicationId?: string;\n}\n\n/** The list of locks. */\nexport interface ManagementLockListResult {\n /** The list of locks. */\n value?: ManagementLockObject[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Known values of {@link LockLevel} that the service accepts. */\nexport enum KnownLockLevel {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** CanNotDelete */\n CanNotDelete = \"CanNotDelete\",\n /** ReadOnly */\n ReadOnly = \"ReadOnly\"\n}\n\n/**\n * Defines values for LockLevel. \\\n * {@link KnownLockLevel} can be used interchangeably with LockLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **CanNotDelete** \\\n * **ReadOnly**\n */\nexport type LockLevel = string;\n\n/** Optional parameters. */\nexport interface AuthorizationOperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AuthorizationOperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AuthorizationOperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AuthorizationOperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceGroupLevel operation. */\nexport type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateByScope operation. */\nexport type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByScope operation. */\nexport type ManagementLocksGetByScopeResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtResourceLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceLevel operation. */\nexport type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtSubscriptionLevel operation. */\nexport type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevel operation. */\nexport type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevel operation. */\nexport type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevel operation. */\nexport type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScope operation. */\nexport type ManagementLocksListByScopeResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceGroupLevelNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtResourceGroupLevelNext operation. */\nexport type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtResourceLevelNext operation. */\nexport type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtSubscriptionLevelNext operation. */\nexport type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByScopeNext operation. */\nexport type ManagementLocksListByScopeNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLockClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export declare const OperationListResult: coreClient.CompositeMapper;
3
+ export declare const Operation: coreClient.CompositeMapper;
4
+ export declare const OperationDisplay: coreClient.CompositeMapper;
5
+ export declare const ManagementLockObject: coreClient.CompositeMapper;
6
+ export declare const ManagementLockOwner: coreClient.CompositeMapper;
7
+ export declare const ManagementLockListResult: coreClient.CompositeMapper;
8
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAyB5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAoBlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAyBzC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,eAqD7C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAa5C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,eAyBjD,CAAC"}
@@ -0,0 +1,175 @@
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
+ export const OperationListResult = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "OperationListResult",
12
+ modelProperties: {
13
+ value: {
14
+ serializedName: "value",
15
+ type: {
16
+ name: "Sequence",
17
+ element: {
18
+ type: {
19
+ name: "Composite",
20
+ className: "Operation"
21
+ }
22
+ }
23
+ }
24
+ },
25
+ nextLink: {
26
+ serializedName: "nextLink",
27
+ type: {
28
+ name: "String"
29
+ }
30
+ }
31
+ }
32
+ }
33
+ };
34
+ export const Operation = {
35
+ type: {
36
+ name: "Composite",
37
+ className: "Operation",
38
+ modelProperties: {
39
+ name: {
40
+ serializedName: "name",
41
+ type: {
42
+ name: "String"
43
+ }
44
+ },
45
+ display: {
46
+ serializedName: "display",
47
+ type: {
48
+ name: "Composite",
49
+ className: "OperationDisplay"
50
+ }
51
+ }
52
+ }
53
+ }
54
+ };
55
+ export const OperationDisplay = {
56
+ type: {
57
+ name: "Composite",
58
+ className: "OperationDisplay",
59
+ modelProperties: {
60
+ provider: {
61
+ serializedName: "provider",
62
+ type: {
63
+ name: "String"
64
+ }
65
+ },
66
+ resource: {
67
+ serializedName: "resource",
68
+ type: {
69
+ name: "String"
70
+ }
71
+ },
72
+ operation: {
73
+ serializedName: "operation",
74
+ type: {
75
+ name: "String"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ };
81
+ export const ManagementLockObject = {
82
+ type: {
83
+ name: "Composite",
84
+ className: "ManagementLockObject",
85
+ modelProperties: {
86
+ id: {
87
+ serializedName: "id",
88
+ readOnly: true,
89
+ type: {
90
+ name: "String"
91
+ }
92
+ },
93
+ type: {
94
+ serializedName: "type",
95
+ readOnly: true,
96
+ type: {
97
+ name: "String"
98
+ }
99
+ },
100
+ name: {
101
+ serializedName: "name",
102
+ readOnly: true,
103
+ type: {
104
+ name: "String"
105
+ }
106
+ },
107
+ level: {
108
+ serializedName: "properties.level",
109
+ required: true,
110
+ type: {
111
+ name: "String"
112
+ }
113
+ },
114
+ notes: {
115
+ serializedName: "properties.notes",
116
+ type: {
117
+ name: "String"
118
+ }
119
+ },
120
+ owners: {
121
+ serializedName: "properties.owners",
122
+ type: {
123
+ name: "Sequence",
124
+ element: {
125
+ type: {
126
+ name: "Composite",
127
+ className: "ManagementLockOwner"
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ };
135
+ export const ManagementLockOwner = {
136
+ type: {
137
+ name: "Composite",
138
+ className: "ManagementLockOwner",
139
+ modelProperties: {
140
+ applicationId: {
141
+ serializedName: "applicationId",
142
+ type: {
143
+ name: "String"
144
+ }
145
+ }
146
+ }
147
+ }
148
+ };
149
+ export const ManagementLockListResult = {
150
+ type: {
151
+ name: "Composite",
152
+ className: "ManagementLockListResult",
153
+ modelProperties: {
154
+ value: {
155
+ serializedName: "value",
156
+ type: {
157
+ name: "Sequence",
158
+ element: {
159
+ type: {
160
+ name: "Composite",
161
+ className: "ManagementLockObject"
162
+ }
163
+ }
164
+ }
165
+ },
166
+ nextLink: {
167
+ serializedName: "nextLink",
168
+ type: {
169
+ name: "String"
170
+ }
171
+ }
172
+ }
173
+ }
174
+ };
175
+ //# sourceMappingURL=mappers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UA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MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAA+B;IAClE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,0BAA0B;QACrC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,sBAAsB;yBAClC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ManagementLockObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockObject\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n level: {\n serializedName: \"properties.level\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n notes: {\n serializedName: \"properties.notes\",\n type: {\n name: \"String\"\n }\n },\n owners: {\n serializedName: \"properties.owners\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementLockOwner\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementLockOwner: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockOwner\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ManagementLockListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementLockObject\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -0,0 +1,17 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const accept: OperationParameter;
3
+ export declare const $host: OperationURLParameter;
4
+ export declare const apiVersion: OperationQueryParameter;
5
+ export declare const nextLink: OperationURLParameter;
6
+ export declare const contentType: OperationParameter;
7
+ export declare const parameters: OperationParameter;
8
+ export declare const resourceGroupName: OperationURLParameter;
9
+ export declare const lockName: OperationURLParameter;
10
+ export declare const subscriptionId: OperationURLParameter;
11
+ export declare const scope: OperationURLParameter;
12
+ export declare const resourceProviderNamespace: OperationURLParameter;
13
+ export declare const parentResourcePath: OperationURLParameter;
14
+ export declare const resourceType: OperationURLParameter;
15
+ export declare const resourceName: OperationURLParameter;
16
+ export declare const filter: OperationQueryParameter;
17
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBASnB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,qBASvC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,qBAUhC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAU1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC"}