@azure/arm-billing 3.1.1 → 4.0.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 (473) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -81
  4. package/dist/index.js +10450 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/billingManagementClient.d.ts +37 -0
  9. package/dist-esm/src/billingManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/billingManagementClient.js +70 -0
  11. package/dist-esm/src/billingManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +3244 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +272 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +86 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +2114 -1808
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +45 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +374 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/address.d.ts +20 -0
  33. package/dist-esm/src/operations/address.d.ts.map +1 -0
  34. package/dist-esm/src/operations/address.js +50 -0
  35. package/dist-esm/src/operations/address.js.map +1 -0
  36. package/dist-esm/src/operations/agreements.d.ts +42 -0
  37. package/dist-esm/src/operations/agreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/agreements.js +156 -0
  39. package/dist-esm/src/operations/agreements.js.map +1 -0
  40. package/dist-esm/src/operations/availableBalances.d.ts +22 -0
  41. package/dist-esm/src/operations/availableBalances.d.ts.map +1 -0
  42. package/dist-esm/src/operations/availableBalances.js +54 -0
  43. package/dist-esm/src/operations/availableBalances.js.map +1 -0
  44. package/dist-esm/src/operations/billingAccounts.d.ts +79 -0
  45. package/dist-esm/src/operations/billingAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/billingAccounts.js +330 -0
  47. package/dist-esm/src/operations/billingAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/billingPeriods.d.ts +44 -0
  49. package/dist-esm/src/operations/billingPeriods.d.ts.map +1 -0
  50. package/dist-esm/src/operations/billingPeriods.js +168 -0
  51. package/dist-esm/src/operations/billingPeriods.js.map +1 -0
  52. package/dist-esm/src/operations/billingPermissions.d.ts +110 -0
  53. package/dist-esm/src/operations/billingPermissions.d.ts.map +1 -0
  54. package/dist-esm/src/operations/billingPermissions.js +468 -0
  55. package/dist-esm/src/operations/billingPermissions.js.map +1 -0
  56. package/dist-esm/src/operations/billingProfiles.d.ts +64 -0
  57. package/dist-esm/src/operations/billingProfiles.d.ts.map +1 -0
  58. package/dist-esm/src/operations/billingProfiles.js +245 -0
  59. package/dist-esm/src/operations/billingProfiles.js.map +1 -0
  60. package/dist-esm/src/operations/billingPropertyOperations.d.ts +26 -0
  61. package/dist-esm/src/operations/billingPropertyOperations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/billingPropertyOperations.js +74 -0
  63. package/dist-esm/src/operations/billingPropertyOperations.js.map +1 -0
  64. package/dist-esm/src/operations/billingRoleAssignments.d.ts +146 -0
  65. package/dist-esm/src/operations/billingRoleAssignments.d.ts.map +1 -0
  66. package/dist-esm/src/operations/billingRoleAssignments.js +578 -0
  67. package/dist-esm/src/operations/billingRoleAssignments.js.map +1 -0
  68. package/dist-esm/src/operations/billingRoleDefinitions.d.ts +119 -0
  69. package/dist-esm/src/operations/billingRoleDefinitions.d.ts.map +1 -0
  70. package/dist-esm/src/operations/billingRoleDefinitions.js +471 -0
  71. package/dist-esm/src/operations/billingRoleDefinitions.js.map +1 -0
  72. package/dist-esm/src/operations/billingSubscriptions.d.ts +160 -0
  73. package/dist-esm/src/operations/billingSubscriptions.d.ts.map +1 -0
  74. package/dist-esm/src/operations/billingSubscriptions.js +655 -0
  75. package/dist-esm/src/operations/billingSubscriptions.js.map +1 -0
  76. package/dist-esm/src/operations/customers.d.ts +71 -0
  77. package/dist-esm/src/operations/customers.d.ts.map +1 -0
  78. package/dist-esm/src/operations/customers.js +287 -0
  79. package/dist-esm/src/operations/customers.js.map +1 -0
  80. package/dist-esm/src/operations/enrollmentAccounts.d.ts +38 -0
  81. package/dist-esm/src/operations/enrollmentAccounts.d.ts.map +1 -0
  82. package/dist-esm/src/operations/enrollmentAccounts.js +144 -0
  83. package/dist-esm/src/operations/enrollmentAccounts.js.map +1 -0
  84. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  85. package/dist-esm/src/operations/index.d.ts.map +1 -0
  86. package/{esm → dist-esm/src}/operations/index.js +4 -5
  87. package/dist-esm/src/operations/index.js.map +1 -0
  88. package/dist-esm/src/operations/instructions.d.ts +57 -0
  89. package/dist-esm/src/operations/instructions.d.ts.map +1 -0
  90. package/dist-esm/src/operations/instructions.js +208 -0
  91. package/dist-esm/src/operations/instructions.js.map +1 -0
  92. package/dist-esm/src/operations/invoiceSections.d.ts +70 -0
  93. package/dist-esm/src/operations/invoiceSections.d.ts.map +1 -0
  94. package/dist-esm/src/operations/invoiceSections.js +264 -0
  95. package/dist-esm/src/operations/invoiceSections.js.map +1 -0
  96. package/dist-esm/src/operations/invoices.d.ts +202 -0
  97. package/dist-esm/src/operations/invoices.d.ts.map +1 -0
  98. package/dist-esm/src/operations/invoices.js +817 -0
  99. package/dist-esm/src/operations/invoices.js.map +1 -0
  100. package/dist-esm/src/operations/operations.d.ts +32 -0
  101. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operations/operations.js +120 -0
  103. package/dist-esm/src/operations/operations.js.map +1 -0
  104. package/dist-esm/src/operations/policies.d.ts +47 -0
  105. package/dist-esm/src/operations/policies.d.ts.map +1 -0
  106. package/dist-esm/src/operations/policies.js +149 -0
  107. package/dist-esm/src/operations/policies.js.map +1 -0
  108. package/dist-esm/src/operations/products.d.ts +160 -0
  109. package/dist-esm/src/operations/products.d.ts.map +1 -0
  110. package/dist-esm/src/operations/products.js +615 -0
  111. package/dist-esm/src/operations/products.js.map +1 -0
  112. package/dist-esm/src/operations/reservations.d.ts +63 -0
  113. package/dist-esm/src/operations/reservations.d.ts.map +1 -0
  114. package/dist-esm/src/operations/reservations.js +265 -0
  115. package/dist-esm/src/operations/reservations.js.map +1 -0
  116. package/dist-esm/src/operations/transactions.d.ts +40 -0
  117. package/dist-esm/src/operations/transactions.d.ts.map +1 -0
  118. package/dist-esm/src/operations/transactions.js +137 -0
  119. package/dist-esm/src/operations/transactions.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/address.d.ts +12 -0
  121. package/dist-esm/src/operationsInterfaces/address.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/address.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/address.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/agreements.d.ts +19 -0
  125. package/dist-esm/src/operationsInterfaces/agreements.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/agreements.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/agreements.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/availableBalances.d.ts +14 -0
  129. package/dist-esm/src/operationsInterfaces/availableBalances.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/availableBalances.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/availableBalances.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts +41 -0
  133. package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/billingAccounts.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/billingAccounts.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts +21 -0
  137. package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/billingPeriods.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/billingPeriods.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts +34 -0
  141. package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/billingPermissions.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/billingPermissions.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts +40 -0
  145. package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/billingProfiles.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/billingProfiles.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts +18 -0
  149. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts +84 -0
  153. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts +57 -0
  157. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts +80 -0
  161. package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/billingSubscriptions.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/billingSubscriptions.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/customers.d.ts +29 -0
  165. package/dist-esm/src/operationsInterfaces/customers.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/customers.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/customers.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts +17 -0
  169. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/index.d.ts +22 -0
  173. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/index.js +29 -0
  175. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/instructions.d.ts +32 -0
  177. package/dist-esm/src/operationsInterfaces/instructions.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/instructions.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/instructions.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts +44 -0
  181. package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/invoiceSections.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/invoiceSections.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/invoices.d.ts +124 -0
  185. package/dist-esm/src/operationsInterfaces/invoices.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/invoices.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/invoices.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  189. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/policies.d.ts +39 -0
  193. package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/policies.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/products.d.ts +78 -0
  197. package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/products.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/reservations.d.ts +21 -0
  201. package/dist-esm/src/operationsInterfaces/reservations.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/reservations.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/reservations.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/transactions.d.ts +14 -0
  205. package/dist-esm/src/operationsInterfaces/transactions.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/transactions.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/transactions.js.map +1 -0
  208. package/dist-esm/test/sampleTest.d.ts +2 -0
  209. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  210. package/dist-esm/test/sampleTest.js +40 -0
  211. package/dist-esm/test/sampleTest.js.map +1 -0
  212. package/package.json +65 -32
  213. package/review/arm-billing.api.md +2361 -0
  214. package/rollup.config.js +181 -30
  215. package/src/billingManagementClient.ts +144 -73
  216. package/src/index.ts +12 -0
  217. package/src/lroImpl.ts +34 -0
  218. package/src/models/index.ts +2567 -3859
  219. package/src/models/mappers.ts +2120 -1803
  220. package/src/models/parameters.ts +257 -103
  221. package/src/operations/address.ts +38 -56
  222. package/src/operations/agreements.ts +133 -118
  223. package/src/operations/availableBalances.ts +41 -56
  224. package/src/operations/billingAccounts.ts +314 -229
  225. package/src/operations/billingPeriods.ts +131 -122
  226. package/src/operations/billingPermissions.ts +468 -275
  227. package/src/operations/billingProfiles.ts +236 -165
  228. package/src/operations/billingPropertyOperations.ts +55 -94
  229. package/src/operations/billingRoleAssignments.ts +506 -453
  230. package/src/operations/billingRoleDefinitions.ts +436 -334
  231. package/src/operations/billingSubscriptions.ts +669 -487
  232. package/src/operations/customers.ts +263 -187
  233. package/src/operations/enrollmentAccounts.ts +104 -108
  234. package/src/operations/index.ts +4 -5
  235. package/src/operations/instructions.ts +182 -167
  236. package/src/operations/invoiceSections.ts +265 -167
  237. package/src/operations/invoices.ts +903 -544
  238. package/src/operations/operations.ts +87 -73
  239. package/src/operations/policies.ts +112 -188
  240. package/src/operations/products.ts +599 -501
  241. package/src/operations/reservations.ts +344 -0
  242. package/src/operations/transactions.ts +133 -81
  243. package/src/operationsInterfaces/address.ts +27 -0
  244. package/src/operationsInterfaces/agreements.ts +40 -0
  245. package/src/operationsInterfaces/availableBalances.ts +29 -0
  246. package/src/operationsInterfaces/billingAccounts.ts +81 -0
  247. package/src/operationsInterfaces/billingPeriods.ts +40 -0
  248. package/src/operationsInterfaces/billingPermissions.ts +65 -0
  249. package/src/operationsInterfaces/billingProfiles.ts +78 -0
  250. package/src/operationsInterfaces/billingPropertyOperations.ts +37 -0
  251. package/src/operationsInterfaces/billingRoleAssignments.ts +152 -0
  252. package/src/operationsInterfaces/billingRoleDefinitions.ts +104 -0
  253. package/src/operationsInterfaces/billingSubscriptions.ts +144 -0
  254. package/src/operationsInterfaces/customers.ts +55 -0
  255. package/src/operationsInterfaces/enrollmentAccounts.ts +36 -0
  256. package/src/operationsInterfaces/index.ts +29 -0
  257. package/src/operationsInterfaces/instructions.ts +63 -0
  258. package/src/operationsInterfaces/invoiceSections.ts +86 -0
  259. package/src/operationsInterfaces/invoices.ts +233 -0
  260. package/src/operationsInterfaces/operations.ts +22 -0
  261. package/src/operationsInterfaces/policies.ts +76 -0
  262. package/src/operationsInterfaces/products.ts +137 -0
  263. package/src/operationsInterfaces/reservations.ts +41 -0
  264. package/src/operationsInterfaces/transactions.ts +30 -0
  265. package/tsconfig.json +3 -3
  266. package/types/arm-billing.d.ts +4451 -0
  267. package/types/tsdoc-metadata.json +11 -0
  268. package/dist/arm-billing.js +0 -8674
  269. package/dist/arm-billing.js.map +0 -1
  270. package/dist/arm-billing.min.js +0 -1
  271. package/dist/arm-billing.min.js.map +0 -1
  272. package/esm/billingManagementClient.d.ts +0 -43
  273. package/esm/billingManagementClient.d.ts.map +0 -1
  274. package/esm/billingManagementClient.js +0 -57
  275. package/esm/billingManagementClient.js.map +0 -1
  276. package/esm/billingManagementClientContext.d.ts +0 -21
  277. package/esm/billingManagementClientContext.d.ts.map +0 -1
  278. package/esm/billingManagementClientContext.js +0 -60
  279. package/esm/billingManagementClientContext.js.map +0 -1
  280. package/esm/models/addressMappers.d.ts +0 -2
  281. package/esm/models/addressMappers.d.ts.map +0 -1
  282. package/esm/models/addressMappers.js +0 -9
  283. package/esm/models/addressMappers.js.map +0 -1
  284. package/esm/models/agreementsMappers.d.ts +0 -2
  285. package/esm/models/agreementsMappers.d.ts.map +0 -1
  286. package/esm/models/agreementsMappers.js +0 -9
  287. package/esm/models/agreementsMappers.js.map +0 -1
  288. package/esm/models/availableBalancesMappers.d.ts +0 -2
  289. package/esm/models/availableBalancesMappers.d.ts.map +0 -1
  290. package/esm/models/availableBalancesMappers.js +0 -9
  291. package/esm/models/availableBalancesMappers.js.map +0 -1
  292. package/esm/models/billingAccountsMappers.d.ts +0 -2
  293. package/esm/models/billingAccountsMappers.d.ts.map +0 -1
  294. package/esm/models/billingAccountsMappers.js +0 -9
  295. package/esm/models/billingAccountsMappers.js.map +0 -1
  296. package/esm/models/billingPeriodsMappers.d.ts +0 -2
  297. package/esm/models/billingPeriodsMappers.d.ts.map +0 -1
  298. package/esm/models/billingPeriodsMappers.js +0 -9
  299. package/esm/models/billingPeriodsMappers.js.map +0 -1
  300. package/esm/models/billingPermissionsMappers.d.ts +0 -2
  301. package/esm/models/billingPermissionsMappers.d.ts.map +0 -1
  302. package/esm/models/billingPermissionsMappers.js +0 -9
  303. package/esm/models/billingPermissionsMappers.js.map +0 -1
  304. package/esm/models/billingProfilesMappers.d.ts +0 -2
  305. package/esm/models/billingProfilesMappers.d.ts.map +0 -1
  306. package/esm/models/billingProfilesMappers.js +0 -9
  307. package/esm/models/billingProfilesMappers.js.map +0 -1
  308. package/esm/models/billingPropertyOperationsMappers.d.ts +0 -2
  309. package/esm/models/billingPropertyOperationsMappers.d.ts.map +0 -1
  310. package/esm/models/billingPropertyOperationsMappers.js +0 -9
  311. package/esm/models/billingPropertyOperationsMappers.js.map +0 -1
  312. package/esm/models/billingRoleAssignmentsMappers.d.ts +0 -2
  313. package/esm/models/billingRoleAssignmentsMappers.d.ts.map +0 -1
  314. package/esm/models/billingRoleAssignmentsMappers.js +0 -9
  315. package/esm/models/billingRoleAssignmentsMappers.js.map +0 -1
  316. package/esm/models/billingRoleDefinitionsMappers.d.ts +0 -2
  317. package/esm/models/billingRoleDefinitionsMappers.d.ts.map +0 -1
  318. package/esm/models/billingRoleDefinitionsMappers.js +0 -9
  319. package/esm/models/billingRoleDefinitionsMappers.js.map +0 -1
  320. package/esm/models/billingSubscriptionsMappers.d.ts +0 -2
  321. package/esm/models/billingSubscriptionsMappers.d.ts.map +0 -1
  322. package/esm/models/billingSubscriptionsMappers.js +0 -9
  323. package/esm/models/billingSubscriptionsMappers.js.map +0 -1
  324. package/esm/models/customersMappers.d.ts +0 -2
  325. package/esm/models/customersMappers.d.ts.map +0 -1
  326. package/esm/models/customersMappers.js +0 -9
  327. package/esm/models/customersMappers.js.map +0 -1
  328. package/esm/models/enrollmentAccountsMappers.d.ts +0 -2
  329. package/esm/models/enrollmentAccountsMappers.d.ts.map +0 -1
  330. package/esm/models/enrollmentAccountsMappers.js +0 -9
  331. package/esm/models/enrollmentAccountsMappers.js.map +0 -1
  332. package/esm/models/index.d.ts +0 -4587
  333. package/esm/models/index.d.ts.map +0 -1
  334. package/esm/models/index.js +0 -8
  335. package/esm/models/index.js.map +0 -1
  336. package/esm/models/instructionsMappers.d.ts +0 -2
  337. package/esm/models/instructionsMappers.d.ts.map +0 -1
  338. package/esm/models/instructionsMappers.js +0 -9
  339. package/esm/models/instructionsMappers.js.map +0 -1
  340. package/esm/models/invoiceSectionsMappers.d.ts +0 -2
  341. package/esm/models/invoiceSectionsMappers.d.ts.map +0 -1
  342. package/esm/models/invoiceSectionsMappers.js +0 -9
  343. package/esm/models/invoiceSectionsMappers.js.map +0 -1
  344. package/esm/models/invoicesMappers.d.ts +0 -2
  345. package/esm/models/invoicesMappers.d.ts.map +0 -1
  346. package/esm/models/invoicesMappers.js +0 -9
  347. package/esm/models/invoicesMappers.js.map +0 -1
  348. package/esm/models/mappers.d.ts +0 -82
  349. package/esm/models/mappers.d.ts.map +0 -1
  350. package/esm/models/mappers.js.map +0 -1
  351. package/esm/models/operationsMappers.d.ts +0 -2
  352. package/esm/models/operationsMappers.d.ts.map +0 -1
  353. package/esm/models/operationsMappers.js +0 -9
  354. package/esm/models/operationsMappers.js.map +0 -1
  355. package/esm/models/parameters.d.ts +0 -27
  356. package/esm/models/parameters.d.ts.map +0 -1
  357. package/esm/models/parameters.js +0 -279
  358. package/esm/models/parameters.js.map +0 -1
  359. package/esm/models/policiesMappers.d.ts +0 -2
  360. package/esm/models/policiesMappers.d.ts.map +0 -1
  361. package/esm/models/policiesMappers.js +0 -9
  362. package/esm/models/policiesMappers.js.map +0 -1
  363. package/esm/models/productsMappers.d.ts +0 -2
  364. package/esm/models/productsMappers.d.ts.map +0 -1
  365. package/esm/models/productsMappers.js +0 -9
  366. package/esm/models/productsMappers.js.map +0 -1
  367. package/esm/models/transactionsMappers.d.ts +0 -2
  368. package/esm/models/transactionsMappers.d.ts.map +0 -1
  369. package/esm/models/transactionsMappers.js +0 -9
  370. package/esm/models/transactionsMappers.js.map +0 -1
  371. package/esm/operations/address.d.ts +0 -32
  372. package/esm/operations/address.d.ts.map +0 -1
  373. package/esm/operations/address.js +0 -57
  374. package/esm/operations/address.js.map +0 -1
  375. package/esm/operations/agreements.d.ts +0 -70
  376. package/esm/operations/agreements.d.ts.map +0 -1
  377. package/esm/operations/agreements.js +0 -113
  378. package/esm/operations/agreements.js.map +0 -1
  379. package/esm/operations/availableBalances.d.ts +0 -36
  380. package/esm/operations/availableBalances.d.ts.map +0 -1
  381. package/esm/operations/availableBalances.js +0 -57
  382. package/esm/operations/availableBalances.js.map +0 -1
  383. package/esm/operations/billingAccounts.d.ts +0 -127
  384. package/esm/operations/billingAccounts.d.ts.map +0 -1
  385. package/esm/operations/billingAccounts.js +0 -218
  386. package/esm/operations/billingAccounts.js.map +0 -1
  387. package/esm/operations/billingPeriods.d.ts +0 -70
  388. package/esm/operations/billingPeriods.d.ts.map +0 -1
  389. package/esm/operations/billingPeriods.js +0 -112
  390. package/esm/operations/billingPeriods.js.map +0 -1
  391. package/esm/operations/billingPermissions.d.ts +0 -169
  392. package/esm/operations/billingPermissions.d.ts.map +0 -1
  393. package/esm/operations/billingPermissions.js +0 -251
  394. package/esm/operations/billingPermissions.js.map +0 -1
  395. package/esm/operations/billingProfiles.d.ts +0 -94
  396. package/esm/operations/billingProfiles.d.ts.map +0 -1
  397. package/esm/operations/billingProfiles.js +0 -176
  398. package/esm/operations/billingProfiles.js.map +0 -1
  399. package/esm/operations/billingPropertyOperations.d.ts +0 -46
  400. package/esm/operations/billingPropertyOperations.d.ts.map +0 -1
  401. package/esm/operations/billingPropertyOperations.js +0 -91
  402. package/esm/operations/billingPropertyOperations.js.map +0 -1
  403. package/esm/operations/billingRoleAssignments.d.ts +0 -292
  404. package/esm/operations/billingRoleAssignments.d.ts.map +0 -1
  405. package/esm/operations/billingRoleAssignments.js +0 -387
  406. package/esm/operations/billingRoleAssignments.js.map +0 -1
  407. package/esm/operations/billingRoleDefinitions.d.ts +0 -211
  408. package/esm/operations/billingRoleDefinitions.d.ts.map +0 -1
  409. package/esm/operations/billingRoleDefinitions.js +0 -291
  410. package/esm/operations/billingRoleDefinitions.js.map +0 -1
  411. package/esm/operations/billingSubscriptions.d.ts +0 -267
  412. package/esm/operations/billingSubscriptions.d.ts.map +0 -1
  413. package/esm/operations/billingSubscriptions.js +0 -414
  414. package/esm/operations/billingSubscriptions.js.map +0 -1
  415. package/esm/operations/customers.d.ts +0 -114
  416. package/esm/operations/customers.d.ts.map +0 -1
  417. package/esm/operations/customers.js +0 -172
  418. package/esm/operations/customers.js.map +0 -1
  419. package/esm/operations/enrollmentAccounts.d.ts +0 -64
  420. package/esm/operations/enrollmentAccounts.d.ts.map +0 -1
  421. package/esm/operations/enrollmentAccounts.js +0 -105
  422. package/esm/operations/enrollmentAccounts.js.map +0 -1
  423. package/esm/operations/index.d.ts.map +0 -1
  424. package/esm/operations/index.js.map +0 -1
  425. package/esm/operations/instructions.d.ts +0 -105
  426. package/esm/operations/instructions.d.ts.map +0 -1
  427. package/esm/operations/instructions.js +0 -153
  428. package/esm/operations/instructions.js.map +0 -1
  429. package/esm/operations/invoiceSections.d.ts +0 -102
  430. package/esm/operations/invoiceSections.d.ts.map +0 -1
  431. package/esm/operations/invoiceSections.js +0 -182
  432. package/esm/operations/invoiceSections.js.map +0 -1
  433. package/esm/operations/invoices.d.ts +0 -291
  434. package/esm/operations/invoices.d.ts.map +0 -1
  435. package/esm/operations/invoices.js +0 -539
  436. package/esm/operations/invoices.js.map +0 -1
  437. package/esm/operations/operations.d.ts +0 -46
  438. package/esm/operations/operations.d.ts.map +0 -1
  439. package/esm/operations/operations.js +0 -77
  440. package/esm/operations/operations.js.map +0 -1
  441. package/esm/operations/policies.d.ts +0 -104
  442. package/esm/operations/policies.d.ts.map +0 -1
  443. package/esm/operations/policies.js +0 -162
  444. package/esm/operations/policies.js.map +0 -1
  445. package/esm/operations/products.d.ts +0 -279
  446. package/esm/operations/products.d.ts.map +0 -1
  447. package/esm/operations/products.js +0 -403
  448. package/esm/operations/products.js.map +0 -1
  449. package/esm/operations/transactions.d.ts +0 -54
  450. package/esm/operations/transactions.d.ts.map +0 -1
  451. package/esm/operations/transactions.js +0 -83
  452. package/esm/operations/transactions.js.map +0 -1
  453. package/src/billingManagementClientContext.ts +0 -66
  454. package/src/models/addressMappers.ts +0 -15
  455. package/src/models/agreementsMappers.ts +0 -50
  456. package/src/models/availableBalancesMappers.ts +0 -49
  457. package/src/models/billingAccountsMappers.ts +0 -53
  458. package/src/models/billingPeriodsMappers.ts +0 -50
  459. package/src/models/billingPermissionsMappers.ts +0 -15
  460. package/src/models/billingProfilesMappers.ts +0 -51
  461. package/src/models/billingPropertyOperationsMappers.ts +0 -49
  462. package/src/models/billingRoleAssignmentsMappers.ts +0 -50
  463. package/src/models/billingRoleDefinitionsMappers.ts +0 -50
  464. package/src/models/billingSubscriptionsMappers.ts +0 -54
  465. package/src/models/customersMappers.ts +0 -50
  466. package/src/models/enrollmentAccountsMappers.ts +0 -50
  467. package/src/models/instructionsMappers.ts +0 -50
  468. package/src/models/invoiceSectionsMappers.ts +0 -51
  469. package/src/models/invoicesMappers.ts +0 -55
  470. package/src/models/operationsMappers.ts +0 -16
  471. package/src/models/policiesMappers.ts +0 -49
  472. package/src/models/productsMappers.ts +0 -54
  473. package/src/models/transactionsMappers.ts +0 -50
