@azure/arm-quota 1.1.0-beta.1 → 1.1.0

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 (827) hide show
  1. package/CHANGELOG.md +262 -1
  2. package/LICENSE +4 -4
  3. package/README.md +25 -19
  4. package/dist/browser/azureQuotaExtensionAPI.d.ts +31 -0
  5. package/dist/browser/azureQuotaExtensionAPI.d.ts.map +1 -0
  6. package/dist/browser/azureQuotaExtensionAPI.js +108 -0
  7. package/dist/browser/azureQuotaExtensionAPI.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/dist/browser/index.js +13 -0
  11. package/dist/browser/index.js.map +1 -0
  12. package/dist/browser/lroImpl.js.map +1 -0
  13. package/dist/browser/models/index.d.ts +1544 -0
  14. package/dist/browser/models/index.d.ts.map +1 -0
  15. package/dist/browser/models/index.js +74 -0
  16. package/dist/browser/models/index.js.map +1 -0
  17. package/dist/browser/models/mappers.d.ts +103 -0
  18. package/dist/browser/models/mappers.d.ts.map +1 -0
  19. package/dist/browser/models/mappers.js +2517 -0
  20. package/dist/browser/models/mappers.js.map +1 -0
  21. package/dist/browser/models/parameters.d.ts +26 -0
  22. package/dist/browser/models/parameters.d.ts.map +1 -0
  23. package/dist/browser/models/parameters.js +243 -0
  24. package/dist/browser/models/parameters.js.map +1 -0
  25. package/dist/browser/operations/groupQuotaLimits.d.ts +25 -0
  26. package/dist/browser/operations/groupQuotaLimits.d.ts.map +1 -0
  27. package/dist/browser/operations/groupQuotaLimits.js +65 -0
  28. package/dist/browser/operations/groupQuotaLimits.js.map +1 -0
  29. package/dist/browser/operations/groupQuotaLimitsRequest.d.ts +99 -0
  30. package/dist/browser/operations/groupQuotaLimitsRequest.d.ts.map +1 -0
  31. package/dist/browser/operations/groupQuotaLimitsRequest.js +324 -0
  32. package/dist/browser/operations/groupQuotaLimitsRequest.js.map +1 -0
  33. package/dist/browser/operations/groupQuotaSubscriptionAllocation.d.ts +27 -0
  34. package/dist/browser/operations/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  35. package/dist/browser/operations/groupQuotaSubscriptionAllocation.js +68 -0
  36. package/dist/browser/operations/groupQuotaSubscriptionAllocation.js.map +1 -0
  37. package/dist/browser/operations/groupQuotaSubscriptionAllocationRequest.d.ts +105 -0
  38. package/dist/browser/operations/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  39. package/dist/browser/operations/groupQuotaSubscriptionAllocationRequest.js +342 -0
  40. package/dist/browser/operations/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  41. package/dist/browser/operations/groupQuotaSubscriptionRequests.d.ts +55 -0
  42. package/dist/browser/operations/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  43. package/dist/browser/operations/groupQuotaSubscriptionRequests.js +188 -0
  44. package/dist/browser/operations/groupQuotaSubscriptionRequests.js.map +1 -0
  45. package/dist/browser/operations/groupQuotaSubscriptions.d.ts +111 -0
  46. package/dist/browser/operations/groupQuotaSubscriptions.d.ts.map +1 -0
  47. package/dist/browser/operations/groupQuotaSubscriptions.js +449 -0
  48. package/dist/browser/operations/groupQuotaSubscriptions.js.map +1 -0
  49. package/dist/browser/operations/groupQuotas.d.ts +123 -0
  50. package/dist/browser/operations/groupQuotas.d.ts.map +1 -0
  51. package/dist/browser/operations/groupQuotas.js +456 -0
  52. package/dist/browser/operations/groupQuotas.js.map +1 -0
  53. package/dist/browser/operations/index.d.ts +12 -0
  54. package/dist/browser/operations/index.d.ts.map +1 -0
  55. package/dist/browser/operations/index.js +19 -0
  56. package/dist/browser/operations/index.js.map +1 -0
  57. package/dist/browser/operations/quota.d.ts +147 -0
  58. package/dist/browser/operations/quota.d.ts.map +1 -0
  59. package/dist/browser/operations/quota.js +400 -0
  60. package/dist/browser/operations/quota.js.map +1 -0
  61. package/dist/browser/operations/quotaOperation.d.ts +32 -0
  62. package/dist/browser/operations/quotaOperation.d.ts.map +1 -0
  63. package/dist/browser/operations/quotaOperation.js +133 -0
  64. package/dist/browser/operations/quotaOperation.js.map +1 -0
  65. package/dist/browser/operations/quotaRequestStatus.d.ts +62 -0
  66. package/dist/browser/operations/quotaRequestStatus.d.ts.map +1 -0
  67. package/dist/browser/operations/quotaRequestStatus.js +186 -0
  68. package/dist/browser/operations/quotaRequestStatus.js.map +1 -0
  69. package/dist/browser/operations/usages.d.ts +61 -0
  70. package/dist/browser/operations/usages.d.ts.map +1 -0
  71. package/dist/browser/operations/usages.js +183 -0
  72. package/dist/browser/operations/usages.js.map +1 -0
  73. package/dist/browser/operationsInterfaces/groupQuotaLimits.d.ts +17 -0
  74. package/dist/browser/operationsInterfaces/groupQuotaLimits.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/groupQuotaLimits.js.map +1 -0
  76. package/dist/browser/operationsInterfaces/groupQuotaLimitsRequest.d.ts +63 -0
  77. package/dist/browser/operationsInterfaces/groupQuotaLimitsRequest.d.ts.map +1 -0
  78. package/dist/browser/operationsInterfaces/groupQuotaLimitsRequest.js.map +1 -0
  79. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts +19 -0
  80. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  81. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionAllocation.js.map +1 -0
  82. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts +68 -0
  83. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  84. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  85. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts +27 -0
  86. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  87. package/dist/browser/operationsInterfaces/groupQuotaSubscriptionRequests.js.map +1 -0
  88. package/dist/browser/operationsInterfaces/groupQuotaSubscriptions.d.ts +84 -0
  89. package/dist/browser/operationsInterfaces/groupQuotaSubscriptions.d.ts.map +1 -0
  90. package/dist/browser/operationsInterfaces/groupQuotaSubscriptions.js.map +1 -0
  91. package/dist/browser/operationsInterfaces/groupQuotas.d.ts +99 -0
  92. package/dist/browser/operationsInterfaces/groupQuotas.d.ts.map +1 -0
  93. package/dist/browser/operationsInterfaces/groupQuotas.js.map +1 -0
  94. package/dist/browser/operationsInterfaces/index.d.ts +12 -0
  95. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  96. package/dist/browser/operationsInterfaces/index.js +19 -0
  97. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  98. package/dist/browser/operationsInterfaces/quota.d.ts +115 -0
  99. package/dist/browser/operationsInterfaces/quota.d.ts.map +1 -0
  100. package/dist/browser/operationsInterfaces/quota.js.map +1 -0
  101. package/dist/browser/operationsInterfaces/quotaOperation.d.ts +11 -0
  102. package/dist/browser/operationsInterfaces/quotaOperation.d.ts.map +1 -0
  103. package/dist/browser/operationsInterfaces/quotaOperation.js.map +1 -0
  104. package/dist/browser/operationsInterfaces/quotaRequestStatus.d.ts +30 -0
  105. package/dist/browser/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
  106. package/dist/browser/operationsInterfaces/quotaRequestStatus.js.map +1 -0
  107. package/dist/browser/operationsInterfaces/usages.d.ts +30 -0
  108. package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -0
  109. package/dist/browser/operationsInterfaces/usages.js.map +1 -0
  110. package/dist/browser/package.json +3 -0
  111. package/dist/browser/pagingHelper.js.map +1 -0
  112. package/dist/commonjs/azureQuotaExtensionAPI.d.ts +31 -0
  113. package/dist/commonjs/azureQuotaExtensionAPI.d.ts.map +1 -0
  114. package/dist/commonjs/azureQuotaExtensionAPI.js +113 -0
  115. package/dist/commonjs/azureQuotaExtensionAPI.js.map +1 -0
  116. package/dist/commonjs/index.d.ts +5 -0
  117. package/dist/commonjs/index.d.ts.map +1 -0
  118. package/dist/commonjs/index.js +19 -0
  119. package/dist/commonjs/index.js.map +1 -0
  120. package/dist/commonjs/lroImpl.d.ts +11 -0
  121. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  122. package/dist/commonjs/lroImpl.js +24 -0
  123. package/dist/commonjs/lroImpl.js.map +1 -0
  124. package/dist/commonjs/models/index.d.ts +1544 -0
  125. package/dist/commonjs/models/index.d.ts.map +1 -0
  126. package/dist/commonjs/models/index.js +77 -0
  127. package/dist/commonjs/models/index.js.map +1 -0
  128. package/dist/commonjs/models/mappers.d.ts +103 -0
  129. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  130. package/dist/commonjs/models/mappers.js +2521 -0
  131. package/dist/commonjs/models/mappers.js.map +1 -0
  132. package/dist/commonjs/models/parameters.d.ts +26 -0
  133. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  134. package/dist/commonjs/models/parameters.js +246 -0
  135. package/dist/commonjs/models/parameters.js.map +1 -0
  136. package/dist/commonjs/operations/groupQuotaLimits.d.ts +25 -0
  137. package/dist/commonjs/operations/groupQuotaLimits.d.ts.map +1 -0
  138. package/dist/commonjs/operations/groupQuotaLimits.js +70 -0
  139. package/dist/commonjs/operations/groupQuotaLimits.js.map +1 -0
  140. package/dist/commonjs/operations/groupQuotaLimitsRequest.d.ts +99 -0
  141. package/dist/commonjs/operations/groupQuotaLimitsRequest.d.ts.map +1 -0
  142. package/dist/commonjs/operations/groupQuotaLimitsRequest.js +328 -0
  143. package/dist/commonjs/operations/groupQuotaLimitsRequest.js.map +1 -0
  144. package/dist/commonjs/operations/groupQuotaSubscriptionAllocation.d.ts +27 -0
  145. package/dist/commonjs/operations/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  146. package/dist/commonjs/operations/groupQuotaSubscriptionAllocation.js +73 -0
  147. package/dist/commonjs/operations/groupQuotaSubscriptionAllocation.js.map +1 -0
  148. package/dist/commonjs/operations/groupQuotaSubscriptionAllocationRequest.d.ts +105 -0
  149. package/dist/commonjs/operations/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  150. package/dist/commonjs/operations/groupQuotaSubscriptionAllocationRequest.js +346 -0
  151. package/dist/commonjs/operations/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  152. package/dist/commonjs/operations/groupQuotaSubscriptionRequests.d.ts +55 -0
  153. package/dist/commonjs/operations/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  154. package/dist/commonjs/operations/groupQuotaSubscriptionRequests.js +192 -0
  155. package/dist/commonjs/operations/groupQuotaSubscriptionRequests.js.map +1 -0
  156. package/dist/commonjs/operations/groupQuotaSubscriptions.d.ts +111 -0
  157. package/dist/commonjs/operations/groupQuotaSubscriptions.d.ts.map +1 -0
  158. package/dist/commonjs/operations/groupQuotaSubscriptions.js +453 -0
  159. package/dist/commonjs/operations/groupQuotaSubscriptions.js.map +1 -0
  160. package/dist/commonjs/operations/groupQuotas.d.ts +123 -0
  161. package/dist/commonjs/operations/groupQuotas.d.ts.map +1 -0
  162. package/dist/commonjs/operations/groupQuotas.js +460 -0
  163. package/dist/commonjs/operations/groupQuotas.js.map +1 -0
  164. package/dist/commonjs/operations/index.d.ts +12 -0
  165. package/dist/commonjs/operations/index.d.ts.map +1 -0
  166. package/dist/commonjs/operations/index.js +22 -0
  167. package/dist/commonjs/operations/index.js.map +1 -0
  168. package/dist/commonjs/operations/quota.d.ts +147 -0
  169. package/dist/commonjs/operations/quota.d.ts.map +1 -0
  170. package/dist/commonjs/operations/quota.js +404 -0
  171. package/dist/commonjs/operations/quota.js.map +1 -0
  172. package/dist/commonjs/operations/quotaOperation.d.ts +32 -0
  173. package/dist/commonjs/operations/quotaOperation.d.ts.map +1 -0
  174. package/dist/commonjs/operations/quotaOperation.js +137 -0
  175. package/dist/commonjs/operations/quotaOperation.js.map +1 -0
  176. package/dist/commonjs/operations/quotaRequestStatus.d.ts +62 -0
  177. package/dist/commonjs/operations/quotaRequestStatus.d.ts.map +1 -0
  178. package/dist/commonjs/operations/quotaRequestStatus.js +190 -0
  179. package/dist/commonjs/operations/quotaRequestStatus.js.map +1 -0
  180. package/dist/commonjs/operations/usages.d.ts +61 -0
  181. package/dist/commonjs/operations/usages.d.ts.map +1 -0
  182. package/dist/commonjs/operations/usages.js +187 -0
  183. package/dist/commonjs/operations/usages.js.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/groupQuotaLimits.d.ts +17 -0
  185. package/dist/commonjs/operationsInterfaces/groupQuotaLimits.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/groupQuotaLimits.js +10 -0
  187. package/dist/commonjs/operationsInterfaces/groupQuotaLimits.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/groupQuotaLimitsRequest.d.ts +63 -0
  189. package/dist/commonjs/operationsInterfaces/groupQuotaLimitsRequest.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/groupQuotaLimitsRequest.js +10 -0
  191. package/dist/commonjs/operationsInterfaces/groupQuotaLimitsRequest.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts +19 -0
  193. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocation.js +10 -0
  195. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocation.js.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts +68 -0
  197. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js +10 -0
  199. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts +27 -0
  201. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  202. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionRequests.js +10 -0
  203. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptionRequests.js.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptions.d.ts +84 -0
  205. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptions.d.ts.map +1 -0
  206. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptions.js +10 -0
  207. package/dist/commonjs/operationsInterfaces/groupQuotaSubscriptions.js.map +1 -0
  208. package/dist/commonjs/operationsInterfaces/groupQuotas.d.ts +99 -0
  209. package/dist/commonjs/operationsInterfaces/groupQuotas.d.ts.map +1 -0
  210. package/dist/commonjs/operationsInterfaces/groupQuotas.js +10 -0
  211. package/dist/commonjs/operationsInterfaces/groupQuotas.js.map +1 -0
  212. package/dist/commonjs/operationsInterfaces/index.d.ts +12 -0
  213. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  214. package/dist/commonjs/operationsInterfaces/index.js +22 -0
  215. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  216. package/dist/commonjs/operationsInterfaces/quota.d.ts +115 -0
  217. package/dist/commonjs/operationsInterfaces/quota.d.ts.map +1 -0
  218. package/dist/commonjs/operationsInterfaces/quota.js +10 -0
  219. package/dist/commonjs/operationsInterfaces/quota.js.map +1 -0
  220. package/dist/commonjs/operationsInterfaces/quotaOperation.d.ts +11 -0
  221. package/dist/commonjs/operationsInterfaces/quotaOperation.d.ts.map +1 -0
  222. package/dist/commonjs/operationsInterfaces/quotaOperation.js +10 -0
  223. package/dist/commonjs/operationsInterfaces/quotaOperation.js.map +1 -0
  224. package/dist/commonjs/operationsInterfaces/quotaRequestStatus.d.ts +30 -0
  225. package/dist/commonjs/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
  226. package/dist/commonjs/operationsInterfaces/quotaRequestStatus.js +10 -0
  227. package/dist/commonjs/operationsInterfaces/quotaRequestStatus.js.map +1 -0
  228. package/dist/commonjs/operationsInterfaces/usages.d.ts +30 -0
  229. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
  230. package/dist/commonjs/operationsInterfaces/usages.js +10 -0
  231. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
  232. package/dist/commonjs/package.json +3 -0
  233. package/dist/commonjs/pagingHelper.d.ts +13 -0
  234. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  235. package/dist/commonjs/pagingHelper.js +36 -0
  236. package/dist/commonjs/pagingHelper.js.map +1 -0
  237. package/dist/commonjs/tsdoc-metadata.json +11 -0
  238. package/dist/esm/azureQuotaExtensionAPI.d.ts +31 -0
  239. package/dist/esm/azureQuotaExtensionAPI.d.ts.map +1 -0
  240. package/dist/esm/azureQuotaExtensionAPI.js +108 -0
  241. package/dist/esm/azureQuotaExtensionAPI.js.map +1 -0
  242. package/dist/esm/index.d.ts +5 -0
  243. package/dist/esm/index.d.ts.map +1 -0
  244. package/dist/esm/index.js +13 -0
  245. package/dist/esm/index.js.map +1 -0
  246. package/dist/esm/lroImpl.d.ts +11 -0
  247. package/dist/esm/lroImpl.d.ts.map +1 -0
  248. package/dist/esm/lroImpl.js +21 -0
  249. package/dist/esm/lroImpl.js.map +1 -0
  250. package/dist/esm/models/index.d.ts +1544 -0
  251. package/dist/esm/models/index.d.ts.map +1 -0
  252. package/dist/esm/models/index.js +74 -0
  253. package/dist/esm/models/index.js.map +1 -0
  254. package/dist/esm/models/mappers.d.ts +103 -0
  255. package/dist/esm/models/mappers.d.ts.map +1 -0
  256. package/dist/esm/models/mappers.js +2517 -0
  257. package/dist/esm/models/mappers.js.map +1 -0
  258. package/dist/esm/models/parameters.d.ts +26 -0
  259. package/dist/esm/models/parameters.d.ts.map +1 -0
  260. package/dist/esm/models/parameters.js +243 -0
  261. package/dist/esm/models/parameters.js.map +1 -0
  262. package/dist/esm/operations/groupQuotaLimits.d.ts +25 -0
  263. package/dist/esm/operations/groupQuotaLimits.d.ts.map +1 -0
  264. package/dist/esm/operations/groupQuotaLimits.js +65 -0
  265. package/dist/esm/operations/groupQuotaLimits.js.map +1 -0
  266. package/dist/esm/operations/groupQuotaLimitsRequest.d.ts +99 -0
  267. package/dist/esm/operations/groupQuotaLimitsRequest.d.ts.map +1 -0
  268. package/dist/esm/operations/groupQuotaLimitsRequest.js +324 -0
  269. package/dist/esm/operations/groupQuotaLimitsRequest.js.map +1 -0
  270. package/dist/esm/operations/groupQuotaSubscriptionAllocation.d.ts +27 -0
  271. package/dist/esm/operations/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  272. package/dist/esm/operations/groupQuotaSubscriptionAllocation.js +68 -0
  273. package/dist/esm/operations/groupQuotaSubscriptionAllocation.js.map +1 -0
  274. package/dist/esm/operations/groupQuotaSubscriptionAllocationRequest.d.ts +105 -0
  275. package/dist/esm/operations/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  276. package/dist/esm/operations/groupQuotaSubscriptionAllocationRequest.js +342 -0
  277. package/dist/esm/operations/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  278. package/dist/esm/operations/groupQuotaSubscriptionRequests.d.ts +55 -0
  279. package/dist/esm/operations/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  280. package/dist/esm/operations/groupQuotaSubscriptionRequests.js +188 -0
  281. package/dist/esm/operations/groupQuotaSubscriptionRequests.js.map +1 -0
  282. package/dist/esm/operations/groupQuotaSubscriptions.d.ts +111 -0
  283. package/dist/esm/operations/groupQuotaSubscriptions.d.ts.map +1 -0
  284. package/dist/esm/operations/groupQuotaSubscriptions.js +449 -0
  285. package/dist/esm/operations/groupQuotaSubscriptions.js.map +1 -0
  286. package/dist/esm/operations/groupQuotas.d.ts +123 -0
  287. package/dist/esm/operations/groupQuotas.d.ts.map +1 -0
  288. package/dist/esm/operations/groupQuotas.js +456 -0
  289. package/dist/esm/operations/groupQuotas.js.map +1 -0
  290. package/dist/esm/operations/index.d.ts +12 -0
  291. package/dist/esm/operations/index.d.ts.map +1 -0
  292. package/dist/esm/operations/index.js +19 -0
  293. package/dist/esm/operations/index.js.map +1 -0
  294. package/dist/esm/operations/quota.d.ts +147 -0
  295. package/dist/esm/operations/quota.d.ts.map +1 -0
  296. package/dist/esm/operations/quota.js +400 -0
  297. package/dist/esm/operations/quota.js.map +1 -0
  298. package/dist/esm/operations/quotaOperation.d.ts +32 -0
  299. package/dist/esm/operations/quotaOperation.d.ts.map +1 -0
  300. package/dist/esm/operations/quotaOperation.js +133 -0
  301. package/dist/esm/operations/quotaOperation.js.map +1 -0
  302. package/dist/esm/operations/quotaRequestStatus.d.ts +62 -0
  303. package/dist/esm/operations/quotaRequestStatus.d.ts.map +1 -0
  304. package/dist/esm/operations/quotaRequestStatus.js +186 -0
  305. package/dist/esm/operations/quotaRequestStatus.js.map +1 -0
  306. package/dist/esm/operations/usages.d.ts +61 -0
  307. package/dist/esm/operations/usages.d.ts.map +1 -0
  308. package/dist/esm/operations/usages.js +183 -0
  309. package/dist/esm/operations/usages.js.map +1 -0
  310. package/dist/esm/operationsInterfaces/groupQuotaLimits.d.ts +17 -0
  311. package/dist/esm/operationsInterfaces/groupQuotaLimits.d.ts.map +1 -0
  312. package/dist/esm/operationsInterfaces/groupQuotaLimits.js +9 -0
  313. package/dist/esm/operationsInterfaces/groupQuotaLimits.js.map +1 -0
  314. package/dist/esm/operationsInterfaces/groupQuotaLimitsRequest.d.ts +63 -0
  315. package/dist/esm/operationsInterfaces/groupQuotaLimitsRequest.d.ts.map +1 -0
  316. package/dist/esm/operationsInterfaces/groupQuotaLimitsRequest.js +9 -0
  317. package/dist/esm/operationsInterfaces/groupQuotaLimitsRequest.js.map +1 -0
  318. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts +19 -0
  319. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  320. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocation.js +9 -0
  321. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocation.js.map +1 -0
  322. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts +68 -0
  323. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  324. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js +9 -0
  325. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  326. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts +27 -0
  327. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  328. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionRequests.js +9 -0
  329. package/dist/esm/operationsInterfaces/groupQuotaSubscriptionRequests.js.map +1 -0
  330. package/dist/esm/operationsInterfaces/groupQuotaSubscriptions.d.ts +84 -0
  331. package/dist/esm/operationsInterfaces/groupQuotaSubscriptions.d.ts.map +1 -0
  332. package/dist/esm/operationsInterfaces/groupQuotaSubscriptions.js +9 -0
  333. package/dist/esm/operationsInterfaces/groupQuotaSubscriptions.js.map +1 -0
  334. package/dist/esm/operationsInterfaces/groupQuotas.d.ts +99 -0
  335. package/dist/esm/operationsInterfaces/groupQuotas.d.ts.map +1 -0
  336. package/dist/esm/operationsInterfaces/groupQuotas.js +9 -0
  337. package/dist/esm/operationsInterfaces/groupQuotas.js.map +1 -0
  338. package/dist/esm/operationsInterfaces/index.d.ts +12 -0
  339. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  340. package/dist/esm/operationsInterfaces/index.js +19 -0
  341. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  342. package/dist/esm/operationsInterfaces/quota.d.ts +115 -0
  343. package/dist/esm/operationsInterfaces/quota.d.ts.map +1 -0
  344. package/dist/esm/operationsInterfaces/quota.js +9 -0
  345. package/dist/esm/operationsInterfaces/quota.js.map +1 -0
  346. package/dist/esm/operationsInterfaces/quotaOperation.d.ts +11 -0
  347. package/dist/esm/operationsInterfaces/quotaOperation.d.ts.map +1 -0
  348. package/dist/esm/operationsInterfaces/quotaOperation.js +9 -0
  349. package/dist/esm/operationsInterfaces/quotaOperation.js.map +1 -0
  350. package/dist/esm/operationsInterfaces/quotaRequestStatus.d.ts +30 -0
  351. package/dist/esm/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
  352. package/dist/esm/operationsInterfaces/quotaRequestStatus.js +9 -0
  353. package/dist/esm/operationsInterfaces/quotaRequestStatus.js.map +1 -0
  354. package/dist/esm/operationsInterfaces/usages.d.ts +30 -0
  355. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
  356. package/dist/esm/operationsInterfaces/usages.js +9 -0
  357. package/dist/esm/operationsInterfaces/usages.js.map +1 -0
  358. package/dist/esm/package.json +3 -0
  359. package/dist/esm/pagingHelper.d.ts +13 -0
  360. package/dist/esm/pagingHelper.d.ts.map +1 -0
  361. package/dist/esm/pagingHelper.js +32 -0
  362. package/dist/esm/pagingHelper.js.map +1 -0
  363. package/dist/react-native/azureQuotaExtensionAPI.d.ts +31 -0
  364. package/dist/react-native/azureQuotaExtensionAPI.d.ts.map +1 -0
  365. package/dist/react-native/azureQuotaExtensionAPI.js +108 -0
  366. package/dist/react-native/azureQuotaExtensionAPI.js.map +1 -0
  367. package/dist/react-native/index.d.ts +5 -0
  368. package/dist/react-native/index.d.ts.map +1 -0
  369. package/dist/react-native/index.js +13 -0
  370. package/dist/react-native/index.js.map +1 -0
  371. package/dist/react-native/lroImpl.d.ts +11 -0
  372. package/dist/react-native/lroImpl.d.ts.map +1 -0
  373. package/dist/react-native/lroImpl.js +21 -0
  374. package/dist/react-native/lroImpl.js.map +1 -0
  375. package/dist/react-native/models/index.d.ts +1544 -0
  376. package/dist/react-native/models/index.d.ts.map +1 -0
  377. package/dist/react-native/models/index.js +74 -0
  378. package/dist/react-native/models/index.js.map +1 -0
  379. package/dist/react-native/models/mappers.d.ts +103 -0
  380. package/dist/react-native/models/mappers.d.ts.map +1 -0
  381. package/dist/react-native/models/mappers.js +2517 -0
  382. package/dist/react-native/models/mappers.js.map +1 -0
  383. package/dist/react-native/models/parameters.d.ts +26 -0
  384. package/dist/react-native/models/parameters.d.ts.map +1 -0
  385. package/dist/react-native/models/parameters.js +243 -0
  386. package/dist/react-native/models/parameters.js.map +1 -0
  387. package/dist/react-native/operations/groupQuotaLimits.d.ts +25 -0
  388. package/dist/react-native/operations/groupQuotaLimits.d.ts.map +1 -0
  389. package/dist/react-native/operations/groupQuotaLimits.js +65 -0
  390. package/dist/react-native/operations/groupQuotaLimits.js.map +1 -0
  391. package/dist/react-native/operations/groupQuotaLimitsRequest.d.ts +99 -0
  392. package/dist/react-native/operations/groupQuotaLimitsRequest.d.ts.map +1 -0
  393. package/dist/react-native/operations/groupQuotaLimitsRequest.js +324 -0
  394. package/dist/react-native/operations/groupQuotaLimitsRequest.js.map +1 -0
  395. package/dist/react-native/operations/groupQuotaSubscriptionAllocation.d.ts +27 -0
  396. package/dist/react-native/operations/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  397. package/dist/react-native/operations/groupQuotaSubscriptionAllocation.js +68 -0
  398. package/dist/react-native/operations/groupQuotaSubscriptionAllocation.js.map +1 -0
  399. package/dist/react-native/operations/groupQuotaSubscriptionAllocationRequest.d.ts +105 -0
  400. package/dist/react-native/operations/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  401. package/dist/react-native/operations/groupQuotaSubscriptionAllocationRequest.js +342 -0
  402. package/dist/react-native/operations/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  403. package/dist/react-native/operations/groupQuotaSubscriptionRequests.d.ts +55 -0
  404. package/dist/react-native/operations/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  405. package/dist/react-native/operations/groupQuotaSubscriptionRequests.js +188 -0
  406. package/dist/react-native/operations/groupQuotaSubscriptionRequests.js.map +1 -0
  407. package/dist/react-native/operations/groupQuotaSubscriptions.d.ts +111 -0
  408. package/dist/react-native/operations/groupQuotaSubscriptions.d.ts.map +1 -0
  409. package/dist/react-native/operations/groupQuotaSubscriptions.js +449 -0
  410. package/dist/react-native/operations/groupQuotaSubscriptions.js.map +1 -0
  411. package/dist/react-native/operations/groupQuotas.d.ts +123 -0
  412. package/dist/react-native/operations/groupQuotas.d.ts.map +1 -0
  413. package/dist/react-native/operations/groupQuotas.js +456 -0
  414. package/dist/react-native/operations/groupQuotas.js.map +1 -0
  415. package/dist/react-native/operations/index.d.ts +12 -0
  416. package/dist/react-native/operations/index.d.ts.map +1 -0
  417. package/dist/react-native/operations/index.js +19 -0
  418. package/dist/react-native/operations/index.js.map +1 -0
  419. package/dist/react-native/operations/quota.d.ts +147 -0
  420. package/dist/react-native/operations/quota.d.ts.map +1 -0
  421. package/dist/react-native/operations/quota.js +400 -0
  422. package/dist/react-native/operations/quota.js.map +1 -0
  423. package/dist/react-native/operations/quotaOperation.d.ts +32 -0
  424. package/dist/react-native/operations/quotaOperation.d.ts.map +1 -0
  425. package/dist/react-native/operations/quotaOperation.js +133 -0
  426. package/dist/react-native/operations/quotaOperation.js.map +1 -0
  427. package/dist/react-native/operations/quotaRequestStatus.d.ts +62 -0
  428. package/dist/react-native/operations/quotaRequestStatus.d.ts.map +1 -0
  429. package/dist/react-native/operations/quotaRequestStatus.js +186 -0
  430. package/dist/react-native/operations/quotaRequestStatus.js.map +1 -0
  431. package/dist/react-native/operations/usages.d.ts +61 -0
  432. package/dist/react-native/operations/usages.d.ts.map +1 -0
  433. package/dist/react-native/operations/usages.js +183 -0
  434. package/dist/react-native/operations/usages.js.map +1 -0
  435. package/dist/react-native/operationsInterfaces/groupQuotaLimits.d.ts +17 -0
  436. package/dist/react-native/operationsInterfaces/groupQuotaLimits.d.ts.map +1 -0
  437. package/dist/react-native/operationsInterfaces/groupQuotaLimits.js +9 -0
  438. package/dist/react-native/operationsInterfaces/groupQuotaLimits.js.map +1 -0
  439. package/dist/react-native/operationsInterfaces/groupQuotaLimitsRequest.d.ts +63 -0
  440. package/dist/react-native/operationsInterfaces/groupQuotaLimitsRequest.d.ts.map +1 -0
  441. package/dist/react-native/operationsInterfaces/groupQuotaLimitsRequest.js +9 -0
  442. package/dist/react-native/operationsInterfaces/groupQuotaLimitsRequest.js.map +1 -0
  443. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts +19 -0
  444. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts.map +1 -0
  445. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocation.js +9 -0
  446. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocation.js.map +1 -0
  447. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts +68 -0
  448. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts.map +1 -0
  449. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js +9 -0
  450. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js.map +1 -0
  451. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts +27 -0
  452. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts.map +1 -0
  453. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionRequests.js +9 -0
  454. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptionRequests.js.map +1 -0
  455. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptions.d.ts +84 -0
  456. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptions.d.ts.map +1 -0
  457. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptions.js +9 -0
  458. package/dist/react-native/operationsInterfaces/groupQuotaSubscriptions.js.map +1 -0
  459. package/dist/react-native/operationsInterfaces/groupQuotas.d.ts +99 -0
  460. package/dist/react-native/operationsInterfaces/groupQuotas.d.ts.map +1 -0
  461. package/dist/react-native/operationsInterfaces/groupQuotas.js +9 -0
  462. package/dist/react-native/operationsInterfaces/groupQuotas.js.map +1 -0
  463. package/dist/react-native/operationsInterfaces/index.d.ts +12 -0
  464. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  465. package/dist/react-native/operationsInterfaces/index.js +19 -0
  466. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  467. package/dist/react-native/operationsInterfaces/quota.d.ts +115 -0
  468. package/dist/react-native/operationsInterfaces/quota.d.ts.map +1 -0
  469. package/dist/react-native/operationsInterfaces/quota.js +9 -0
  470. package/dist/react-native/operationsInterfaces/quota.js.map +1 -0
  471. package/dist/react-native/operationsInterfaces/quotaOperation.d.ts +11 -0
  472. package/dist/react-native/operationsInterfaces/quotaOperation.d.ts.map +1 -0
  473. package/dist/react-native/operationsInterfaces/quotaOperation.js +9 -0
  474. package/dist/react-native/operationsInterfaces/quotaOperation.js.map +1 -0
  475. package/dist/react-native/operationsInterfaces/quotaRequestStatus.d.ts +30 -0
  476. package/dist/react-native/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
  477. package/dist/react-native/operationsInterfaces/quotaRequestStatus.js +9 -0
  478. package/dist/react-native/operationsInterfaces/quotaRequestStatus.js.map +1 -0
  479. package/dist/react-native/operationsInterfaces/usages.d.ts +30 -0
  480. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
  481. package/dist/react-native/operationsInterfaces/usages.js +9 -0
  482. package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
  483. package/dist/react-native/package.json +3 -0
  484. package/dist/react-native/pagingHelper.d.ts +13 -0
  485. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  486. package/dist/react-native/pagingHelper.js +32 -0
  487. package/dist/react-native/pagingHelper.js.map +1 -0
  488. package/package.json +83 -58
  489. package/review/arm-quota.api.md +49 -247
  490. package/dist/index.js +0 -7283
  491. package/dist/index.js.map +0 -1
  492. package/dist/index.min.js +0 -1
  493. package/dist/index.min.js.map +0 -1
  494. package/dist-esm/samples-dev/groupQuotaLimitsGetSample.d.ts +0 -2
  495. package/dist-esm/samples-dev/groupQuotaLimitsGetSample.d.ts.map +0 -1
  496. package/dist-esm/samples-dev/groupQuotaLimitsGetSample.js +0 -42
  497. package/dist-esm/samples-dev/groupQuotaLimitsGetSample.js.map +0 -1
  498. package/dist-esm/samples-dev/groupQuotaLimitsListSample.d.ts +0 -2
  499. package/dist-esm/samples-dev/groupQuotaLimitsListSample.d.ts.map +0 -1
  500. package/dist-esm/samples-dev/groupQuotaLimitsListSample.js +0 -57
  501. package/dist-esm/samples-dev/groupQuotaLimitsListSample.js.map +0 -1
  502. package/dist-esm/samples-dev/groupQuotaLimitsRequestCreateOrUpdateSample.d.ts +0 -2
  503. package/dist-esm/samples-dev/groupQuotaLimitsRequestCreateOrUpdateSample.d.ts.map +0 -1
  504. package/dist-esm/samples-dev/groupQuotaLimitsRequestCreateOrUpdateSample.js +0 -41
  505. package/dist-esm/samples-dev/groupQuotaLimitsRequestCreateOrUpdateSample.js.map +0 -1
  506. package/dist-esm/samples-dev/groupQuotaLimitsRequestGetSample.d.ts +0 -2
  507. package/dist-esm/samples-dev/groupQuotaLimitsRequestGetSample.d.ts.map +0 -1
  508. package/dist-esm/samples-dev/groupQuotaLimitsRequestGetSample.js +0 -38
  509. package/dist-esm/samples-dev/groupQuotaLimitsRequestGetSample.js.map +0 -1
  510. package/dist-esm/samples-dev/groupQuotaLimitsRequestListSample.d.ts +0 -2
  511. package/dist-esm/samples-dev/groupQuotaLimitsRequestListSample.d.ts.map +0 -1
  512. package/dist-esm/samples-dev/groupQuotaLimitsRequestListSample.js +0 -55
  513. package/dist-esm/samples-dev/groupQuotaLimitsRequestListSample.js.map +0 -1
  514. package/dist-esm/samples-dev/groupQuotaLimitsRequestUpdateSample.d.ts +0 -2
  515. package/dist-esm/samples-dev/groupQuotaLimitsRequestUpdateSample.d.ts.map +0 -1
  516. package/dist-esm/samples-dev/groupQuotaLimitsRequestUpdateSample.js +0 -41
  517. package/dist-esm/samples-dev/groupQuotaLimitsRequestUpdateSample.js.map +0 -1
  518. package/dist-esm/samples-dev/groupQuotaLocationSettingsCreateOrUpdateSample.d.ts +0 -2
  519. package/dist-esm/samples-dev/groupQuotaLocationSettingsCreateOrUpdateSample.d.ts.map +0 -1
  520. package/dist-esm/samples-dev/groupQuotaLocationSettingsCreateOrUpdateSample.js +0 -86
  521. package/dist-esm/samples-dev/groupQuotaLocationSettingsCreateOrUpdateSample.js.map +0 -1
  522. package/dist-esm/samples-dev/groupQuotaLocationSettingsGetSample.d.ts +0 -2
  523. package/dist-esm/samples-dev/groupQuotaLocationSettingsGetSample.d.ts.map +0 -1
  524. package/dist-esm/samples-dev/groupQuotaLocationSettingsGetSample.js +0 -39
  525. package/dist-esm/samples-dev/groupQuotaLocationSettingsGetSample.js.map +0 -1
  526. package/dist-esm/samples-dev/groupQuotaLocationSettingsListSample.d.ts +0 -2
  527. package/dist-esm/samples-dev/groupQuotaLocationSettingsListSample.d.ts.map +0 -1
  528. package/dist-esm/samples-dev/groupQuotaLocationSettingsListSample.js +0 -54
  529. package/dist-esm/samples-dev/groupQuotaLocationSettingsListSample.js.map +0 -1
  530. package/dist-esm/samples-dev/groupQuotaLocationSettingsUpdateSample.d.ts +0 -2
  531. package/dist-esm/samples-dev/groupQuotaLocationSettingsUpdateSample.d.ts.map +0 -1
  532. package/dist-esm/samples-dev/groupQuotaLocationSettingsUpdateSample.js +0 -53
  533. package/dist-esm/samples-dev/groupQuotaLocationSettingsUpdateSample.js.map +0 -1
  534. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationGetSample.d.ts +0 -2
  535. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationGetSample.d.ts.map +0 -1
  536. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationGetSample.js +0 -41
  537. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationGetSample.js.map +0 -1
  538. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationListSample.d.ts +0 -2
  539. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationListSample.d.ts.map +0 -1
  540. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationListSample.js +0 -56
  541. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationListSample.js.map +0 -1
  542. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestCreateOrUpdateSample.d.ts +0 -2
  543. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestCreateOrUpdateSample.d.ts.map +0 -1
  544. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestCreateOrUpdateSample.js +0 -46
  545. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestCreateOrUpdateSample.js.map +0 -1
  546. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestGetSample.d.ts +0 -2
  547. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestGetSample.d.ts.map +0 -1
  548. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestGetSample.js +0 -40
  549. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestGetSample.js.map +0 -1
  550. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestListSample.d.ts +0 -2
  551. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestListSample.d.ts.map +0 -1
  552. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestListSample.js +0 -57
  553. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestListSample.js.map +0 -1
  554. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestUpdateSample.d.ts +0 -2
  555. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestUpdateSample.d.ts.map +0 -1
  556. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestUpdateSample.js +0 -46
  557. package/dist-esm/samples-dev/groupQuotaSubscriptionAllocationRequestUpdateSample.js.map +0 -1
  558. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsGetSample.d.ts +0 -2
  559. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsGetSample.d.ts.map +0 -1
  560. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsGetSample.js +0 -38
  561. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsGetSample.js.map +0 -1
  562. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsListSample.d.ts +0 -2
  563. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsListSample.d.ts.map +0 -1
  564. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsListSample.js +0 -53
  565. package/dist-esm/samples-dev/groupQuotaSubscriptionRequestsListSample.js.map +0 -1
  566. package/dist-esm/samples-dev/groupQuotaSubscriptionsCreateOrUpdateSample.d.ts +0 -2
  567. package/dist-esm/samples-dev/groupQuotaSubscriptionsCreateOrUpdateSample.d.ts.map +0 -1
  568. package/dist-esm/samples-dev/groupQuotaSubscriptionsCreateOrUpdateSample.js +0 -39
  569. package/dist-esm/samples-dev/groupQuotaSubscriptionsCreateOrUpdateSample.js.map +0 -1
  570. package/dist-esm/samples-dev/groupQuotaSubscriptionsDeleteSample.d.ts +0 -2
  571. package/dist-esm/samples-dev/groupQuotaSubscriptionsDeleteSample.d.ts.map +0 -1
  572. package/dist-esm/samples-dev/groupQuotaSubscriptionsDeleteSample.js +0 -39
  573. package/dist-esm/samples-dev/groupQuotaSubscriptionsDeleteSample.js.map +0 -1
  574. package/dist-esm/samples-dev/groupQuotaSubscriptionsGetSample.d.ts +0 -2
  575. package/dist-esm/samples-dev/groupQuotaSubscriptionsGetSample.d.ts.map +0 -1
  576. package/dist-esm/samples-dev/groupQuotaSubscriptionsGetSample.js +0 -39
  577. package/dist-esm/samples-dev/groupQuotaSubscriptionsGetSample.js.map +0 -1
  578. package/dist-esm/samples-dev/groupQuotaSubscriptionsListSample.d.ts +0 -2
  579. package/dist-esm/samples-dev/groupQuotaSubscriptionsListSample.d.ts.map +0 -1
  580. package/dist-esm/samples-dev/groupQuotaSubscriptionsListSample.js +0 -53
  581. package/dist-esm/samples-dev/groupQuotaSubscriptionsListSample.js.map +0 -1
  582. package/dist-esm/samples-dev/groupQuotaSubscriptionsUpdateSample.d.ts +0 -2
  583. package/dist-esm/samples-dev/groupQuotaSubscriptionsUpdateSample.d.ts.map +0 -1
  584. package/dist-esm/samples-dev/groupQuotaSubscriptionsUpdateSample.js +0 -39
  585. package/dist-esm/samples-dev/groupQuotaSubscriptionsUpdateSample.js.map +0 -1
  586. package/dist-esm/samples-dev/groupQuotaUsagesListSample.d.ts +0 -2
  587. package/dist-esm/samples-dev/groupQuotaUsagesListSample.d.ts.map +0 -1
  588. package/dist-esm/samples-dev/groupQuotaUsagesListSample.js +0 -55
  589. package/dist-esm/samples-dev/groupQuotaUsagesListSample.js.map +0 -1
  590. package/dist-esm/samples-dev/groupQuotasCreateOrUpdateSample.d.ts +0 -2
  591. package/dist-esm/samples-dev/groupQuotasCreateOrUpdateSample.d.ts.map +0 -1
  592. package/dist-esm/samples-dev/groupQuotasCreateOrUpdateSample.js +0 -52
  593. package/dist-esm/samples-dev/groupQuotasCreateOrUpdateSample.js.map +0 -1
  594. package/dist-esm/samples-dev/groupQuotasDeleteSample.d.ts +0 -2
  595. package/dist-esm/samples-dev/groupQuotasDeleteSample.d.ts.map +0 -1
  596. package/dist-esm/samples-dev/groupQuotasDeleteSample.js +0 -37
  597. package/dist-esm/samples-dev/groupQuotasDeleteSample.js.map +0 -1
  598. package/dist-esm/samples-dev/groupQuotasGetSample.d.ts +0 -2
  599. package/dist-esm/samples-dev/groupQuotasGetSample.d.ts.map +0 -1
  600. package/dist-esm/samples-dev/groupQuotasGetSample.js +0 -37
  601. package/dist-esm/samples-dev/groupQuotasGetSample.js.map +0 -1
  602. package/dist-esm/samples-dev/groupQuotasListSample.d.ts +0 -2
  603. package/dist-esm/samples-dev/groupQuotasListSample.d.ts.map +0 -1
  604. package/dist-esm/samples-dev/groupQuotasListSample.js +0 -52
  605. package/dist-esm/samples-dev/groupQuotasListSample.js.map +0 -1
  606. package/dist-esm/samples-dev/groupQuotasUpdateSample.d.ts +0 -2
  607. package/dist-esm/samples-dev/groupQuotasUpdateSample.d.ts.map +0 -1
  608. package/dist-esm/samples-dev/groupQuotasUpdateSample.js +0 -54
  609. package/dist-esm/samples-dev/groupQuotasUpdateSample.js.map +0 -1
  610. package/dist-esm/samples-dev/quotaCreateOrUpdateSample.d.ts +0 -2
  611. package/dist-esm/samples-dev/quotaCreateOrUpdateSample.d.ts.map +0 -1
  612. package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js +0 -131
  613. package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js.map +0 -1
  614. package/dist-esm/samples-dev/quotaGetSample.d.ts +0 -2
  615. package/dist-esm/samples-dev/quotaGetSample.d.ts.map +0 -1
  616. package/dist-esm/samples-dev/quotaGetSample.js +0 -54
  617. package/dist-esm/samples-dev/quotaGetSample.js.map +0 -1
  618. package/dist-esm/samples-dev/quotaListSample.d.ts +0 -2
  619. package/dist-esm/samples-dev/quotaListSample.d.ts.map +0 -1
  620. package/dist-esm/samples-dev/quotaListSample.js +0 -116
  621. package/dist-esm/samples-dev/quotaListSample.js.map +0 -1
  622. package/dist-esm/samples-dev/quotaOperationListSample.d.ts +0 -2
  623. package/dist-esm/samples-dev/quotaOperationListSample.d.ts.map +0 -1
  624. package/dist-esm/samples-dev/quotaOperationListSample.js +0 -51
  625. package/dist-esm/samples-dev/quotaOperationListSample.js.map +0 -1
  626. package/dist-esm/samples-dev/quotaRequestStatusGetSample.d.ts +0 -2
  627. package/dist-esm/samples-dev/quotaRequestStatusGetSample.d.ts.map +0 -1
  628. package/dist-esm/samples-dev/quotaRequestStatusGetSample.js +0 -71
  629. package/dist-esm/samples-dev/quotaRequestStatusGetSample.js.map +0 -1
  630. package/dist-esm/samples-dev/quotaRequestStatusListSample.d.ts +0 -2
  631. package/dist-esm/samples-dev/quotaRequestStatusListSample.d.ts.map +0 -1
  632. package/dist-esm/samples-dev/quotaRequestStatusListSample.js +0 -52
  633. package/dist-esm/samples-dev/quotaRequestStatusListSample.js.map +0 -1
  634. package/dist-esm/samples-dev/quotaUpdateSample.d.ts +0 -2
  635. package/dist-esm/samples-dev/quotaUpdateSample.d.ts.map +0 -1
  636. package/dist-esm/samples-dev/quotaUpdateSample.js +0 -75
  637. package/dist-esm/samples-dev/quotaUpdateSample.js.map +0 -1
  638. package/dist-esm/samples-dev/usagesGetSample.d.ts +0 -2
  639. package/dist-esm/samples-dev/usagesGetSample.d.ts.map +0 -1
  640. package/dist-esm/samples-dev/usagesGetSample.js +0 -54
  641. package/dist-esm/samples-dev/usagesGetSample.js.map +0 -1
  642. package/dist-esm/samples-dev/usagesListSample.d.ts +0 -2
  643. package/dist-esm/samples-dev/usagesListSample.d.ts.map +0 -1
  644. package/dist-esm/samples-dev/usagesListSample.js +0 -116
  645. package/dist-esm/samples-dev/usagesListSample.js.map +0 -1
  646. package/dist-esm/src/azureQuotaExtensionAPI.d.ts +0 -33
  647. package/dist-esm/src/azureQuotaExtensionAPI.d.ts.map +0 -1
  648. package/dist-esm/src/azureQuotaExtensionAPI.js +0 -113
  649. package/dist-esm/src/azureQuotaExtensionAPI.js.map +0 -1
  650. package/dist-esm/src/index.d.ts +0 -6
  651. package/dist-esm/src/index.d.ts.map +0 -1
  652. package/dist-esm/src/index.js +0 -13
  653. package/dist-esm/src/index.js.map +0 -1
  654. package/dist-esm/src/lroImpl.js.map +0 -1
  655. package/dist-esm/src/models/index.d.ts +0 -1790
  656. package/dist-esm/src/models/index.d.ts.map +0 -1
  657. package/dist-esm/src/models/index.js +0 -100
  658. package/dist-esm/src/models/index.js.map +0 -1
  659. package/dist-esm/src/models/mappers.d.ts +0 -108
  660. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  661. package/dist-esm/src/models/mappers.js +0 -2708
  662. package/dist-esm/src/models/mappers.js.map +0 -1
  663. package/dist-esm/src/models/parameters.d.ts +0 -28
  664. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  665. package/dist-esm/src/models/parameters.js +0 -262
  666. package/dist-esm/src/models/parameters.js.map +0 -1
  667. package/dist-esm/src/operations/groupQuotaLimits.d.ts +0 -77
  668. package/dist-esm/src/operations/groupQuotaLimits.d.ts.map +0 -1
  669. package/dist-esm/src/operations/groupQuotaLimits.js +0 -232
  670. package/dist-esm/src/operations/groupQuotaLimits.js.map +0 -1
  671. package/dist-esm/src/operations/groupQuotaLimitsRequest.d.ts +0 -131
  672. package/dist-esm/src/operations/groupQuotaLimitsRequest.d.ts.map +0 -1
  673. package/dist-esm/src/operations/groupQuotaLimitsRequest.js +0 -441
  674. package/dist-esm/src/operations/groupQuotaLimitsRequest.js.map +0 -1
  675. package/dist-esm/src/operations/groupQuotaLocationSettings.d.ts +0 -144
  676. package/dist-esm/src/operations/groupQuotaLocationSettings.d.ts.map +0 -1
  677. package/dist-esm/src/operations/groupQuotaLocationSettings.js +0 -453
  678. package/dist-esm/src/operations/groupQuotaLocationSettings.js.map +0 -1
  679. package/dist-esm/src/operations/groupQuotaSubscriptionAllocation.d.ts +0 -75
  680. package/dist-esm/src/operations/groupQuotaSubscriptionAllocation.d.ts.map +0 -1
  681. package/dist-esm/src/operations/groupQuotaSubscriptionAllocation.js +0 -211
  682. package/dist-esm/src/operations/groupQuotaSubscriptionAllocation.js.map +0 -1
  683. package/dist-esm/src/operations/groupQuotaSubscriptionAllocationRequest.d.ts +0 -133
  684. package/dist-esm/src/operations/groupQuotaSubscriptionAllocationRequest.d.ts.map +0 -1
  685. package/dist-esm/src/operations/groupQuotaSubscriptionAllocationRequest.js +0 -450
  686. package/dist-esm/src/operations/groupQuotaSubscriptionAllocationRequest.js.map +0 -1
  687. package/dist-esm/src/operations/groupQuotaSubscriptionRequests.d.ts +0 -55
  688. package/dist-esm/src/operations/groupQuotaSubscriptionRequests.d.ts.map +0 -1
  689. package/dist-esm/src/operations/groupQuotaSubscriptionRequests.js +0 -188
  690. package/dist-esm/src/operations/groupQuotaSubscriptionRequests.js.map +0 -1
  691. package/dist-esm/src/operations/groupQuotaSubscriptions.d.ts +0 -111
  692. package/dist-esm/src/operations/groupQuotaSubscriptions.d.ts.map +0 -1
  693. package/dist-esm/src/operations/groupQuotaSubscriptions.js +0 -461
  694. package/dist-esm/src/operations/groupQuotaSubscriptions.js.map +0 -1
  695. package/dist-esm/src/operations/groupQuotaUsages.d.ts +0 -50
  696. package/dist-esm/src/operations/groupQuotaUsages.d.ts.map +0 -1
  697. package/dist-esm/src/operations/groupQuotaUsages.js +0 -177
  698. package/dist-esm/src/operations/groupQuotaUsages.js.map +0 -1
  699. package/dist-esm/src/operations/groupQuotas.d.ts +0 -123
  700. package/dist-esm/src/operations/groupQuotas.d.ts.map +0 -1
  701. package/dist-esm/src/operations/groupQuotas.js +0 -468
  702. package/dist-esm/src/operations/groupQuotas.js.map +0 -1
  703. package/dist-esm/src/operations/index.d.ts +0 -14
  704. package/dist-esm/src/operations/index.d.ts.map +0 -1
  705. package/dist-esm/src/operations/index.js +0 -21
  706. package/dist-esm/src/operations/index.js.map +0 -1
  707. package/dist-esm/src/operations/quota.d.ts +0 -147
  708. package/dist-esm/src/operations/quota.d.ts.map +0 -1
  709. package/dist-esm/src/operations/quota.js +0 -408
  710. package/dist-esm/src/operations/quota.js.map +0 -1
  711. package/dist-esm/src/operations/quotaOperation.d.ts +0 -32
  712. package/dist-esm/src/operations/quotaOperation.d.ts.map +0 -1
  713. package/dist-esm/src/operations/quotaOperation.js +0 -133
  714. package/dist-esm/src/operations/quotaOperation.js.map +0 -1
  715. package/dist-esm/src/operations/quotaRequestStatus.d.ts +0 -62
  716. package/dist-esm/src/operations/quotaRequestStatus.d.ts.map +0 -1
  717. package/dist-esm/src/operations/quotaRequestStatus.js +0 -186
  718. package/dist-esm/src/operations/quotaRequestStatus.js.map +0 -1
  719. package/dist-esm/src/operations/usages.d.ts +0 -61
  720. package/dist-esm/src/operations/usages.d.ts.map +0 -1
  721. package/dist-esm/src/operations/usages.js +0 -183
  722. package/dist-esm/src/operations/usages.js.map +0 -1
  723. package/dist-esm/src/operationsInterfaces/groupQuotaLimits.d.ts +0 -40
  724. package/dist-esm/src/operationsInterfaces/groupQuotaLimits.d.ts.map +0 -1
  725. package/dist-esm/src/operationsInterfaces/groupQuotaLimits.js.map +0 -1
  726. package/dist-esm/src/operationsInterfaces/groupQuotaLimitsRequest.d.ts +0 -95
  727. package/dist-esm/src/operationsInterfaces/groupQuotaLimitsRequest.d.ts.map +0 -1
  728. package/dist-esm/src/operationsInterfaces/groupQuotaLimitsRequest.js.map +0 -1
  729. package/dist-esm/src/operationsInterfaces/groupQuotaLocationSettings.d.ts +0 -111
  730. package/dist-esm/src/operationsInterfaces/groupQuotaLocationSettings.d.ts.map +0 -1
  731. package/dist-esm/src/operationsInterfaces/groupQuotaLocationSettings.js +0 -9
  732. package/dist-esm/src/operationsInterfaces/groupQuotaLocationSettings.js.map +0 -1
  733. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts +0 -39
  734. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionAllocation.d.ts.map +0 -1
  735. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionAllocation.js.map +0 -1
  736. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts +0 -96
  737. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.d.ts.map +0 -1
  738. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js.map +0 -1
  739. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts +0 -27
  740. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionRequests.d.ts.map +0 -1
  741. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptionRequests.js.map +0 -1
  742. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptions.d.ts +0 -84
  743. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptions.d.ts.map +0 -1
  744. package/dist-esm/src/operationsInterfaces/groupQuotaSubscriptions.js.map +0 -1
  745. package/dist-esm/src/operationsInterfaces/groupQuotaUsages.d.ts +0 -17
  746. package/dist-esm/src/operationsInterfaces/groupQuotaUsages.d.ts.map +0 -1
  747. package/dist-esm/src/operationsInterfaces/groupQuotaUsages.js +0 -9
  748. package/dist-esm/src/operationsInterfaces/groupQuotaUsages.js.map +0 -1
  749. package/dist-esm/src/operationsInterfaces/groupQuotas.d.ts +0 -99
  750. package/dist-esm/src/operationsInterfaces/groupQuotas.d.ts.map +0 -1
  751. package/dist-esm/src/operationsInterfaces/groupQuotas.js.map +0 -1
  752. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -14
  753. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  754. package/dist-esm/src/operationsInterfaces/index.js +0 -21
  755. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  756. package/dist-esm/src/operationsInterfaces/quota.d.ts +0 -115
  757. package/dist-esm/src/operationsInterfaces/quota.d.ts.map +0 -1
  758. package/dist-esm/src/operationsInterfaces/quota.js.map +0 -1
  759. package/dist-esm/src/operationsInterfaces/quotaOperation.d.ts +0 -11
  760. package/dist-esm/src/operationsInterfaces/quotaOperation.d.ts.map +0 -1
  761. package/dist-esm/src/operationsInterfaces/quotaOperation.js.map +0 -1
  762. package/dist-esm/src/operationsInterfaces/quotaRequestStatus.d.ts +0 -30
  763. package/dist-esm/src/operationsInterfaces/quotaRequestStatus.d.ts.map +0 -1
  764. package/dist-esm/src/operationsInterfaces/quotaRequestStatus.js.map +0 -1
  765. package/dist-esm/src/operationsInterfaces/usages.d.ts +0 -30
  766. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +0 -1
  767. package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
  768. package/dist-esm/src/pagingHelper.js.map +0 -1
  769. package/dist-esm/test/quota_operations_test.spec.d.ts +0 -4
  770. package/dist-esm/test/quota_operations_test.spec.d.ts.map +0 -1
  771. package/dist-esm/test/quota_operations_test.spec.js +0 -98
  772. package/dist-esm/test/quota_operations_test.spec.js.map +0 -1
  773. package/src/azureQuotaExtensionAPI.ts +0 -210
  774. package/src/index.ts +0 -13
  775. package/src/lroImpl.ts +0 -42
  776. package/src/models/index.ts +0 -2054
  777. package/src/models/mappers.ts +0 -2870
  778. package/src/models/parameters.ts +0 -302
  779. package/src/operations/groupQuotaLimits.ts +0 -314
  780. package/src/operations/groupQuotaLimitsRequest.ts +0 -609
  781. package/src/operations/groupQuotaLocationSettings.ts +0 -616
  782. package/src/operations/groupQuotaSubscriptionAllocation.ts +0 -284
  783. package/src/operations/groupQuotaSubscriptionAllocationRequest.ts +0 -626
  784. package/src/operations/groupQuotaSubscriptionRequests.ts +0 -244
  785. package/src/operations/groupQuotaSubscriptions.ts +0 -626
  786. package/src/operations/groupQuotaUsages.ts +0 -248
  787. package/src/operations/groupQuotas.ts +0 -618
  788. package/src/operations/index.ts +0 -21
  789. package/src/operations/quota.ts +0 -521
  790. package/src/operations/quotaOperation.ts +0 -149
  791. package/src/operations/quotaRequestStatus.ts +0 -220
  792. package/src/operations/usages.ts +0 -217
  793. package/src/operationsInterfaces/groupQuotaLimits.ts +0 -67
  794. package/src/operationsInterfaces/groupQuotaLimitsRequest.ts +0 -158
  795. package/src/operationsInterfaces/groupQuotaLocationSettings.ts +0 -174
  796. package/src/operationsInterfaces/groupQuotaSubscriptionAllocation.ts +0 -64
  797. package/src/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.ts +0 -163
  798. package/src/operationsInterfaces/groupQuotaSubscriptionRequests.ts +0 -50
  799. package/src/operationsInterfaces/groupQuotaSubscriptions.ts +0 -151
  800. package/src/operationsInterfaces/groupQuotaUsages.ts +0 -32
  801. package/src/operationsInterfaces/groupQuotas.ts +0 -165
  802. package/src/operationsInterfaces/index.ts +0 -21
  803. package/src/operationsInterfaces/quota.ts +0 -167
  804. package/src/operationsInterfaces/quotaOperation.ts +0 -22
  805. package/src/operationsInterfaces/quotaRequestStatus.ts +0 -51
  806. package/src/operationsInterfaces/usages.ts +0 -51
  807. package/src/pagingHelper.ts +0 -39
  808. package/tsconfig.json +0 -33
  809. package/types/arm-quota.d.ts +0 -2819
  810. package/types/tsdoc-metadata.json +0 -11
  811. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  812. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  813. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  814. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotaLimits.js +0 -0
  815. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotaLimitsRequest.js +0 -0
  816. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotaSubscriptionAllocation.js +0 -0
  817. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotaSubscriptionAllocationRequest.js +0 -0
  818. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotaSubscriptionRequests.js +0 -0
  819. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotaSubscriptions.js +0 -0
  820. /package/{dist-esm/src → dist/browser}/operationsInterfaces/groupQuotas.js +0 -0
  821. /package/{dist-esm/src → dist/browser}/operationsInterfaces/quota.js +0 -0
  822. /package/{dist-esm/src → dist/browser}/operationsInterfaces/quotaOperation.js +0 -0
  823. /package/{dist-esm/src → dist/browser}/operationsInterfaces/quotaRequestStatus.js +0 -0
  824. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
  825. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  826. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  827. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -0,0 +1,147 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Quota } from "../operationsInterfaces/index.js";
