@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,400 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing Quota operations. */
17
+ export class QuotaImpl {
18
+ /**
19
+ * Initialize a new instance of the class Quota class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Get a list of current quota limits of all resources for the specified scope. The response from this
27
+ * GET operation can be leveraged to submit requests to update a quota.
28
+ * @param scope The target Azure resource URI. For example,
29
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
30
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
31
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
32
+ * resource.
33
+ * @param options The options parameters.
34
+ */
35
+ list(scope, options) {
36
+ const iter = this.listPagingAll(scope, options);
37
+ return {
38
+ next() {
39
+ return iter.next();
40
+ },
41
+ [Symbol.asyncIterator]() {
42
+ return this;
43
+ },
44
+ byPage: (settings) => {
45
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
46
+ throw new Error("maxPageSize is not supported by this operation.");
47
+ }
48
+ return this.listPagingPage(scope, options, settings);
49
+ },
50
+ };
51
+ }
52
+ listPagingPage(scope, options, settings) {
53
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
54
+ let result;
55
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
56
+ if (!continuationToken) {
57
+ result = yield __await(this._list(scope, options));
58
+ let page = result.value || [];
59
+ continuationToken = result.nextLink;
60
+ setContinuationToken(page, continuationToken);
61
+ yield yield __await(page);
62
+ }
63
+ while (continuationToken) {
64
+ result = yield __await(this._listNext(scope, continuationToken, options));
65
+ continuationToken = result.nextLink;
66
+ let page = result.value || [];
67
+ setContinuationToken(page, continuationToken);
68
+ yield yield __await(page);
69
+ }
70
+ });
71
+ }
72
+ listPagingAll(scope, options) {
73
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
74
+ var _a, e_1, _b, _c;
75
+ try {
76
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(scope, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
77
+ _c = _f.value;
78
+ _d = false;
79
+ const page = _c;
80
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
81
+ }
82
+ }
83
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
84
+ finally {
85
+ try {
86
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
87
+ }
88
+ finally { if (e_1) throw e_1.error; }
89
+ }
90
+ });
91
+ }
92
+ /**
93
+ * Get the quota limit of a resource. The response can be used to determine the remaining quota to
94
+ * calculate a new quota limit that can be submitted with a PUT request.
95
+ * @param resourceName Resource name for a given resource provider. For example:
96
+ * - SKU name for Microsoft.Compute
97
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
98
+ * For Microsoft.Network PublicIPAddresses.
99
+ * @param scope The target Azure resource URI. For example,
100
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
101
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
102
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
103
+ * resource.
104
+ * @param options The options parameters.
105
+ */
106
+ get(resourceName, scope, options) {
107
+ return this.client.sendOperationRequest({ resourceName, scope, options }, getOperationSpec);
108
+ }
109
+ /**
110
+ * Create or update the quota limit for the specified resource with the requested value. To update the
111
+ * quota, follow these steps:
112
+ * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific
113
+ * resource and to calculate the new quota limit. These steps are detailed in [this
114
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
115
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
116
+ * detailed status of the request.
117
+ * @param resourceName Resource name for a given resource provider. For example:
118
+ * - SKU name for Microsoft.Compute
119
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
120
+ * For Microsoft.Network PublicIPAddresses.
121
+ * @param scope The target Azure resource URI. For example,
122
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
123
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
124
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
125
+ * resource.
126
+ * @param createQuotaRequest Quota request payload.
127
+ * @param options The options parameters.
128
+ */
129
+ async beginCreateOrUpdate(resourceName, scope, createQuotaRequest, options) {
130
+ const directSendOperation = async (args, spec) => {
131
+ return this.client.sendOperationRequest(args, spec);
132
+ };
133
+ const sendOperationFn = async (args, spec) => {
134
+ var _a;
135
+ let currentRawResponse = undefined;
136
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
137
+ const callback = (rawResponse, flatResponse) => {
138
+ currentRawResponse = rawResponse;
139
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
140
+ };
141
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
142
+ const flatResponse = await directSendOperation(updatedArgs, spec);
143
+ return {
144
+ flatResponse,
145
+ rawResponse: {
146
+ statusCode: currentRawResponse.status,
147
+ body: currentRawResponse.parsedBody,
148
+ headers: currentRawResponse.headers.toJSON(),
149
+ },
150
+ };
151
+ };
152
+ const lro = createLroSpec({
153
+ sendOperationFn,
154
+ args: { resourceName, scope, createQuotaRequest, options },
155
+ spec: createOrUpdateOperationSpec,
156
+ });
157
+ const poller = await createHttpPoller(lro, {
158
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
159
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
160
+ resourceLocationConfig: "original-uri",
161
+ });
162
+ await poller.poll();
163
+ return poller;
164
+ }
165
+ /**
166
+ * Create or update the quota limit for the specified resource with the requested value. To update the
167
+ * quota, follow these steps:
168
+ * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific
169
+ * resource and to calculate the new quota limit. These steps are detailed in [this
170
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
171
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
172
+ * detailed status of the request.
173
+ * @param resourceName Resource name for a given resource provider. For example:
174
+ * - SKU name for Microsoft.Compute
175
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
176
+ * For Microsoft.Network PublicIPAddresses.
177
+ * @param scope The target Azure resource URI. For example,
178
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
179
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
180
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
181
+ * resource.
182
+ * @param createQuotaRequest Quota request payload.
183
+ * @param options The options parameters.
184
+ */
185
+ async beginCreateOrUpdateAndWait(resourceName, scope, createQuotaRequest, options) {
186
+ const poller = await this.beginCreateOrUpdate(resourceName, scope, createQuotaRequest, options);
187
+ return poller.pollUntilDone();
188
+ }
189
+ /**
190
+ * Update the quota limit for a specific resource to the specified value:
191
+ * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific
192
+ * resource and to calculate the new quota limit. These steps are detailed in [this
193
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
194
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
195
+ * detailed status of the request.
196
+ * @param resourceName Resource name for a given resource provider. For example:
197
+ * - SKU name for Microsoft.Compute
198
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
199
+ * For Microsoft.Network PublicIPAddresses.
200
+ * @param scope The target Azure resource URI. For example,
201
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
202
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
203
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
204
+ * resource.
205
+ * @param createQuotaRequest Quota requests payload.
206
+ * @param options The options parameters.
207
+ */
208
+ async beginUpdate(resourceName, scope, createQuotaRequest, options) {
209
+ const directSendOperation = async (args, spec) => {
210
+ return this.client.sendOperationRequest(args, spec);
211
+ };
212
+ const sendOperationFn = async (args, spec) => {
213
+ var _a;
214
+ let currentRawResponse = undefined;
215
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
216
+ const callback = (rawResponse, flatResponse) => {
217
+ currentRawResponse = rawResponse;
218
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
219
+ };
220
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
221
+ const flatResponse = await directSendOperation(updatedArgs, spec);
222
+ return {
223
+ flatResponse,
224
+ rawResponse: {
225
+ statusCode: currentRawResponse.status,
226
+ body: currentRawResponse.parsedBody,
227
+ headers: currentRawResponse.headers.toJSON(),
228
+ },
229
+ };
230
+ };
231
+ const lro = createLroSpec({
232
+ sendOperationFn,
233
+ args: { resourceName, scope, createQuotaRequest, options },
234
+ spec: updateOperationSpec,
235
+ });
236
+ const poller = await createHttpPoller(lro, {
237
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
238
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
239
+ resourceLocationConfig: "original-uri",
240
+ });
241
+ await poller.poll();
242
+ return poller;
243
+ }
244
+ /**
245
+ * Update the quota limit for a specific resource to the specified value:
246
+ * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific
247
+ * resource and to calculate the new quota limit. These steps are detailed in [this
248
+ * example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).
249
+ * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the
250
+ * detailed status of the request.
251
+ * @param resourceName Resource name for a given resource provider. For example:
252
+ * - SKU name for Microsoft.Compute
253
+ * - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices
254
+ * For Microsoft.Network PublicIPAddresses.
255
+ * @param scope The target Azure resource URI. For example,
256
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
257
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
258
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
259
+ * resource.
260
+ * @param createQuotaRequest Quota requests payload.
261
+ * @param options The options parameters.
262
+ */
263
+ async beginUpdateAndWait(resourceName, scope, createQuotaRequest, options) {
264
+ const poller = await this.beginUpdate(resourceName, scope, createQuotaRequest, options);
265
+ return poller.pollUntilDone();
266
+ }
267
+ /**
268
+ * Get a list of current quota limits of all resources for the specified scope. The response from this
269
+ * GET operation can be leveraged to submit requests to update a quota.
270
+ * @param scope The target Azure resource URI. For example,
271
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
272
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
273
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
274
+ * resource.
275
+ * @param options The options parameters.
276
+ */
277
+ _list(scope, options) {
278
+ return this.client.sendOperationRequest({ scope, options }, listOperationSpec);
279
+ }
280
+ /**
281
+ * ListNext
282
+ * @param scope The target Azure resource URI. For example,
283
+ * `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.
284
+ * This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added
285
+ * after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific
286
+ * resource.
287
+ * @param nextLink The nextLink from the previous successful call to the List method.
288
+ * @param options The options parameters.
289
+ */
290
+ _listNext(scope, nextLink, options) {
291
+ return this.client.sendOperationRequest({ scope, nextLink, options }, listNextOperationSpec);
292
+ }
293
+ }
294
+ // Operation Specifications
295
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
296
+ const getOperationSpec = {
297
+ path: "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}",
298
+ httpMethod: "GET",
299
+ responses: {
300
+ 200: {
301
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
302
+ headersMapper: Mappers.QuotaGetHeaders,
303
+ },
304
+ default: {
305
+ bodyMapper: Mappers.ExceptionResponse,
306
+ },
307
+ },
308
+ queryParameters: [Parameters.apiVersion],
309
+ urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],
310
+ headerParameters: [Parameters.accept],
311
+ serializer,
312
+ };
313
+ const createOrUpdateOperationSpec = {
314
+ path: "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}",
315
+ httpMethod: "PUT",
316
+ responses: {
317
+ 200: {
318
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
319
+ },
320
+ 201: {
321
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
322
+ },
323
+ 202: {
324
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
325
+ },
326
+ 204: {
327
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
328
+ },
329
+ default: {
330
+ bodyMapper: Mappers.ExceptionResponse,
331
+ },
332
+ },
333
+ requestBody: Parameters.createQuotaRequest,
334
+ queryParameters: [Parameters.apiVersion],
335
+ urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],
336
+ headerParameters: [Parameters.contentType, Parameters.accept],
337
+ mediaType: "json",
338
+ serializer,
339
+ };
340
+ const updateOperationSpec = {
341
+ path: "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}",
342
+ httpMethod: "PATCH",
343
+ responses: {
344
+ 200: {
345
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
346
+ },
347
+ 201: {
348
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
349
+ },
350
+ 202: {
351
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
352
+ },
353
+ 204: {
354
+ bodyMapper: Mappers.CurrentQuotaLimitBase,
355
+ },
356
+ default: {
357
+ bodyMapper: Mappers.ExceptionResponse,
358
+ },
359
+ },
360
+ requestBody: Parameters.createQuotaRequest,
361
+ queryParameters: [Parameters.apiVersion],
362
+ urlParameters: [Parameters.$host, Parameters.resourceName, Parameters.scope],
363
+ headerParameters: [Parameters.contentType, Parameters.accept],
364
+ mediaType: "json",
365
+ serializer,
366
+ };
367
+ const listOperationSpec = {
368
+ path: "/{scope}/providers/Microsoft.Quota/quotas",
369
+ httpMethod: "GET",
370
+ responses: {
371
+ 200: {
372
+ bodyMapper: Mappers.QuotaLimits,
373
+ headersMapper: Mappers.QuotaListHeaders,
374
+ },
375
+ default: {
376
+ bodyMapper: Mappers.ExceptionResponse,
377
+ },
378
+ },
379
+ queryParameters: [Parameters.apiVersion],
380
+ urlParameters: [Parameters.$host, Parameters.scope],
381
+ headerParameters: [Parameters.accept],
382
+ serializer,
383
+ };
384
+ const listNextOperationSpec = {
385
+ path: "{nextLink}",
386
+ httpMethod: "GET",
387
+ responses: {
388
+ 200: {
389
+ bodyMapper: Mappers.QuotaLimits,
390
+ headersMapper: Mappers.QuotaListNextHeaders,
391
+ },
392
+ default: {
393
+ bodyMapper: Mappers.ExceptionResponse,
394
+ },
395
+ },
396
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
397
+ headerParameters: [Parameters.accept],
398
+ serializer,
399
+ };
400
+ //# sourceMappingURL=quota.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quota.js","sourceRoot":"","sources":["../../../src/operations/quota.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,yCAAyC;AACzC,M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AC,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"]}