@@ -0,0 +1,2361 @@
1
+ ## API Report File for "@azure/arm-billing"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type AcceptanceMode = string;
15
+
16
+ // @public
17
+ export type AccountStatus = string;
18
+
19
+ // @public
20
+ export type AccountType = string;
21
+
22
+ // @public
23
+ export interface Address {
24
+ validate(address: AddressDetails, options?: AddressValidateOptionalParams): Promise<AddressValidateResponse>;
25
+ }
26
+
27
+ // @public
28
+ export interface AddressDetails {
29
+ addressLine1: string;
30
+ addressLine2?: string;
31
+ addressLine3?: string;
32
+ city?: string;
33
+ companyName?: string;
34
+ country: string;
35
+ district?: string;
36
+ email?: string;
37
+ firstName?: string;
38
+ lastName?: string;
39
+ middleName?: string;
40
+ phoneNumber?: string;
41
+ postalCode?: string;
42
+ region?: string;
43
+ }
44
+
45
+ // @public
46
+ export interface AddressValidateOptionalParams extends coreClient.OperationOptions {
47
+ }
48
+
49
+ // @public
50
+ export type AddressValidateResponse = ValidateAddressResponse;
51
+
52
+ // @public
53
+ export type AddressValidationStatus = string;
54
+
55
+ // @public
56
+ export type Agreement = Resource & {
57
+ readonly agreementLink?: string;
58
+ readonly category?: Category;
59
+ readonly acceptanceMode?: AcceptanceMode;
60
+ readonly effectiveDate?: Date;
61
+ readonly expirationDate?: Date;
62
+ participants?: Participants[];
63
+ readonly status?: string;
64
+ };
65
+
66
+ // @public
67
+ export interface AgreementListResult {
68
+ readonly nextLink?: string;
69
+ readonly value?: Agreement[];
70
+ }
71
+
72
+ // @public
73
+ export interface Agreements {
74
+ get(billingAccountName: string, agreementName: string, options?: AgreementsGetOptionalParams): Promise<AgreementsGetResponse>;
75
+ listByBillingAccount(billingAccountName: string, options?: AgreementsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Agreement>;
76
+ }
77
+
78
+ // @public
79
+ export interface AgreementsGetOptionalParams extends coreClient.OperationOptions {
80
+ expand?: string;
81
+ }
82
+
83
+ // @public
84
+ export type AgreementsGetResponse = Agreement;
85
+
86
+ // @public
87
+ export interface AgreementsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
88
+ expand?: string;
89
+ }
90
+
91
+ // @public
92
+ export type AgreementsListByBillingAccountNextResponse = AgreementListResult;
93
+
94
+ // @public
95
+ export interface AgreementsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
96
+ expand?: string;
97
+ }
98
+
99
+ // @public
100
+ export type AgreementsListByBillingAccountResponse = AgreementListResult;
101
+
102
+ // @public
103
+ export type AgreementType = string;
104
+
105
+ // @public
106
+ export interface Amount {
107
+ readonly currency?: string;
108
+ value?: number;
109
+ }
110
+
111
+ // @public
112
+ export type AutoRenew = string;
113
+
114
+ // @public
115
+ export type AvailableBalance = Resource & {
116
+ readonly amount?: Amount;
117
+ };
118
+
119
+ // @public
120
+ export interface AvailableBalances {
121
+ get(billingAccountName: string, billingProfileName: string, options?: AvailableBalancesGetOptionalParams): Promise<AvailableBalancesGetResponse>;
122
+ }
123
+
124
+ // @public
125
+ export interface AvailableBalancesGetOptionalParams extends coreClient.OperationOptions {
126
+ }
127
+
128
+ // @public
129
+ export type AvailableBalancesGetResponse = AvailableBalance;
130
+
131
+ // @public
132
+ export interface AzurePlan {
133
+ readonly skuDescription?: string;
134
+ skuId?: string;
135
+ }
136
+
137
+ // @public
138
+ export type BillingAccount = Resource & {
139
+ displayName?: string;
140
+ soldTo?: AddressDetails;
141
+ readonly agreementType?: AgreementType;
142
+ readonly accountType?: AccountType;
143
+ readonly accountStatus?: AccountStatus;
144
+ billingProfiles?: BillingProfilesOnExpand;
145
+ readonly enrollmentDetails?: Enrollment;
146
+ departments?: Department[];
147
+ enrollmentAccounts?: EnrollmentAccount[];
148
+ readonly hasReadAccess?: boolean;
149
+ notificationEmailAddress?: string;
150
+ };
151
+
152
+ // @public
153
+ export interface BillingAccountListResult {
154
+ readonly nextLink?: string;
155
+ readonly value?: BillingAccount[];
156
+ }
157
+
158
+ // @public
159
+ export interface BillingAccounts {
160
+ beginUpdate(billingAccountName: string, parameters: BillingAccountUpdateRequest, options?: BillingAccountsUpdateOptionalParams): Promise<PollerLike<PollOperationState<BillingAccountsUpdateResponse>, BillingAccountsUpdateResponse>>;
161
+ beginUpdateAndWait(billingAccountName: string, parameters: BillingAccountUpdateRequest, options?: BillingAccountsUpdateOptionalParams): Promise<BillingAccountsUpdateResponse>;
162
+ get(billingAccountName: string, options?: BillingAccountsGetOptionalParams): Promise<BillingAccountsGetResponse>;
163
+ list(options?: BillingAccountsListOptionalParams): PagedAsyncIterableIterator<BillingAccount>;
164
+ listInvoiceSectionsByCreateSubscriptionPermission(billingAccountName: string, options?: BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionOptionalParams): PagedAsyncIterableIterator<InvoiceSectionWithCreateSubPermission>;
165
+ }
166
+
167
+ // @public
168
+ export interface BillingAccountsGetOptionalParams extends coreClient.OperationOptions {
169
+ expand?: string;
170
+ }
171
+
172
+ // @public
173
+ export type BillingAccountsGetResponse = BillingAccount;
174
+
175
+ // @public
176
+ export interface BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextOptionalParams extends coreClient.OperationOptions {
177
+ }
178
+
179
+ // @public
180
+ export type BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextResponse = InvoiceSectionListWithCreateSubPermissionResult;
181
+
182
+ // @public
183
+ export interface BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionOptionalParams extends coreClient.OperationOptions {
184
+ }
185
+
186
+ // @public
187
+ export type BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionResponse = InvoiceSectionListWithCreateSubPermissionResult;
188
+
189
+ // @public
190
+ export interface BillingAccountsListNextOptionalParams extends coreClient.OperationOptions {
191
+ expand?: string;
192
+ }
193
+
194
+ // @public
195
+ export type BillingAccountsListNextResponse = BillingAccountListResult;
196
+
197
+ // @public
198
+ export interface BillingAccountsListOptionalParams extends coreClient.OperationOptions {
199
+ expand?: string;
200
+ }
201
+
202
+ // @public
203
+ export type BillingAccountsListResponse = BillingAccountListResult;
204
+
205
+ // @public
206
+ export interface BillingAccountsUpdateOptionalParams extends coreClient.OperationOptions {
207
+ resumeFrom?: string;
208
+ updateIntervalInMs?: number;
209
+ }
210
+
211
+ // @public
212
+ export type BillingAccountsUpdateResponse = BillingAccount;
213
+
214
+ // @public
215
+ export interface BillingAccountUpdateRequest {
216
+ readonly accountStatus?: AccountStatus;
217
+ readonly accountType?: AccountType;
218
+ readonly agreementType?: AgreementType;
219
+ billingProfiles?: BillingProfilesOnExpand;
220
+ departments?: Department[];
221
+ displayName?: string;
222
+ enrollmentAccounts?: EnrollmentAccount[];
223
+ readonly enrollmentDetails?: Enrollment;
224
+ readonly hasReadAccess?: boolean;
225
+ notificationEmailAddress?: string;
226
+ soldTo?: AddressDetails;
227
+ }
228
+
229
+ // @public
230
+ export type BillingFrequency = string;
231
+
232
+ // @public (undocumented)
233
+ export class BillingManagementClient extends coreClient.ServiceClient {
234
+ // (undocumented)
235
+ $host: string;
236
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: BillingManagementClientOptionalParams);
237
+ // (undocumented)
238
+ address: Address;
239
+ // (undocumented)
240
+ agreements: Agreements;
241
+ // (undocumented)
242
+ availableBalances: AvailableBalances;
243
+ // (undocumented)
244
+ billingAccounts: BillingAccounts;
245
+ // (undocumented)
246
+ billingPeriods: BillingPeriods;
247
+ // (undocumented)
248
+ billingPermissions: BillingPermissions;
249
+ // (undocumented)
250
+ billingProfiles: BillingProfiles;
251
+ // (undocumented)
252
+ billingPropertyOperations: BillingPropertyOperations;
253
+ // (undocumented)
254
+ billingRoleAssignments: BillingRoleAssignments;
255
+ // (undocumented)
256
+ billingRoleDefinitions: BillingRoleDefinitions;
257
+ // (undocumented)
258
+ billingSubscriptions: BillingSubscriptions;
259
+ // (undocumented)
260
+ customers: Customers;
261
+ // (undocumented)
262
+ enrollmentAccounts: EnrollmentAccounts;
263
+ // (undocumented)
264
+ instructions: Instructions;
265
+ // (undocumented)
266
+ invoices: Invoices;
267
+ // (undocumented)
268
+ invoiceSections: InvoiceSections;
269
+ // (undocumented)
270
+ operations: Operations;
271
+ // (undocumented)
272
+ policies: Policies;
273
+ // (undocumented)
274
+ products: Products;
275
+ // (undocumented)
276
+ reservations: Reservations;
277
+ // (undocumented)
278
+ subscriptionId: string;
279
+ // (undocumented)
280
+ transactions: Transactions;
281
+ }
282
+
283
+ // @public
284
+ export interface BillingManagementClientOptionalParams extends coreClient.ServiceClientOptions {
285
+ $host?: string;
286
+ endpoint?: string;
287
+ }
288
+
289
+ // @public
290
+ export type BillingPeriod = Resource & {
291
+ readonly billingPeriodStartDate?: Date;
292
+ readonly billingPeriodEndDate?: Date;
293
+ readonly invoiceIds?: string[];
294
+ };
295
+
296
+ // @public
297
+ export interface BillingPeriods {
298
+ get(billingPeriodName: string, options?: BillingPeriodsGetOptionalParams): Promise<BillingPeriodsGetResponse>;
299
+ list(options?: BillingPeriodsListOptionalParams): PagedAsyncIterableIterator<BillingPeriod>;
300
+ }
301
+
302
+ // @public
303
+ export interface BillingPeriodsGetOptionalParams extends coreClient.OperationOptions {
304
+ }
305
+
306
+ // @public
307
+ export type BillingPeriodsGetResponse = BillingPeriod;
308
+
309
+ // @public
310
+ export interface BillingPeriodsListNextOptionalParams extends coreClient.OperationOptions {
311
+ filter?: string;
312
+ skiptoken?: string;
313
+ top?: number;
314
+ }
315
+
316
+ // @public
317
+ export type BillingPeriodsListNextResponse = BillingPeriodsListResult;
318
+
319
+ // @public
320
+ export interface BillingPeriodsListOptionalParams extends coreClient.OperationOptions {
321
+ filter?: string;
322
+ skiptoken?: string;
323
+ top?: number;
324
+ }
325
+
326
+ // @public
327
+ export type BillingPeriodsListResponse = BillingPeriodsListResult;
328
+
329
+ // @public
330
+ export interface BillingPeriodsListResult {
331
+ readonly nextLink?: string;
332
+ readonly value?: BillingPeriod[];
333
+ }
334
+
335
+ // @public
336
+ export interface BillingPermissions {
337
+ listByBillingAccount(billingAccountName: string, options?: BillingPermissionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
338
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingPermissionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
339
+ listByCustomer(billingAccountName: string, customerName: string, options?: BillingPermissionsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
340
+ listByInvoiceSections(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingPermissionsListByInvoiceSectionsOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
341
+ }
342
+
343
+ // @public
344
+ export interface BillingPermissionsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
345
+ }
346
+
347
+ // @public
348
+ export type BillingPermissionsListByBillingAccountNextResponse = BillingPermissionsListResult;
349
+
350
+ // @public
351
+ export interface BillingPermissionsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
352
+ }
353
+
354
+ // @public
355
+ export type BillingPermissionsListByBillingAccountResponse = BillingPermissionsListResult;
356
+
357
+ // @public
358
+ export interface BillingPermissionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
359
+ }
360
+
361
+ // @public
362
+ export type BillingPermissionsListByBillingProfileNextResponse = BillingPermissionsListResult;
363
+
364
+ // @public
365
+ export interface BillingPermissionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
366
+ }
367
+
368
+ // @public
369
+ export type BillingPermissionsListByBillingProfileResponse = BillingPermissionsListResult;
370
+
371
+ // @public
372
+ export interface BillingPermissionsListByCustomerNextOptionalParams extends coreClient.OperationOptions {
373
+ }
374
+
375
+ // @public
376
+ export type BillingPermissionsListByCustomerNextResponse = BillingPermissionsListResult;
377
+
378
+ // @public
379
+ export interface BillingPermissionsListByCustomerOptionalParams extends coreClient.OperationOptions {
380
+ }
381
+
382
+ // @public
383
+ export type BillingPermissionsListByCustomerResponse = BillingPermissionsListResult;
384
+
385
+ // @public
386
+ export interface BillingPermissionsListByInvoiceSectionsNextOptionalParams extends coreClient.OperationOptions {
387
+ }
388
+
389
+ // @public
390
+ export type BillingPermissionsListByInvoiceSectionsNextResponse = BillingPermissionsListResult;
391
+
392
+ // @public
393
+ export interface BillingPermissionsListByInvoiceSectionsOptionalParams extends coreClient.OperationOptions {
394
+ }
395
+
396
+ // @public
397
+ export type BillingPermissionsListByInvoiceSectionsResponse = BillingPermissionsListResult;
398
+
399
+ // @public
400
+ export interface BillingPermissionsListResult {
401
+ readonly nextLink?: string;
402
+ readonly value?: BillingPermissionsProperties[];
403
+ }
404
+
405
+ // @public
406
+ export interface BillingPermissionsProperties {
407
+ readonly actions?: string[];
408
+ readonly notActions?: string[];
409
+ }
410
+
411
+ // @public
412
+ export type BillingProfile = Resource & {
413
+ displayName?: string;
414
+ poNumber?: string;
415
+ readonly billingRelationshipType?: BillingRelationshipType;
416
+ billTo?: AddressDetails;
417
+ readonly indirectRelationshipInfo?: IndirectRelationshipInfo;
418
+ invoiceEmailOptIn?: boolean;
419
+ readonly invoiceDay?: number;
420
+ readonly currency?: string;
421
+ enabledAzurePlans?: AzurePlan[];
422
+ invoiceSections?: InvoiceSectionsOnExpand;
423
+ readonly hasReadAccess?: boolean;
424
+ readonly systemId?: string;
425
+ readonly status?: BillingProfileStatus;
426
+ readonly statusReasonCode?: StatusReasonCode;
427
+ readonly spendingLimit?: SpendingLimit;
428
+ readonly targetClouds?: TargetCloud[];
429
+ tags?: {
430
+ [propertyName: string]: string;
431
+ };
432
+ };
433
+
434
+ // @public
435
+ export interface BillingProfileCreationRequest {
436
+ billTo?: AddressDetails;
437
+ displayName?: string;
438
+ enabledAzurePlans?: AzurePlan[];
439
+ invoiceEmailOptIn?: boolean;
440
+ poNumber?: string;
441
+ }
442
+
443
+ // @public
444
+ export interface BillingProfileListResult {
445
+ readonly nextLink?: string;
446
+ readonly value?: BillingProfile[];
447
+ }
448
+
449
+ // @public
450
+ export interface BillingProfiles {
451
+ beginCreateOrUpdate(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BillingProfilesCreateOrUpdateResponse>, BillingProfilesCreateOrUpdateResponse>>;
452
+ beginCreateOrUpdateAndWait(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams): Promise<BillingProfilesCreateOrUpdateResponse>;
453
+ get(billingAccountName: string, billingProfileName: string, options?: BillingProfilesGetOptionalParams): Promise<BillingProfilesGetResponse>;
454
+ listByBillingAccount(billingAccountName: string, options?: BillingProfilesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingProfile>;
455
+ }
456
+
457
+ // @public
458
+ export interface BillingProfilesCreateOrUpdateHeaders {
459
+ location?: string;
460
+ retryAfter?: number;
461
+ }
462
+
463
+ // @public
464
+ export interface BillingProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
465
+ resumeFrom?: string;
466
+ updateIntervalInMs?: number;
467
+ }
468
+
469
+ // @public
470
+ export type BillingProfilesCreateOrUpdateResponse = BillingProfile;
471
+
472
+ // @public
473
+ export interface BillingProfilesGetOptionalParams extends coreClient.OperationOptions {
474
+ expand?: string;
475
+ }
476
+
477
+ // @public
478
+ export type BillingProfilesGetResponse = BillingProfile;
479
+
480
+ // @public
481
+ export interface BillingProfilesListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
482
+ expand?: string;
483
+ }
484
+
485
+ // @public
486
+ export type BillingProfilesListByBillingAccountNextResponse = BillingProfileListResult;
487
+
488
+ // @public
489
+ export interface BillingProfilesListByBillingAccountOptionalParams extends coreClient.OperationOptions {
490
+ expand?: string;
491
+ }
492
+
493
+ // @public
494
+ export type BillingProfilesListByBillingAccountResponse = BillingProfileListResult;
495
+
496
+ // @public
497
+ export interface BillingProfilesOnExpand {
498
+ readonly hasMoreResults?: boolean;
499
+ value?: BillingProfile[];
500
+ }
501
+
502
+ // @public
503
+ export type BillingProfileSpendingLimit = string;
504
+
505
+ // @public
506
+ export type BillingProfileStatus = string;
507
+
508
+ // @public
509
+ export type BillingProfileStatusReasonCode = string;
510
+
511
+ // @public
512
+ export type BillingProperty = Resource & {
513
+ readonly accountAdminNotificationEmailAddress?: string;
514
+ readonly billingTenantId?: string;
515
+ readonly billingAccountId?: string;
516
+ readonly billingAccountDisplayName?: string;
517
+ readonly billingProfileId?: string;
518
+ readonly billingProfileDisplayName?: string;
519
+ readonly billingProfileStatus?: BillingProfileStatus;
520
+ readonly billingProfileStatusReasonCode?: BillingProfileStatusReasonCode;
521
+ readonly billingProfileSpendingLimit?: BillingProfileSpendingLimit;
522
+ costCenter?: string;
523
+ readonly invoiceSectionId?: string;
524
+ readonly invoiceSectionDisplayName?: string;
525
+ readonly isAccountAdmin?: boolean;
526
+ readonly productId?: string;
527
+ readonly productName?: string;
528
+ readonly skuId?: string;
529
+ readonly skuDescription?: string;
530
+ };
531
+
532
+ // @public
533
+ export interface BillingPropertyGetOptionalParams extends coreClient.OperationOptions {
534
+ }
535
+
536
+ // @public
537
+ export type BillingPropertyGetResponse = BillingProperty;
538
+
539
+ // @public
540
+ export interface BillingPropertyOperations {
541
+ get(options?: BillingPropertyGetOptionalParams): Promise<BillingPropertyGetResponse>;
542
+ update(parameters: BillingProperty, options?: BillingPropertyUpdateOptionalParams): Promise<BillingPropertyUpdateResponse>;
543
+ }
544
+
545
+ // @public
546
+ export interface BillingPropertyUpdateOptionalParams extends coreClient.OperationOptions {
547
+ }
548
+
549
+ // @public
550
+ export type BillingPropertyUpdateResponse = BillingProperty;
551
+
552
+ // @public
553
+ export type BillingRelationshipType = string;
554
+
555
+ // @public
556
+ export type BillingRoleAssignment = Resource & {
557
+ readonly createdOn?: string;
558
+ readonly createdByPrincipalTenantId?: string;
559
+ readonly createdByPrincipalId?: string;
560
+ readonly createdByUserEmailAddress?: string;
561
+ principalId?: string;
562
+ principalTenantId?: string;
563
+ roleDefinitionId?: string;
564
+ readonly scope?: string;
565
+ userAuthenticationType?: string;
566
+ userEmailAddress?: string;
567
+ };
568
+
569
+ // @public
570
+ export interface BillingRoleAssignmentListResult {
571
+ readonly nextLink?: string;
572
+ readonly value?: BillingRoleAssignment[];
573
+ }
574
+
575
+ // @public
576
+ export interface BillingRoleAssignments {
577
+ deleteByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByBillingAccountOptionalParams): Promise<BillingRoleAssignmentsDeleteByBillingAccountResponse>;
578
+ deleteByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByBillingProfileOptionalParams): Promise<BillingRoleAssignmentsDeleteByBillingProfileResponse>;
579
+ deleteByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams): Promise<BillingRoleAssignmentsDeleteByInvoiceSectionResponse>;
580
+ getByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByBillingAccountOptionalParams): Promise<BillingRoleAssignmentsGetByBillingAccountResponse>;
581
+ getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByBillingProfileOptionalParams): Promise<BillingRoleAssignmentsGetByBillingProfileResponse>;
582
+ getByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByInvoiceSectionOptionalParams): Promise<BillingRoleAssignmentsGetByInvoiceSectionResponse>;
583
+ listByBillingAccount(billingAccountName: string, options?: BillingRoleAssignmentsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment>;
584
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleAssignmentsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment>;
585
+ listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment>;
586
+ }
587
+
588
+ // @public
589
+ export interface BillingRoleAssignmentsDeleteByBillingAccountOptionalParams extends coreClient.OperationOptions {
590
+ }
591
+
592
+ // @public
593
+ export type BillingRoleAssignmentsDeleteByBillingAccountResponse = BillingRoleAssignment;
594
+
595
+ // @public
596
+ export interface BillingRoleAssignmentsDeleteByBillingProfileOptionalParams extends coreClient.OperationOptions {
597
+ }
598
+
599
+ // @public
600
+ export type BillingRoleAssignmentsDeleteByBillingProfileResponse = BillingRoleAssignment;
601
+
602
+ // @public
603
+ export interface BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
604
+ }
605
+
606
+ // @public
607
+ export type BillingRoleAssignmentsDeleteByInvoiceSectionResponse = BillingRoleAssignment;
608
+
609
+ // @public
610
+ export interface BillingRoleAssignmentsGetByBillingAccountOptionalParams extends coreClient.OperationOptions {
611
+ }
612
+
613
+ // @public
614
+ export type BillingRoleAssignmentsGetByBillingAccountResponse = BillingRoleAssignment;
615
+
616
+ // @public
617
+ export interface BillingRoleAssignmentsGetByBillingProfileOptionalParams extends coreClient.OperationOptions {
618
+ }
619
+
620
+ // @public
621
+ export type BillingRoleAssignmentsGetByBillingProfileResponse = BillingRoleAssignment;
622
+
623
+ // @public
624
+ export interface BillingRoleAssignmentsGetByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
625
+ }
626
+
627
+ // @public
628
+ export type BillingRoleAssignmentsGetByInvoiceSectionResponse = BillingRoleAssignment;
629
+
630
+ // @public
631
+ export interface BillingRoleAssignmentsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
632
+ }
633
+
634
+ // @public
635
+ export type BillingRoleAssignmentsListByBillingAccountNextResponse = BillingRoleAssignmentListResult;
636
+
637
+ // @public
638
+ export interface BillingRoleAssignmentsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
639
+ }
640
+
641
+ // @public
642
+ export type BillingRoleAssignmentsListByBillingAccountResponse = BillingRoleAssignmentListResult;
643
+
644
+ // @public
645
+ export interface BillingRoleAssignmentsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
646
+ }
647
+
648
+ // @public
649
+ export type BillingRoleAssignmentsListByBillingProfileNextResponse = BillingRoleAssignmentListResult;
650
+
651
+ // @public
652
+ export interface BillingRoleAssignmentsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
653
+ }
654
+
655
+ // @public
656
+ export type BillingRoleAssignmentsListByBillingProfileResponse = BillingRoleAssignmentListResult;
657
+
658
+ // @public
659
+ export interface BillingRoleAssignmentsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
660
+ }
661
+
662
+ // @public
663
+ export type BillingRoleAssignmentsListByInvoiceSectionNextResponse = BillingRoleAssignmentListResult;
664
+
665
+ // @public
666
+ export interface BillingRoleAssignmentsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
667
+ }
668
+
669
+ // @public
670
+ export type BillingRoleAssignmentsListByInvoiceSectionResponse = BillingRoleAssignmentListResult;
671
+
672
+ // @public
673
+ export type BillingRoleDefinition = Resource & {
674
+ readonly description?: string;
675
+ permissions?: BillingPermissionsProperties[];
676
+ readonly roleName?: string;
677
+ };
678
+
679
+ // @public
680
+ export interface BillingRoleDefinitionListResult {
681
+ readonly nextLink?: string;
682
+ readonly value?: BillingRoleDefinition[];
683
+ }
684
+
685
+ // @public
686
+ export interface BillingRoleDefinitions {
687
+ getByBillingAccount(billingAccountName: string, billingRoleDefinitionName: string, options?: BillingRoleDefinitionsGetByBillingAccountOptionalParams): Promise<BillingRoleDefinitionsGetByBillingAccountResponse>;
688
+ getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleDefinitionName: string, options?: BillingRoleDefinitionsGetByBillingProfileOptionalParams): Promise<BillingRoleDefinitionsGetByBillingProfileResponse>;
689
+ getByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleDefinitionName: string, options?: BillingRoleDefinitionsGetByInvoiceSectionOptionalParams): Promise<BillingRoleDefinitionsGetByInvoiceSectionResponse>;
690
+ listByBillingAccount(billingAccountName: string, options?: BillingRoleDefinitionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition>;
691
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleDefinitionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition>;
692
+ listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition>;
693
+ }
694
+
695
+ // @public
696
+ export interface BillingRoleDefinitionsGetByBillingAccountOptionalParams extends coreClient.OperationOptions {
697
+ }
698
+
699
+ // @public
700
+ export type BillingRoleDefinitionsGetByBillingAccountResponse = BillingRoleDefinition;
701
+
702
+ // @public
703
+ export interface BillingRoleDefinitionsGetByBillingProfileOptionalParams extends coreClient.OperationOptions {
704
+ }
705
+
706
+ // @public
707
+ export type BillingRoleDefinitionsGetByBillingProfileResponse = BillingRoleDefinition;
708
+
709
+ // @public
710
+ export interface BillingRoleDefinitionsGetByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
711
+ }
712
+
713
+ // @public
714
+ export type BillingRoleDefinitionsGetByInvoiceSectionResponse = BillingRoleDefinition;
715
+
716
+ // @public
717
+ export interface BillingRoleDefinitionsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
718
+ }
719
+
720
+ // @public
721
+ export type BillingRoleDefinitionsListByBillingAccountNextResponse = BillingRoleDefinitionListResult;
722
+
723
+ // @public
724
+ export interface BillingRoleDefinitionsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
725
+ }
726
+
727
+ // @public
728
+ export type BillingRoleDefinitionsListByBillingAccountResponse = BillingRoleDefinitionListResult;
729
+
730
+ // @public
731
+ export interface BillingRoleDefinitionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
732
+ }
733
+
734
+ // @public
735
+ export type BillingRoleDefinitionsListByBillingProfileNextResponse = BillingRoleDefinitionListResult;
736
+
737
+ // @public
738
+ export interface BillingRoleDefinitionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
739
+ }
740
+
741
+ // @public
742
+ export type BillingRoleDefinitionsListByBillingProfileResponse = BillingRoleDefinitionListResult;
743
+
744
+ // @public
745
+ export interface BillingRoleDefinitionsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
746
+ }
747
+
748
+ // @public
749
+ export type BillingRoleDefinitionsListByInvoiceSectionNextResponse = BillingRoleDefinitionListResult;
750
+
751
+ // @public
752
+ export interface BillingRoleDefinitionsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
753
+ }
754
+
755
+ // @public
756
+ export type BillingRoleDefinitionsListByInvoiceSectionResponse = BillingRoleDefinitionListResult;
757
+
758
+ // @public
759
+ export type BillingSubscription = Resource & {
760
+ readonly displayName?: string;
761
+ readonly subscriptionId?: string;
762
+ subscriptionBillingStatus?: BillingSubscriptionStatusType;
763
+ readonly lastMonthCharges?: Amount;
764
+ readonly monthToDateCharges?: Amount;
765
+ readonly billingProfileId?: string;
766
+ readonly billingProfileDisplayName?: string;
767
+ costCenter?: string;
768
+ readonly customerId?: string;
769
+ readonly customerDisplayName?: string;
770
+ readonly invoiceSectionId?: string;
771
+ readonly invoiceSectionDisplayName?: string;
772
+ readonly reseller?: Reseller;
773
+ skuId?: string;
774
+ readonly skuDescription?: string;
775
+ readonly suspensionReasons?: string[];
776
+ };
777
+
778
+ // @public
779
+ export interface BillingSubscriptions {
780
+ beginMove(billingAccountName: string, parameters: TransferBillingSubscriptionRequestProperties, options?: BillingSubscriptionsMoveOptionalParams): Promise<PollerLike<PollOperationState<BillingSubscriptionsMoveResponse>, BillingSubscriptionsMoveResponse>>;
781
+ beginMoveAndWait(billingAccountName: string, parameters: TransferBillingSubscriptionRequestProperties, options?: BillingSubscriptionsMoveOptionalParams): Promise<BillingSubscriptionsMoveResponse>;
782
+ get(billingAccountName: string, options?: BillingSubscriptionsGetOptionalParams): Promise<BillingSubscriptionsGetResponse>;
783
+ listByBillingAccount(billingAccountName: string, options?: BillingSubscriptionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
784
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingSubscriptionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
785
+ listByCustomer(billingAccountName: string, customerName: string, options?: BillingSubscriptionsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
786
+ listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingSubscriptionsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
787
+ update(billingAccountName: string, parameters: BillingSubscription, options?: BillingSubscriptionsUpdateOptionalParams): Promise<BillingSubscriptionsUpdateResponse>;
788
+ validateMove(billingAccountName: string, parameters: TransferBillingSubscriptionRequestProperties, options?: BillingSubscriptionsValidateMoveOptionalParams): Promise<BillingSubscriptionsValidateMoveResponse>;
789
+ }
790
+
791
+ // @public
792
+ export interface BillingSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
793
+ }
794
+
795
+ // @public
796
+ export type BillingSubscriptionsGetResponse = BillingSubscription;
797
+
798
+ // @public
799
+ export interface BillingSubscriptionsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
800
+ }
801
+
802
+ // @public
803
+ export type BillingSubscriptionsListByBillingAccountNextResponse = BillingSubscriptionsListResult;
804
+
805
+ // @public
806
+ export interface BillingSubscriptionsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
807
+ }
808
+
809
+ // @public
810
+ export type BillingSubscriptionsListByBillingAccountResponse = BillingSubscriptionsListResult;
811
+
812
+ // @public
813
+ export interface BillingSubscriptionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
814
+ }
815
+
816
+ // @public
817
+ export type BillingSubscriptionsListByBillingProfileNextResponse = BillingSubscriptionsListResult;
818
+
819
+ // @public
820
+ export interface BillingSubscriptionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
821
+ }
822
+
823
+ // @public
824
+ export type BillingSubscriptionsListByBillingProfileResponse = BillingSubscriptionsListResult;
825
+
826
+ // @public
827
+ export interface BillingSubscriptionsListByCustomerNextOptionalParams extends coreClient.OperationOptions {
828
+ }
829
+
830
+ // @public
831
+ export type BillingSubscriptionsListByCustomerNextResponse = BillingSubscriptionsListResult;
832
+
833
+ // @public
834
+ export interface BillingSubscriptionsListByCustomerOptionalParams extends coreClient.OperationOptions {
835
+ }
836
+
837
+ // @public
838
+ export type BillingSubscriptionsListByCustomerResponse = BillingSubscriptionsListResult;
839
+
840
+ // @public
841
+ export interface BillingSubscriptionsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
842
+ }
843
+
844
+ // @public
845
+ export type BillingSubscriptionsListByInvoiceSectionNextResponse = BillingSubscriptionsListResult;
846
+
847
+ // @public
848
+ export interface BillingSubscriptionsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
849
+ }
850
+
851
+ // @public
852
+ export type BillingSubscriptionsListByInvoiceSectionResponse = BillingSubscriptionsListResult;
853
+
854
+ // @public
855
+ export interface BillingSubscriptionsListResult {
856
+ readonly nextLink?: string;
857
+ readonly totalCount?: number;
858
+ readonly value?: BillingSubscription[];
859
+ }
860
+
861
+ // @public
862
+ export interface BillingSubscriptionsMoveHeaders {
863
+ location?: string;
864
+ retryAfter?: number;
865
+ }
866
+
867
+ // @public
868
+ export interface BillingSubscriptionsMoveOptionalParams extends coreClient.OperationOptions {
869
+ resumeFrom?: string;
870
+ updateIntervalInMs?: number;
871
+ }
872
+
873
+ // @public
874
+ export type BillingSubscriptionsMoveResponse = BillingSubscription;
875
+
876
+ // @public
877
+ export type BillingSubscriptionStatusType = string;
878
+
879
+ // @public
880
+ export interface BillingSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
881
+ }
882
+
883
+ // @public
884
+ export type BillingSubscriptionsUpdateResponse = BillingSubscription;
885
+
886
+ // @public
887
+ export interface BillingSubscriptionsValidateMoveOptionalParams extends coreClient.OperationOptions {
888
+ }
889
+
890
+ // @public
891
+ export type BillingSubscriptionsValidateMoveResponse = ValidateSubscriptionTransferEligibilityResult;
892
+
893
+ // @public
894
+ export type Category = string;
895
+
896
+ // @public
897
+ export type Customer = Resource & {
898
+ readonly billingProfileId?: string;
899
+ readonly billingProfileDisplayName?: string;
900
+ displayName?: string;
901
+ enabledAzurePlans?: AzurePlan[];
902
+ resellers?: Reseller[];
903
+ };
904
+
905
+ // @public
906
+ export interface CustomerListResult {
907
+ readonly nextLink?: string;
908
+ readonly totalCount?: number;
909
+ readonly value?: Customer[];
910
+ }
911
+
912
+ // @public
913
+ export type CustomerPolicy = Resource & {
914
+ viewCharges?: ViewCharges;
915
+ };
916
+
917
+ // @public
918
+ export interface Customers {
919
+ get(billingAccountName: string, customerName: string, options?: CustomersGetOptionalParams): Promise<CustomersGetResponse>;
920
+ listByBillingAccount(billingAccountName: string, options?: CustomersListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Customer>;
921
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: CustomersListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Customer>;
922
+ }
923
+
924
+ // @public
925
+ export interface CustomersGetOptionalParams extends coreClient.OperationOptions {
926
+ expand?: string;
927
+ }
928
+
929
+ // @public
930
+ export type CustomersGetResponse = Customer;
931
+
932
+ // @public
933
+ export interface CustomersListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
934
+ filter?: string;
935
+ search?: string;
936
+ }
937
+
938
+ // @public
939
+ export type CustomersListByBillingAccountNextResponse = CustomerListResult;
940
+
941
+ // @public
942
+ export interface CustomersListByBillingAccountOptionalParams extends coreClient.OperationOptions {
943
+ filter?: string;
944
+ search?: string;
945
+ }
946
+
947
+ // @public
948
+ export type CustomersListByBillingAccountResponse = CustomerListResult;
949
+
950
+ // @public
951
+ export interface CustomersListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
952
+ filter?: string;
953
+ search?: string;
954
+ }
955
+
956
+ // @public
957
+ export type CustomersListByBillingProfileNextResponse = CustomerListResult;
958
+
959
+ // @public
960
+ export interface CustomersListByBillingProfileOptionalParams extends coreClient.OperationOptions {
961
+ filter?: string;
962
+ search?: string;
963
+ }
964
+
965
+ // @public
966
+ export type CustomersListByBillingProfileResponse = CustomerListResult;
967
+
968
+ // @public
969
+ export type Department = Resource & {
970
+ departmentName?: string;
971
+ costCenter?: string;
972
+ status?: string;
973
+ enrollmentAccounts?: EnrollmentAccount[];
974
+ };
975
+
976
+ // @public
977
+ interface Document_2 {
978
+ readonly kind?: DocumentType_2;
979
+ readonly source?: DocumentSource;
980
+ readonly url?: string;
981
+ }
982
+ export { Document_2 as Document }
983
+
984
+ // @public
985
+ export type DocumentSource = string;
986
+
987
+ // @public
988
+ type DocumentType_2 = string;
989
+ export { DocumentType_2 as DocumentType }
990
+
991
+ // @public
992
+ export interface DownloadUrl {
993
+ readonly expiryTime?: Date;
994
+ readonly url?: string;
995
+ }
996
+
997
+ // @public
998
+ export interface Enrollment {
999
+ readonly billingCycle?: string;
1000
+ readonly channel?: string;
1001
+ readonly countryCode?: string;
1002
+ readonly currency?: string;
1003
+ endDate?: Date;
1004
+ readonly language?: string;
1005
+ readonly policies?: EnrollmentPolicies;
1006
+ startDate?: Date;
1007
+ readonly status?: string;
1008
+ }
1009
+
1010
+ // @public
1011
+ export type EnrollmentAccount = Resource & {
1012
+ accountName?: string;
1013
+ costCenter?: string;
1014
+ accountOwner?: string;
1015
+ accountOwnerEmail?: string;
1016
+ status?: string;
1017
+ startDate?: Date;
1018
+ endDate?: Date;
1019
+ department?: Department;
1020
+ };
1021
+
1022
+ // @public
1023
+ export interface EnrollmentAccountContext {
1024
+ costCenter?: string;
1025
+ endDate?: Date;
1026
+ enrollmentAccountName?: string;
1027
+ startDate?: Date;
1028
+ }
1029
+
1030
+ // @public
1031
+ export interface EnrollmentAccountListResult {
1032
+ readonly nextLink?: string;
1033
+ readonly value?: EnrollmentAccountSummary[];
1034
+ }
1035
+
1036
+ // @public
1037
+ export interface EnrollmentAccounts {
1038
+ get(name: string, options?: EnrollmentAccountsGetOptionalParams): Promise<EnrollmentAccountsGetResponse>;
1039
+ list(options?: EnrollmentAccountsListOptionalParams): PagedAsyncIterableIterator<EnrollmentAccountSummary>;
1040
+ }
1041
+
1042
+ // @public
1043
+ export interface EnrollmentAccountsGetOptionalParams extends coreClient.OperationOptions {
1044
+ }
1045
+
1046
+ // @public
1047
+ export type EnrollmentAccountsGetResponse = EnrollmentAccountSummary;
1048
+
1049
+ // @public
1050
+ export interface EnrollmentAccountsListNextOptionalParams extends coreClient.OperationOptions {
1051
+ }
1052
+
1053
+ // @public
1054
+ export type EnrollmentAccountsListNextResponse = EnrollmentAccountListResult;
1055
+
1056
+ // @public
1057
+ export interface EnrollmentAccountsListOptionalParams extends coreClient.OperationOptions {
1058
+ }
1059
+
1060
+ // @public
1061
+ export type EnrollmentAccountsListResponse = EnrollmentAccountListResult;
1062
+
1063
+ // @public
1064
+ export type EnrollmentAccountSummary = Resource & {
1065
+ readonly principalName?: string;
1066
+ };
1067
+
1068
+ // @public
1069
+ export interface EnrollmentPolicies {
1070
+ readonly accountOwnerViewCharges?: boolean;
1071
+ readonly departmentAdminViewCharges?: boolean;
1072
+ readonly marketplaceEnabled?: boolean;
1073
+ readonly reservedInstancesEnabled?: boolean;
1074
+ }
1075
+
1076
+ // @public
1077
+ export interface ErrorDetails {
1078
+ readonly code?: string;
1079
+ readonly details?: ErrorSubDetailsItem[];
1080
+ readonly message?: string;
1081
+ readonly target?: string;
1082
+ }
1083
+
1084
+ // @public
1085
+ export interface ErrorResponse {
1086
+ error?: ErrorDetails;
1087
+ }
1088
+
1089
+ // @public (undocumented)
1090
+ export interface ErrorSubDetailsItem {
1091
+ readonly code?: string;
1092
+ readonly message?: string;
1093
+ readonly target?: string;
1094
+ }
1095
+
1096
+ // @public
1097
+ export interface IndirectRelationshipInfo {
1098
+ billingAccountName?: string;
1099
+ billingProfileName?: string;
1100
+ displayName?: string;
1101
+ }
1102
+
1103
+ // @public
1104
+ export type Instruction = Resource & {
1105
+ amount?: number;
1106
+ startDate?: Date;
1107
+ endDate?: Date;
1108
+ creationDate?: Date;
1109
+ };
1110
+
1111
+ // @public
1112
+ export interface InstructionListResult {
1113
+ readonly nextLink?: string;
1114
+ readonly value?: Instruction[];
1115
+ }
1116
+
1117
+ // @public
1118
+ export interface Instructions {
1119
+ get(billingAccountName: string, billingProfileName: string, instructionName: string, options?: InstructionsGetOptionalParams): Promise<InstructionsGetResponse>;
1120
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InstructionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Instruction>;
1121
+ put(billingAccountName: string, billingProfileName: string, instructionName: string, parameters: Instruction, options?: InstructionsPutOptionalParams): Promise<InstructionsPutResponse>;
1122
+ }
1123
+
1124
+ // @public
1125
+ export interface InstructionsGetOptionalParams extends coreClient.OperationOptions {
1126
+ }
1127
+
1128
+ // @public
1129
+ export type InstructionsGetResponse = Instruction;
1130
+
1131
+ // @public
1132
+ export interface InstructionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
1133
+ }
1134
+
1135
+ // @public
1136
+ export type InstructionsListByBillingProfileNextResponse = InstructionListResult;
1137
+
1138
+ // @public
1139
+ export interface InstructionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
1140
+ }
1141
+
1142
+ // @public
1143
+ export type InstructionsListByBillingProfileResponse = InstructionListResult;
1144
+
1145
+ // @public
1146
+ export interface InstructionsPutOptionalParams extends coreClient.OperationOptions {
1147
+ }
1148
+
1149
+ // @public
1150
+ export type InstructionsPutResponse = Instruction;
1151
+
1152
+ // @public
1153
+ export type Invoice = Resource & {
1154
+ readonly dueDate?: Date;
1155
+ readonly invoiceDate?: Date;
1156
+ readonly status?: InvoiceStatus;
1157
+ readonly amountDue?: Amount;
1158
+ readonly azurePrepaymentApplied?: Amount;
1159
+ readonly billedAmount?: Amount;
1160
+ readonly creditAmount?: Amount;
1161
+ readonly freeAzureCreditApplied?: Amount;
1162
+ readonly subTotal?: Amount;
1163
+ readonly taxAmount?: Amount;
1164
+ readonly totalAmount?: Amount;
1165
+ readonly invoicePeriodStartDate?: Date;
1166
+ readonly invoicePeriodEndDate?: Date;
1167
+ readonly invoiceType?: InvoiceType;
1168
+ readonly isMonthlyInvoice?: boolean;
1169
+ readonly billingProfileId?: string;
1170
+ readonly billingProfileDisplayName?: string;
1171
+ readonly purchaseOrderNumber?: string;
1172
+ readonly documents?: Document_2[];
1173
+ readonly payments?: PaymentProperties[];
1174
+ readonly rebillDetails?: {
1175
+ [propertyName: string]: RebillDetails;
1176
+ };
1177
+ readonly documentType?: InvoiceDocumentType;
1178
+ readonly billedDocumentId?: string;
1179
+ readonly creditForDocumentId?: string;
1180
+ readonly subscriptionId?: string;
1181
+ };
1182
+
1183
+ // @public
1184
+ export type InvoiceDocumentType = string;
1185
+
1186
+ // @public
1187
+ export interface InvoiceListResult {
1188
+ readonly nextLink?: string;
1189
+ readonly totalCount?: number;
1190
+ readonly value?: Invoice[];
1191
+ }
1192
+
1193
+ // @public
1194
+ export interface Invoices {
1195
+ beginDownloadBillingSubscriptionInvoice(invoiceName: string, downloadToken: string, options?: InvoicesDownloadBillingSubscriptionInvoiceOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadBillingSubscriptionInvoiceResponse>, InvoicesDownloadBillingSubscriptionInvoiceResponse>>;
1196
+ beginDownloadBillingSubscriptionInvoiceAndWait(invoiceName: string, downloadToken: string, options?: InvoicesDownloadBillingSubscriptionInvoiceOptionalParams): Promise<InvoicesDownloadBillingSubscriptionInvoiceResponse>;
1197
+ beginDownloadInvoice(billingAccountName: string, invoiceName: string, downloadToken: string, options?: InvoicesDownloadInvoiceOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadInvoiceResponse>, InvoicesDownloadInvoiceResponse>>;
1198
+ beginDownloadInvoiceAndWait(billingAccountName: string, invoiceName: string, downloadToken: string, options?: InvoicesDownloadInvoiceOptionalParams): Promise<InvoicesDownloadInvoiceResponse>;
1199
+ beginDownloadMultipleBillingProfileInvoices(billingAccountName: string, downloadUrls: string[], options?: InvoicesDownloadMultipleBillingProfileInvoicesOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadMultipleBillingProfileInvoicesResponse>, InvoicesDownloadMultipleBillingProfileInvoicesResponse>>;
1200
+ beginDownloadMultipleBillingProfileInvoicesAndWait(billingAccountName: string, downloadUrls: string[], options?: InvoicesDownloadMultipleBillingProfileInvoicesOptionalParams): Promise<InvoicesDownloadMultipleBillingProfileInvoicesResponse>;
1201
+ beginDownloadMultipleBillingSubscriptionInvoices(downloadUrls: string[], options?: InvoicesDownloadMultipleBillingSubscriptionInvoicesOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse>, InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse>>;
1202
+ beginDownloadMultipleBillingSubscriptionInvoicesAndWait(downloadUrls: string[], options?: InvoicesDownloadMultipleBillingSubscriptionInvoicesOptionalParams): Promise<InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse>;
1203
+ get(billingAccountName: string, invoiceName: string, options?: InvoicesGetOptionalParams): Promise<InvoicesGetResponse>;
1204
+ getById(invoiceName: string, options?: InvoicesGetByIdOptionalParams): Promise<InvoicesGetByIdResponse>;
1205
+ getBySubscriptionAndInvoiceId(invoiceName: string, options?: InvoicesGetBySubscriptionAndInvoiceIdOptionalParams): Promise<InvoicesGetBySubscriptionAndInvoiceIdResponse>;
1206
+ listByBillingAccount(billingAccountName: string, periodStartDate: string, periodEndDate: string, options?: InvoicesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Invoice>;
1207
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, periodStartDate: string, periodEndDate: string, options?: InvoicesListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Invoice>;
1208
+ listByBillingSubscription(periodStartDate: string, periodEndDate: string, options?: InvoicesListByBillingSubscriptionOptionalParams): PagedAsyncIterableIterator<Invoice>;
1209
+ }
1210
+
1211
+ // @public
1212
+ export interface InvoicesDownloadBillingSubscriptionInvoiceHeaders {
1213
+ location?: string;
1214
+ retryAfter?: string;
1215
+ }
1216
+
1217
+ // @public
1218
+ export interface InvoicesDownloadBillingSubscriptionInvoiceOptionalParams extends coreClient.OperationOptions {
1219
+ resumeFrom?: string;
1220
+ updateIntervalInMs?: number;
1221
+ }
1222
+
1223
+ // @public
1224
+ export type InvoicesDownloadBillingSubscriptionInvoiceResponse = DownloadUrl;
1225
+
1226
+ // @public
1227
+ export interface InvoicesDownloadInvoiceHeaders {
1228
+ location?: string;
1229
+ retryAfter?: string;
1230
+ }
1231
+
1232
+ // @public
1233
+ export interface InvoicesDownloadInvoiceOptionalParams extends coreClient.OperationOptions {
1234
+ resumeFrom?: string;
1235
+ updateIntervalInMs?: number;
1236
+ }
1237
+
1238
+ // @public
1239
+ export type InvoicesDownloadInvoiceResponse = DownloadUrl;
1240
+
1241
+ // @public
1242
+ export interface InvoicesDownloadMultipleBillingProfileInvoicesHeaders {
1243
+ location?: string;
1244
+ retryAfter?: string;
1245
+ }
1246
+
1247
+ // @public
1248
+ export interface InvoicesDownloadMultipleBillingProfileInvoicesOptionalParams extends coreClient.OperationOptions {
1249
+ resumeFrom?: string;
1250
+ updateIntervalInMs?: number;
1251
+ }
1252
+
1253
+ // @public
1254
+ export type InvoicesDownloadMultipleBillingProfileInvoicesResponse = DownloadUrl;
1255
+
1256
+ // @public
1257
+ export interface InvoicesDownloadMultipleBillingSubscriptionInvoicesHeaders {
1258
+ location?: string;
1259
+ retryAfter?: string;
1260
+ }
1261
+
1262
+ // @public
1263
+ export interface InvoicesDownloadMultipleBillingSubscriptionInvoicesOptionalParams extends coreClient.OperationOptions {
1264
+ resumeFrom?: string;
1265
+ updateIntervalInMs?: number;
1266
+ }
1267
+
1268
+ // @public
1269
+ export type InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse = DownloadUrl;
1270
+
1271
+ // @public
1272
+ export type InvoiceSection = Resource & {
1273
+ displayName?: string;
1274
+ labels?: {
1275
+ [propertyName: string]: string;
1276
+ };
1277
+ readonly state?: InvoiceSectionState;
1278
+ readonly systemId?: string;
1279
+ tags?: {
1280
+ [propertyName: string]: string;
1281
+ };
1282
+ readonly targetCloud?: TargetCloud;
1283
+ };
1284
+
1285
+ // @public
1286
+ export interface InvoiceSectionCreationRequest {
1287
+ displayName?: string;
1288
+ }
1289
+
1290
+ // @public
1291
+ export interface InvoiceSectionListResult {
1292
+ readonly nextLink?: string;
1293
+ readonly totalCount?: number;
1294
+ readonly value?: InvoiceSection[];
1295
+ }
1296
+
1297
+ // @public
1298
+ export interface InvoiceSectionListWithCreateSubPermissionResult {
1299
+ readonly nextLink?: string;
1300
+ value?: InvoiceSectionWithCreateSubPermission[];
1301
+ }
1302
+
1303
+ // @public
1304
+ export interface InvoiceSections {
1305
+ beginCreateOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<InvoiceSectionsCreateOrUpdateResponse>, InvoiceSectionsCreateOrUpdateResponse>>;
1306
+ beginCreateOrUpdateAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<InvoiceSectionsCreateOrUpdateResponse>;
1307
+ get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsGetOptionalParams): Promise<InvoiceSectionsGetResponse>;
1308
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InvoiceSectionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<InvoiceSection>;
1309
+ }
1310
+
1311
+ // @public
1312
+ export interface InvoiceSectionsCreateOrUpdateHeaders {
1313
+ location?: string;
1314
+ retryAfter?: number;
1315
+ }
1316
+
1317
+ // @public
1318
+ export interface InvoiceSectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1319
+ resumeFrom?: string;
1320
+ updateIntervalInMs?: number;
1321
+ }
1322
+
1323
+ // @public
1324
+ export type InvoiceSectionsCreateOrUpdateResponse = InvoiceSection;
1325
+
1326
+ // @public
1327
+ export interface InvoiceSectionsGetOptionalParams extends coreClient.OperationOptions {
1328
+ }
1329
+
1330
+ // @public
1331
+ export type InvoiceSectionsGetResponse = InvoiceSection;
1332
+
1333
+ // @public
1334
+ export interface InvoiceSectionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
1335
+ }
1336
+
1337
+ // @public
1338
+ export type InvoiceSectionsListByBillingProfileNextResponse = InvoiceSectionListResult;
1339
+
1340
+ // @public
1341
+ export interface InvoiceSectionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
1342
+ }
1343
+
1344
+ // @public
1345
+ export type InvoiceSectionsListByBillingProfileResponse = InvoiceSectionListResult;
1346
+
1347
+ // @public
1348
+ export interface InvoiceSectionsOnExpand {
1349
+ readonly hasMoreResults?: boolean;
1350
+ value?: InvoiceSection[];
1351
+ }
1352
+
1353
+ // @public
1354
+ export type InvoiceSectionState = string;
1355
+
1356
+ // @public
1357
+ export interface InvoiceSectionWithCreateSubPermission {
1358
+ readonly billingProfileDisplayName?: string;
1359
+ readonly billingProfileId?: string;
1360
+ readonly billingProfileSpendingLimit?: SpendingLimitForBillingProfile;
1361
+ readonly billingProfileStatus?: BillingProfileStatus;
1362
+ readonly billingProfileStatusReasonCode?: StatusReasonCodeForBillingProfile;
1363
+ readonly billingProfileSystemId?: string;
1364
+ enabledAzurePlans?: AzurePlan[];
1365
+ readonly invoiceSectionDisplayName?: string;
1366
+ readonly invoiceSectionId?: string;
1367
+ readonly invoiceSectionSystemId?: string;
1368
+ }
1369
+
1370
+ // @public
1371
+ export interface InvoicesGetByIdOptionalParams extends coreClient.OperationOptions {
1372
+ }
1373
+
1374
+ // @public
1375
+ export type InvoicesGetByIdResponse = Invoice;
1376
+
1377
+ // @public
1378
+ export interface InvoicesGetBySubscriptionAndInvoiceIdOptionalParams extends coreClient.OperationOptions {
1379
+ }
1380
+
1381
+ // @public
1382
+ export type InvoicesGetBySubscriptionAndInvoiceIdResponse = Invoice;
1383
+
1384
+ // @public
1385
+ export interface InvoicesGetOptionalParams extends coreClient.OperationOptions {
1386
+ }
1387
+
1388
+ // @public
1389
+ export type InvoicesGetResponse = Invoice;
1390
+
1391
+ // @public
1392
+ export interface InvoicesListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
1393
+ }
1394
+
1395
+ // @public
1396
+ export type InvoicesListByBillingAccountNextResponse = InvoiceListResult;
1397
+
1398
+ // @public
1399
+ export interface InvoicesListByBillingAccountOptionalParams extends coreClient.OperationOptions {
1400
+ }
1401
+
1402
+ // @public
1403
+ export type InvoicesListByBillingAccountResponse = InvoiceListResult;
1404
+
1405
+ // @public
1406
+ export interface InvoicesListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
1407
+ }
1408
+
1409
+ // @public
1410
+ export type InvoicesListByBillingProfileNextResponse = InvoiceListResult;
1411
+
1412
+ // @public
1413
+ export interface InvoicesListByBillingProfileOptionalParams extends coreClient.OperationOptions {
1414
+ }
1415
+
1416
+ // @public
1417
+ export type InvoicesListByBillingProfileResponse = InvoiceListResult;
1418
+
1419
+ // @public
1420
+ export interface InvoicesListByBillingSubscriptionNextOptionalParams extends coreClient.OperationOptions {
1421
+ }
1422
+
1423
+ // @public
1424
+ export type InvoicesListByBillingSubscriptionNextResponse = InvoiceListResult;
1425
+
1426
+ // @public
1427
+ export interface InvoicesListByBillingSubscriptionOptionalParams extends coreClient.OperationOptions {
1428
+ }
1429
+
1430
+ // @public
1431
+ export type InvoicesListByBillingSubscriptionResponse = InvoiceListResult;
1432
+
1433
+ // @public
1434
+ export type InvoiceStatus = string;
1435
+
1436
+ // @public
1437
+ export type InvoiceType = string;
1438
+
1439
+ // @public
1440
+ export enum KnownAcceptanceMode {
1441
+ // (undocumented)
1442
+ ClickToAccept = "ClickToAccept",
1443
+ // (undocumented)
1444
+ ESignEmbedded = "ESignEmbedded",
1445
+ // (undocumented)
1446
+ ESignOffline = "ESignOffline"
1447
+ }
1448
+
1449
+ // @public
1450
+ export enum KnownAccountStatus {
1451
+ // (undocumented)
1452
+ Active = "Active",
1453
+ // (undocumented)
1454
+ Deleted = "Deleted",
1455
+ // (undocumented)
1456
+ Disabled = "Disabled",
1457
+ // (undocumented)
1458
+ Expired = "Expired",
1459
+ // (undocumented)
1460
+ Extended = "Extended",
1461
+ // (undocumented)
1462
+ Terminated = "Terminated",
1463
+ // (undocumented)
1464
+ Transferred = "Transferred"
1465
+ }
1466
+
1467
+ // @public
1468
+ export enum KnownAccountType {
1469
+ // (undocumented)
1470
+ Enterprise = "Enterprise",
1471
+ // (undocumented)
1472
+ Individual = "Individual",
1473
+ // (undocumented)
1474
+ Partner = "Partner"
1475
+ }
1476
+
1477
+ // @public
1478
+ export enum KnownAddressValidationStatus {
1479
+ // (undocumented)
1480
+ Invalid = "Invalid",
1481
+ // (undocumented)
1482
+ Valid = "Valid"
1483
+ }
1484
+
1485
+ // @public
1486
+ export enum KnownAgreementType {
1487
+ // (undocumented)
1488
+ EnterpriseAgreement = "EnterpriseAgreement",
1489
+ // (undocumented)
1490
+ MicrosoftCustomerAgreement = "MicrosoftCustomerAgreement",
1491
+ // (undocumented)
1492
+ MicrosoftOnlineServicesProgram = "MicrosoftOnlineServicesProgram",
1493
+ // (undocumented)
1494
+ MicrosoftPartnerAgreement = "MicrosoftPartnerAgreement"
1495
+ }
1496
+
1497
+ // @public
1498
+ export enum KnownAutoRenew {
1499
+ // (undocumented)
1500
+ Off = "Off",
1501
+ // (undocumented)
1502
+ On = "On"
1503
+ }
1504
+
1505
+ // @public
1506
+ export enum KnownBillingFrequency {
1507
+ // (undocumented)
1508
+ Monthly = "Monthly",
1509
+ // (undocumented)
1510
+ OneTime = "OneTime",
1511
+ // (undocumented)
1512
+ UsageBased = "UsageBased"
1513
+ }
1514
+
1515
+ // @public
1516
+ export enum KnownBillingProfileSpendingLimit {
1517
+ // (undocumented)
1518
+ Off = "Off",
1519
+ // (undocumented)
1520
+ On = "On"
1521
+ }
1522
+
1523
+ // @public
1524
+ export enum KnownBillingProfileStatus {
1525
+ // (undocumented)
1526
+ Active = "Active",
1527
+ // (undocumented)
1528
+ Disabled = "Disabled",
1529
+ // (undocumented)
1530
+ Warned = "Warned"
1531
+ }
1532
+
1533
+ // @public
1534
+ export enum KnownBillingProfileStatusReasonCode {
1535
+ // (undocumented)
1536
+ PastDue = "PastDue",
1537
+ // (undocumented)
1538
+ SpendingLimitExpired = "SpendingLimitExpired",
1539
+ // (undocumented)
1540
+ SpendingLimitReached = "SpendingLimitReached"
1541
+ }
1542
+
1543
+ // @public
1544
+ export enum KnownBillingRelationshipType {
1545
+ // (undocumented)
1546
+ CSPPartner = "CSPPartner",
1547
+ // (undocumented)
1548
+ Direct = "Direct",
1549
+ // (undocumented)
1550
+ IndirectCustomer = "IndirectCustomer",
1551
+ // (undocumented)
1552
+ IndirectPartner = "IndirectPartner"
1553
+ }
1554
+
1555
+ // @public
1556
+ export enum KnownBillingSubscriptionStatusType {
1557
+ // (undocumented)
1558
+ Abandoned = "Abandoned",
1559
+ // (undocumented)
1560
+ Active = "Active",
1561
+ // (undocumented)
1562
+ Deleted = "Deleted",
1563
+ // (undocumented)
1564
+ Inactive = "Inactive",
1565
+ // (undocumented)
1566
+ Warning = "Warning"
1567
+ }
1568
+
1569
+ // @public
1570
+ export enum KnownCategory {
1571
+ // (undocumented)
1572
+ AffiliatePurchaseTerms = "AffiliatePurchaseTerms",
1573
+ // (undocumented)
1574
+ MicrosoftCustomerAgreement = "MicrosoftCustomerAgreement",
1575
+ // (undocumented)
1576
+ Other = "Other"
1577
+ }
1578
+
1579
+ // @public
1580
+ export enum KnownDocumentSource {
1581
+ // (undocumented)
1582
+ DRS = "DRS",
1583
+ // (undocumented)
1584
+ ENF = "ENF"
1585
+ }
1586
+
1587
+ // @public
1588
+ export enum KnownDocumentType {
1589
+ // (undocumented)
1590
+ CreditNote = "CreditNote",
1591
+ // (undocumented)
1592
+ Invoice = "Invoice",
1593
+ // (undocumented)
1594
+ TaxReceipt = "TaxReceipt",
1595
+ // (undocumented)
1596
+ VoidNote = "VoidNote"
1597
+ }
1598
+
1599
+ // @public
1600
+ export enum KnownInvoiceDocumentType {
1601
+ // (undocumented)
1602
+ CreditNote = "CreditNote",
1603
+ // (undocumented)
1604
+ Invoice = "Invoice"
1605
+ }
1606
+
1607
+ // @public
1608
+ export enum KnownInvoiceSectionState {
1609
+ // (undocumented)
1610
+ Active = "Active",
1611
+ // (undocumented)
1612
+ Restricted = "Restricted"
1613
+ }
1614
+
1615
+ // @public
1616
+ export enum KnownInvoiceStatus {
1617
+ // (undocumented)
1618
+ Due = "Due",
1619
+ // (undocumented)
1620
+ OverDue = "OverDue",
1621
+ // (undocumented)
1622
+ Paid = "Paid",
1623
+ // (undocumented)
1624
+ Void = "Void"
1625
+ }
1626
+
1627
+ // @public
1628
+ export enum KnownInvoiceType {
1629
+ // (undocumented)
1630
+ AzureMarketplace = "AzureMarketplace",
1631
+ // (undocumented)
1632
+ AzureService = "AzureService",
1633
+ // (undocumented)
1634
+ AzureSupport = "AzureSupport"
1635
+ }
1636
+
1637
+ // @public
1638
+ export enum KnownMarketplacePurchasesPolicy {
1639
+ // (undocumented)
1640
+ AllAllowed = "AllAllowed",
1641
+ // (undocumented)
1642
+ NotAllowed = "NotAllowed",
1643
+ // (undocumented)
1644
+ OnlyFreeAllowed = "OnlyFreeAllowed"
1645
+ }
1646
+
1647
+ // @public
1648
+ export enum KnownPaymentMethodFamily {
1649
+ // (undocumented)
1650
+ CheckWire = "CheckWire",
1651
+ // (undocumented)
1652
+ CreditCard = "CreditCard",
1653
+ // (undocumented)
1654
+ Credits = "Credits",
1655
+ // (undocumented)
1656
+ None = "None"
1657
+ }
1658
+
1659
+ // @public
1660
+ export enum KnownProductStatusType {
1661
+ // (undocumented)
1662
+ Active = "Active",
1663
+ // (undocumented)
1664
+ AutoRenew = "AutoRenew",
1665
+ // (undocumented)
1666
+ Cancelled = "Cancelled",
1667
+ // (undocumented)
1668
+ Disabled = "Disabled",
1669
+ // (undocumented)
1670
+ Expired = "Expired",
1671
+ // (undocumented)
1672
+ Expiring = "Expiring",
1673
+ // (undocumented)
1674
+ Inactive = "Inactive",
1675
+ // (undocumented)
1676
+ PastDue = "PastDue"
1677
+ }
1678
+
1679
+ // @public
1680
+ export enum KnownProductTransferValidationErrorCode {
1681
+ // (undocumented)
1682
+ CrossBillingAccountNotAllowed = "CrossBillingAccountNotAllowed",
1683
+ // (undocumented)
1684
+ DestinationBillingProfilePastDue = "DestinationBillingProfilePastDue",
1685
+ // (undocumented)
1686
+ InsufficientPermissionOnDestination = "InsufficientPermissionOnDestination",
1687
+ // (undocumented)
1688
+ InsufficientPermissionOnSource = "InsufficientPermissionOnSource",
1689
+ // (undocumented)
1690
+ InvalidSource = "InvalidSource",
1691
+ // (undocumented)
1692
+ NotAvailableForDestinationMarket = "NotAvailableForDestinationMarket",
1693
+ // (undocumented)
1694
+ OneTimePurchaseProductTransferNotAllowed = "OneTimePurchaseProductTransferNotAllowed",
1695
+ // (undocumented)
1696
+ ProductNotActive = "ProductNotActive",
1697
+ // (undocumented)
1698
+ ProductTypeNotSupported = "ProductTypeNotSupported"
1699
+ }
1700
+
1701
+ // @public
1702
+ export enum KnownReservationPurchasesPolicy {
1703
+ // (undocumented)
1704
+ Allowed = "Allowed",
1705
+ // (undocumented)
1706
+ NotAllowed = "NotAllowed"
1707
+ }
1708
+
1709
+ // @public
1710
+ export enum KnownReservationType {
1711
+ // (undocumented)
1712
+ Purchase = "Purchase",
1713
+ // (undocumented)
1714
+ UsageCharge = "Usage Charge"
1715
+ }
1716
+
1717
+ // @public
1718
+ export enum KnownSpendingLimit {
1719
+ // (undocumented)
1720
+ Off = "Off",
1721
+ // (undocumented)
1722
+ On = "On"
1723
+ }
1724
+
1725
+ // @public
1726
+ export enum KnownSpendingLimitForBillingProfile {
1727
+ // (undocumented)
1728
+ Off = "Off",
1729
+ // (undocumented)
1730
+ On = "On"
1731
+ }
1732
+
1733
+ // @public
1734
+ export enum KnownStatusReasonCode {
1735
+ // (undocumented)
1736
+ PastDue = "PastDue",
1737
+ // (undocumented)
1738
+ SpendingLimitExpired = "SpendingLimitExpired",
1739
+ // (undocumented)
1740
+ SpendingLimitReached = "SpendingLimitReached"
1741
+ }
1742
+
1743
+ // @public
1744
+ export enum KnownStatusReasonCodeForBillingProfile {
1745
+ // (undocumented)
1746
+ PastDue = "PastDue",
1747
+ // (undocumented)
1748
+ SpendingLimitExpired = "SpendingLimitExpired",
1749
+ // (undocumented)
1750
+ SpendingLimitReached = "SpendingLimitReached"
1751
+ }
1752
+
1753
+ // @public
1754
+ export enum KnownSubscriptionTransferValidationErrorCode {
1755
+ // (undocumented)
1756
+ BillingAccountInactive = "BillingAccountInactive",
1757
+ // (undocumented)
1758
+ CrossBillingAccountNotAllowed = "CrossBillingAccountNotAllowed",
1759
+ // (undocumented)
1760
+ DestinationBillingProfileInactive = "DestinationBillingProfileInactive",
1761
+ // (undocumented)
1762
+ DestinationBillingProfileNotFound = "DestinationBillingProfileNotFound",
1763
+ // (undocumented)
1764
+ DestinationBillingProfilePastDue = "DestinationBillingProfilePastDue",
1765
+ // (undocumented)
1766
+ DestinationInvoiceSectionInactive = "DestinationInvoiceSectionInactive",
1767
+ // (undocumented)
1768
+ DestinationInvoiceSectionNotFound = "DestinationInvoiceSectionNotFound",
1769
+ // (undocumented)
1770
+ InsufficientPermissionOnDestination = "InsufficientPermissionOnDestination",
1771
+ // (undocumented)
1772
+ InsufficientPermissionOnSource = "InsufficientPermissionOnSource",
1773
+ // (undocumented)
1774
+ InvalidDestination = "InvalidDestination",
1775
+ // (undocumented)
1776
+ InvalidSource = "InvalidSource",
1777
+ // (undocumented)
1778
+ MarketplaceNotEnabledOnDestination = "MarketplaceNotEnabledOnDestination",
1779
+ // (undocumented)
1780
+ NotAvailableForDestinationMarket = "NotAvailableForDestinationMarket",
1781
+ // (undocumented)
1782
+ ProductInactive = "ProductInactive",
1783
+ // (undocumented)
1784
+ ProductNotFound = "ProductNotFound",
1785
+ // (undocumented)
1786
+ ProductTypeNotSupported = "ProductTypeNotSupported",
1787
+ // (undocumented)
1788
+ SourceBillingProfilePastDue = "SourceBillingProfilePastDue",
1789
+ // (undocumented)
1790
+ SourceInvoiceSectionInactive = "SourceInvoiceSectionInactive",
1791
+ // (undocumented)
1792
+ SubscriptionNotActive = "SubscriptionNotActive",
1793
+ // (undocumented)
1794
+ SubscriptionTypeNotSupported = "SubscriptionTypeNotSupported"
1795
+ }
1796
+
1797
+ // @public
1798
+ export enum KnownTargetCloud {
1799
+ // (undocumented)
1800
+ USGov = "USGov",
1801
+ // (undocumented)
1802
+ USNat = "USNat",
1803
+ // (undocumented)
1804
+ USSec = "USSec"
1805
+ }
1806
+
1807
+ // @public
1808
+ export enum KnownTransactionTypeKind {
1809
+ // (undocumented)
1810
+ All = "all",
1811
+ // (undocumented)
1812
+ Reservation = "reservation"
1813
+ }
1814
+
1815
+ // @public
1816
+ export enum KnownViewCharges {
1817
+ // (undocumented)
1818
+ Allowed = "Allowed",
1819
+ // (undocumented)
1820
+ NotAllowed = "NotAllowed"
1821
+ }
1822
+
1823
+ // @public
1824
+ export enum KnownViewChargesPolicy {
1825
+ // (undocumented)
1826
+ Allowed = "Allowed",
1827
+ // (undocumented)
1828
+ NotAllowed = "NotAllowed"
1829
+ }
1830
+
1831
+ // @public
1832
+ export type MarketplacePurchasesPolicy = string;
1833
+
1834
+ // @public
1835
+ export interface Operation {
1836
+ display?: OperationDisplay;
1837
+ readonly isDataAction?: boolean;
1838
+ readonly name?: string;
1839
+ }
1840
+
1841
+ // @public
1842
+ export interface OperationDisplay {
1843
+ readonly description?: string;
1844
+ readonly operation?: string;
1845
+ readonly provider?: string;
1846
+ readonly resource?: string;
1847
+ }
1848
+
1849
+ // @public
1850
+ export interface OperationListResult {
1851
+ readonly nextLink?: string;
1852
+ readonly value?: Operation[];
1853
+ }
1854
+
1855
+ // @public
1856
+ export interface Operations {
1857
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1858
+ }
1859
+
1860
+ // @public
1861
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1862
+ }
1863
+
1864
+ // @public
1865
+ export type OperationsListNextResponse = OperationListResult;
1866
+
1867
+ // @public
1868
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1869
+ }
1870
+
1871
+ // @public
1872
+ export type OperationsListResponse = OperationListResult;
1873
+
1874
+ // @public
1875
+ export interface Participants {
1876
+ readonly email?: string;
1877
+ readonly status?: string;
1878
+ readonly statusDate?: Date;
1879
+ }
1880
+
1881
+ // @public
1882
+ export type PaymentMethodFamily = string;
1883
+
1884
+ // @public
1885
+ export interface PaymentProperties {
1886
+ readonly amount?: Amount;
1887
+ readonly date?: Date;
1888
+ paymentMethodFamily?: PaymentMethodFamily;
1889
+ readonly paymentMethodType?: string;
1890
+ readonly paymentType?: string;
1891
+ }
1892
+
1893
+ // @public
1894
+ export interface Policies {
1895
+ getByBillingProfile(billingAccountName: string, billingProfileName: string, options?: PoliciesGetByBillingProfileOptionalParams): Promise<PoliciesGetByBillingProfileResponse>;
1896
+ getByCustomer(billingAccountName: string, customerName: string, options?: PoliciesGetByCustomerOptionalParams): Promise<PoliciesGetByCustomerResponse>;
1897
+ update(billingAccountName: string, billingProfileName: string, parameters: Policy, options?: PoliciesUpdateOptionalParams): Promise<PoliciesUpdateResponse>;
1898
+ updateCustomer(billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesUpdateCustomerOptionalParams): Promise<PoliciesUpdateCustomerResponse>;
1899
+ }
1900
+
1901
+ // @public
1902
+ export interface PoliciesGetByBillingProfileOptionalParams extends coreClient.OperationOptions {
1903
+ }
1904
+
1905
+ // @public
1906
+ export type PoliciesGetByBillingProfileResponse = Policy;
1907
+
1908
+ // @public
1909
+ export interface PoliciesGetByCustomerOptionalParams extends coreClient.OperationOptions {
1910
+ }
1911
+
1912
+ // @public
1913
+ export type PoliciesGetByCustomerResponse = CustomerPolicy;
1914
+
1915
+ // @public
1916
+ export interface PoliciesUpdateCustomerOptionalParams extends coreClient.OperationOptions {
1917
+ }
1918
+
1919
+ // @public
1920
+ export type PoliciesUpdateCustomerResponse = CustomerPolicy;
1921
+
1922
+ // @public
1923
+ export interface PoliciesUpdateOptionalParams extends coreClient.OperationOptions {
1924
+ }
1925
+
1926
+ // @public
1927
+ export type PoliciesUpdateResponse = Policy;
1928
+
1929
+ // @public
1930
+ export type Policy = Resource & {
1931
+ marketplacePurchases?: MarketplacePurchasesPolicy;
1932
+ reservationPurchases?: ReservationPurchasesPolicy;
1933
+ viewCharges?: ViewChargesPolicy;
1934
+ };
1935
+
1936
+ // @public
1937
+ export type Product = Resource & {
1938
+ autoRenew?: AutoRenew;
1939
+ readonly displayName?: string;
1940
+ readonly purchaseDate?: Date;
1941
+ readonly productTypeId?: string;
1942
+ readonly productType?: string;
1943
+ status?: ProductStatusType;
1944
+ readonly endDate?: Date;
1945
+ billingFrequency?: BillingFrequency;
1946
+ readonly lastCharge?: Amount;
1947
+ readonly lastChargeDate?: Date;
1948
+ readonly quantity?: number;
1949
+ readonly skuId?: string;
1950
+ readonly skuDescription?: string;
1951
+ readonly tenantId?: string;
1952
+ readonly availabilityId?: string;
1953
+ readonly invoiceSectionId?: string;
1954
+ readonly invoiceSectionDisplayName?: string;
1955
+ readonly billingProfileId?: string;
1956
+ readonly billingProfileDisplayName?: string;
1957
+ readonly customerId?: string;
1958
+ readonly customerDisplayName?: string;
1959
+ readonly reseller?: Reseller;
1960
+ };
1961
+
1962
+ // @public
1963
+ export interface Products {
1964
+ get(billingAccountName: string, productName: string, options?: ProductsGetOptionalParams): Promise<ProductsGetResponse>;
1965
+ listByBillingAccount(billingAccountName: string, options?: ProductsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Product>;
1966
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: ProductsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Product>;
1967
+ listByCustomer(billingAccountName: string, customerName: string, options?: ProductsListByCustomerOptionalParams): PagedAsyncIterableIterator<Product>;
1968
+ listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: ProductsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<Product>;
1969
+ move(billingAccountName: string, productName: string, parameters: TransferProductRequestProperties, options?: ProductsMoveOptionalParams): Promise<ProductsMoveResponse>;
1970
+ update(billingAccountName: string, productName: string, parameters: Product, options?: ProductsUpdateOptionalParams): Promise<ProductsUpdateResponse>;
1971
+ validateMove(billingAccountName: string, productName: string, parameters: TransferProductRequestProperties, options?: ProductsValidateMoveOptionalParams): Promise<ProductsValidateMoveResponse>;
1972
+ }
1973
+
1974
+ // @public
1975
+ export interface ProductsGetOptionalParams extends coreClient.OperationOptions {
1976
+ }
1977
+
1978
+ // @public
1979
+ export type ProductsGetResponse = Product;
1980
+
1981
+ // @public
1982
+ export interface ProductsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
1983
+ filter?: string;
1984
+ }
1985
+
1986
+ // @public
1987
+ export type ProductsListByBillingAccountNextResponse = ProductsListResult;
1988
+
1989
+ // @public
1990
+ export interface ProductsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
1991
+ filter?: string;
1992
+ }
1993
+
1994
+ // @public
1995
+ export type ProductsListByBillingAccountResponse = ProductsListResult;
1996
+
1997
+ // @public
1998
+ export interface ProductsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
1999
+ filter?: string;
2000
+ }
2001
+
2002
+ // @public
2003
+ export type ProductsListByBillingProfileNextResponse = ProductsListResult;
2004
+
2005
+ // @public
2006
+ export interface ProductsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
2007
+ filter?: string;
2008
+ }
2009
+
2010
+ // @public
2011
+ export type ProductsListByBillingProfileResponse = ProductsListResult;
2012
+
2013
+ // @public
2014
+ export interface ProductsListByCustomerNextOptionalParams extends coreClient.OperationOptions {
2015
+ }
2016
+
2017
+ // @public
2018
+ export type ProductsListByCustomerNextResponse = ProductsListResult;
2019
+
2020
+ // @public
2021
+ export interface ProductsListByCustomerOptionalParams extends coreClient.OperationOptions {
2022
+ }
2023
+
2024
+ // @public
2025
+ export type ProductsListByCustomerResponse = ProductsListResult;
2026
+
2027
+ // @public
2028
+ export interface ProductsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
2029
+ filter?: string;
2030
+ }
2031
+
2032
+ // @public
2033
+ export type ProductsListByInvoiceSectionNextResponse = ProductsListResult;
2034
+
2035
+ // @public
2036
+ export interface ProductsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
2037
+ filter?: string;
2038
+ }
2039
+
2040
+ // @public
2041
+ export type ProductsListByInvoiceSectionResponse = ProductsListResult;
2042
+
2043
+ // @public
2044
+ export interface ProductsListResult {
2045
+ readonly nextLink?: string;
2046
+ readonly totalCount?: number;
2047
+ readonly value?: Product[];
2048
+ }
2049
+
2050
+ // @public
2051
+ export interface ProductsMoveHeaders {
2052
+ location?: string;
2053
+ retryAfter?: number;
2054
+ }
2055
+
2056
+ // @public
2057
+ export interface ProductsMoveOptionalParams extends coreClient.OperationOptions {
2058
+ }
2059
+
2060
+ // @public
2061
+ export type ProductsMoveResponse = Product;
2062
+
2063
+ // @public
2064
+ export type ProductStatusType = string;
2065
+
2066
+ // @public
2067
+ export interface ProductsUpdateOptionalParams extends coreClient.OperationOptions {
2068
+ }
2069
+
2070
+ // @public
2071
+ export type ProductsUpdateResponse = Product;
2072
+
2073
+ // @public
2074
+ export interface ProductsValidateMoveOptionalParams extends coreClient.OperationOptions {
2075
+ }
2076
+
2077
+ // @public
2078
+ export type ProductsValidateMoveResponse = ValidateProductTransferEligibilityResult;
2079
+
2080
+ // @public
2081
+ export type ProductTransferValidationErrorCode = string;
2082
+
2083
+ // @public
2084
+ export interface RebillDetails {
2085
+ readonly creditNoteDocumentId?: string;
2086
+ readonly invoiceDocumentId?: string;
2087
+ readonly rebillDetails?: {
2088
+ [propertyName: string]: RebillDetails;
2089
+ };
2090
+ }
2091
+
2092
+ // @public
2093
+ export interface Reseller {
2094
+ readonly description?: string;
2095
+ readonly resellerId?: string;
2096
+ }
2097
+
2098
+ // @public
2099
+ export interface Reservation {
2100
+ appliedScopes?: string[];
2101
+ readonly appliedScopeType?: string;
2102
+ readonly displayName?: string;
2103
+ readonly displayProvisioningState?: string;
2104
+ readonly effectiveDateTime?: string;
2105
+ readonly expiryDate?: string;
2106
+ readonly id?: string;
2107
+ readonly location?: string;
2108
+ readonly name?: string;
2109
+ readonly provisioningState?: string;
2110
+ readonly provisioningSubState?: string;
2111
+ readonly quantity?: number;
2112
+ readonly renew?: boolean;
2113
+ readonly renewSource?: string;
2114
+ readonly reservedResourceType?: string;
2115
+ sku?: ReservationSkuProperty;
2116
+ readonly skuDescription?: string;
2117
+ readonly term?: string;
2118
+ readonly type?: string;
2119
+ readonly userFriendlyAppliedScopeType?: string;
2120
+ readonly userFriendlyRenewState?: string;
2121
+ readonly utilization?: ReservationPropertyUtilization;
2122
+ }
2123
+
2124
+ // @public
2125
+ export interface ReservationPropertyUtilization {
2126
+ aggregates?: ReservationUtilizationAggregates[];
2127
+ readonly trend?: string;
2128
+ }
2129
+
2130
+ // @public
2131
+ export type ReservationPurchasesPolicy = string;
2132
+
2133
+ // @public
2134
+ export interface Reservations {
2135
+ listByBillingAccount(billingAccountName: string, options?: ReservationsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Reservation>;
2136
+ listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: ReservationsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Reservation>;
2137
+ }
2138
+
2139
+ // @public
2140
+ export interface ReservationSkuProperty {
2141
+ readonly name?: string;
2142
+ }
2143
+
2144
+ // @public
2145
+ export interface ReservationsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
2146
+ filter?: string;
2147
+ orderby?: string;
2148
+ refreshSummary?: string;
2149
+ selectedState?: string;
2150
+ }
2151
+
2152
+ // @public
2153
+ export type ReservationsListByBillingAccountNextResponse = ReservationsListResult;
2154
+
2155
+ // @public
2156
+ export interface ReservationsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
2157
+ filter?: string;
2158
+ orderby?: string;
2159
+ refreshSummary?: string;
2160
+ selectedState?: string;
2161
+ }
2162
+
2163
+ // @public
2164
+ export type ReservationsListByBillingAccountResponse = ReservationsListResult;
2165
+
2166
+ // @public
2167
+ export interface ReservationsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
2168
+ filter?: string;
2169
+ orderby?: string;
2170
+ refreshSummary?: string;
2171
+ selectedState?: string;
2172
+ }
2173
+
2174
+ // @public
2175
+ export type ReservationsListByBillingProfileNextResponse = ReservationsListResult;
2176
+
2177
+ // @public
2178
+ export interface ReservationsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
2179
+ filter?: string;
2180
+ orderby?: string;
2181
+ refreshSummary?: string;
2182
+ selectedState?: string;
2183
+ }
2184
+
2185
+ // @public
2186
+ export type ReservationsListByBillingProfileResponse = ReservationsListResult;
2187
+
2188
+ // @public
2189
+ export interface ReservationsListResult {
2190
+ readonly nextLink?: string;
2191
+ summary?: ReservationSummary;
2192
+ readonly value?: Reservation[];
2193
+ }
2194
+
2195
+ // @public
2196
+ export interface ReservationSummary {
2197
+ readonly cancelledCount?: number;
2198
+ readonly expiredCount?: number;
2199
+ readonly expiringCount?: number;
2200
+ readonly failedCount?: number;
2201
+ readonly pendingCount?: number;
2202
+ readonly succeededCount?: number;
2203
+ }
2204
+
2205
+ // @public
2206
+ export type ReservationType = string;
2207
+
2208
+ // @public
2209
+ export interface ReservationUtilizationAggregates {
2210
+ readonly grain?: number;
2211
+ readonly grainUnit?: string;
2212
+ readonly value?: number;
2213
+ readonly valueUnit?: string;
2214
+ }
2215
+
2216
+ // @public
2217
+ export interface Resource {
2218
+ readonly id?: string;
2219
+ readonly name?: string;
2220
+ readonly type?: string;
2221
+ }
2222
+
2223
+ // @public
2224
+ export type SpendingLimit = string;
2225
+
2226
+ // @public
2227
+ export type SpendingLimitForBillingProfile = string;
2228
+
2229
+ // @public
2230
+ export type StatusReasonCode = string;
2231
+
2232
+ // @public
2233
+ export type StatusReasonCodeForBillingProfile = string;
2234
+
2235
+ // @public
2236
+ export type SubscriptionTransferValidationErrorCode = string;
2237
+
2238
+ // @public
2239
+ export type TargetCloud = string;
2240
+
2241
+ // @public
2242
+ export type Transaction = Resource & {
2243
+ kind?: TransactionTypeKind;
2244
+ readonly date?: Date;
2245
+ readonly invoice?: string;
2246
+ readonly invoiceId?: string;
2247
+ readonly orderId?: string;
2248
+ readonly orderName?: string;
2249
+ readonly productFamily?: string;
2250
+ readonly productTypeId?: string;
2251
+ readonly productType?: string;
2252
+ readonly productDescription?: string;
2253
+ transactionType?: ReservationType;
2254
+ readonly transactionAmount?: Amount;
2255
+ readonly quantity?: number;
2256
+ readonly invoiceSectionId?: string;
2257
+ readonly invoiceSectionDisplayName?: string;
2258
+ readonly billingProfileId?: string;
2259
+ readonly billingProfileDisplayName?: string;
2260
+ readonly customerId?: string;
2261
+ readonly customerDisplayName?: string;
2262
+ readonly subscriptionId?: string;
2263
+ readonly subscriptionName?: string;
2264
+ readonly azurePlan?: string;
2265
+ readonly azureCreditApplied?: Amount;
2266
+ readonly billingCurrency?: string;
2267
+ readonly discount?: number;
2268
+ readonly effectivePrice?: Amount;
2269
+ readonly exchangeRate?: number;
2270
+ readonly marketPrice?: Amount;
2271
+ readonly pricingCurrency?: string;
2272
+ readonly servicePeriodStartDate?: Date;
2273
+ readonly servicePeriodEndDate?: Date;
2274
+ readonly subTotal?: Amount;
2275
+ readonly tax?: Amount;
2276
+ readonly unitOfMeasure?: string;
2277
+ readonly units?: number;
2278
+ readonly unitType?: string;
2279
+ };
2280
+
2281
+ // @public
2282
+ export interface TransactionListResult {
2283
+ readonly nextLink?: string;
2284
+ readonly totalCount?: number;
2285
+ readonly value?: Transaction[];
2286
+ }
2287
+
2288
+ // @public
2289
+ export interface Transactions {
2290
+ listByInvoice(billingAccountName: string, invoiceName: string, options?: TransactionsListByInvoiceOptionalParams): PagedAsyncIterableIterator<Transaction>;
2291
+ }
2292
+
2293
+ // @public
2294
+ export interface TransactionsListByInvoiceNextOptionalParams extends coreClient.OperationOptions {
2295
+ }
2296
+
2297
+ // @public
2298
+ export type TransactionsListByInvoiceNextResponse = TransactionListResult;
2299
+
2300
+ // @public
2301
+ export interface TransactionsListByInvoiceOptionalParams extends coreClient.OperationOptions {
2302
+ }
2303
+
2304
+ // @public
2305
+ export type TransactionsListByInvoiceResponse = TransactionListResult;
2306
+
2307
+ // @public
2308
+ export type TransactionTypeKind = string;
2309
+
2310
+ // @public
2311
+ export interface TransferBillingSubscriptionRequestProperties {
2312
+ destinationInvoiceSectionId: string;
2313
+ }
2314
+
2315
+ // @public
2316
+ export interface TransferProductRequestProperties {
2317
+ destinationInvoiceSectionId?: string;
2318
+ }
2319
+
2320
+ // @public
2321
+ export interface ValidateAddressResponse {
2322
+ status?: AddressValidationStatus;
2323
+ suggestedAddresses?: AddressDetails[];
2324
+ validationMessage?: string;
2325
+ }
2326
+
2327
+ // @public
2328
+ export interface ValidateProductTransferEligibilityError {
2329
+ code?: ProductTransferValidationErrorCode;
2330
+ details?: string;
2331
+ message?: string;
2332
+ }
2333
+
2334
+ // @public
2335
+ export interface ValidateProductTransferEligibilityResult {
2336
+ errorDetails?: ValidateProductTransferEligibilityError;
2337
+ readonly isMoveEligible?: boolean;
2338
+ }
2339
+
2340
+ // @public
2341
+ export interface ValidateSubscriptionTransferEligibilityError {
2342
+ code?: SubscriptionTransferValidationErrorCode;
2343
+ details?: string;
2344
+ message?: string;
2345
+ }
2346
+
2347
+ // @public
2348
+ export interface ValidateSubscriptionTransferEligibilityResult {
2349
+ errorDetails?: ValidateSubscriptionTransferEligibilityError;
2350
+ readonly isMoveEligible?: boolean;
2351
+ }
2352
+
2353
+ // @public
2354
+ export type ViewCharges = string;
2355
+
2356
+ // @public
2357
+ export type ViewChargesPolicy = string;
2358
+
2359
+ // (No @packageDocumentation comment for this package)
2360
+
2361
+ ```