3
+ import { AzureQuotaExtensionAPI } from "../azureQuotaExtensionAPI.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { CurrentQuotaLimitBase, QuotaListOptionalParams, QuotaGetOptionalParams, QuotaGetResponse, QuotaCreateOrUpdateOptionalParams, QuotaCreateOrUpdateResponse, QuotaUpdateOptionalParams, QuotaUpdateResponse } from "../models/index.js";
6
+ /** Class containing Quota operations. */
7
+ export declare class QuotaImpl implements Quota {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Quota class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: AzureQuotaExtensionAPI);
14
+ /**
15
+ * Get a list of current quota limits of all resources for the specified scope. The response from this
16
+ * GET operation can be leveraged to submit requests to update a quota.
17
+ * @param scope The target Azure resource URI. For example,
18
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
19
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
20
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
21
+ * resource.
22
+ * @param options The options parameters.
23
+ */
24
+ list(scope: string, options?: QuotaListOptionalParams): PagedAsyncIterableIterator<CurrentQuotaLimitBase>;
25
+ private listPagingPage;
26
+ private listPagingAll;
27
+ /**
28
+ * Get the quota limit of a resource. The response can be used to determine the remaining quota to
29
+ * calculate a new quota limit that can be submitted with a PUT request.
30
+ * @param resourceName Resource name for a given resource provider. For example:
31
+ * - SKU name for Microsoft.Compute
32
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
33
+ * For Microsoft.Network PublicIPAddresses.
34
+ * @param scope The target Azure resource URI. For example,
35
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
36
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
37
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
38
+ * resource.
39
+ * @param options The options parameters.
40
+ */
41
+ get(resourceName: string, scope: string, options?: QuotaGetOptionalParams): Promise<QuotaGetResponse>;
42
+ /**
43
+ * Create or update the quota limit for the specified resource with the requested value. To update the
44
+ * quota, follow these steps:
45
+ * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific
46
+ * resource and to calculate the new quota limit. These steps are detailed in [this
47
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
48
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
49
+ * detailed status of the request.
50
+ * @param resourceName Resource name for a given resource provider. For example:
51
+ * - SKU name for Microsoft.Compute
52
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
53
+ * For Microsoft.Network PublicIPAddresses.
54
+ * @param scope The target Azure resource URI. For example,
55
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
56
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
57
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
58
+ * resource.
59
+ * @param createQuotaRequest Quota request payload.
60
+ * @param options The options parameters.
61
+ */
62
+ beginCreateOrUpdate(resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<QuotaCreateOrUpdateResponse>, QuotaCreateOrUpdateResponse>>;
63
+ /**
64
+ * Create or update the quota limit for the specified resource with the requested value. To update the
65
+ * quota, follow these steps:
66
+ * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific
67
+ * resource and to calculate the new quota limit. These steps are detailed in [this
68
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
69
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
70
+ * detailed status of the request.
71
+ * @param resourceName Resource name for a given resource provider. For example:
72
+ * - SKU name for Microsoft.Compute
73
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
74
+ * For Microsoft.Network PublicIPAddresses.
75
+ * @param scope The target Azure resource URI. For example,
76
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
77
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
78
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
79
+ * resource.
80
+ * @param createQuotaRequest Quota request payload.
81
+ * @param options The options parameters.
82
+ */
83
+ beginCreateOrUpdateAndWait(resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams): Promise<QuotaCreateOrUpdateResponse>;
84
+ /**
85
+ * Update the quota limit for a specific resource to the specified value:
86
+ * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific
87
+ * resource and to calculate the new quota limit. These steps are detailed in [this
88
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
89
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
90
+ * detailed status of the request.
91
+ * @param resourceName Resource name for a given resource provider. For example:
92
+ * - SKU name for Microsoft.Compute
93
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
94
+ * For Microsoft.Network PublicIPAddresses.
95
+ * @param scope The target Azure resource URI. For example,
96
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
97
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
98
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
99
+ * resource.
100
+ * @param createQuotaRequest Quota requests payload.
101
+ * @param options The options parameters.
102
+ */
103
+ beginUpdate(resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams): Promise<SimplePollerLike<OperationState<QuotaUpdateResponse>, QuotaUpdateResponse>>;
104
+ /**
105
+ * Update the quota limit for a specific resource to the specified value:
106
+ * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific
107
+ * resource and to calculate the new quota limit. These steps are detailed in [this
108
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
109
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
110
+ * detailed status of the request.
111
+ * @param resourceName Resource name for a given resource provider. For example:
112
+ * - SKU name for Microsoft.Compute
113
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
114
+ * For Microsoft.Network PublicIPAddresses.
115
+ * @param scope The target Azure resource URI. For example,
116
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
117
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
118
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
119
+ * resource.
120
+ * @param createQuotaRequest Quota requests payload.
121
+ * @param options The options parameters.
122
+ */
123
+ beginUpdateAndWait(resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams): Promise<QuotaUpdateResponse>;
124
+ /**
125
+ * Get a list of current quota limits of all resources for the specified scope. The response from this
126
+ * GET operation can be leveraged to submit requests to update a quota.
127
+ * @param scope The target Azure resource URI. For example,
128
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
129
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
130
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
131
+ * resource.
132
+ * @param options The options parameters.
133
+ */
134
+ private _list;
135
+ /**
136
+ * ListNext
137
+ * @param scope The target Azure resource URI. For example,
138
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
139
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
140
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
141
+ * resource.
142
+ * @param nextLink The nextLink from the previous successful call to the List method.
143
+ * @param options The options parameters.
144
+ */
145
+ private _listNext;
146
+ }
147
+ //# sourceMappingURL=quota.d.ts.map
@@ -0,0 +1 @@
1
+ {"version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B,EAAE,qBAAqB,EACzC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAUvC;;;;;;;;;;;;;;;;;;OAkBG;IACG,WAAW,CACf,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,kBAAkB,EAAE,qBAAqB,EACzC,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,CAC3E;IAwDD;;;;;;;;;;;;;;;;;;OAkBG;IACG,kBAAkB,CACtB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,kBAAkB,EAAE,qBAAqB,EACzC,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAU/B;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;;;;;OASG;IACH,OAAO,CAAC,SAAS;CAUlB"}
@@ -0,0 +1,404 @@
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.QuotaImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing Quota operations. */
20
+ class QuotaImpl {
21
+ /**
22
+ * Initialize a new instance of the class Quota class.
23
+ * @param client Reference to the service client
24
+ */
25
+ constructor(client) {
26
+ this.client = client;
27
+ }
28
+ /**
29
+ * Get a list of current quota limits of all resources for the specified scope. The response from this
30
+ * GET operation can be leveraged to submit requests to update a quota.
31
+ * @param scope The target Azure resource URI. For example,
32
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
33
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
34
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
35
+ * resource.
36
+ * @param options The options parameters.
37
+ */
38
+ list(scope, options) {
39
+ const iter = this.listPagingAll(scope, options);
40
+ return {
41
+ next() {
42
+ return iter.next();
43
+ },
44
+ [Symbol.asyncIterator]() {
45
+ return this;
46
+ },
47
+ byPage: (settings) => {
48
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
49
+ throw new Error("maxPageSize is not supported by this operation.");
50
+ }
51
+ return this.listPagingPage(scope, options, settings);
52
+ },
53
+ };
54
+ }
55
+ listPagingPage(scope, options, settings) {
56
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
57
+ let result;
58
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
59
+ if (!continuationToken) {
60
+ result = yield tslib_1.__await(this._list(scope, options));
61
+ let page = result.value || [];
62
+ continuationToken = result.nextLink;
63
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
64
+ yield yield tslib_1.__await(page);
65
+ }
66
+ while (continuationToken) {
67
+ result = yield tslib_1.__await(this._listNext(scope, continuationToken, options));
68
+ continuationToken = result.nextLink;
69
+ let page = result.value || [];
70
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
71
+ yield yield tslib_1.__await(page);
72
+ }
73
+ });
74
+ }
75
+ listPagingAll(scope, options) {
76
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
77
+ var _a, e_1, _b, _c;
78
+ try {
79
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(scope, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
80
+ _c = _f.value;
81
+ _d = false;
82
+ const page = _c;
83
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
84
+ }
85
+ }
86
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
87
+ finally {
88
+ try {
89
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
90
+ }
91
+ finally { if (e_1) throw e_1.error; }
92
+ }
93
+ });
94
+ }
95
+ /**
96
+ * Get the quota limit of a resource. The response can be used to determine the remaining quota to
97
+ * calculate a new quota limit that can be submitted with a PUT request.
98
+ * @param resourceName Resource name for a given resource provider. For example:
99
+ * - SKU name for Microsoft.Compute
100
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
101
+ * For Microsoft.Network PublicIPAddresses.
102
+ * @param scope The target Azure resource URI. For example,
103
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
104
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
105
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
106
+ * resource.
107
+ * @param options The options parameters.
108
+ */
109
+ get(resourceName, scope, options) {
110
+ return this.client.sendOperationRequest({ resourceName, scope, options }, getOperationSpec);
111
+ }
112
+ /**
113
+ * Create or update the quota limit for the specified resource with the requested value. To update the
114
+ * quota, follow these steps:
115
+ * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific
116
+ * resource and to calculate the new quota limit. These steps are detailed in [this
117
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
118
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
119
+ * detailed status of the request.
120
+ * @param resourceName Resource name for a given resource provider. For example:
121
+ * - SKU name for Microsoft.Compute
122
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
123
+ * For Microsoft.Network PublicIPAddresses.
124
+ * @param scope The target Azure resource URI. For example,
125
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
126
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
127
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
128
+ * resource.
129
+ * @param createQuotaRequest Quota request payload.
130
+ * @param options The options parameters.
131
+ */
132
+ async beginCreateOrUpdate(resourceName, scope, createQuotaRequest, options) {
133
+ const directSendOperation = async (args, spec) => {
134
+ return this.client.sendOperationRequest(args, spec);
135
+ };
136
+ const sendOperationFn = async (args, spec) => {
137
+ var _a;
138
+ let currentRawResponse = undefined;
139
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
140
+ const callback = (rawResponse, flatResponse) => {
141
+ currentRawResponse = rawResponse;
142
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
143
+ };
144
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
145
+ const flatResponse = await directSendOperation(updatedArgs, spec);
146
+ return {
147
+ flatResponse,
148
+ rawResponse: {
149
+ statusCode: currentRawResponse.status,
150
+ body: currentRawResponse.parsedBody,
151
+ headers: currentRawResponse.headers.toJSON(),
152
+ },
153
+ };
154
+ };
155
+ const lro = (0, lroImpl_js_1.createLroSpec)({
156
+ sendOperationFn,
157
+ args: { resourceName, scope, createQuotaRequest, options },
158
+ spec: createOrUpdateOperationSpec,
159
+ });
160
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
161
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
162
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
163
+ resourceLocationConfig: "original-uri",
164
+ });
165
+ await poller.poll();
166
+ return poller;
167
+ }
168
+ /**
169
+ * Create or update the quota limit for the specified resource with the requested value. To update the
170
+ * quota, follow these steps:
171
+ * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific
172
+ * resource and to calculate the new quota limit. These steps are detailed in [this
173
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
174
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
175
+ * detailed status of the request.
176
+ * @param resourceName Resource name for a given resource provider. For example:
177
+ * - SKU name for Microsoft.Compute
178
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
179
+ * For Microsoft.Network PublicIPAddresses.
180
+ * @param scope The target Azure resource URI. For example,
181
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
182
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
183
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
184
+ * resource.
185
+ * @param createQuotaRequest Quota request payload.
186
+ * @param options The options parameters.
187
+ */
188
+ async beginCreateOrUpdateAndWait(resourceName, scope, createQuotaRequest, options) {
189
+ const poller = await this.beginCreateOrUpdate(resourceName, scope, createQuotaRequest, options);
190
+ return poller.pollUntilDone();
191
+ }
192
+ /**
193
+ * Update the quota limit for a specific resource to the specified value:
194
+ * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific
195
+ * resource and to calculate the new quota limit. These steps are detailed in [this
196
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
197
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
198
+ * detailed status of the request.
199
+ * @param resourceName Resource name for a given resource provider. For example:
200
+ * - SKU name for Microsoft.Compute
201
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
202
+ * For Microsoft.Network PublicIPAddresses.
203
+ * @param scope The target Azure resource URI. For example,
204
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
205
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
206
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
207
+ * resource.
208
+ * @param createQuotaRequest Quota requests payload.
209
+ * @param options The options parameters.
210
+ */
211
+ async beginUpdate(resourceName, scope, createQuotaRequest, options) {
212
+ const directSendOperation = async (args, spec) => {
213
+ return this.client.sendOperationRequest(args, spec);
214
+ };
215
+ const sendOperationFn = async (args, spec) => {
216
+ var _a;
217
+ let currentRawResponse = undefined;
218
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
219
+ const callback = (rawResponse, flatResponse) => {
220
+ currentRawResponse = rawResponse;
221
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
222
+ };
223
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
224
+ const flatResponse = await directSendOperation(updatedArgs, spec);
225
+ return {
226
+ flatResponse,
227
+ rawResponse: {
228
+ statusCode: currentRawResponse.status,
229
+ body: currentRawResponse.parsedBody,
230
+ headers: currentRawResponse.headers.toJSON(),
231
+ },
232
+ };
233
+ };
234
+ const lro = (0, lroImpl_js_1.createLroSpec)({
235
+ sendOperationFn,
236
+ args: { resourceName, scope, createQuotaRequest, options },
237
+ spec: updateOperationSpec,
238
+ });
239
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
240
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
241
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
242
+ resourceLocationConfig: "original-uri",
243
+ });
244
+ await poller.poll();
245
+ return poller;
246
+ }
247
+ /**
248
+ * Update the quota limit for a specific resource to the specified value:
249
+ * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific
250
+ * resource and to calculate the new quota limit. These steps are detailed in [this
251
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
252
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
253
+ * detailed status of the request.
254
+ * @param resourceName Resource name for a given resource provider. For example:
255
+ * - SKU name for Microsoft.Compute
256
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
257
+ * For Microsoft.Network PublicIPAddresses.
258
+ * @param scope The target Azure resource URI. For example,
259
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
260
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
261
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
262
+ * resource.
263
+ * @param createQuotaRequest Quota requests payload.
264
+ * @param options The options parameters.
265
+ */
266
+ async beginUpdateAndWait(resourceName, scope, createQuotaRequest, options) {
267
+ const poller = await this.beginUpdate(resourceName, scope, createQuotaRequest, options);
268
+ return poller.pollUntilDone();
269
+ }
270
+ /**
271
+ * Get a list of current quota limits of all resources for the specified scope. The response from this
272
+ * GET operation can be leveraged to submit requests to update a quota.
273
+ * @param scope The target Azure resource URI. For example,
274
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
275
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
276
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
277
+ * resource.
278
+ * @param options The options parameters.
279
+ */
280
+ _list(scope, options) {
281
+ return this.client.sendOperationRequest({ scope, options }, listOperationSpec);
282
+ }
283
+ /**
284
+ * ListNext
285
+ * @param scope The target Azure resource URI. For example,
286
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
287
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
288
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
289
+ * resource.
290
+ * @param nextLink The nextLink from the previous successful call to the List method.
291
+ * @param options The options parameters.
292
+ */
293
+ _listNext(scope, nextLink, options) {
294
+ return this.client.sendOperationRequest({ scope, nextLink, options }, listNextOperationSpec);
295
+ }
296
+ }
297
+ exports.QuotaImpl = QuotaImpl;
298
+ // Operation Specifications
299
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
300
+ const getOperationSpec = {
301
+ path: "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}",
302
+ httpMethod: "GET",
303
+ responses: {
304
+ 200: {
305
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
306
+ headersMapper: Mappers.QuotaGetHeaders,
307
+ },
308
+ default: {
309
+ bodyMapper: Mappers.ExceptionResponse,
310
+ },
311
+ },
312
+ queryParameters: [Parameters.apiVersion],
313
+ urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],
314
+ headerParameters: [Parameters.accept],
315
+ serializer,
316
+ };
317
+ const createOrUpdateOperationSpec = {
318
+ path: "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}",
319
+ httpMethod: "PUT",
320
+ responses: {
321
+ 200: {
322
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
323
+ },
324
+ 201: {
325
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
326
+ },
327
+ 202: {
328
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
329
+ },
330
+ 204: {
331
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
332
+ },
333
+ default: {
334
+ bodyMapper: Mappers.ExceptionResponse,
335
+ },
336
+ },
337
+ requestBody: Parameters.createQuotaRequest,
338
+ queryParameters: [Parameters.apiVersion],
339
+ urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],
340
+ headerParameters: [Parameters.contentType, Parameters.accept],
341
+ mediaType: "json",
342
+ serializer,
343
+ };
344
+ const updateOperationSpec = {
345
+ path: "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}",
346
+ httpMethod: "PATCH",
347
+ responses: {
348
+ 200: {
349
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
350
+ },
351
+ 201: {
352
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
353
+ },
354
+ 202: {
355
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
356
+ },
357
+ 204: {
358
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
359
+ },
360
+ default: {
361
+ bodyMapper: Mappers.ExceptionResponse,
362
+ },
363
+ },
364
+ requestBody: Parameters.createQuotaRequest,
365
+ queryParameters: [Parameters.apiVersion],
366
+ urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],
367
+ headerParameters: [Parameters.contentType, Parameters.accept],
368
+ mediaType: "json",
369
+ serializer,
370
+ };
371
+ const listOperationSpec = {
372
+ path: "/{scope}/providers/Microsoft.Quota/quotas",
373
+ httpMethod: "GET",
374
+ responses: {
375
+ 200: {
376
+ bodyMapper: Mappers.QuotaLimits,
377
+ headersMapper: Mappers.QuotaListHeaders,
378
+ },
379
+ default: {
380
+ bodyMapper: Mappers.ExceptionResponse,
381
+ },
382
+ },
383
+ queryParameters: [Parameters.apiVersion],
384
+ urlParameters: [Parameters.$host, Parameters.scope],
385
+ headerParameters: [Parameters.accept],
386
+ serializer,
387
+ };
388
+ const listNextOperationSpec = {
389
+ path: "{nextLink}",
390
+ httpMethod: "GET",
391
+ responses: {
392
+ 200: {
393
+ bodyMapper: Mappers.QuotaLimits,
394
+ headersMapper: Mappers.QuotaListNextHeaders,
395
+ },
396
+ default: {
397
+ bodyMapper: Mappers.ExceptionResponse,
398
+ },
399
+ },
400
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
401
+ headerParameters: [Parameters.accept],
402
+ serializer,
403
+ };
404
+ //# sourceMappingURL=quota.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quota.js","sourceRoot":"","sources":["../../../src/operations/quota.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAi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C,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;YAC/B,aAAa,EAAE,OAAO,CAAC,oBAAoB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC;IACxE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Quota } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureQuotaExtensionAPI } from \"../azureQuotaExtensionAPI.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n CurrentQuotaLimitBase,\n QuotaListNextOptionalParams,\n QuotaListOptionalParams,\n QuotaListResponse,\n QuotaGetOptionalParams,\n QuotaGetResponse,\n QuotaCreateOrUpdateOptionalParams,\n QuotaCreateOrUpdateResponse,\n QuotaUpdateOptionalParams,\n QuotaUpdateResponse,\n QuotaListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Quota operations. */\nexport class QuotaImpl implements Quota {\n private readonly client: AzureQuotaExtensionAPI;\n\n /**\n * Initialize a new instance of the class Quota class.\n * @param client Reference to the service client\n */\n constructor(client: AzureQuotaExtensionAPI) {\n this.client = client;\n }\n\n /**\n * Get a list of current quota limits of all resources for the specified scope. The response from this\n * GET operation can be leveraged to submit requests to update a quota.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param options The options parameters.\n */\n public list(\n scope: string,\n options?: QuotaListOptionalParams,\n ): PagedAsyncIterableIterator<CurrentQuotaLimitBase> {\n const iter = this.listPagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(scope, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n scope: string,\n options?: QuotaListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CurrentQuotaLimitBase[]> {\n let result: QuotaListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(scope, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(scope, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n scope: string,\n options?: QuotaListOptionalParams,\n ): AsyncIterableIterator<CurrentQuotaLimitBase> {\n for await (const page of this.listPagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * Get the quota limit of a resource. The response can be used to determine the remaining quota to\n * calculate a new quota limit that can be submitted with a PUT request.\n * @param resourceName Resource name for a given resource provider. For example:\n * - SKU name for Microsoft.Compute\n * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n * For Microsoft.Network PublicIPAddresses.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param options The options parameters.\n */\n get(\n resourceName: string,\n scope: string,\n options?: QuotaGetOptionalParams,\n ): Promise<QuotaGetResponse> {\n return this.client.sendOperationRequest(\n { resourceName, scope, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update the quota limit for the specified resource with the requested value. To update the\n * quota, follow these steps:\n * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific\n * resource and to calculate the new quota limit. These steps are detailed in [this\n * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the\n * detailed status of the request.\n * @param resourceName Resource name for a given resource provider. For example:\n * - SKU name for Microsoft.Compute\n * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n * For Microsoft.Network PublicIPAddresses.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param createQuotaRequest Quota request payload.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceName: string,\n scope: string,\n createQuotaRequest: CurrentQuotaLimitBase,\n options?: QuotaCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<QuotaCreateOrUpdateResponse>,\n QuotaCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<QuotaCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceName, scope, createQuotaRequest, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n QuotaCreateOrUpdateResponse,\n OperationState<QuotaCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"original-uri\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update the quota limit for the specified resource with the requested value. To update the\n * quota, follow these steps:\n * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific\n * resource and to calculate the new quota limit. These steps are detailed in [this\n * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the\n * detailed status of the request.\n * @param resourceName Resource name for a given resource provider. For example:\n * - SKU name for Microsoft.Compute\n * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n * For Microsoft.Network PublicIPAddresses.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param createQuotaRequest Quota request payload.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceName: string,\n scope: string,\n createQuotaRequest: CurrentQuotaLimitBase,\n options?: QuotaCreateOrUpdateOptionalParams,\n ): Promise<QuotaCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceName,\n scope,\n createQuotaRequest,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update the quota limit for a specific resource to the specified value:\n * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific\n * resource and to calculate the new quota limit. These steps are detailed in [this\n * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the\n * detailed status of the request.\n * @param resourceName Resource name for a given resource provider. For example:\n * - SKU name for Microsoft.Compute\n * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n * For Microsoft.Network PublicIPAddresses.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param createQuotaRequest Quota requests payload.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceName: string,\n scope: string,\n createQuotaRequest: CurrentQuotaLimitBase,\n options?: QuotaUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<QuotaUpdateResponse>, QuotaUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<QuotaUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceName, scope, createQuotaRequest, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n QuotaUpdateResponse,\n OperationState<QuotaUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"original-uri\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the quota limit for a specific resource to the specified value:\n * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific\n * resource and to calculate the new quota limit. These steps are detailed in [this\n * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the\n * detailed status of the request.\n * @param resourceName Resource name for a given resource provider. For example:\n * - SKU name for Microsoft.Compute\n * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n * For Microsoft.Network PublicIPAddresses.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param createQuotaRequest Quota requests payload.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceName: string,\n scope: string,\n createQuotaRequest: CurrentQuotaLimitBase,\n options?: QuotaUpdateOptionalParams,\n ): Promise<QuotaUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceName,\n scope,\n createQuotaRequest,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a list of current quota limits of all resources for the specified scope. The response from this\n * GET operation can be leveraged to submit requests to update a quota.\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param options The options parameters.\n */\n private _list(\n scope: string,\n options?: QuotaListOptionalParams,\n ): Promise<QuotaListResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param scope The target Azure resource URI. For example,\n * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added\n * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific\n * resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n scope: string,\n nextLink: string,\n options?: QuotaListNextOptionalParams,\n ): Promise<QuotaListNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Quota/quotas/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n headersMapper: Mappers.QuotaGetHeaders,\n },\n default: {\n bodyMapper: Mappers.ExceptionResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Quota/quotas/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n 201: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n 202: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n 204: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n default: {\n bodyMapper: Mappers.ExceptionResponse,\n },\n },\n requestBody: Parameters.createQuotaRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Quota/quotas/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n 201: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n 202: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n 204: {\n bodyMapper: Mappers.CurrentQuotaLimitBase,\n },\n default: {\n bodyMapper: Mappers.ExceptionResponse,\n },\n },\n requestBody: Parameters.createQuotaRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Quota/quotas\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaLimits,\n headersMapper: Mappers.QuotaListHeaders,\n },\n default: {\n bodyMapper: Mappers.ExceptionResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaLimits,\n headersMapper: Mappers.QuotaListNextHeaders,\n },\n default: {\n bodyMapper: Mappers.ExceptionResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}