@azure/arm-cognitiveservices 8.0.0-alpha.20251117.1 → 8.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 (865) hide show
  1. package/dist/browser/cognitiveServicesManagementClient.d.ts +5 -3
  2. package/dist/browser/cognitiveServicesManagementClient.d.ts.map +1 -1
  3. package/dist/browser/cognitiveServicesManagementClient.js +7 -3
  4. package/dist/browser/cognitiveServicesManagementClient.js.map +1 -1
  5. package/dist/browser/lroImpl.d.ts +1 -1
  6. package/dist/browser/lroImpl.d.ts.map +1 -1
  7. package/dist/browser/lroImpl.js.map +1 -1
  8. package/dist/browser/models/index.d.ts +342 -107
  9. package/dist/browser/models/index.d.ts.map +1 -1
  10. package/dist/browser/models/index.js +45 -17
  11. package/dist/browser/models/index.js.map +1 -1
  12. package/dist/browser/models/mappers.d.ts +18 -3
  13. package/dist/browser/models/mappers.d.ts.map +1 -1
  14. package/dist/browser/models/mappers.js +536 -128
  15. package/dist/browser/models/mappers.js.map +1 -1
  16. package/dist/browser/models/parameters.d.ts +6 -1
  17. package/dist/browser/models/parameters.d.ts.map +1 -1
  18. package/dist/browser/models/parameters.js +37 -2
  19. package/dist/browser/models/parameters.js.map +1 -1
  20. package/dist/browser/operations/accountCapabilityHosts.d.ts +29 -4
  21. package/dist/browser/operations/accountCapabilityHosts.d.ts.map +1 -1
  22. package/dist/browser/operations/accountCapabilityHosts.js +109 -0
  23. package/dist/browser/operations/accountCapabilityHosts.js.map +1 -1
  24. package/dist/browser/operations/accountConnections.d.ts +4 -4
  25. package/dist/browser/operations/accountConnections.d.ts.map +1 -1
  26. package/dist/browser/operations/accountConnections.js +2 -2
  27. package/dist/browser/operations/accountConnections.js.map +1 -1
  28. package/dist/browser/operations/accounts.d.ts +5 -5
  29. package/dist/browser/operations/accounts.d.ts.map +1 -1
  30. package/dist/browser/operations/accounts.js +6 -6
  31. package/dist/browser/operations/accounts.js.map +1 -1
  32. package/dist/browser/operations/commitmentPlans.d.ts +5 -5
  33. package/dist/browser/operations/commitmentPlans.d.ts.map +1 -1
  34. package/dist/browser/operations/commitmentPlans.js +8 -8
  35. package/dist/browser/operations/commitmentPlans.js.map +1 -1
  36. package/dist/browser/operations/commitmentTiers.d.ts +4 -4
  37. package/dist/browser/operations/commitmentTiers.d.ts.map +1 -1
  38. package/dist/browser/operations/commitmentTiers.js +2 -2
  39. package/dist/browser/operations/commitmentTiers.js.map +1 -1
  40. package/dist/browser/operations/defenderForAISettings.d.ts +4 -4
  41. package/dist/browser/operations/defenderForAISettings.d.ts.map +1 -1
  42. package/dist/browser/operations/defenderForAISettings.js +2 -2
  43. package/dist/browser/operations/defenderForAISettings.js.map +1 -1
  44. package/dist/browser/operations/deletedAccounts.d.ts +5 -5
  45. package/dist/browser/operations/deletedAccounts.d.ts.map +1 -1
  46. package/dist/browser/operations/deletedAccounts.js +2 -2
  47. package/dist/browser/operations/deletedAccounts.js.map +1 -1
  48. package/dist/browser/operations/deployments.d.ts +5 -5
  49. package/dist/browser/operations/deployments.d.ts.map +1 -1
  50. package/dist/browser/operations/deployments.js +4 -4
  51. package/dist/browser/operations/deployments.js.map +1 -1
  52. package/dist/browser/operations/encryptionScopes.d.ts +5 -5
  53. package/dist/browser/operations/encryptionScopes.d.ts.map +1 -1
  54. package/dist/browser/operations/encryptionScopes.js +2 -2
  55. package/dist/browser/operations/encryptionScopes.js.map +1 -1
  56. package/dist/browser/operations/index.d.ts +2 -0
  57. package/dist/browser/operations/index.d.ts.map +1 -1
  58. package/dist/browser/operations/index.js +2 -0
  59. package/dist/browser/operations/index.js.map +1 -1
  60. package/dist/browser/operations/locationBasedModelCapacities.d.ts +4 -4
  61. package/dist/browser/operations/locationBasedModelCapacities.d.ts.map +1 -1
  62. package/dist/browser/operations/locationBasedModelCapacities.js +2 -2
  63. package/dist/browser/operations/locationBasedModelCapacities.js.map +1 -1
  64. package/dist/browser/operations/modelCapacities.d.ts +4 -4
  65. package/dist/browser/operations/modelCapacities.d.ts.map +1 -1
  66. package/dist/browser/operations/modelCapacities.js +2 -2
  67. package/dist/browser/operations/modelCapacities.js.map +1 -1
  68. package/dist/browser/operations/models.d.ts +4 -4
  69. package/dist/browser/operations/models.d.ts.map +1 -1
  70. package/dist/browser/operations/models.js +2 -2
  71. package/dist/browser/operations/models.js.map +1 -1
  72. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +5 -5
  73. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  74. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +2 -2
  75. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  76. package/dist/browser/operations/operations.d.ts +4 -4
  77. package/dist/browser/operations/operations.d.ts.map +1 -1
  78. package/dist/browser/operations/operations.js +2 -2
  79. package/dist/browser/operations/operations.js.map +1 -1
  80. package/dist/browser/operations/privateEndpointConnections.d.ts +4 -4
  81. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  82. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  83. package/dist/browser/operations/privateLinkResources.d.ts +3 -3
  84. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  85. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  86. package/dist/browser/operations/projectCapabilityHosts.d.ts +34 -6
  87. package/dist/browser/operations/projectCapabilityHosts.d.ts.map +1 -1
  88. package/dist/browser/operations/projectCapabilityHosts.js +120 -6
  89. package/dist/browser/operations/projectCapabilityHosts.js.map +1 -1
  90. package/dist/browser/operations/projectConnections.d.ts +4 -4
  91. package/dist/browser/operations/projectConnections.d.ts.map +1 -1
  92. package/dist/browser/operations/projectConnections.js +2 -2
  93. package/dist/browser/operations/projectConnections.js.map +1 -1
  94. package/dist/browser/operations/projects.d.ts +5 -5
  95. package/dist/browser/operations/projects.d.ts.map +1 -1
  96. package/dist/browser/operations/projects.js +2 -2
  97. package/dist/browser/operations/projects.js.map +1 -1
  98. package/dist/browser/operations/quotaTiers.d.ts +55 -0
  99. package/dist/browser/operations/quotaTiers.d.ts.map +1 -0
  100. package/dist/browser/operations/quotaTiers.js +195 -0
  101. package/dist/browser/operations/quotaTiers.js.map +1 -0
  102. package/dist/browser/operations/raiBlocklistItems.d.ts +5 -5
  103. package/dist/browser/operations/raiBlocklistItems.d.ts.map +1 -1
  104. package/dist/browser/operations/raiBlocklistItems.js +2 -2
  105. package/dist/browser/operations/raiBlocklistItems.js.map +1 -1
  106. package/dist/browser/operations/raiBlocklists.d.ts +5 -5
  107. package/dist/browser/operations/raiBlocklists.d.ts.map +1 -1
  108. package/dist/browser/operations/raiBlocklists.js +2 -2
  109. package/dist/browser/operations/raiBlocklists.js.map +1 -1
  110. package/dist/browser/operations/raiContentFilters.d.ts +4 -4
  111. package/dist/browser/operations/raiContentFilters.d.ts.map +1 -1
  112. package/dist/browser/operations/raiContentFilters.js +2 -2
  113. package/dist/browser/operations/raiContentFilters.js.map +1 -1
  114. package/dist/browser/operations/raiPolicies.d.ts +5 -5
  115. package/dist/browser/operations/raiPolicies.d.ts.map +1 -1
  116. package/dist/browser/operations/raiPolicies.js +2 -2
  117. package/dist/browser/operations/raiPolicies.js.map +1 -1
  118. package/dist/browser/operations/raiTopics.d.ts +72 -0
  119. package/dist/browser/operations/raiTopics.d.ts.map +1 -0
  120. package/dist/browser/operations/raiTopics.js +290 -0
  121. package/dist/browser/operations/raiTopics.js.map +1 -0
  122. package/dist/browser/operations/resourceSkus.d.ts +4 -4
  123. package/dist/browser/operations/resourceSkus.d.ts.map +1 -1
  124. package/dist/browser/operations/resourceSkus.js +2 -2
  125. package/dist/browser/operations/resourceSkus.js.map +1 -1
  126. package/dist/browser/operations/usages.d.ts +4 -4
  127. package/dist/browser/operations/usages.d.ts.map +1 -1
  128. package/dist/browser/operations/usages.js +2 -2
  129. package/dist/browser/operations/usages.js.map +1 -1
  130. package/dist/browser/operationsInterfaces/accountCapabilityHosts.d.ts +10 -2
  131. package/dist/browser/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
  132. package/dist/browser/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
  133. package/dist/browser/operationsInterfaces/accountConnections.d.ts +2 -2
  134. package/dist/browser/operationsInterfaces/accountConnections.d.ts.map +1 -1
  135. package/dist/browser/operationsInterfaces/accountConnections.js.map +1 -1
  136. package/dist/browser/operationsInterfaces/accounts.d.ts +3 -3
  137. package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -1
  138. package/dist/browser/operationsInterfaces/accounts.js.map +1 -1
  139. package/dist/browser/operationsInterfaces/commitmentPlans.d.ts +3 -3
  140. package/dist/browser/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
  141. package/dist/browser/operationsInterfaces/commitmentPlans.js.map +1 -1
  142. package/dist/browser/operationsInterfaces/commitmentTiers.d.ts +2 -2
  143. package/dist/browser/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
  144. package/dist/browser/operationsInterfaces/commitmentTiers.js.map +1 -1
  145. package/dist/browser/operationsInterfaces/defenderForAISettings.d.ts +2 -2
  146. package/dist/browser/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
  147. package/dist/browser/operationsInterfaces/defenderForAISettings.js.map +1 -1
  148. package/dist/browser/operationsInterfaces/deletedAccounts.d.ts +3 -3
  149. package/dist/browser/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
  150. package/dist/browser/operationsInterfaces/deletedAccounts.js.map +1 -1
  151. package/dist/browser/operationsInterfaces/deployments.d.ts +3 -3
  152. package/dist/browser/operationsInterfaces/deployments.d.ts.map +1 -1
  153. package/dist/browser/operationsInterfaces/deployments.js.map +1 -1
  154. package/dist/browser/operationsInterfaces/encryptionScopes.d.ts +3 -3
  155. package/dist/browser/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
  156. package/dist/browser/operationsInterfaces/encryptionScopes.js.map +1 -1
  157. package/dist/browser/operationsInterfaces/index.d.ts +2 -0
  158. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  159. package/dist/browser/operationsInterfaces/index.js +2 -0
  160. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  161. package/dist/browser/operationsInterfaces/locationBasedModelCapacities.d.ts +2 -2
  162. package/dist/browser/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
  163. package/dist/browser/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
  164. package/dist/browser/operationsInterfaces/modelCapacities.d.ts +2 -2
  165. package/dist/browser/operationsInterfaces/modelCapacities.d.ts.map +1 -1
  166. package/dist/browser/operationsInterfaces/modelCapacities.js.map +1 -1
  167. package/dist/browser/operationsInterfaces/models.d.ts +2 -2
  168. package/dist/browser/operationsInterfaces/models.d.ts.map +1 -1
  169. package/dist/browser/operationsInterfaces/models.js.map +1 -1
  170. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +3 -3
  171. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  172. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  173. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  174. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  175. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  176. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  177. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  178. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  179. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +1 -1
  180. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  181. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  182. package/dist/browser/operationsInterfaces/projectCapabilityHosts.d.ts +13 -4
  183. package/dist/browser/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
  184. package/dist/browser/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
  185. package/dist/browser/operationsInterfaces/projectConnections.d.ts +2 -2
  186. package/dist/browser/operationsInterfaces/projectConnections.d.ts.map +1 -1
  187. package/dist/browser/operationsInterfaces/projectConnections.js.map +1 -1
  188. package/dist/browser/operationsInterfaces/projects.d.ts +3 -3
  189. package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -1
  190. package/dist/browser/operationsInterfaces/projects.js.map +1 -1
  191. package/dist/browser/operationsInterfaces/quotaTiers.d.ts +34 -0
  192. package/dist/browser/operationsInterfaces/quotaTiers.d.ts.map +1 -0
  193. package/dist/browser/operationsInterfaces/quotaTiers.js +4 -0
  194. package/dist/browser/operationsInterfaces/quotaTiers.js.map +1 -0
  195. package/dist/browser/operationsInterfaces/raiBlocklistItems.d.ts +3 -3
  196. package/dist/browser/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
  197. package/dist/browser/operationsInterfaces/raiBlocklistItems.js.map +1 -1
  198. package/dist/browser/operationsInterfaces/raiBlocklists.d.ts +3 -3
  199. package/dist/browser/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
  200. package/dist/browser/operationsInterfaces/raiBlocklists.js.map +1 -1
  201. package/dist/browser/operationsInterfaces/raiContentFilters.d.ts +2 -2
  202. package/dist/browser/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
  203. package/dist/browser/operationsInterfaces/raiContentFilters.js.map +1 -1
  204. package/dist/browser/operationsInterfaces/raiPolicies.d.ts +3 -3
  205. package/dist/browser/operationsInterfaces/raiPolicies.d.ts.map +1 -1
  206. package/dist/browser/operationsInterfaces/raiPolicies.js.map +1 -1
  207. package/dist/browser/operationsInterfaces/raiTopics.d.ts +47 -0
  208. package/dist/browser/operationsInterfaces/raiTopics.d.ts.map +1 -0
  209. package/dist/browser/operationsInterfaces/raiTopics.js +4 -0
  210. package/dist/browser/operationsInterfaces/raiTopics.js.map +1 -0
  211. package/dist/browser/operationsInterfaces/resourceSkus.d.ts +2 -2
  212. package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  213. package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
  214. package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
  215. package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
  216. package/dist/browser/operationsInterfaces/usages.js.map +1 -1
  217. package/dist/commonjs/cognitiveServicesManagementClient.d.ts +5 -3
  218. package/dist/commonjs/cognitiveServicesManagementClient.d.ts.map +1 -1
  219. package/dist/commonjs/cognitiveServicesManagementClient.js +6 -2
  220. package/dist/commonjs/cognitiveServicesManagementClient.js.map +1 -1
  221. package/dist/commonjs/lroImpl.d.ts +1 -1
  222. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  223. package/dist/commonjs/lroImpl.js.map +1 -1
  224. package/dist/commonjs/models/index.d.ts +342 -107
  225. package/dist/commonjs/models/index.d.ts.map +1 -1
  226. package/dist/commonjs/models/index.js +46 -18
  227. package/dist/commonjs/models/index.js.map +1 -1
  228. package/dist/commonjs/models/mappers.d.ts +18 -3
  229. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  230. package/dist/commonjs/models/mappers.js +539 -131
  231. package/dist/commonjs/models/mappers.js.map +1 -1
  232. package/dist/commonjs/models/parameters.d.ts +6 -1
  233. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  234. package/dist/commonjs/models/parameters.js +38 -3
  235. package/dist/commonjs/models/parameters.js.map +1 -1
  236. package/dist/commonjs/operations/accountCapabilityHosts.d.ts +29 -4
  237. package/dist/commonjs/operations/accountCapabilityHosts.d.ts.map +1 -1
  238. package/dist/commonjs/operations/accountCapabilityHosts.js +109 -0
  239. package/dist/commonjs/operations/accountCapabilityHosts.js.map +1 -1
  240. package/dist/commonjs/operations/accountConnections.d.ts +4 -4
  241. package/dist/commonjs/operations/accountConnections.d.ts.map +1 -1
  242. package/dist/commonjs/operations/accountConnections.js +2 -2
  243. package/dist/commonjs/operations/accountConnections.js.map +1 -1
  244. package/dist/commonjs/operations/accounts.d.ts +5 -5
  245. package/dist/commonjs/operations/accounts.d.ts.map +1 -1
  246. package/dist/commonjs/operations/accounts.js +6 -6
  247. package/dist/commonjs/operations/accounts.js.map +1 -1
  248. package/dist/commonjs/operations/commitmentPlans.d.ts +5 -5
  249. package/dist/commonjs/operations/commitmentPlans.d.ts.map +1 -1
  250. package/dist/commonjs/operations/commitmentPlans.js +8 -8
  251. package/dist/commonjs/operations/commitmentPlans.js.map +1 -1
  252. package/dist/commonjs/operations/commitmentTiers.d.ts +4 -4
  253. package/dist/commonjs/operations/commitmentTiers.d.ts.map +1 -1
  254. package/dist/commonjs/operations/commitmentTiers.js +2 -2
  255. package/dist/commonjs/operations/commitmentTiers.js.map +1 -1
  256. package/dist/commonjs/operations/defenderForAISettings.d.ts +4 -4
  257. package/dist/commonjs/operations/defenderForAISettings.d.ts.map +1 -1
  258. package/dist/commonjs/operations/defenderForAISettings.js +2 -2
  259. package/dist/commonjs/operations/defenderForAISettings.js.map +1 -1
  260. package/dist/commonjs/operations/deletedAccounts.d.ts +5 -5
  261. package/dist/commonjs/operations/deletedAccounts.d.ts.map +1 -1
  262. package/dist/commonjs/operations/deletedAccounts.js +2 -2
  263. package/dist/commonjs/operations/deletedAccounts.js.map +1 -1
  264. package/dist/commonjs/operations/deployments.d.ts +5 -5
  265. package/dist/commonjs/operations/deployments.d.ts.map +1 -1
  266. package/dist/commonjs/operations/deployments.js +4 -4
  267. package/dist/commonjs/operations/deployments.js.map +1 -1
  268. package/dist/commonjs/operations/encryptionScopes.d.ts +5 -5
  269. package/dist/commonjs/operations/encryptionScopes.d.ts.map +1 -1
  270. package/dist/commonjs/operations/encryptionScopes.js +2 -2
  271. package/dist/commonjs/operations/encryptionScopes.js.map +1 -1
  272. package/dist/commonjs/operations/index.d.ts +2 -0
  273. package/dist/commonjs/operations/index.d.ts.map +1 -1
  274. package/dist/commonjs/operations/index.js +2 -0
  275. package/dist/commonjs/operations/index.js.map +1 -1
  276. package/dist/commonjs/operations/locationBasedModelCapacities.d.ts +4 -4
  277. package/dist/commonjs/operations/locationBasedModelCapacities.d.ts.map +1 -1
  278. package/dist/commonjs/operations/locationBasedModelCapacities.js +2 -2
  279. package/dist/commonjs/operations/locationBasedModelCapacities.js.map +1 -1
  280. package/dist/commonjs/operations/modelCapacities.d.ts +4 -4
  281. package/dist/commonjs/operations/modelCapacities.d.ts.map +1 -1
  282. package/dist/commonjs/operations/modelCapacities.js +2 -2
  283. package/dist/commonjs/operations/modelCapacities.js.map +1 -1
  284. package/dist/commonjs/operations/models.d.ts +4 -4
  285. package/dist/commonjs/operations/models.d.ts.map +1 -1
  286. package/dist/commonjs/operations/models.js +2 -2
  287. package/dist/commonjs/operations/models.js.map +1 -1
  288. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +5 -5
  289. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  290. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +2 -2
  291. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  292. package/dist/commonjs/operations/operations.d.ts +4 -4
  293. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  294. package/dist/commonjs/operations/operations.js +2 -2
  295. package/dist/commonjs/operations/operations.js.map +1 -1
  296. package/dist/commonjs/operations/privateEndpointConnections.d.ts +4 -4
  297. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  298. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  299. package/dist/commonjs/operations/privateLinkResources.d.ts +3 -3
  300. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  301. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  302. package/dist/commonjs/operations/projectCapabilityHosts.d.ts +34 -6
  303. package/dist/commonjs/operations/projectCapabilityHosts.d.ts.map +1 -1
  304. package/dist/commonjs/operations/projectCapabilityHosts.js +120 -6
  305. package/dist/commonjs/operations/projectCapabilityHosts.js.map +1 -1
  306. package/dist/commonjs/operations/projectConnections.d.ts +4 -4
  307. package/dist/commonjs/operations/projectConnections.d.ts.map +1 -1
  308. package/dist/commonjs/operations/projectConnections.js +2 -2
  309. package/dist/commonjs/operations/projectConnections.js.map +1 -1
  310. package/dist/commonjs/operations/projects.d.ts +5 -5
  311. package/dist/commonjs/operations/projects.d.ts.map +1 -1
  312. package/dist/commonjs/operations/projects.js +2 -2
  313. package/dist/commonjs/operations/projects.js.map +1 -1
  314. package/dist/commonjs/operations/quotaTiers.d.ts +55 -0
  315. package/dist/commonjs/operations/quotaTiers.d.ts.map +1 -0
  316. package/dist/commonjs/operations/quotaTiers.js +200 -0
  317. package/dist/commonjs/operations/quotaTiers.js.map +1 -0
  318. package/dist/commonjs/operations/raiBlocklistItems.d.ts +5 -5
  319. package/dist/commonjs/operations/raiBlocklistItems.d.ts.map +1 -1
  320. package/dist/commonjs/operations/raiBlocklistItems.js +2 -2
  321. package/dist/commonjs/operations/raiBlocklistItems.js.map +1 -1
  322. package/dist/commonjs/operations/raiBlocklists.d.ts +5 -5
  323. package/dist/commonjs/operations/raiBlocklists.d.ts.map +1 -1
  324. package/dist/commonjs/operations/raiBlocklists.js +2 -2
  325. package/dist/commonjs/operations/raiBlocklists.js.map +1 -1
  326. package/dist/commonjs/operations/raiContentFilters.d.ts +4 -4
  327. package/dist/commonjs/operations/raiContentFilters.d.ts.map +1 -1
  328. package/dist/commonjs/operations/raiContentFilters.js +2 -2
  329. package/dist/commonjs/operations/raiContentFilters.js.map +1 -1
  330. package/dist/commonjs/operations/raiPolicies.d.ts +5 -5
  331. package/dist/commonjs/operations/raiPolicies.d.ts.map +1 -1
  332. package/dist/commonjs/operations/raiPolicies.js +2 -2
  333. package/dist/commonjs/operations/raiPolicies.js.map +1 -1
  334. package/dist/commonjs/operations/raiTopics.d.ts +72 -0
  335. package/dist/commonjs/operations/raiTopics.d.ts.map +1 -0
  336. package/dist/commonjs/operations/raiTopics.js +295 -0
  337. package/dist/commonjs/operations/raiTopics.js.map +1 -0
  338. package/dist/commonjs/operations/resourceSkus.d.ts +4 -4
  339. package/dist/commonjs/operations/resourceSkus.d.ts.map +1 -1
  340. package/dist/commonjs/operations/resourceSkus.js +2 -2
  341. package/dist/commonjs/operations/resourceSkus.js.map +1 -1
  342. package/dist/commonjs/operations/usages.d.ts +4 -4
  343. package/dist/commonjs/operations/usages.d.ts.map +1 -1
  344. package/dist/commonjs/operations/usages.js +2 -2
  345. package/dist/commonjs/operations/usages.js.map +1 -1
  346. package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.d.ts +10 -2
  347. package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
  348. package/dist/commonjs/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
  349. package/dist/commonjs/operationsInterfaces/accountConnections.d.ts +2 -2
  350. package/dist/commonjs/operationsInterfaces/accountConnections.d.ts.map +1 -1
  351. package/dist/commonjs/operationsInterfaces/accountConnections.js.map +1 -1
  352. package/dist/commonjs/operationsInterfaces/accounts.d.ts +3 -3
  353. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -1
  354. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -1
  355. package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts +3 -3
  356. package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
  357. package/dist/commonjs/operationsInterfaces/commitmentPlans.js.map +1 -1
  358. package/dist/commonjs/operationsInterfaces/commitmentTiers.d.ts +2 -2
  359. package/dist/commonjs/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
  360. package/dist/commonjs/operationsInterfaces/commitmentTiers.js.map +1 -1
  361. package/dist/commonjs/operationsInterfaces/defenderForAISettings.d.ts +2 -2
  362. package/dist/commonjs/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
  363. package/dist/commonjs/operationsInterfaces/defenderForAISettings.js.map +1 -1
  364. package/dist/commonjs/operationsInterfaces/deletedAccounts.d.ts +3 -3
  365. package/dist/commonjs/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
  366. package/dist/commonjs/operationsInterfaces/deletedAccounts.js.map +1 -1
  367. package/dist/commonjs/operationsInterfaces/deployments.d.ts +3 -3
  368. package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +1 -1
  369. package/dist/commonjs/operationsInterfaces/deployments.js.map +1 -1
  370. package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts +3 -3
  371. package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
  372. package/dist/commonjs/operationsInterfaces/encryptionScopes.js.map +1 -1
  373. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
  374. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  375. package/dist/commonjs/operationsInterfaces/index.js +2 -0
  376. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  377. package/dist/commonjs/operationsInterfaces/locationBasedModelCapacities.d.ts +2 -2
  378. package/dist/commonjs/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
  379. package/dist/commonjs/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
  380. package/dist/commonjs/operationsInterfaces/modelCapacities.d.ts +2 -2
  381. package/dist/commonjs/operationsInterfaces/modelCapacities.d.ts.map +1 -1
  382. package/dist/commonjs/operationsInterfaces/modelCapacities.js.map +1 -1
  383. package/dist/commonjs/operationsInterfaces/models.d.ts +2 -2
  384. package/dist/commonjs/operationsInterfaces/models.d.ts.map +1 -1
  385. package/dist/commonjs/operationsInterfaces/models.js.map +1 -1
  386. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +3 -3
  387. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  388. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  389. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  390. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  391. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  392. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  393. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  394. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  395. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +1 -1
  396. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  397. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  398. package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.d.ts +13 -4
  399. package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
  400. package/dist/commonjs/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
  401. package/dist/commonjs/operationsInterfaces/projectConnections.d.ts +2 -2
  402. package/dist/commonjs/operationsInterfaces/projectConnections.d.ts.map +1 -1
  403. package/dist/commonjs/operationsInterfaces/projectConnections.js.map +1 -1
  404. package/dist/commonjs/operationsInterfaces/projects.d.ts +3 -3
  405. package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -1
  406. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
  407. package/dist/commonjs/operationsInterfaces/quotaTiers.d.ts +34 -0
  408. package/dist/commonjs/operationsInterfaces/quotaTiers.d.ts.map +1 -0
  409. package/dist/commonjs/operationsInterfaces/quotaTiers.js +5 -0
  410. package/dist/commonjs/operationsInterfaces/quotaTiers.js.map +1 -0
  411. package/dist/commonjs/operationsInterfaces/raiBlocklistItems.d.ts +3 -3
  412. package/dist/commonjs/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
  413. package/dist/commonjs/operationsInterfaces/raiBlocklistItems.js.map +1 -1
  414. package/dist/commonjs/operationsInterfaces/raiBlocklists.d.ts +3 -3
  415. package/dist/commonjs/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
  416. package/dist/commonjs/operationsInterfaces/raiBlocklists.js.map +1 -1
  417. package/dist/commonjs/operationsInterfaces/raiContentFilters.d.ts +2 -2
  418. package/dist/commonjs/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
  419. package/dist/commonjs/operationsInterfaces/raiContentFilters.js.map +1 -1
  420. package/dist/commonjs/operationsInterfaces/raiPolicies.d.ts +3 -3
  421. package/dist/commonjs/operationsInterfaces/raiPolicies.d.ts.map +1 -1
  422. package/dist/commonjs/operationsInterfaces/raiPolicies.js.map +1 -1
  423. package/dist/commonjs/operationsInterfaces/raiTopics.d.ts +47 -0
  424. package/dist/commonjs/operationsInterfaces/raiTopics.d.ts.map +1 -0
  425. package/dist/commonjs/operationsInterfaces/raiTopics.js +5 -0
  426. package/dist/commonjs/operationsInterfaces/raiTopics.js.map +1 -0
  427. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +2 -2
  428. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  429. package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
  430. package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
  431. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
  432. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
  433. package/dist/esm/cognitiveServicesManagementClient.d.ts +5 -3
  434. package/dist/esm/cognitiveServicesManagementClient.d.ts.map +1 -1
  435. package/dist/esm/cognitiveServicesManagementClient.js +7 -3
  436. package/dist/esm/cognitiveServicesManagementClient.js.map +1 -1
  437. package/dist/esm/lroImpl.d.ts +1 -1
  438. package/dist/esm/lroImpl.d.ts.map +1 -1
  439. package/dist/esm/lroImpl.js.map +1 -1
  440. package/dist/esm/models/index.d.ts +342 -107
  441. package/dist/esm/models/index.d.ts.map +1 -1
  442. package/dist/esm/models/index.js +45 -17
  443. package/dist/esm/models/index.js.map +1 -1
  444. package/dist/esm/models/mappers.d.ts +18 -3
  445. package/dist/esm/models/mappers.d.ts.map +1 -1
  446. package/dist/esm/models/mappers.js +536 -128
  447. package/dist/esm/models/mappers.js.map +1 -1
  448. package/dist/esm/models/parameters.d.ts +6 -1
  449. package/dist/esm/models/parameters.d.ts.map +1 -1
  450. package/dist/esm/models/parameters.js +37 -2
  451. package/dist/esm/models/parameters.js.map +1 -1
  452. package/dist/esm/operations/accountCapabilityHosts.d.ts +29 -4
  453. package/dist/esm/operations/accountCapabilityHosts.d.ts.map +1 -1
  454. package/dist/esm/operations/accountCapabilityHosts.js +109 -0
  455. package/dist/esm/operations/accountCapabilityHosts.js.map +1 -1
  456. package/dist/esm/operations/accountConnections.d.ts +4 -4
  457. package/dist/esm/operations/accountConnections.d.ts.map +1 -1
  458. package/dist/esm/operations/accountConnections.js +2 -2
  459. package/dist/esm/operations/accountConnections.js.map +1 -1
  460. package/dist/esm/operations/accounts.d.ts +5 -5
  461. package/dist/esm/operations/accounts.d.ts.map +1 -1
  462. package/dist/esm/operations/accounts.js +6 -6
  463. package/dist/esm/operations/accounts.js.map +1 -1
  464. package/dist/esm/operations/commitmentPlans.d.ts +5 -5
  465. package/dist/esm/operations/commitmentPlans.d.ts.map +1 -1
  466. package/dist/esm/operations/commitmentPlans.js +8 -8
  467. package/dist/esm/operations/commitmentPlans.js.map +1 -1
  468. package/dist/esm/operations/commitmentTiers.d.ts +4 -4
  469. package/dist/esm/operations/commitmentTiers.d.ts.map +1 -1
  470. package/dist/esm/operations/commitmentTiers.js +2 -2
  471. package/dist/esm/operations/commitmentTiers.js.map +1 -1
  472. package/dist/esm/operations/defenderForAISettings.d.ts +4 -4
  473. package/dist/esm/operations/defenderForAISettings.d.ts.map +1 -1
  474. package/dist/esm/operations/defenderForAISettings.js +2 -2
  475. package/dist/esm/operations/defenderForAISettings.js.map +1 -1
  476. package/dist/esm/operations/deletedAccounts.d.ts +5 -5
  477. package/dist/esm/operations/deletedAccounts.d.ts.map +1 -1
  478. package/dist/esm/operations/deletedAccounts.js +2 -2
  479. package/dist/esm/operations/deletedAccounts.js.map +1 -1
  480. package/dist/esm/operations/deployments.d.ts +5 -5
  481. package/dist/esm/operations/deployments.d.ts.map +1 -1
  482. package/dist/esm/operations/deployments.js +4 -4
  483. package/dist/esm/operations/deployments.js.map +1 -1
  484. package/dist/esm/operations/encryptionScopes.d.ts +5 -5
  485. package/dist/esm/operations/encryptionScopes.d.ts.map +1 -1
  486. package/dist/esm/operations/encryptionScopes.js +2 -2
  487. package/dist/esm/operations/encryptionScopes.js.map +1 -1
  488. package/dist/esm/operations/index.d.ts +2 -0
  489. package/dist/esm/operations/index.d.ts.map +1 -1
  490. package/dist/esm/operations/index.js +2 -0
  491. package/dist/esm/operations/index.js.map +1 -1
  492. package/dist/esm/operations/locationBasedModelCapacities.d.ts +4 -4
  493. package/dist/esm/operations/locationBasedModelCapacities.d.ts.map +1 -1
  494. package/dist/esm/operations/locationBasedModelCapacities.js +2 -2
  495. package/dist/esm/operations/locationBasedModelCapacities.js.map +1 -1
  496. package/dist/esm/operations/modelCapacities.d.ts +4 -4
  497. package/dist/esm/operations/modelCapacities.d.ts.map +1 -1
  498. package/dist/esm/operations/modelCapacities.js +2 -2
  499. package/dist/esm/operations/modelCapacities.js.map +1 -1
  500. package/dist/esm/operations/models.d.ts +4 -4
  501. package/dist/esm/operations/models.d.ts.map +1 -1
  502. package/dist/esm/operations/models.js +2 -2
  503. package/dist/esm/operations/models.js.map +1 -1
  504. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +5 -5
  505. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  506. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +2 -2
  507. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  508. package/dist/esm/operations/operations.d.ts +4 -4
  509. package/dist/esm/operations/operations.d.ts.map +1 -1
  510. package/dist/esm/operations/operations.js +2 -2
  511. package/dist/esm/operations/operations.js.map +1 -1
  512. package/dist/esm/operations/privateEndpointConnections.d.ts +4 -4
  513. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  514. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  515. package/dist/esm/operations/privateLinkResources.d.ts +3 -3
  516. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  517. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  518. package/dist/esm/operations/projectCapabilityHosts.d.ts +34 -6
  519. package/dist/esm/operations/projectCapabilityHosts.d.ts.map +1 -1
  520. package/dist/esm/operations/projectCapabilityHosts.js +120 -6
  521. package/dist/esm/operations/projectCapabilityHosts.js.map +1 -1
  522. package/dist/esm/operations/projectConnections.d.ts +4 -4
  523. package/dist/esm/operations/projectConnections.d.ts.map +1 -1
  524. package/dist/esm/operations/projectConnections.js +2 -2
  525. package/dist/esm/operations/projectConnections.js.map +1 -1
  526. package/dist/esm/operations/projects.d.ts +5 -5
  527. package/dist/esm/operations/projects.d.ts.map +1 -1
  528. package/dist/esm/operations/projects.js +2 -2
  529. package/dist/esm/operations/projects.js.map +1 -1
  530. package/dist/esm/operations/quotaTiers.d.ts +55 -0
  531. package/dist/esm/operations/quotaTiers.d.ts.map +1 -0
  532. package/dist/esm/operations/quotaTiers.js +195 -0
  533. package/dist/esm/operations/quotaTiers.js.map +1 -0
  534. package/dist/esm/operations/raiBlocklistItems.d.ts +5 -5
  535. package/dist/esm/operations/raiBlocklistItems.d.ts.map +1 -1
  536. package/dist/esm/operations/raiBlocklistItems.js +2 -2
  537. package/dist/esm/operations/raiBlocklistItems.js.map +1 -1
  538. package/dist/esm/operations/raiBlocklists.d.ts +5 -5
  539. package/dist/esm/operations/raiBlocklists.d.ts.map +1 -1
  540. package/dist/esm/operations/raiBlocklists.js +2 -2
  541. package/dist/esm/operations/raiBlocklists.js.map +1 -1
  542. package/dist/esm/operations/raiContentFilters.d.ts +4 -4
  543. package/dist/esm/operations/raiContentFilters.d.ts.map +1 -1
  544. package/dist/esm/operations/raiContentFilters.js +2 -2
  545. package/dist/esm/operations/raiContentFilters.js.map +1 -1
  546. package/dist/esm/operations/raiPolicies.d.ts +5 -5
  547. package/dist/esm/operations/raiPolicies.d.ts.map +1 -1
  548. package/dist/esm/operations/raiPolicies.js +2 -2
  549. package/dist/esm/operations/raiPolicies.js.map +1 -1
  550. package/dist/esm/operations/raiTopics.d.ts +72 -0
  551. package/dist/esm/operations/raiTopics.d.ts.map +1 -0
  552. package/dist/esm/operations/raiTopics.js +290 -0
  553. package/dist/esm/operations/raiTopics.js.map +1 -0
  554. package/dist/esm/operations/resourceSkus.d.ts +4 -4
  555. package/dist/esm/operations/resourceSkus.d.ts.map +1 -1
  556. package/dist/esm/operations/resourceSkus.js +2 -2
  557. package/dist/esm/operations/resourceSkus.js.map +1 -1
  558. package/dist/esm/operations/usages.d.ts +4 -4
  559. package/dist/esm/operations/usages.d.ts.map +1 -1
  560. package/dist/esm/operations/usages.js +2 -2
  561. package/dist/esm/operations/usages.js.map +1 -1
  562. package/dist/esm/operationsInterfaces/accountCapabilityHosts.d.ts +10 -2
  563. package/dist/esm/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
  564. package/dist/esm/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
  565. package/dist/esm/operationsInterfaces/accountConnections.d.ts +2 -2
  566. package/dist/esm/operationsInterfaces/accountConnections.d.ts.map +1 -1
  567. package/dist/esm/operationsInterfaces/accountConnections.js.map +1 -1
  568. package/dist/esm/operationsInterfaces/accounts.d.ts +3 -3
  569. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -1
  570. package/dist/esm/operationsInterfaces/accounts.js.map +1 -1
  571. package/dist/esm/operationsInterfaces/commitmentPlans.d.ts +3 -3
  572. package/dist/esm/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
  573. package/dist/esm/operationsInterfaces/commitmentPlans.js.map +1 -1
  574. package/dist/esm/operationsInterfaces/commitmentTiers.d.ts +2 -2
  575. package/dist/esm/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
  576. package/dist/esm/operationsInterfaces/commitmentTiers.js.map +1 -1
  577. package/dist/esm/operationsInterfaces/defenderForAISettings.d.ts +2 -2
  578. package/dist/esm/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
  579. package/dist/esm/operationsInterfaces/defenderForAISettings.js.map +1 -1
  580. package/dist/esm/operationsInterfaces/deletedAccounts.d.ts +3 -3
  581. package/dist/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
  582. package/dist/esm/operationsInterfaces/deletedAccounts.js.map +1 -1
  583. package/dist/esm/operationsInterfaces/deployments.d.ts +3 -3
  584. package/dist/esm/operationsInterfaces/deployments.d.ts.map +1 -1
  585. package/dist/esm/operationsInterfaces/deployments.js.map +1 -1
  586. package/dist/esm/operationsInterfaces/encryptionScopes.d.ts +3 -3
  587. package/dist/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
  588. package/dist/esm/operationsInterfaces/encryptionScopes.js.map +1 -1
  589. package/dist/esm/operationsInterfaces/index.d.ts +2 -0
  590. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  591. package/dist/esm/operationsInterfaces/index.js +2 -0
  592. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  593. package/dist/esm/operationsInterfaces/locationBasedModelCapacities.d.ts +2 -2
  594. package/dist/esm/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
  595. package/dist/esm/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
  596. package/dist/esm/operationsInterfaces/modelCapacities.d.ts +2 -2
  597. package/dist/esm/operationsInterfaces/modelCapacities.d.ts.map +1 -1
  598. package/dist/esm/operationsInterfaces/modelCapacities.js.map +1 -1
  599. package/dist/esm/operationsInterfaces/models.d.ts +2 -2
  600. package/dist/esm/operationsInterfaces/models.d.ts.map +1 -1
  601. package/dist/esm/operationsInterfaces/models.js.map +1 -1
  602. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +3 -3
  603. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  604. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  605. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  606. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  607. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  608. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  609. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  610. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  611. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +1 -1
  612. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  613. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  614. package/dist/esm/operationsInterfaces/projectCapabilityHosts.d.ts +13 -4
  615. package/dist/esm/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
  616. package/dist/esm/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
  617. package/dist/esm/operationsInterfaces/projectConnections.d.ts +2 -2
  618. package/dist/esm/operationsInterfaces/projectConnections.d.ts.map +1 -1
  619. package/dist/esm/operationsInterfaces/projectConnections.js.map +1 -1
  620. package/dist/esm/operationsInterfaces/projects.d.ts +3 -3
  621. package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -1
  622. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  623. package/dist/esm/operationsInterfaces/quotaTiers.d.ts +34 -0
  624. package/dist/esm/operationsInterfaces/quotaTiers.d.ts.map +1 -0
  625. package/dist/esm/operationsInterfaces/quotaTiers.js +4 -0
  626. package/dist/esm/operationsInterfaces/quotaTiers.js.map +1 -0
  627. package/dist/esm/operationsInterfaces/raiBlocklistItems.d.ts +3 -3
  628. package/dist/esm/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
  629. package/dist/esm/operationsInterfaces/raiBlocklistItems.js.map +1 -1
  630. package/dist/esm/operationsInterfaces/raiBlocklists.d.ts +3 -3
  631. package/dist/esm/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
  632. package/dist/esm/operationsInterfaces/raiBlocklists.js.map +1 -1
  633. package/dist/esm/operationsInterfaces/raiContentFilters.d.ts +2 -2
  634. package/dist/esm/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
  635. package/dist/esm/operationsInterfaces/raiContentFilters.js.map +1 -1
  636. package/dist/esm/operationsInterfaces/raiPolicies.d.ts +3 -3
  637. package/dist/esm/operationsInterfaces/raiPolicies.d.ts.map +1 -1
  638. package/dist/esm/operationsInterfaces/raiPolicies.js.map +1 -1
  639. package/dist/esm/operationsInterfaces/raiTopics.d.ts +47 -0
  640. package/dist/esm/operationsInterfaces/raiTopics.d.ts.map +1 -0
  641. package/dist/esm/operationsInterfaces/raiTopics.js +4 -0
  642. package/dist/esm/operationsInterfaces/raiTopics.js.map +1 -0
  643. package/dist/esm/operationsInterfaces/resourceSkus.d.ts +2 -2
  644. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  645. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  646. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  647. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
  648. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  649. package/dist/react-native/cognitiveServicesManagementClient.d.ts +5 -3
  650. package/dist/react-native/cognitiveServicesManagementClient.d.ts.map +1 -1
  651. package/dist/react-native/cognitiveServicesManagementClient.js +7 -3
  652. package/dist/react-native/cognitiveServicesManagementClient.js.map +1 -1
  653. package/dist/react-native/lroImpl.d.ts +1 -1
  654. package/dist/react-native/lroImpl.d.ts.map +1 -1
  655. package/dist/react-native/lroImpl.js.map +1 -1
  656. package/dist/react-native/models/index.d.ts +342 -107
  657. package/dist/react-native/models/index.d.ts.map +1 -1
  658. package/dist/react-native/models/index.js +45 -17
  659. package/dist/react-native/models/index.js.map +1 -1
  660. package/dist/react-native/models/mappers.d.ts +18 -3
  661. package/dist/react-native/models/mappers.d.ts.map +1 -1
  662. package/dist/react-native/models/mappers.js +536 -128
  663. package/dist/react-native/models/mappers.js.map +1 -1
  664. package/dist/react-native/models/parameters.d.ts +6 -1
  665. package/dist/react-native/models/parameters.d.ts.map +1 -1
  666. package/dist/react-native/models/parameters.js +37 -2
  667. package/dist/react-native/models/parameters.js.map +1 -1
  668. package/dist/react-native/operations/accountCapabilityHosts.d.ts +29 -4
  669. package/dist/react-native/operations/accountCapabilityHosts.d.ts.map +1 -1
  670. package/dist/react-native/operations/accountCapabilityHosts.js +109 -0
  671. package/dist/react-native/operations/accountCapabilityHosts.js.map +1 -1
  672. package/dist/react-native/operations/accountConnections.d.ts +4 -4
  673. package/dist/react-native/operations/accountConnections.d.ts.map +1 -1
  674. package/dist/react-native/operations/accountConnections.js +2 -2
  675. package/dist/react-native/operations/accountConnections.js.map +1 -1
  676. package/dist/react-native/operations/accounts.d.ts +5 -5
  677. package/dist/react-native/operations/accounts.d.ts.map +1 -1
  678. package/dist/react-native/operations/accounts.js +6 -6
  679. package/dist/react-native/operations/accounts.js.map +1 -1
  680. package/dist/react-native/operations/commitmentPlans.d.ts +5 -5
  681. package/dist/react-native/operations/commitmentPlans.d.ts.map +1 -1
  682. package/dist/react-native/operations/commitmentPlans.js +8 -8
  683. package/dist/react-native/operations/commitmentPlans.js.map +1 -1
  684. package/dist/react-native/operations/commitmentTiers.d.ts +4 -4
  685. package/dist/react-native/operations/commitmentTiers.d.ts.map +1 -1
  686. package/dist/react-native/operations/commitmentTiers.js +2 -2
  687. package/dist/react-native/operations/commitmentTiers.js.map +1 -1
  688. package/dist/react-native/operations/defenderForAISettings.d.ts +4 -4
  689. package/dist/react-native/operations/defenderForAISettings.d.ts.map +1 -1
  690. package/dist/react-native/operations/defenderForAISettings.js +2 -2
  691. package/dist/react-native/operations/defenderForAISettings.js.map +1 -1
  692. package/dist/react-native/operations/deletedAccounts.d.ts +5 -5
  693. package/dist/react-native/operations/deletedAccounts.d.ts.map +1 -1
  694. package/dist/react-native/operations/deletedAccounts.js +2 -2
  695. package/dist/react-native/operations/deletedAccounts.js.map +1 -1
  696. package/dist/react-native/operations/deployments.d.ts +5 -5
  697. package/dist/react-native/operations/deployments.d.ts.map +1 -1
  698. package/dist/react-native/operations/deployments.js +4 -4
  699. package/dist/react-native/operations/deployments.js.map +1 -1
  700. package/dist/react-native/operations/encryptionScopes.d.ts +5 -5
  701. package/dist/react-native/operations/encryptionScopes.d.ts.map +1 -1
  702. package/dist/react-native/operations/encryptionScopes.js +2 -2
  703. package/dist/react-native/operations/encryptionScopes.js.map +1 -1
  704. package/dist/react-native/operations/index.d.ts +2 -0
  705. package/dist/react-native/operations/index.d.ts.map +1 -1
  706. package/dist/react-native/operations/index.js +2 -0
  707. package/dist/react-native/operations/index.js.map +1 -1
  708. package/dist/react-native/operations/locationBasedModelCapacities.d.ts +4 -4
  709. package/dist/react-native/operations/locationBasedModelCapacities.d.ts.map +1 -1
  710. package/dist/react-native/operations/locationBasedModelCapacities.js +2 -2
  711. package/dist/react-native/operations/locationBasedModelCapacities.js.map +1 -1
  712. package/dist/react-native/operations/modelCapacities.d.ts +4 -4
  713. package/dist/react-native/operations/modelCapacities.d.ts.map +1 -1
  714. package/dist/react-native/operations/modelCapacities.js +2 -2
  715. package/dist/react-native/operations/modelCapacities.js.map +1 -1
  716. package/dist/react-native/operations/models.d.ts +4 -4
  717. package/dist/react-native/operations/models.d.ts.map +1 -1
  718. package/dist/react-native/operations/models.js +2 -2
  719. package/dist/react-native/operations/models.js.map +1 -1
  720. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +5 -5
  721. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  722. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +2 -2
  723. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  724. package/dist/react-native/operations/operations.d.ts +4 -4
  725. package/dist/react-native/operations/operations.d.ts.map +1 -1
  726. package/dist/react-native/operations/operations.js +2 -2
  727. package/dist/react-native/operations/operations.js.map +1 -1
  728. package/dist/react-native/operations/privateEndpointConnections.d.ts +4 -4
  729. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  730. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  731. package/dist/react-native/operations/privateLinkResources.d.ts +3 -3
  732. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  733. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  734. package/dist/react-native/operations/projectCapabilityHosts.d.ts +34 -6
  735. package/dist/react-native/operations/projectCapabilityHosts.d.ts.map +1 -1
  736. package/dist/react-native/operations/projectCapabilityHosts.js +120 -6
  737. package/dist/react-native/operations/projectCapabilityHosts.js.map +1 -1
  738. package/dist/react-native/operations/projectConnections.d.ts +4 -4
  739. package/dist/react-native/operations/projectConnections.d.ts.map +1 -1
  740. package/dist/react-native/operations/projectConnections.js +2 -2
  741. package/dist/react-native/operations/projectConnections.js.map +1 -1
  742. package/dist/react-native/operations/projects.d.ts +5 -5
  743. package/dist/react-native/operations/projects.d.ts.map +1 -1
  744. package/dist/react-native/operations/projects.js +2 -2
  745. package/dist/react-native/operations/projects.js.map +1 -1
  746. package/dist/react-native/operations/quotaTiers.d.ts +55 -0
  747. package/dist/react-native/operations/quotaTiers.d.ts.map +1 -0
  748. package/dist/react-native/operations/quotaTiers.js +195 -0
  749. package/dist/react-native/operations/quotaTiers.js.map +1 -0
  750. package/dist/react-native/operations/raiBlocklistItems.d.ts +5 -5
  751. package/dist/react-native/operations/raiBlocklistItems.d.ts.map +1 -1
  752. package/dist/react-native/operations/raiBlocklistItems.js +2 -2
  753. package/dist/react-native/operations/raiBlocklistItems.js.map +1 -1
  754. package/dist/react-native/operations/raiBlocklists.d.ts +5 -5
  755. package/dist/react-native/operations/raiBlocklists.d.ts.map +1 -1
  756. package/dist/react-native/operations/raiBlocklists.js +2 -2
  757. package/dist/react-native/operations/raiBlocklists.js.map +1 -1
  758. package/dist/react-native/operations/raiContentFilters.d.ts +4 -4
  759. package/dist/react-native/operations/raiContentFilters.d.ts.map +1 -1
  760. package/dist/react-native/operations/raiContentFilters.js +2 -2
  761. package/dist/react-native/operations/raiContentFilters.js.map +1 -1
  762. package/dist/react-native/operations/raiPolicies.d.ts +5 -5
  763. package/dist/react-native/operations/raiPolicies.d.ts.map +1 -1
  764. package/dist/react-native/operations/raiPolicies.js +2 -2
  765. package/dist/react-native/operations/raiPolicies.js.map +1 -1
  766. package/dist/react-native/operations/raiTopics.d.ts +72 -0
  767. package/dist/react-native/operations/raiTopics.d.ts.map +1 -0
  768. package/dist/react-native/operations/raiTopics.js +290 -0
  769. package/dist/react-native/operations/raiTopics.js.map +1 -0
  770. package/dist/react-native/operations/resourceSkus.d.ts +4 -4
  771. package/dist/react-native/operations/resourceSkus.d.ts.map +1 -1
  772. package/dist/react-native/operations/resourceSkus.js +2 -2
  773. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  774. package/dist/react-native/operations/usages.d.ts +4 -4
  775. package/dist/react-native/operations/usages.d.ts.map +1 -1
  776. package/dist/react-native/operations/usages.js +2 -2
  777. package/dist/react-native/operations/usages.js.map +1 -1
  778. package/dist/react-native/operationsInterfaces/accountCapabilityHosts.d.ts +10 -2
  779. package/dist/react-native/operationsInterfaces/accountCapabilityHosts.d.ts.map +1 -1
  780. package/dist/react-native/operationsInterfaces/accountCapabilityHosts.js.map +1 -1
  781. package/dist/react-native/operationsInterfaces/accountConnections.d.ts +2 -2
  782. package/dist/react-native/operationsInterfaces/accountConnections.d.ts.map +1 -1
  783. package/dist/react-native/operationsInterfaces/accountConnections.js.map +1 -1
  784. package/dist/react-native/operationsInterfaces/accounts.d.ts +3 -3
  785. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -1
  786. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -1
  787. package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts +3 -3
  788. package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
  789. package/dist/react-native/operationsInterfaces/commitmentPlans.js.map +1 -1
  790. package/dist/react-native/operationsInterfaces/commitmentTiers.d.ts +2 -2
  791. package/dist/react-native/operationsInterfaces/commitmentTiers.d.ts.map +1 -1
  792. package/dist/react-native/operationsInterfaces/commitmentTiers.js.map +1 -1
  793. package/dist/react-native/operationsInterfaces/defenderForAISettings.d.ts +2 -2
  794. package/dist/react-native/operationsInterfaces/defenderForAISettings.d.ts.map +1 -1
  795. package/dist/react-native/operationsInterfaces/defenderForAISettings.js.map +1 -1
  796. package/dist/react-native/operationsInterfaces/deletedAccounts.d.ts +3 -3
  797. package/dist/react-native/operationsInterfaces/deletedAccounts.d.ts.map +1 -1
  798. package/dist/react-native/operationsInterfaces/deletedAccounts.js.map +1 -1
  799. package/dist/react-native/operationsInterfaces/deployments.d.ts +3 -3
  800. package/dist/react-native/operationsInterfaces/deployments.d.ts.map +1 -1
  801. package/dist/react-native/operationsInterfaces/deployments.js.map +1 -1
  802. package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts +3 -3
  803. package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts.map +1 -1
  804. package/dist/react-native/operationsInterfaces/encryptionScopes.js.map +1 -1
  805. package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
  806. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  807. package/dist/react-native/operationsInterfaces/index.js +2 -0
  808. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  809. package/dist/react-native/operationsInterfaces/locationBasedModelCapacities.d.ts +2 -2
  810. package/dist/react-native/operationsInterfaces/locationBasedModelCapacities.d.ts.map +1 -1
  811. package/dist/react-native/operationsInterfaces/locationBasedModelCapacities.js.map +1 -1
  812. package/dist/react-native/operationsInterfaces/modelCapacities.d.ts +2 -2
  813. package/dist/react-native/operationsInterfaces/modelCapacities.d.ts.map +1 -1
  814. package/dist/react-native/operationsInterfaces/modelCapacities.js.map +1 -1
  815. package/dist/react-native/operationsInterfaces/models.d.ts +2 -2
  816. package/dist/react-native/operationsInterfaces/models.d.ts.map +1 -1
  817. package/dist/react-native/operationsInterfaces/models.js.map +1 -1
  818. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +3 -3
  819. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  820. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  821. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  822. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  823. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  824. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  825. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  826. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  827. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +1 -1
  828. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  829. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  830. package/dist/react-native/operationsInterfaces/projectCapabilityHosts.d.ts +13 -4
  831. package/dist/react-native/operationsInterfaces/projectCapabilityHosts.d.ts.map +1 -1
  832. package/dist/react-native/operationsInterfaces/projectCapabilityHosts.js.map +1 -1
  833. package/dist/react-native/operationsInterfaces/projectConnections.d.ts +2 -2
  834. package/dist/react-native/operationsInterfaces/projectConnections.d.ts.map +1 -1
  835. package/dist/react-native/operationsInterfaces/projectConnections.js.map +1 -1
  836. package/dist/react-native/operationsInterfaces/projects.d.ts +3 -3
  837. package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -1
  838. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  839. package/dist/react-native/operationsInterfaces/quotaTiers.d.ts +34 -0
  840. package/dist/react-native/operationsInterfaces/quotaTiers.d.ts.map +1 -0
  841. package/dist/react-native/operationsInterfaces/quotaTiers.js +4 -0
  842. package/dist/react-native/operationsInterfaces/quotaTiers.js.map +1 -0
  843. package/dist/react-native/operationsInterfaces/raiBlocklistItems.d.ts +3 -3
  844. package/dist/react-native/operationsInterfaces/raiBlocklistItems.d.ts.map +1 -1
  845. package/dist/react-native/operationsInterfaces/raiBlocklistItems.js.map +1 -1
  846. package/dist/react-native/operationsInterfaces/raiBlocklists.d.ts +3 -3
  847. package/dist/react-native/operationsInterfaces/raiBlocklists.d.ts.map +1 -1
  848. package/dist/react-native/operationsInterfaces/raiBlocklists.js.map +1 -1
  849. package/dist/react-native/operationsInterfaces/raiContentFilters.d.ts +2 -2
  850. package/dist/react-native/operationsInterfaces/raiContentFilters.d.ts.map +1 -1
  851. package/dist/react-native/operationsInterfaces/raiContentFilters.js.map +1 -1
  852. package/dist/react-native/operationsInterfaces/raiPolicies.d.ts +3 -3
  853. package/dist/react-native/operationsInterfaces/raiPolicies.d.ts.map +1 -1
  854. package/dist/react-native/operationsInterfaces/raiPolicies.js.map +1 -1
  855. package/dist/react-native/operationsInterfaces/raiTopics.d.ts +47 -0
  856. package/dist/react-native/operationsInterfaces/raiTopics.d.ts.map +1 -0
  857. package/dist/react-native/operationsInterfaces/raiTopics.js +4 -0
  858. package/dist/react-native/operationsInterfaces/raiTopics.js.map +1 -0
  859. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +2 -2
  860. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  861. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  862. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  863. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
  864. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  865. package/package.json +25 -24
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { DeletedAccounts } from "../operationsInterfaces/index.js";
3
- import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { Account, DeletedAccountsListOptionalParams, DeletedAccountsGetOptionalParams, DeletedAccountsGetResponse, DeletedAccountsPurgeOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { DeletedAccounts } from "../operationsInterfaces/index.js";
3
+ import type { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { Account, DeletedAccountsListOptionalParams, DeletedAccountsGetOptionalParams, DeletedAccountsGetResponse, DeletedAccountsPurgeOptionalParams } from "../models/index.js";
6
6
  /** Class containing DeletedAccounts operations. */
7
7
  export declare class DeletedAccountsImpl implements DeletedAccounts {
8
8
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"deletedAccounts.d.ts","sourceRoot":"","sources":["../../../src/operations/deletedAccounts.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAoB,MAAM,iBAAiB,CAAC;AAErF,OAAO,EACL,OAAO,EAEP,iCAAiC,EAEjC,gCAAgC,EAChC,0BAA0B,EAC1B,kCAAkC,EAEnC,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,iCAAiC,GAAG,0BAA0B,CAAC,OAAO,CAAC;YAkB9E,cAAc;YAsBd,aAAa;IAQ5B;;;;;;OAMG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;;OAMG;IACG,UAAU,CACd,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,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;;OAMG;IACG,UAAU,CACd,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAmDxD;;;;;;OAMG;IACG,iBAAiB,CACrB,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC;IAKhB;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
@@ -43,7 +43,7 @@ export class DeletedAccountsImpl {
43
43
  let continuationToken = settings?.continuationToken;
44
44
  if (!continuationToken) {
45
45
  result = await this._list(options);
46
- let page = result.value || [];
46
+ const page = result.value || [];
47
47
  continuationToken = result.nextLink;
48
48
  setContinuationToken(page, continuationToken);
49
49
  yield page;
@@ -51,7 +51,7 @@ export class DeletedAccountsImpl {
51
51
  while (continuationToken) {
52
52
  result = await this._listNext(continuationToken, options);
53
53
  continuationToken = result.nextLink;
54
- let page = result.value || [];
54
+ const page = result.value || [];
55
55
  setContinuationToken(page, continuationToken);
56
56
  yield page;
57
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deletedAccounts.js","sourceRoot":"","sources":["../../../src/operations/deletedAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,K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KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uFAAuF;IAC7F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DeletedAccounts } 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 { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Account,\n DeletedAccountsListNextOptionalParams,\n DeletedAccountsListOptionalParams,\n DeletedAccountsListResponse,\n DeletedAccountsGetOptionalParams,\n DeletedAccountsGetResponse,\n DeletedAccountsPurgeOptionalParams,\n DeletedAccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DeletedAccounts operations. */\nexport class DeletedAccountsImpl implements DeletedAccounts {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class DeletedAccounts class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all the resources of a particular type belonging to a subscription.\n * @param options The options parameters.\n */\n public list(options?: DeletedAccountsListOptionalParams): PagedAsyncIterableIterator<Account> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: DeletedAccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Account[]> {\n let result: DeletedAccountsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: DeletedAccountsListOptionalParams,\n ): AsyncIterableIterator<Account> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a Cognitive Services account specified by the parameters.\n * @param location Resource location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n get(\n location: string,\n resourceGroupName: string,\n accountName: string,\n options?: DeletedAccountsGetOptionalParams,\n ): Promise<DeletedAccountsGetResponse> {\n return this.client.sendOperationRequest(\n { location, resourceGroupName, accountName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a Cognitive Services account from the resource group.\n * @param location Resource location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n async beginPurge(\n location: string,\n resourceGroupName: string,\n accountName: string,\n options?: DeletedAccountsPurgeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 = 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: { location, resourceGroupName, accountName, options },\n spec: purgeOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Cognitive Services account from the resource group.\n * @param location Resource location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n async beginPurgeAndWait(\n location: string,\n resourceGroupName: string,\n accountName: string,\n options?: DeletedAccountsPurgeOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurge(location, resourceGroupName, accountName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Returns all the resources of a particular type belonging to a subscription.\n * @param options The options parameters.\n */\n private _list(options?: DeletedAccountsListOptionalParams): Promise<DeletedAccountsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: DeletedAccountsListNextOptionalParams,\n ): Promise<DeletedAccountsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Account,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"deletedAccounts.js","sourceRoot":"","sources":["../../../src/operations/deletedAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAY9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAoC;IAE3D;;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I,EAAE,uFAAuF;IAC7F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { DeletedAccounts } 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 type { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n Account,\n DeletedAccountsListNextOptionalParams,\n DeletedAccountsListOptionalParams,\n DeletedAccountsListResponse,\n DeletedAccountsGetOptionalParams,\n DeletedAccountsGetResponse,\n DeletedAccountsPurgeOptionalParams,\n DeletedAccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DeletedAccounts operations. */\nexport class DeletedAccountsImpl implements DeletedAccounts {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class DeletedAccounts class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all the resources of a particular type belonging to a subscription.\n * @param options The options parameters.\n */\n public list(options?: DeletedAccountsListOptionalParams): PagedAsyncIterableIterator<Account> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: DeletedAccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Account[]> {\n let result: DeletedAccountsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: DeletedAccountsListOptionalParams,\n ): AsyncIterableIterator<Account> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a Cognitive Services account specified by the parameters.\n * @param location Resource location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n get(\n location: string,\n resourceGroupName: string,\n accountName: string,\n options?: DeletedAccountsGetOptionalParams,\n ): Promise<DeletedAccountsGetResponse> {\n return this.client.sendOperationRequest(\n { location, resourceGroupName, accountName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a Cognitive Services account from the resource group.\n * @param location Resource location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n async beginPurge(\n location: string,\n resourceGroupName: string,\n accountName: string,\n options?: DeletedAccountsPurgeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 = 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: { location, resourceGroupName, accountName, options },\n spec: purgeOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Cognitive Services account from the resource group.\n * @param location Resource location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n async beginPurgeAndWait(\n location: string,\n resourceGroupName: string,\n accountName: string,\n options?: DeletedAccountsPurgeOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurge(location, resourceGroupName, accountName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Returns all the resources of a particular type belonging to a subscription.\n * @param options The options parameters.\n */\n private _list(options?: DeletedAccountsListOptionalParams): Promise<DeletedAccountsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: DeletedAccountsListNextOptionalParams,\n ): Promise<DeletedAccountsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Account,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Deployments } from "../operationsInterfaces/index.js";
3
- import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { Deployment, DeploymentsListOptionalParams, SkuResource, DeploymentsListSkusOptionalParams, DeploymentsGetOptionalParams, DeploymentsGetResponse, DeploymentsCreateOrUpdateOptionalParams, DeploymentsCreateOrUpdateResponse, PatchResourceTagsAndSku, DeploymentsUpdateOptionalParams, DeploymentsUpdateResponse, DeploymentsDeleteOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Deployments } from "../operationsInterfaces/index.js";
3
+ import type { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { Deployment, DeploymentsListOptionalParams, SkuResource, DeploymentsListSkusOptionalParams, DeploymentsGetOptionalParams, DeploymentsGetResponse, DeploymentsCreateOrUpdateOptionalParams, DeploymentsCreateOrUpdateResponse, PatchResourceTagsAndSku, DeploymentsUpdateOptionalParams, DeploymentsUpdateResponse, DeploymentsDeleteOptionalParams } from "../models/index.js";
6
6
  /** Class containing Deployments operations. */
7
7
  export declare class DeploymentsImpl implements Deployments {
8
8
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.d.ts","sourceRoot":"","sources":["../../../src/operations/deployments.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAoB,MAAM,iBAAiB,CAAC;AAErF,OAAO,EACL,UAAU,EAEV,6BAA6B,EAE7B,WAAW,EAEX,iCAAiC,EAEjC,4BAA4B,EAC5B,sBAAsB,EACtB,uCAAuC,EACvC,iCAAiC,EACjC,uBAAuB,EACvB,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAGhC,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC;YAkB1B,cAAc;YAwBd,aAAa;IAU5B;;;;;;OAMG;IACI,QAAQ,CACb,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,WAAW,CAAC;YAwB3B,kBAAkB;YA+BlB,iBAAiB;IAgBhC;;;;;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,uBAAuB,EACnC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAWrC;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAmDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IAYjB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IAYjB;;;;;;;OAOG;IACH,OAAO,CAAC,aAAa;CAYtB"}
@@ -45,7 +45,7 @@ export class DeploymentsImpl {
45
45
  let continuationToken = settings?.continuationToken;
46
46
  if (!continuationToken) {
47
47
  result = await this._list(resourceGroupName, accountName, options);
48
- let page = result.value || [];
48
+ const page = result.value || [];
49
49
  continuationToken = result.nextLink;
50
50
  setContinuationToken(page, continuationToken);
51
51
  yield page;
@@ -53,7 +53,7 @@ export class DeploymentsImpl {
53
53
  while (continuationToken) {
54
54
  result = await this._listNext(resourceGroupName, accountName, continuationToken, options);
55
55
  continuationToken = result.nextLink;
56
- let page = result.value || [];
56
+ const page = result.value || [];
57
57
  setContinuationToken(page, continuationToken);
58
58
  yield page;
59
59
  }
@@ -92,7 +92,7 @@ export class DeploymentsImpl {
92
92
  let continuationToken = settings?.continuationToken;
93
93
  if (!continuationToken) {
94
94
  result = await this._listSkus(resourceGroupName, accountName, deploymentName, options);
95
- let page = result.value || [];
95
+ const page = result.value || [];
96
96
  continuationToken = result.nextLink;
97
97
  setContinuationToken(page, continuationToken);
98
98
  yield page;
@@ -100,7 +100,7 @@ export class DeploymentsImpl {
100
100
  while (continuationToken) {
101
101
  result = await this._listSkusNext(resourceGroupName, accountName, deploymentName, continuationToken, options);
102
102
  continuationToken = result.nextLink;
103
- let page = result.value || [];
103
+ const page = result.value || [];
104
104
  setContinuationToken(page, continuationToken);
105
105
  yield page;
106
106
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../../../src/operations/deployments.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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,EAAoC,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAsB9C,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;g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,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Deployments } 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 { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Deployment,\n DeploymentsListNextOptionalParams,\n DeploymentsListOptionalParams,\n DeploymentsListResponse,\n SkuResource,\n DeploymentsListSkusNextOptionalParams,\n DeploymentsListSkusOptionalParams,\n DeploymentsListSkusResponse,\n DeploymentsGetOptionalParams,\n DeploymentsGetResponse,\n DeploymentsCreateOrUpdateOptionalParams,\n DeploymentsCreateOrUpdateResponse,\n PatchResourceTagsAndSku,\n DeploymentsUpdateOptionalParams,\n DeploymentsUpdateResponse,\n DeploymentsDeleteOptionalParams,\n DeploymentsListNextResponse,\n DeploymentsListSkusNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Deployments operations. */\nexport class DeploymentsImpl implements Deployments {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class Deployments class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n ): PagedAsyncIterableIterator<Deployment> {\n const iter = this.listPagingAll(resourceGroupName, accountName, 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(resourceGroupName, accountName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Deployment[]> {\n let result: DeploymentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, 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(resourceGroupName, accountName, 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 resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n ): AsyncIterableIterator<Deployment> {\n for await (const page of this.listPagingPage(resourceGroupName, accountName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the specified deployments skus associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n public listSkus(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n ): PagedAsyncIterableIterator<SkuResource> {\n const iter = this.listSkusPagingAll(resourceGroupName, accountName, deploymentName, 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.listSkusPagingPage(\n resourceGroupName,\n accountName,\n deploymentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listSkusPagingPage(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SkuResource[]> {\n let result: DeploymentsListSkusResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listSkus(resourceGroupName, accountName, deploymentName, 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._listSkusNext(\n resourceGroupName,\n accountName,\n deploymentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listSkusPagingAll(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n ): AsyncIterableIterator<SkuResource> {\n for await (const page of this.listSkusPagingPage(\n resourceGroupName,\n accountName,\n deploymentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n ): Promise<DeploymentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsGetOptionalParams,\n ): Promise<DeploymentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, deploymentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: Deployment,\n options?: DeploymentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DeploymentsCreateOrUpdateResponse>,\n DeploymentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DeploymentsCreateOrUpdateResponse> => {\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 = 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: {\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DeploymentsCreateOrUpdateResponse,\n OperationState<DeploymentsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: Deployment,\n options?: DeploymentsCreateOrUpdateOptionalParams,\n ): Promise<DeploymentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: PatchResourceTagsAndSku,\n options?: DeploymentsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<DeploymentsUpdateResponse>, DeploymentsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DeploymentsUpdateResponse> => {\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 = 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: {\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n DeploymentsUpdateResponse,\n OperationState<DeploymentsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: PatchResourceTagsAndSku,\n options?: DeploymentsUpdateOptionalParams,\n ): Promise<DeploymentsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified deployment associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 = 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: { resourceGroupName, accountName, deploymentName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified deployment associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, accountName, deploymentName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Lists the specified deployments skus associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n private _listSkus(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n ): Promise<DeploymentsListSkusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, deploymentName, options },\n listSkusOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\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 resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: DeploymentsListNextOptionalParams,\n ): Promise<DeploymentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListSkusNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param nextLink The nextLink from the previous successful call to the ListSkus method.\n * @param options The options parameters.\n */\n private _listSkusNext(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n nextLink: string,\n options?: DeploymentsListSkusNextOptionalParams,\n ): Promise<DeploymentsListSkusNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, deploymentName, nextLink, options },\n listSkusNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Deployment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Deployment,\n },\n 201: {\n bodyMapper: Mappers.Deployment,\n },\n 202: {\n bodyMapper: Mappers.Deployment,\n },\n 204: {\n bodyMapper: Mappers.Deployment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.deployment,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Deployment,\n },\n 201: {\n bodyMapper: Mappers.Deployment,\n },\n 202: {\n bodyMapper: Mappers.Deployment,\n },\n 204: {\n bodyMapper: Mappers.Deployment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.deployment1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentSkuListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentSkuListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../../../src/operations/deployments.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAsB9C,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,WAAW,EAAE,O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B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Deployments } 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 type { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n Deployment,\n DeploymentsListNextOptionalParams,\n DeploymentsListOptionalParams,\n DeploymentsListResponse,\n SkuResource,\n DeploymentsListSkusNextOptionalParams,\n DeploymentsListSkusOptionalParams,\n DeploymentsListSkusResponse,\n DeploymentsGetOptionalParams,\n DeploymentsGetResponse,\n DeploymentsCreateOrUpdateOptionalParams,\n DeploymentsCreateOrUpdateResponse,\n PatchResourceTagsAndSku,\n DeploymentsUpdateOptionalParams,\n DeploymentsUpdateResponse,\n DeploymentsDeleteOptionalParams,\n DeploymentsListNextResponse,\n DeploymentsListSkusNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Deployments operations. */\nexport class DeploymentsImpl implements Deployments {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class Deployments class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n ): PagedAsyncIterableIterator<Deployment> {\n const iter = this.listPagingAll(resourceGroupName, accountName, 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(resourceGroupName, accountName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Deployment[]> {\n let result: DeploymentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, accountName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n ): AsyncIterableIterator<Deployment> {\n for await (const page of this.listPagingPage(resourceGroupName, accountName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the specified deployments skus associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n public listSkus(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n ): PagedAsyncIterableIterator<SkuResource> {\n const iter = this.listSkusPagingAll(resourceGroupName, accountName, deploymentName, 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.listSkusPagingPage(\n resourceGroupName,\n accountName,\n deploymentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listSkusPagingPage(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SkuResource[]> {\n let result: DeploymentsListSkusResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listSkus(resourceGroupName, accountName, deploymentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listSkusNext(\n resourceGroupName,\n accountName,\n deploymentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listSkusPagingAll(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n ): AsyncIterableIterator<SkuResource> {\n for await (const page of this.listSkusPagingPage(\n resourceGroupName,\n accountName,\n deploymentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: DeploymentsListOptionalParams,\n ): Promise<DeploymentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsGetOptionalParams,\n ): Promise<DeploymentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, deploymentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: Deployment,\n options?: DeploymentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DeploymentsCreateOrUpdateResponse>,\n DeploymentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DeploymentsCreateOrUpdateResponse> => {\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 = 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: {\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DeploymentsCreateOrUpdateResponse,\n OperationState<DeploymentsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: Deployment,\n options?: DeploymentsCreateOrUpdateOptionalParams,\n ): Promise<DeploymentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: PatchResourceTagsAndSku,\n options?: DeploymentsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<DeploymentsUpdateResponse>, DeploymentsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DeploymentsUpdateResponse> => {\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 = 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: {\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n DeploymentsUpdateResponse,\n OperationState<DeploymentsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update specified deployments associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param deployment The deployment properties.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n deployment: PatchResourceTagsAndSku,\n options?: DeploymentsUpdateOptionalParams,\n ): Promise<DeploymentsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n accountName,\n deploymentName,\n deployment,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified deployment associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 = 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: { resourceGroupName, accountName, deploymentName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified deployment associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, accountName, deploymentName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Lists the specified deployments skus associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param options The options parameters.\n */\n private _listSkus(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n options?: DeploymentsListSkusOptionalParams,\n ): Promise<DeploymentsListSkusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, deploymentName, options },\n listSkusOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\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 resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: DeploymentsListNextOptionalParams,\n ): Promise<DeploymentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListSkusNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param deploymentName The name of the deployment associated with the Cognitive Services Account\n * @param nextLink The nextLink from the previous successful call to the ListSkus method.\n * @param options The options parameters.\n */\n private _listSkusNext(\n resourceGroupName: string,\n accountName: string,\n deploymentName: string,\n nextLink: string,\n options?: DeploymentsListSkusNextOptionalParams,\n ): Promise<DeploymentsListSkusNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, deploymentName, nextLink, options },\n listSkusNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Deployment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Deployment,\n },\n 201: {\n bodyMapper: Mappers.Deployment,\n },\n 202: {\n bodyMapper: Mappers.Deployment,\n },\n 204: {\n bodyMapper: Mappers.Deployment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.deployment,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Deployment,\n },\n 201: {\n bodyMapper: Mappers.Deployment,\n },\n 202: {\n bodyMapper: Mappers.Deployment,\n },\n 204: {\n bodyMapper: Mappers.Deployment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.deployment1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentSkuListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentSkuListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.deploymentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { EncryptionScopes } from "../operationsInterfaces/index.js";
3
- import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { EncryptionScope, EncryptionScopesListOptionalParams, EncryptionScopesGetOptionalParams, EncryptionScopesGetResponse, EncryptionScopesCreateOrUpdateOptionalParams, EncryptionScopesCreateOrUpdateResponse, EncryptionScopesDeleteOptionalParams, EncryptionScopesDeleteResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { EncryptionScopes } from "../operationsInterfaces/index.js";
3
+ import type { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { EncryptionScope, EncryptionScopesListOptionalParams, EncryptionScopesGetOptionalParams, EncryptionScopesGetResponse, EncryptionScopesCreateOrUpdateOptionalParams, EncryptionScopesCreateOrUpdateResponse, EncryptionScopesDeleteOptionalParams, EncryptionScopesDeleteResponse } from "../models/index.js";
6
6
  /** Class containing EncryptionScopes operations. */
7
7
  export declare class EncryptionScopesImpl implements EncryptionScopes {
8
8
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"encryptionScopes.d.ts","sourceRoot":"","sources":["../../../src/operations/encryptionScopes.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAoB,MAAM,iBAAiB,CAAC;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AM,EAC3B,eAAe,EAAE,eAAe,EAChC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAalD;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,CAAC,CACjG;IAsDD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAU1C;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -45,7 +45,7 @@ export class EncryptionScopesImpl {
45
45
  let continuationToken = settings?.continuationToken;
46
46
  if (!continuationToken) {
47
47
  result = await this._list(resourceGroupName, accountName, options);
48
- let page = result.value || [];
48
+ const page = result.value || [];
49
49
  continuationToken = result.nextLink;
50
50
  setContinuationToken(page, continuationToken);
51
51
  yield page;
@@ -53,7 +53,7 @@ export class EncryptionScopesImpl {
53
53
  while (continuationToken) {
54
54
  result = await this._listNext(resourceGroupName, accountName, continuationToken, options);
55
55
  continuationToken = result.nextLink;
56
- let page = result.value || [];
56
+ const page = result.value || [];
57
57
  setContinuationToken(page, continuationToken);
58
58
  yield page;
59
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"encryptionScopes.js","sourceRoot":"","sources":["../../../src/operations/encryptionScopes.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD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U;CACX,CAAC","sourcesContent":["// 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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { EncryptionScopes } 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 { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n EncryptionScope,\n EncryptionScopesListNextOptionalParams,\n EncryptionScopesListOptionalParams,\n EncryptionScopesListResponse,\n EncryptionScopesGetOptionalParams,\n EncryptionScopesGetResponse,\n EncryptionScopesCreateOrUpdateOptionalParams,\n EncryptionScopesCreateOrUpdateResponse,\n EncryptionScopesDeleteOptionalParams,\n EncryptionScopesDeleteResponse,\n EncryptionScopesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EncryptionScopes operations. */\nexport class EncryptionScopesImpl implements EncryptionScopes {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class EncryptionScopes class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the content filters associated with the Azure OpenAI account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): PagedAsyncIterableIterator<EncryptionScope> {\n const iter = this.listPagingAll(resourceGroupName, accountName, 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(resourceGroupName, accountName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EncryptionScope[]> {\n let result: EncryptionScopesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, 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(resourceGroupName, accountName, 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 resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): AsyncIterableIterator<EncryptionScope> {\n for await (const page of this.listPagingPage(resourceGroupName, accountName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the content filters associated with the Azure OpenAI account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): Promise<EncryptionScopesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified EncryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesGetOptionalParams,\n ): Promise<EncryptionScopesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, encryptionScopeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified encryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param encryptionScope The encryptionScope properties.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesCreateOrUpdateOptionalParams,\n ): Promise<EncryptionScopesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified encryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<EncryptionScopesDeleteResponse>, EncryptionScopesDeleteResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EncryptionScopesDeleteResponse> => {\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 = 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: { resourceGroupName, accountName, encryptionScopeName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n EncryptionScopesDeleteResponse,\n OperationState<EncryptionScopesDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified encryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesDeleteOptionalParams,\n ): Promise<EncryptionScopesDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n encryptionScopeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\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 resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: EncryptionScopesListNextOptionalParams,\n ): Promise<EncryptionScopesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n 201: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"encryptionScopes.js","sourceRoot":"","sources":["../../../src/operations/encryptionScopes.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IACd,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,WAA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ACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,6BAA6B;SACrD;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,6BAA6B;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,mBAAmB;KAC/B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { EncryptionScopes } 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 type { CognitiveServicesManagementClient } from \"../cognitiveServicesManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n EncryptionScope,\n EncryptionScopesListNextOptionalParams,\n EncryptionScopesListOptionalParams,\n EncryptionScopesListResponse,\n EncryptionScopesGetOptionalParams,\n EncryptionScopesGetResponse,\n EncryptionScopesCreateOrUpdateOptionalParams,\n EncryptionScopesCreateOrUpdateResponse,\n EncryptionScopesDeleteOptionalParams,\n EncryptionScopesDeleteResponse,\n EncryptionScopesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EncryptionScopes operations. */\nexport class EncryptionScopesImpl implements EncryptionScopes {\n private readonly client: CognitiveServicesManagementClient;\n\n /**\n * Initialize a new instance of the class EncryptionScopes class.\n * @param client Reference to the service client\n */\n constructor(client: CognitiveServicesManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the content filters associated with the Azure OpenAI account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): PagedAsyncIterableIterator<EncryptionScope> {\n const iter = this.listPagingAll(resourceGroupName, accountName, 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(resourceGroupName, accountName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EncryptionScope[]> {\n let result: EncryptionScopesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, accountName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): AsyncIterableIterator<EncryptionScope> {\n for await (const page of this.listPagingPage(resourceGroupName, accountName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the content filters associated with the Azure OpenAI account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): Promise<EncryptionScopesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified EncryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesGetOptionalParams,\n ): Promise<EncryptionScopesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, encryptionScopeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified encryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param encryptionScope The encryptionScope properties.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesCreateOrUpdateOptionalParams,\n ): Promise<EncryptionScopesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified encryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<EncryptionScopesDeleteResponse>, EncryptionScopesDeleteResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EncryptionScopesDeleteResponse> => {\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 = 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: { resourceGroupName, accountName, encryptionScopeName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n EncryptionScopesDeleteResponse,\n OperationState<EncryptionScopesDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified encryptionScope associated with the Cognitive Services account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\n * @param encryptionScopeName The name of the encryptionScope associated with the Cognitive Services\n * Account\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesDeleteOptionalParams,\n ): Promise<EncryptionScopesDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n encryptionScopeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of Cognitive Services account.\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 resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: EncryptionScopesListNextOptionalParams,\n ): Promise<EncryptionScopesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n 201: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.EncryptionScopesDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -15,6 +15,7 @@ export * from "./encryptionScopes.js";
15
15
  export * from "./raiPolicies.js";
16
16
  export * from "./raiBlocklists.js";
17
17
  export * from "./raiBlocklistItems.js";
18
+ export * from "./raiTopics.js";
18
19
  export * from "./raiContentFilters.js";
19
20
  export * from "./networkSecurityPerimeterConfigurations.js";
20
21
  export * from "./defenderForAISettings.js";
@@ -23,4 +24,5 @@ export * from "./accountConnections.js";
23
24
  export * from "./projectConnections.js";
24
25
  export * from "./accountCapabilityHosts.js";
25
26
  export * from "./projectCapabilityHosts.js";
27
+ export * from "./quotaTiers.js";
26
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAMA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAMA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC"}
@@ -19,6 +19,7 @@ export * from "./encryptionScopes.js";
19
19
  export * from "./raiPolicies.js";
20
20
  export * from "./raiBlocklists.js";
21
21
  export * from "./raiBlocklistItems.js";
22
+ export * from "./raiTopics.js";
22
23
  export * from "./raiContentFilters.js";
23
24
  export * from "./networkSecurityPerimeterConfigurations.js";
24
25
  export * from "./defenderForAISettings.js";
@@ -27,4 +28,5 @@ export * from "./accountConnections.js";
27
28
  export * from "./projectConnections.js";
28
29
  export * from "./accountCapabilityHosts.js";
29
30
  export * from "./projectCapabilityHosts.js";
31
+ export * from "./quotaTiers.js";
30
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC","sourcesContent":["// 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\nexport * from \"./accounts.js\";\nexport * from \"./deletedAccounts.js\";\nexport * from \"./resourceSkus.js\";\nexport * from \"./usages.js\";\nexport * from \"./operations.js\";\nexport * from \"./commitmentTiers.js\";\nexport * from \"./models.js\";\nexport * from \"./locationBasedModelCapacities.js\";\nexport * from \"./modelCapacities.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./deployments.js\";\nexport * from \"./commitmentPlans.js\";\nexport * from \"./encryptionScopes.js\";\nexport * from \"./raiPolicies.js\";\nexport * from \"./raiBlocklists.js\";\nexport * from \"./raiBlocklistItems.js\";\nexport * from \"./raiContentFilters.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\nexport * from \"./defenderForAISettings.js\";\nexport * from \"./projects.js\";\nexport * from \"./accountConnections.js\";\nexport * from \"./projectConnections.js\";\nexport * from \"./accountCapabilityHosts.js\";\nexport * from \"./projectCapabilityHosts.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC","sourcesContent":["// 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\nexport * from \"./accounts.js\";\nexport * from \"./deletedAccounts.js\";\nexport * from \"./resourceSkus.js\";\nexport * from \"./usages.js\";\nexport * from \"./operations.js\";\nexport * from \"./commitmentTiers.js\";\nexport * from \"./models.js\";\nexport * from \"./locationBasedModelCapacities.js\";\nexport * from \"./modelCapacities.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./deployments.js\";\nexport * from \"./commitmentPlans.js\";\nexport * from \"./encryptionScopes.js\";\nexport * from \"./raiPolicies.js\";\nexport * from \"./raiBlocklists.js\";\nexport * from \"./raiBlocklistItems.js\";\nexport * from \"./raiTopics.js\";\nexport * from \"./raiContentFilters.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\nexport * from \"./defenderForAISettings.js\";\nexport * from \"./projects.js\";\nexport * from \"./accountConnections.js\";\nexport * from \"./projectConnections.js\";\nexport * from \"./accountCapabilityHosts.js\";\nexport * from \"./projectCapabilityHosts.js\";\nexport * from \"./quotaTiers.js\";\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { LocationBasedModelCapacities } from "../operationsInterfaces/index.js";
3
- import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
- import { ModelCapacityListResultValueItem, LocationBasedModelCapacitiesListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { LocationBasedModelCapacities } from "../operationsInterfaces/index.js";
3
+ import type { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient.js";
4
+ import type { ModelCapacityListResultValueItem, LocationBasedModelCapacitiesListOptionalParams } from "../models/index.js";
5
5
  /** Class containing LocationBasedModelCapacities operations. */
6
6
  export declare class LocationBasedModelCapacitiesImpl implements LocationBasedModelCapacities {
7
7
  private readonly client;