@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
@@ -1,4587 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * Details of the Azure plan.
6
- */
7
- export interface AzurePlan {
8
- /**
9
- * The sku id.
10
- */
11
- skuId?: string;
12
- /**
13
- * The sku description.
14
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
15
- */
16
- readonly skuDescription?: string;
17
- }
18
- /**
19
- * Details of the reseller.
20
- */
21
- export interface Reseller {
22
- /**
23
- * The MPN ID of the reseller.
24
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
25
- */
26
- readonly resellerId?: string;
27
- /**
28
- * The name of the reseller.
29
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
30
- */
31
- readonly description?: string;
32
- }
33
- /**
34
- * The Resource model definition.
35
- */
36
- export interface Resource extends BaseResource {
37
- /**
38
- * Resource Id.
39
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
40
- */
41
- readonly id?: string;
42
- /**
43
- * Resource name.
44
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
45
- */
46
- readonly name?: string;
47
- /**
48
- * Resource type.
49
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
50
- */
51
- readonly type?: string;
52
- }
53
- /**
54
- * A partner's customer.
55
- */
56
- export interface Customer extends Resource {
57
- /**
58
- * The ID of the billing profile for the invoice section.
59
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
60
- */
61
- readonly billingProfileId?: string;
62
- /**
63
- * The name of the billing profile for the invoice section.
64
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
65
- */
66
- readonly billingProfileDisplayName?: string;
67
- /**
68
- * The name of the customer.
69
- */
70
- displayName?: string;
71
- /**
72
- * Azure plans enabled for the customer.
73
- */
74
- enabledAzurePlans?: AzurePlan[];
75
- /**
76
- * The list of resellers for which an Azure plan is enabled for the customer.
77
- */
78
- resellers?: Reseller[];
79
- }
80
- /**
81
- * Address details.
82
- */
83
- export interface AddressDetails {
84
- /**
85
- * First name.
86
- */
87
- firstName?: string;
88
- /**
89
- * Last name.
90
- */
91
- lastName?: string;
92
- /**
93
- * Company name.
94
- */
95
- companyName?: string;
96
- /**
97
- * Address line 1.
98
- */
99
- addressLine1: string;
100
- /**
101
- * Address line 2.
102
- */
103
- addressLine2?: string;
104
- /**
105
- * Address line 3.
106
- */
107
- addressLine3?: string;
108
- /**
109
- * Address city.
110
- */
111
- city?: string;
112
- /**
113
- * Address district.
114
- */
115
- district?: string;
116
- /**
117
- * Address region.
118
- */
119
- region?: string;
120
- /**
121
- * Country code uses ISO2, 2-digit format.
122
- */
123
- country: string;
124
- /**
125
- * Postal code.
126
- */
127
- postalCode?: string;
128
- /**
129
- * Email address.
130
- */
131
- email?: string;
132
- /**
133
- * Phone number.
134
- */
135
- phoneNumber?: string;
136
- }
137
- /**
138
- * Result of the address validation
139
- */
140
- export interface ValidateAddressResponse {
141
- /**
142
- * status of the address validation. Possible values include: 'Valid', 'Invalid'
143
- */
144
- status?: AddressValidationStatus;
145
- /**
146
- * The list of suggested addresses.
147
- */
148
- suggestedAddresses?: AddressDetails[];
149
- /**
150
- * Validation error message.
151
- */
152
- validationMessage?: string;
153
- }
154
- /**
155
- * The properties of the product to initiate a transfer.
156
- */
157
- export interface TransferProductRequestProperties {
158
- /**
159
- * The destination invoice section id.
160
- */
161
- destinationInvoiceSectionId?: string;
162
- }
163
- /**
164
- * Request parameters to transfer billing subscription.
165
- */
166
- export interface TransferBillingSubscriptionRequestProperties {
167
- /**
168
- * The destination invoice section id.
169
- */
170
- destinationInvoiceSectionId: string;
171
- }
172
- /**
173
- * Error details of the transfer eligibility validation
174
- */
175
- export interface ValidateSubscriptionTransferEligibilityError {
176
- /**
177
- * Error code for the product transfer validation. Possible values include: 'InvalidSource',
178
- * 'SubscriptionNotActive', 'InsufficientPermissionOnSource',
179
- * 'InsufficientPermissionOnDestination', 'DestinationBillingProfilePastDue',
180
- * 'SubscriptionTypeNotSupported', 'CrossBillingAccountNotAllowed',
181
- * 'NotAvailableForDestinationMarket'
182
- */
183
- code?: SubscriptionTransferValidationErrorCode;
184
- /**
185
- * The error message.
186
- */
187
- message?: string;
188
- /**
189
- * Detailed error message explaining the error.
190
- */
191
- details?: string;
192
- }
193
- /**
194
- * Result of the transfer eligibility validation.
195
- */
196
- export interface ValidateSubscriptionTransferEligibilityResult {
197
- /**
198
- * Specifies whether the subscription is eligible to be transferred.
199
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
200
- */
201
- readonly isMoveEligible?: boolean;
202
- /**
203
- * Validation error details.
204
- */
205
- errorDetails?: ValidateSubscriptionTransferEligibilityError;
206
- }
207
- /**
208
- * The billing profile details of the partner of the customer for an indirect motion.
209
- */
210
- export interface IndirectRelationshipInfo {
211
- /**
212
- * The billing account name of the partner or the customer for an indirect motion.
213
- */
214
- billingAccountName?: string;
215
- /**
216
- * The billing profile name of the partner or the customer for an indirect motion.
217
- */
218
- billingProfileName?: string;
219
- /**
220
- * The display name of the partner or customer for an indirect motion.
221
- */
222
- displayName?: string;
223
- }
224
- /**
225
- * An invoice section.
226
- */
227
- export interface InvoiceSection extends Resource {
228
- /**
229
- * The name of the invoice section.
230
- */
231
- displayName?: string;
232
- /**
233
- * Dictionary of metadata associated with the invoice section.
234
- */
235
- labels?: {
236
- [propertyName: string]: string;
237
- };
238
- /**
239
- * Identifies the state of an invoice section. Possible values include: 'Active', 'Restricted'
240
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
241
- */
242
- readonly state?: InvoiceSectionState;
243
- /**
244
- * The system generated unique identifier for an invoice section.
245
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
246
- */
247
- readonly systemId?: string;
248
- /**
249
- * Identifies the cloud environments that are associated with an invoice section. This is a
250
- * system managed optional field and gets updated as the invoice section gets associated with
251
- * accounts in various clouds. Possible values include: 'USGov', 'USNat', 'USSec'
252
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
253
- */
254
- readonly targetCloud?: TargetCloud;
255
- }
256
- /**
257
- * The invoice sections associated to the billing profile. By default this is not populated, unless
258
- * it's specified in $expand.
259
- */
260
- export interface InvoiceSectionsOnExpand {
261
- /**
262
- * Indicates whether there are more invoice sections than the ones listed in this collection. The
263
- * collection lists a maximum of 50 invoice sections. To get all invoice sections, use the list
264
- * invoice sections API.
265
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
266
- */
267
- readonly hasMoreResults?: boolean;
268
- /**
269
- * The invoice sections associated to the billing profile.
270
- */
271
- value?: InvoiceSection[];
272
- }
273
- /**
274
- * A billing profile.
275
- */
276
- export interface BillingProfile extends Resource {
277
- /**
278
- * The name of the billing profile.
279
- */
280
- displayName?: string;
281
- /**
282
- * The purchase order name that will appear on the invoices generated for the billing profile.
283
- */
284
- poNumber?: string;
285
- /**
286
- * Identifies which services and purchases are paid by a billing profile. Possible values
287
- * include: 'Direct', 'IndirectCustomer', 'IndirectPartner', 'CSPPartner'
288
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
289
- */
290
- readonly billingRelationshipType?: BillingRelationshipType;
291
- /**
292
- * Billing address.
293
- */
294
- billTo?: AddressDetails;
295
- /**
296
- * Identifies the billing profile that is linked to another billing profile in indirect purchase
297
- * motion.
298
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
299
- */
300
- readonly indirectRelationshipInfo?: IndirectRelationshipInfo;
301
- /**
302
- * Flag controlling whether the invoices for the billing profile are sent through email.
303
- */
304
- invoiceEmailOptIn?: boolean;
305
- /**
306
- * The day of the month when the invoice for the billing profile is generated.
307
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
308
- */
309
- readonly invoiceDay?: number;
310
- /**
311
- * The currency in which the charges for the billing profile are billed.
312
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
313
- */
314
- readonly currency?: string;
315
- /**
316
- * Information about the enabled azure plans.
317
- */
318
- enabledAzurePlans?: AzurePlan[];
319
- /**
320
- * The invoice sections associated to the billing profile. By default this is not populated,
321
- * unless it's specified in $expand.
322
- */
323
- invoiceSections?: InvoiceSectionsOnExpand;
324
- /**
325
- * Indicates whether user has read access to the billing profile.
326
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
327
- */
328
- readonly hasReadAccess?: boolean;
329
- /**
330
- * The system generated unique identifier for a billing profile.
331
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
332
- */
333
- readonly systemId?: string;
334
- /**
335
- * The status of the billing profile. Possible values include: 'Active', 'Disabled', 'Warned'
336
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
337
- */
338
- readonly status?: BillingProfileStatus;
339
- /**
340
- * Reason for the specified billing profile status. Possible values include: 'PastDue',
341
- * 'SpendingLimitReached', 'SpendingLimitExpired'
342
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
343
- */
344
- readonly statusReasonCode?: StatusReasonCode;
345
- /**
346
- * The billing profile spending limit. Possible values include: 'Off', 'On'
347
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
348
- */
349
- readonly spendingLimit?: SpendingLimit;
350
- /**
351
- * Identifies the cloud environments that are associated with a billing profile. This is a system
352
- * managed optional field and gets updated as the billing profile gets associated with accounts
353
- * in various clouds.
354
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
355
- */
356
- readonly targetClouds?: TargetCloud[];
357
- }
358
- /**
359
- * The billing profiles associated with the billing account. By default this is not populated,
360
- * unless it's specified in $expand.
361
- */
362
- export interface BillingProfilesOnExpand {
363
- /**
364
- * Indicates whether there are more billing profiles than the ones listed in this collection. The
365
- * collection lists a maximum of 50 billing profiles. To get all billing profiles, use the list
366
- * billing profiles API.
367
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
368
- */
369
- readonly hasMoreResults?: boolean;
370
- /**
371
- * The billing profiles associated with the billing account.
372
- */
373
- value?: BillingProfile[];
374
- }
375
- /**
376
- * The policies for Enterprise Agreement enrollments.
377
- */
378
- export interface EnrollmentPolicies {
379
- /**
380
- * The policy that controls whether Account Owners can view charges.
381
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
382
- */
383
- readonly accountOwnerViewCharges?: boolean;
384
- /**
385
- * The policy that controls whether Department Administrators can view charges.
386
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
387
- */
388
- readonly departmentAdminViewCharges?: boolean;
389
- /**
390
- * The policy that controls whether Azure marketplace purchases are allowed in the enrollment.
391
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
392
- */
393
- readonly marketplacesEnabled?: boolean;
394
- /**
395
- * The policy that controls whether Azure reservation purchases are allowed in the enrollment.
396
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
397
- */
398
- readonly reservedInstancesEnabled?: boolean;
399
- }
400
- /**
401
- * The properties of an enrollment.
402
- */
403
- export interface Enrollment {
404
- /**
405
- * The start date of the enrollment.
406
- */
407
- startDate?: Date;
408
- /**
409
- * The end date of the enrollment.
410
- */
411
- endDate?: Date;
412
- /**
413
- * The billing currency for the enrollment.
414
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
415
- */
416
- readonly currency?: string;
417
- /**
418
- * The channel type of the enrollment.
419
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
420
- */
421
- readonly channel?: string;
422
- /**
423
- * The policies for Enterprise Agreement enrollments.
424
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
425
- */
426
- readonly policies?: EnrollmentPolicies;
427
- /**
428
- * The language for the enrollment.
429
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
430
- */
431
- readonly language?: string;
432
- /**
433
- * The country code of the enrollment.
434
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
435
- */
436
- readonly countryCode?: string;
437
- /**
438
- * The current status of the enrollment.
439
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
440
- */
441
- readonly status?: string;
442
- /**
443
- * The billing cycle for the enrollment.
444
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
445
- */
446
- readonly billingCycle?: string;
447
- }
448
- /**
449
- * An enrollment account.
450
- */
451
- export interface EnrollmentAccount extends Resource {
452
- /**
453
- * The name of the enrollment account.
454
- */
455
- accountName?: string;
456
- /**
457
- * The cost center associated with the enrollment account.
458
- */
459
- costCenter?: string;
460
- /**
461
- * The owner of the enrollment account.
462
- */
463
- accountOwner?: string;
464
- /**
465
- * The status of the enrollment account.
466
- */
467
- status?: string;
468
- /**
469
- * The start date of the enrollment account.
470
- */
471
- startDate?: Date;
472
- /**
473
- * The end date of the enrollment account.
474
- */
475
- endDate?: Date;
476
- /**
477
- * Associated department. By default this is not populated, unless it's specified in $expand.
478
- */
479
- department?: Department;
480
- }
481
- /**
482
- * A department.
483
- */
484
- export interface Department extends Resource {
485
- /**
486
- * The name of the department.
487
- */
488
- departmentName?: string;
489
- /**
490
- * The cost center associated with the department.
491
- */
492
- costCenter?: string;
493
- /**
494
- * The status of the department.
495
- */
496
- status?: string;
497
- /**
498
- * Associated enrollment accounts. By default this is not populated, unless it's specified in
499
- * $expand.
500
- */
501
- enrollmentAccounts?: EnrollmentAccount[];
502
- }
503
- /**
504
- * A billing account.
505
- */
506
- export interface BillingAccount extends Resource {
507
- /**
508
- * The billing account name.
509
- */
510
- displayName?: string;
511
- /**
512
- * The address of the individual or organization that is responsible for the billing account.
513
- */
514
- soldTo?: AddressDetails;
515
- /**
516
- * The type of agreement. Possible values include: 'MicrosoftCustomerAgreement',
517
- * 'EnterpriseAgreement', 'MicrosoftOnlineServicesProgram', 'MicrosoftPartnerAgreement'
518
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
519
- */
520
- readonly agreementType?: AgreementType;
521
- /**
522
- * The type of customer. Possible values include: 'Enterprise', 'Individual', 'Partner'
523
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
524
- */
525
- readonly accountType?: AccountType;
526
- /**
527
- * The current status of the billing account. Possible values include: 'Active', 'Deleted',
528
- * 'Disabled', 'Expired', 'Transferred', 'Extended', 'Terminated'
529
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
530
- */
531
- readonly accountStatus?: AccountStatus;
532
- /**
533
- * The billing profiles associated with the billing account. By default this is not populated,
534
- * unless it's specified in $expand.
535
- */
536
- billingProfiles?: BillingProfilesOnExpand;
537
- /**
538
- * The details about the associated legacy enrollment. By default this is not populated, unless
539
- * it's specified in $expand.
540
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
541
- */
542
- readonly enrollmentDetails?: Enrollment;
543
- /**
544
- * The departments associated to the enrollment.
545
- */
546
- departments?: Department[];
547
- /**
548
- * The accounts associated to the enrollment.
549
- */
550
- enrollmentAccounts?: EnrollmentAccount[];
551
- /**
552
- * Indicates whether user has read access to the billing account.
553
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
554
- */
555
- readonly hasReadAccess?: boolean;
556
- }
557
- /**
558
- * The request properties of the billing account that can be updated.
559
- */
560
- export interface BillingAccountUpdateRequest {
561
- /**
562
- * The billing account name.
563
- */
564
- displayName?: string;
565
- /**
566
- * The address of the individual or organization that is responsible for the billing account.
567
- */
568
- soldTo?: AddressDetails;
569
- /**
570
- * The type of agreement. Possible values include: 'MicrosoftCustomerAgreement',
571
- * 'EnterpriseAgreement', 'MicrosoftOnlineServicesProgram', 'MicrosoftPartnerAgreement'
572
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
573
- */
574
- readonly agreementType?: AgreementType;
575
- /**
576
- * The type of customer. Possible values include: 'Enterprise', 'Individual', 'Partner'
577
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
578
- */
579
- readonly accountType?: AccountType;
580
- /**
581
- * The current status of the billing account. Possible values include: 'Active', 'Deleted',
582
- * 'Disabled', 'Expired', 'Transferred', 'Extended', 'Terminated'
583
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
584
- */
585
- readonly accountStatus?: AccountStatus;
586
- /**
587
- * The billing profiles associated with the billing account. By default this is not populated,
588
- * unless it's specified in $expand.
589
- */
590
- billingProfiles?: BillingProfilesOnExpand;
591
- /**
592
- * The details about the associated legacy enrollment. By default this is not populated, unless
593
- * it's specified in $expand.
594
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
595
- */
596
- readonly enrollmentDetails?: Enrollment;
597
- /**
598
- * The departments associated to the enrollment.
599
- */
600
- departments?: Department[];
601
- /**
602
- * The accounts associated to the enrollment.
603
- */
604
- enrollmentAccounts?: EnrollmentAccount[];
605
- /**
606
- * Indicates whether user has read access to the billing account.
607
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
608
- */
609
- readonly hasReadAccess?: boolean;
610
- }
611
- /**
612
- * A billing property.
613
- */
614
- export interface BillingProperty extends Resource {
615
- /**
616
- * The email address on which the account admin gets all Azure notifications.
617
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
618
- */
619
- readonly accountAdminNotificationEmailAddress?: string;
620
- /**
621
- * The Azure AD tenant ID of the billing account for the subscription.
622
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
623
- */
624
- readonly billingTenantId?: string;
625
- /**
626
- * The ID of the billing account to which the subscription is billed.
627
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
628
- */
629
- readonly billingAccountId?: string;
630
- /**
631
- * The name of the billing account to which the subscription is billed.
632
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
633
- */
634
- readonly billingAccountDisplayName?: string;
635
- /**
636
- * The ID of the billing profile to which the subscription is billed.
637
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
638
- */
639
- readonly billingProfileId?: string;
640
- /**
641
- * The name of the billing profile to which the subscription is billed.
642
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
643
- */
644
- readonly billingProfileDisplayName?: string;
645
- /**
646
- * The status of the billing profile. Possible values include: 'Active', 'Disabled', 'Warned'
647
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
648
- */
649
- readonly billingProfileStatus?: BillingProfileStatus;
650
- /**
651
- * Reason for the specified billing profile status. Possible values include: 'PastDue',
652
- * 'SpendingLimitReached', 'SpendingLimitExpired'
653
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
654
- */
655
- readonly billingProfileStatusReasonCode?: BillingProfileStatusReasonCode;
656
- /**
657
- * The billing profile spending limit. Possible values include: 'Off', 'On'
658
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
659
- */
660
- readonly billingProfileSpendingLimit?: BillingProfileSpendingLimit;
661
- /**
662
- * The cost center applied to the subscription.
663
- */
664
- costCenter?: string;
665
- /**
666
- * The ID of the invoice section to which the subscription is billed.
667
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
668
- */
669
- readonly invoiceSectionId?: string;
670
- /**
671
- * The name of the invoice section to which the subscription is billed.
672
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
673
- */
674
- readonly invoiceSectionDisplayName?: string;
675
- /**
676
- * Indicates whether user is the account admin.
677
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
678
- */
679
- readonly isAccountAdmin?: boolean;
680
- /**
681
- * The product ID of the Azure plan.
682
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
683
- */
684
- readonly productId?: string;
685
- /**
686
- * The product name of the Azure plan.
687
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
688
- */
689
- readonly productName?: string;
690
- /**
691
- * The sku ID of the Azure plan for the subscription.
692
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
693
- */
694
- readonly skuId?: string;
695
- /**
696
- * The sku description of the Azure plan for the subscription.
697
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
698
- */
699
- readonly skuDescription?: string;
700
- }
701
- /**
702
- * An instruction.
703
- */
704
- export interface Instruction extends Resource {
705
- /**
706
- * The amount budgeted for this billing instruction.
707
- */
708
- amount: number;
709
- /**
710
- * The date this billing instruction goes into effect.
711
- */
712
- startDate: Date;
713
- /**
714
- * The date this billing instruction is no longer in effect.
715
- */
716
- endDate: Date;
717
- /**
718
- * The date this billing instruction was created.
719
- */
720
- creationDate?: Date;
721
- }
722
- /**
723
- * The request parameters for creating a new billing profile.
724
- */
725
- export interface BillingProfileCreationRequest {
726
- /**
727
- * The name of the billing profile.
728
- */
729
- displayName?: string;
730
- /**
731
- * The purchase order name that will appear on the invoices generated for the billing profile.
732
- */
733
- poNumber?: string;
734
- /**
735
- * The address of the individual or organization that is responsible for the billing profile.
736
- */
737
- billTo?: AddressDetails;
738
- /**
739
- * Flag controlling whether the invoices for the billing profile are sent through email.
740
- */
741
- invoiceEmailOptIn?: boolean;
742
- /**
743
- * Enabled azure plans for the billing profile.
744
- */
745
- enabledAzurePlans?: AzurePlan[];
746
- }
747
- /**
748
- * The properties of the invoice section.
749
- */
750
- export interface InvoiceSectionCreationRequest {
751
- /**
752
- * The name of the invoice section.
753
- */
754
- displayName?: string;
755
- }
756
- /**
757
- * Invoice section properties with create subscription permission.
758
- */
759
- export interface InvoiceSectionWithCreateSubPermission {
760
- /**
761
- * The ID of the invoice section.
762
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
763
- */
764
- readonly invoiceSectionId?: string;
765
- /**
766
- * The name of the invoice section.
767
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
768
- */
769
- readonly invoiceSectionDisplayName?: string;
770
- /**
771
- * The system generated unique identifier for an invoice section.
772
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
773
- */
774
- readonly invoiceSectionSystemId?: string;
775
- /**
776
- * The ID of the billing profile for the invoice section.
777
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
778
- */
779
- readonly billingProfileId?: string;
780
- /**
781
- * The name of the billing profile for the invoice section.
782
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
783
- */
784
- readonly billingProfileDisplayName?: string;
785
- /**
786
- * The status of the billing profile. Possible values include: 'Active', 'Disabled', 'Warned'
787
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
788
- */
789
- readonly billingProfileStatus?: BillingProfileStatus;
790
- /**
791
- * Reason for the specified billing profile status. Possible values include: 'PastDue',
792
- * 'SpendingLimitReached', 'SpendingLimitExpired'
793
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
794
- */
795
- readonly billingProfileStatusReasonCode?: StatusReasonCodeForBillingProfile;
796
- /**
797
- * The billing profile spending limit. Possible values include: 'Off', 'On'
798
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
799
- */
800
- readonly billingProfileSpendingLimit?: SpendingLimitForBillingProfile;
801
- /**
802
- * The system generated unique identifier for a billing profile.
803
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
804
- */
805
- readonly billingProfileSystemId?: string;
806
- /**
807
- * Enabled azure plans for the associated billing profile.
808
- */
809
- enabledAzurePlans?: AzurePlan[];
810
- }
811
- /**
812
- * A secure URL that can be used to download a an entity until the URL expires.
813
- */
814
- export interface DownloadUrl {
815
- /**
816
- * The time in UTC when the download URL will expire.
817
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
818
- */
819
- readonly expiryTime?: Date;
820
- /**
821
- * The URL to the PDF file.
822
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
823
- */
824
- readonly url?: string;
825
- }
826
- /**
827
- * An interface representing ErrorSubDetailsItem.
828
- */
829
- export interface ErrorSubDetailsItem {
830
- /**
831
- * Error code.
832
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
833
- */
834
- readonly code?: string;
835
- /**
836
- * Error message indicating why the operation failed.
837
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
838
- */
839
- readonly message?: string;
840
- /**
841
- * The target of the particular error.
842
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
843
- */
844
- readonly target?: string;
845
- }
846
- /**
847
- * The details of the error.
848
- */
849
- export interface ErrorDetails {
850
- /**
851
- * Error code.
852
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
853
- */
854
- readonly code?: string;
855
- /**
856
- * Error message indicating why the operation failed.
857
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
858
- */
859
- readonly message?: string;
860
- /**
861
- * The target of the particular error.
862
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
863
- */
864
- readonly target?: string;
865
- /**
866
- * The sub details of the error.
867
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
868
- */
869
- readonly details?: ErrorSubDetailsItem[];
870
- }
871
- /**
872
- * Error response indicates that the service is not able to process the incoming request. The
873
- * reason is provided in the error message.
874
- */
875
- export interface ErrorResponse {
876
- /**
877
- * The details of the error.
878
- */
879
- error?: ErrorDetails;
880
- }
881
- /**
882
- * The amount.
883
- */
884
- export interface Amount {
885
- /**
886
- * The currency for the amount value.
887
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
888
- */
889
- readonly currency?: string;
890
- /**
891
- * Amount value.
892
- */
893
- value?: number;
894
- }
895
- /**
896
- * The properties of a document.
897
- */
898
- export interface Document {
899
- /**
900
- * The type of the document. Possible values include: 'Invoice', 'VoidNote', 'TaxReceipt',
901
- * 'CreditNote'
902
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
903
- */
904
- readonly kind?: DocumentType;
905
- /**
906
- * Document URL.
907
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
908
- */
909
- readonly url?: string;
910
- /**
911
- * The source of the document. ENF for Brazil and DRS for rest of the world. Possible values
912
- * include: 'DRS', 'ENF'
913
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
914
- */
915
- readonly source?: DocumentSource;
916
- }
917
- /**
918
- * The properties of a payment.
919
- */
920
- export interface PaymentProperties {
921
- /**
922
- * The type of payment.
923
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
924
- */
925
- readonly paymentType?: string;
926
- /**
927
- * The paid amount.
928
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
929
- */
930
- readonly amount?: Amount;
931
- /**
932
- * The date when the payment was made.
933
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
934
- */
935
- readonly date?: Date;
936
- /**
937
- * The family of payment method. Possible values include: 'Credits', 'CheckWire', 'CreditCard',
938
- * 'None'
939
- */
940
- paymentMethodFamily?: PaymentMethodFamily;
941
- /**
942
- * The type of payment method.
943
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
944
- */
945
- readonly paymentMethodType?: string;
946
- }
947
- /**
948
- * The rebill details of an invoice.
949
- */
950
- export interface RebillDetails {
951
- /**
952
- * The ID of credit note.
953
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
954
- */
955
- readonly creditNoteDocumentId?: string;
956
- /**
957
- * The ID of invoice.
958
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
959
- */
960
- readonly invoiceDocumentId?: string;
961
- /**
962
- * Rebill details for an invoice.
963
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
964
- */
965
- readonly rebillDetails?: {
966
- [propertyName: string]: RebillDetails;
967
- };
968
- }
969
- /**
970
- * An invoice.
971
- */
972
- export interface Invoice extends Resource {
973
- /**
974
- * The due date for the invoice.
975
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
976
- */
977
- readonly dueDate?: Date;
978
- /**
979
- * The date when the invoice was generated.
980
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
981
- */
982
- readonly invoiceDate?: Date;
983
- /**
984
- * The current status of the invoice. Possible values include: 'Due', 'OverDue', 'Paid', 'Void'
985
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
986
- */
987
- readonly status?: InvoiceStatus;
988
- /**
989
- * The amount due as of now.
990
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
991
- */
992
- readonly amountDue?: Amount;
993
- /**
994
- * The amount of Azure prepayment applied to the charges. This field is applicable to billing
995
- * accounts with agreement type Microsoft Customer Agreement.
996
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
997
- */
998
- readonly azurePrepaymentApplied?: Amount;
999
- /**
1000
- * The total charges for the invoice billing period.
1001
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1002
- */
1003
- readonly billedAmount?: Amount;
1004
- /**
1005
- * The total refund for returns and cancellations during the invoice billing period. This field
1006
- * is applicable to billing accounts with agreement type Microsoft Customer Agreement.
1007
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1008
- */
1009
- readonly creditAmount?: Amount;
1010
- /**
1011
- * The amount of free Azure credits applied to the charges. This field is applicable to billing
1012
- * accounts with agreement type Microsoft Customer Agreement.
1013
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1014
- */
1015
- readonly freeAzureCreditApplied?: Amount;
1016
- /**
1017
- * The pre-tax amount due. This field is applicable to billing accounts with agreement type
1018
- * Microsoft Customer Agreement.
1019
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1020
- */
1021
- readonly subTotal?: Amount;
1022
- /**
1023
- * The amount of tax charged for the billing period. This field is applicable to billing accounts
1024
- * with agreement type Microsoft Customer Agreement.
1025
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1026
- */
1027
- readonly taxAmount?: Amount;
1028
- /**
1029
- * The amount due when the invoice was generated. This field is applicable to billing accounts
1030
- * with agreement type Microsoft Customer Agreement.
1031
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1032
- */
1033
- readonly totalAmount?: Amount;
1034
- /**
1035
- * The start date of the billing period for which the invoice is generated.
1036
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1037
- */
1038
- readonly invoicePeriodStartDate?: Date;
1039
- /**
1040
- * The end date of the billing period for which the invoice is generated.
1041
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1042
- */
1043
- readonly invoicePeriodEndDate?: Date;
1044
- /**
1045
- * Invoice type. Possible values include: 'AzureService', 'AzureMarketplace', 'AzureSupport'
1046
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1047
- */
1048
- readonly invoiceType?: InvoiceType;
1049
- /**
1050
- * Specifies if the invoice is generated as part of monthly invoicing cycle or not. This field is
1051
- * applicable to billing accounts with agreement type Microsoft Customer Agreement.
1052
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1053
- */
1054
- readonly isMonthlyInvoice?: boolean;
1055
- /**
1056
- * The ID of the billing profile for which the invoice is generated.
1057
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1058
- */
1059
- readonly billingProfileId?: string;
1060
- /**
1061
- * The name of the billing profile for which the invoice is generated.
1062
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1063
- */
1064
- readonly billingProfileDisplayName?: string;
1065
- /**
1066
- * An optional purchase order number for the invoice.
1067
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1068
- */
1069
- readonly purchaseOrderNumber?: string;
1070
- /**
1071
- * List of documents available to download such as invoice and tax receipt.
1072
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1073
- */
1074
- readonly documents?: Document[];
1075
- /**
1076
- * List of payments.
1077
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1078
- */
1079
- readonly payments?: PaymentProperties[];
1080
- /**
1081
- * Rebill details for an invoice.
1082
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1083
- */
1084
- readonly rebillDetails?: {
1085
- [propertyName: string]: RebillDetails;
1086
- };
1087
- /**
1088
- * The type of the document. Possible values include: 'Invoice', 'CreditNote'
1089
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1090
- */
1091
- readonly documentType?: InvoiceDocumentType;
1092
- /**
1093
- * The Id of the active invoice which is originally billed after this invoice was voided. This
1094
- * field is applicable to the void invoices only.
1095
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1096
- */
1097
- readonly billedDocumentId?: string;
1098
- /**
1099
- * The Id of the invoice which got voided and this credit note was issued as a result. This field
1100
- * is applicable to the credit notes only.
1101
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1102
- */
1103
- readonly creditForDocumentId?: string;
1104
- /**
1105
- * The ID of the subscription for which the invoice is generated.
1106
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1107
- */
1108
- readonly subscriptionId?: string;
1109
- }
1110
- /**
1111
- * A product.
1112
- */
1113
- export interface Product extends Resource {
1114
- /**
1115
- * Indicates whether auto renewal is turned on or off for a product. Possible values include:
1116
- * 'Off', 'On'
1117
- */
1118
- autoRenew?: AutoRenew;
1119
- /**
1120
- * The display name of the product.
1121
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1122
- */
1123
- readonly displayName?: string;
1124
- /**
1125
- * The date when the product was purchased.
1126
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1127
- */
1128
- readonly purchaseDate?: Date;
1129
- /**
1130
- * The ID of the type of product.
1131
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1132
- */
1133
- readonly productTypeId?: string;
1134
- /**
1135
- * The description of the type of product.
1136
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1137
- */
1138
- readonly productType?: string;
1139
- /**
1140
- * The current status of the product. Possible values include: 'Active', 'Inactive', 'PastDue',
1141
- * 'Expiring', 'Expired', 'Disabled', 'Cancelled', 'AutoRenew'
1142
- */
1143
- status?: ProductStatusType;
1144
- /**
1145
- * The date when the product will be renewed or canceled.
1146
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1147
- */
1148
- readonly endDate?: Date;
1149
- /**
1150
- * The frequency at which the product will be billed. Possible values include: 'OneTime',
1151
- * 'Monthly', 'UsageBased'
1152
- */
1153
- billingFrequency?: BillingFrequency;
1154
- /**
1155
- * The last month charges.
1156
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1157
- */
1158
- readonly lastCharge?: Amount;
1159
- /**
1160
- * The date of the last charge.
1161
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1162
- */
1163
- readonly lastChargeDate?: Date;
1164
- /**
1165
- * The quantity purchased for the product.
1166
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1167
- */
1168
- readonly quantity?: number;
1169
- /**
1170
- * The sku ID of the product.
1171
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1172
- */
1173
- readonly skuId?: string;
1174
- /**
1175
- * The sku description of the product.
1176
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1177
- */
1178
- readonly skuDescription?: string;
1179
- /**
1180
- * The id of the tenant in which the product is used.
1181
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1182
- */
1183
- readonly tenantId?: string;
1184
- /**
1185
- * The availability of the product.
1186
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1187
- */
1188
- readonly availabilityId?: string;
1189
- /**
1190
- * The ID of the invoice section to which the product is billed.
1191
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1192
- */
1193
- readonly invoiceSectionId?: string;
1194
- /**
1195
- * The name of the invoice section to which the product is billed.
1196
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1197
- */
1198
- readonly invoiceSectionDisplayName?: string;
1199
- /**
1200
- * The ID of the billing profile to which the product is billed.
1201
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1202
- */
1203
- readonly billingProfileId?: string;
1204
- /**
1205
- * The name of the billing profile to which the product is billed.
1206
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1207
- */
1208
- readonly billingProfileDisplayName?: string;
1209
- /**
1210
- * The ID of the customer for whom the product was purchased. The field is applicable only for
1211
- * Microsoft Partner Agreement billing account.
1212
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1213
- */
1214
- readonly customerId?: string;
1215
- /**
1216
- * The name of the customer for whom the product was purchased. The field is applicable only for
1217
- * Microsoft Partner Agreement billing account.
1218
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1219
- */
1220
- readonly customerDisplayName?: string;
1221
- /**
1222
- * Reseller for this product.
1223
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1224
- */
1225
- readonly reseller?: Reseller;
1226
- }
1227
- /**
1228
- * Error details of the product transfer eligibility validation.
1229
- */
1230
- export interface ValidateProductTransferEligibilityError {
1231
- /**
1232
- * Error code for the product transfer validation. Possible values include: 'InvalidSource',
1233
- * 'ProductNotActive', 'InsufficientPermissionOnSource', 'InsufficientPermissionOnDestination',
1234
- * 'DestinationBillingProfilePastDue', 'ProductTypeNotSupported',
1235
- * 'CrossBillingAccountNotAllowed', 'NotAvailableForDestinationMarket',
1236
- * 'OneTimePurchaseProductTransferNotAllowed'
1237
- */
1238
- code?: ProductTransferValidationErrorCode;
1239
- /**
1240
- * The error message.
1241
- */
1242
- message?: string;
1243
- /**
1244
- * Detailed error message explaining the error.
1245
- */
1246
- details?: string;
1247
- }
1248
- /**
1249
- * Result of the product transfer eligibility validation.
1250
- */
1251
- export interface ValidateProductTransferEligibilityResult {
1252
- /**
1253
- * Specifies whether the transfer is eligible or not.
1254
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1255
- */
1256
- readonly isMoveEligible?: boolean;
1257
- /**
1258
- * Validation error details.
1259
- */
1260
- errorDetails?: ValidateProductTransferEligibilityError;
1261
- }
1262
- /**
1263
- * A billing subscription.
1264
- */
1265
- export interface BillingSubscription extends Resource {
1266
- /**
1267
- * The name of the subscription.
1268
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1269
- */
1270
- readonly displayName?: string;
1271
- /**
1272
- * The ID of the subscription.
1273
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1274
- */
1275
- readonly subscriptionId?: string;
1276
- /**
1277
- * The current billing status of the subscription. Possible values include: 'Active', 'Inactive',
1278
- * 'Abandoned', 'Deleted', 'Warning'
1279
- */
1280
- subscriptionBillingStatus?: BillingSubscriptionStatusType;
1281
- /**
1282
- * The last month charges.
1283
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1284
- */
1285
- readonly lastMonthCharges?: Amount;
1286
- /**
1287
- * The current month to date charges.
1288
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1289
- */
1290
- readonly monthToDateCharges?: Amount;
1291
- /**
1292
- * The ID of the billing profile to which the subscription is billed.
1293
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1294
- */
1295
- readonly billingProfileId?: string;
1296
- /**
1297
- * The name of the billing profile to which the subscription is billed.
1298
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1299
- */
1300
- readonly billingProfileDisplayName?: string;
1301
- /**
1302
- * The cost center applied to the subscription.
1303
- */
1304
- costCenter?: string;
1305
- /**
1306
- * The ID of the customer for whom the subscription was created. The field is applicable only for
1307
- * Microsoft Partner Agreement billing account.
1308
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1309
- */
1310
- readonly customerId?: string;
1311
- /**
1312
- * The name of the customer for whom the subscription was created. The field is applicable only
1313
- * for Microsoft Partner Agreement billing account.
1314
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1315
- */
1316
- readonly customerDisplayName?: string;
1317
- /**
1318
- * The ID of the invoice section to which the subscription is billed.
1319
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1320
- */
1321
- readonly invoiceSectionId?: string;
1322
- /**
1323
- * The name of the invoice section to which the subscription is billed.
1324
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1325
- */
1326
- readonly invoiceSectionDisplayName?: string;
1327
- /**
1328
- * Reseller for this subscription.
1329
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1330
- */
1331
- readonly reseller?: Reseller;
1332
- /**
1333
- * The sku ID of the Azure plan for the subscription.
1334
- */
1335
- skuId?: string;
1336
- /**
1337
- * The sku description of the Azure plan for the subscription.
1338
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1339
- */
1340
- readonly skuDescription?: string;
1341
- }
1342
- /**
1343
- * The enrollment account context
1344
- */
1345
- export interface EnrollmentAccountContext {
1346
- /**
1347
- * The cost center associated with the enrollment account.
1348
- */
1349
- costCenter?: string;
1350
- /**
1351
- * The start date of the enrollment account.
1352
- */
1353
- startDate?: Date;
1354
- /**
1355
- * The end date of the enrollment account.
1356
- */
1357
- endDate?: Date;
1358
- /**
1359
- * The ID of the enrollment account.
1360
- */
1361
- enrollmentAccountName?: string;
1362
- }
1363
- /**
1364
- * A transaction.
1365
- */
1366
- export interface Transaction extends Resource {
1367
- /**
1368
- * The kind of transaction. Options are all or reservation. Possible values include: 'all',
1369
- * 'reservation'
1370
- */
1371
- kind?: TransactionTypeKind;
1372
- /**
1373
- * The date of transaction.
1374
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1375
- */
1376
- readonly date?: Date;
1377
- /**
1378
- * Invoice on which the transaction was billed or 'pending' if the transaction is not billed.
1379
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1380
- */
1381
- readonly invoice?: string;
1382
- /**
1383
- * The ID of the invoice on which the transaction was billed. This field is only applicable for
1384
- * transactions which are billed.
1385
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1386
- */
1387
- readonly invoiceId?: string;
1388
- /**
1389
- * The order ID of the reservation. The field is only applicable for transaction of kind
1390
- * reservation.
1391
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1392
- */
1393
- readonly orderId?: string;
1394
- /**
1395
- * The name of the reservation order. The field is only applicable for transactions of kind
1396
- * reservation.
1397
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1398
- */
1399
- readonly orderName?: string;
1400
- /**
1401
- * The family of the product for which the transaction took place.
1402
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1403
- */
1404
- readonly productFamily?: string;
1405
- /**
1406
- * The ID of the product type for which the transaction took place.
1407
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1408
- */
1409
- readonly productTypeId?: string;
1410
- /**
1411
- * The type of the product for which the transaction took place.
1412
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1413
- */
1414
- readonly productType?: string;
1415
- /**
1416
- * The description of the product for which the transaction took place.
1417
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1418
- */
1419
- readonly productDescription?: string;
1420
- /**
1421
- * The type of transaction. Possible values include: 'Purchase', 'Usage Charge'
1422
- */
1423
- transactionType?: ReservationType;
1424
- /**
1425
- * The charge associated with the transaction.
1426
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1427
- */
1428
- readonly transactionAmount?: Amount;
1429
- /**
1430
- * The quantity purchased in the transaction.
1431
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1432
- */
1433
- readonly quantity?: number;
1434
- /**
1435
- * The ID of the invoice section which will be billed for the transaction.
1436
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1437
- */
1438
- readonly invoiceSectionId?: string;
1439
- /**
1440
- * The name of the invoice section which will be billed for the transaction.
1441
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1442
- */
1443
- readonly invoiceSectionDisplayName?: string;
1444
- /**
1445
- * The ID of the billing profile which will be billed for the transaction.
1446
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1447
- */
1448
- readonly billingProfileId?: string;
1449
- /**
1450
- * The name of the billing profile which will be billed for the transaction.
1451
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1452
- */
1453
- readonly billingProfileDisplayName?: string;
1454
- /**
1455
- * The ID of the customer for which the transaction took place. The field is applicable only for
1456
- * Microsoft Partner Agreement billing account.
1457
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1458
- */
1459
- readonly customerId?: string;
1460
- /**
1461
- * The name of the customer for which the transaction took place. The field is applicable only
1462
- * for Microsoft Partner Agreement billing account.
1463
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1464
- */
1465
- readonly customerDisplayName?: string;
1466
- /**
1467
- * The ID of the subscription that was used for the transaction. The field is only applicable for
1468
- * transaction of kind reservation.
1469
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1470
- */
1471
- readonly subscriptionId?: string;
1472
- /**
1473
- * The name of the subscription that was used for the transaction. The field is only applicable
1474
- * for transaction of kind reservation.
1475
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1476
- */
1477
- readonly subscriptionName?: string;
1478
- /**
1479
- * The type of azure plan of the subscription that was used for the transaction.
1480
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1481
- */
1482
- readonly azurePlan?: string;
1483
- /**
1484
- * The amount of any Azure credits automatically applied to this transaction.
1485
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1486
- */
1487
- readonly azureCreditApplied?: Amount;
1488
- /**
1489
- * The ISO 4217 code for the currency in which this transaction is billed.
1490
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1491
- */
1492
- readonly billingCurrency?: string;
1493
- /**
1494
- * The percentage discount, if any, applied to this transaction.
1495
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1496
- */
1497
- readonly discount?: number;
1498
- /**
1499
- * The price of the product after applying any discounts.
1500
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1501
- */
1502
- readonly effectivePrice?: Amount;
1503
- /**
1504
- * The exchange rate used to convert charged amount to billing currency, if applicable.
1505
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1506
- */
1507
- readonly exchangeRate?: number;
1508
- /**
1509
- * The retail price of the product.
1510
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1511
- */
1512
- readonly marketPrice?: Amount;
1513
- /**
1514
- * The ISO 4217 code for the currency in which the product is priced.
1515
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1516
- */
1517
- readonly pricingCurrency?: string;
1518
- /**
1519
- * The date of the purchase of the product, or the start date of the month in which usage
1520
- * started.
1521
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1522
- */
1523
- readonly servicePeriodStartDate?: Date;
1524
- /**
1525
- * The end date of the product term, or the end date of the month in which usage ended.
1526
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1527
- */
1528
- readonly servicePeriodEndDate?: Date;
1529
- /**
1530
- * The pre-tax charged amount for the transaction.
1531
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1532
- */
1533
- readonly subTotal?: Amount;
1534
- /**
1535
- * The tax amount applied to the transaction.
1536
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1537
- */
1538
- readonly tax?: Amount;
1539
- /**
1540
- * The unit of measure used to bill for the product. For example, compute services are billed per
1541
- * hour.
1542
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1543
- */
1544
- readonly unitOfMeasure?: string;
1545
- /**
1546
- * The number of units used for a given product.
1547
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1548
- */
1549
- readonly units?: number;
1550
- /**
1551
- * The description for the unit of measure for a given product.
1552
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1553
- */
1554
- readonly unitType?: string;
1555
- }
1556
- /**
1557
- * A policy.
1558
- */
1559
- export interface Policy extends Resource {
1560
- /**
1561
- * The policy that controls whether Azure marketplace purchases are allowed for a billing
1562
- * profile. Possible values include: 'AllAllowed', 'OnlyFreeAllowed', 'NotAllowed'
1563
- */
1564
- marketplacePurchases?: MarketplacePurchasesPolicy;
1565
- /**
1566
- * The policy that controls whether Azure reservation purchases are allowed for a billing
1567
- * profile. Possible values include: 'Allowed', 'NotAllowed'
1568
- */
1569
- reservationPurchases?: ReservationPurchasesPolicy;
1570
- /**
1571
- * The policy that controls whether users with Azure RBAC access to a subscription can view its
1572
- * charges. Possible values include: 'Allowed', 'NotAllowed'
1573
- */
1574
- viewCharges?: ViewChargesPolicy;
1575
- }
1576
- /**
1577
- * The customer's Policy.
1578
- */
1579
- export interface CustomerPolicy extends Resource {
1580
- /**
1581
- * The policy that controls whether the users in customer's organization can view charges at
1582
- * pay-as-you-go prices. Possible values include: 'Allowed', 'NotAllowed'
1583
- */
1584
- viewCharges?: ViewCharges;
1585
- }
1586
- /**
1587
- * The latest Azure credit balance. This is the balance available for pay now.
1588
- */
1589
- export interface AvailableBalance extends Resource {
1590
- /**
1591
- * Balance amount.
1592
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1593
- */
1594
- readonly amount?: Amount;
1595
- }
1596
- /**
1597
- * The object that represents the operation.
1598
- */
1599
- export interface OperationDisplay {
1600
- /**
1601
- * Service provider: Microsoft.Billing.
1602
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1603
- */
1604
- readonly provider?: string;
1605
- /**
1606
- * Resource on which the operation is performed such as invoice and billing subscription.
1607
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1608
- */
1609
- readonly resource?: string;
1610
- /**
1611
- * Operation type such as read, write and delete.
1612
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1613
- */
1614
- readonly operation?: string;
1615
- }
1616
- /**
1617
- * A Billing REST API operation.
1618
- */
1619
- export interface Operation {
1620
- /**
1621
- * Operation name: {provider}/{resource}/{operation}.
1622
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1623
- */
1624
- readonly name?: string;
1625
- /**
1626
- * The object that represents the operation.
1627
- */
1628
- display?: OperationDisplay;
1629
- }
1630
- /**
1631
- * The role assignment
1632
- */
1633
- export interface BillingRoleAssignment extends Resource {
1634
- /**
1635
- * The date the role assignment was created.
1636
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1637
- */
1638
- readonly createdOn?: string;
1639
- /**
1640
- * The tenant Id of the user who created the role assignment.
1641
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1642
- */
1643
- readonly createdByPrincipalTenantId?: string;
1644
- /**
1645
- * The principal Id of the user who created the role assignment.
1646
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1647
- */
1648
- readonly createdByPrincipalId?: string;
1649
- /**
1650
- * The email address of the user who created the role assignment.
1651
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1652
- */
1653
- readonly createdByUserEmailAddress?: string;
1654
- /**
1655
- * The principal id of the user to whom the role was assigned.
1656
- */
1657
- principalId?: string;
1658
- /**
1659
- * The principal tenant id of the user to whom the role was assigned.
1660
- */
1661
- principalTenantId?: string;
1662
- /**
1663
- * The ID of the role definition.
1664
- */
1665
- roleDefinitionId?: string;
1666
- /**
1667
- * The scope at which the role was assigned.
1668
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1669
- */
1670
- readonly scope?: string;
1671
- /**
1672
- * The authentication type.
1673
- */
1674
- userAuthenticationType?: string;
1675
- /**
1676
- * The email address of the user.
1677
- */
1678
- userEmailAddress?: string;
1679
- }
1680
- /**
1681
- * The set of allowed action and not allowed actions a caller has on a billing account
1682
- */
1683
- export interface BillingPermissionsProperties {
1684
- /**
1685
- * The set of actions that the caller is allowed to perform.
1686
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1687
- */
1688
- readonly actions?: string[];
1689
- /**
1690
- * The set of actions that the caller is not allowed to perform.
1691
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1692
- */
1693
- readonly notActions?: string[];
1694
- }
1695
- /**
1696
- * The properties of a role definition.
1697
- */
1698
- export interface BillingRoleDefinition extends Resource {
1699
- /**
1700
- * The role description
1701
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1702
- */
1703
- readonly description?: string;
1704
- /**
1705
- * The billingPermissions the role has
1706
- */
1707
- permissions?: BillingPermissionsProperties[];
1708
- /**
1709
- * The name of the role
1710
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1711
- */
1712
- readonly roleName?: string;
1713
- }
1714
- /**
1715
- * The details about a participant.
1716
- */
1717
- export interface Participants {
1718
- /**
1719
- * The acceptance status of the participant.
1720
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1721
- */
1722
- readonly status?: string;
1723
- /**
1724
- * The date when the status got changed.
1725
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1726
- */
1727
- readonly statusDate?: Date;
1728
- /**
1729
- * The email address of the participant.
1730
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1731
- */
1732
- readonly email?: string;
1733
- }
1734
- /**
1735
- * An agreement.
1736
- */
1737
- export interface Agreement extends Resource {
1738
- /**
1739
- * The URL to download the agreement.
1740
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1741
- */
1742
- readonly agreementLink?: string;
1743
- /**
1744
- * The category of the agreement signed by a customer. Possible values include:
1745
- * 'MicrosoftCustomerAgreement', 'AffiliatePurchaseTerms', 'Other'
1746
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1747
- */
1748
- readonly category?: Category;
1749
- /**
1750
- * The mode of acceptance for an agreement. Possible values include: 'ClickToAccept',
1751
- * 'ESignEmbedded', 'ESignOffline'
1752
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1753
- */
1754
- readonly acceptanceMode?: AcceptanceMode;
1755
- /**
1756
- * The date from which the agreement is effective.
1757
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1758
- */
1759
- readonly effectiveDate?: Date;
1760
- /**
1761
- * The date when the agreement expires.
1762
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1763
- */
1764
- readonly expirationDate?: Date;
1765
- /**
1766
- * The list of participants that participates in acceptance of an agreement.
1767
- */
1768
- participants?: Participants[];
1769
- /**
1770
- * The current status of the agreement.
1771
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1772
- */
1773
- readonly status?: string;
1774
- }
1775
- /**
1776
- * An enrollment account resource.
1777
- */
1778
- export interface EnrollmentAccountSummary extends Resource {
1779
- /**
1780
- * The account owner's principal name.
1781
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1782
- */
1783
- readonly principalName?: string;
1784
- }
1785
- /**
1786
- * A billing period resource.
1787
- */
1788
- export interface BillingPeriod extends Resource {
1789
- /**
1790
- * The start of the date range covered by the billing period.
1791
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1792
- */
1793
- readonly billingPeriodStartDate?: Date;
1794
- /**
1795
- * The end of the date range covered by the billing period.
1796
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1797
- */
1798
- readonly billingPeriodEndDate?: Date;
1799
- /**
1800
- * Array of invoice ids that associated with.
1801
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1802
- */
1803
- readonly invoiceIds?: string[];
1804
- }
1805
- /**
1806
- * Optional Parameters.
1807
- */
1808
- export interface BillingAccountsListOptionalParams extends msRest.RequestOptionsBase {
1809
- /**
1810
- * May be used to expand the soldTo, invoice sections and billing profiles.
1811
- */
1812
- expand?: string;
1813
- }
1814
- /**
1815
- * Optional Parameters.
1816
- */
1817
- export interface BillingAccountsGetOptionalParams extends msRest.RequestOptionsBase {
1818
- /**
1819
- * May be used to expand the soldTo, invoice sections and billing profiles.
1820
- */
1821
- expand?: string;
1822
- }
1823
- /**
1824
- * Optional Parameters.
1825
- */
1826
- export interface BillingProfilesListByBillingAccountOptionalParams extends msRest.RequestOptionsBase {
1827
- /**
1828
- * May be used to expand the invoice sections.
1829
- */
1830
- expand?: string;
1831
- }
1832
- /**
1833
- * Optional Parameters.
1834
- */
1835
- export interface BillingProfilesGetOptionalParams extends msRest.RequestOptionsBase {
1836
- /**
1837
- * May be used to expand the invoice sections.
1838
- */
1839
- expand?: string;
1840
- }
1841
- /**
1842
- * Optional Parameters.
1843
- */
1844
- export interface CustomersListByBillingProfileOptionalParams extends msRest.RequestOptionsBase {
1845
- /**
1846
- * Used for searching customers by their name. Any customer with name containing the search text
1847
- * will be included in the response
1848
- */
1849
- search?: string;
1850
- /**
1851
- * May be used to filter the list of customers.
1852
- */
1853
- filter?: string;
1854
- }
1855
- /**
1856
- * Optional Parameters.
1857
- */
1858
- export interface CustomersListByBillingAccountOptionalParams extends msRest.RequestOptionsBase {
1859
- /**
1860
- * Used for searching customers by their name. Any customer with name containing the search text
1861
- * will be included in the response
1862
- */
1863
- search?: string;
1864
- /**
1865
- * May be used to filter the list of customers.
1866
- */
1867
- filter?: string;
1868
- }
1869
- /**
1870
- * Optional Parameters.
1871
- */
1872
- export interface CustomersGetOptionalParams extends msRest.RequestOptionsBase {
1873
- /**
1874
- * May be used to expand enabledAzurePlans and resellers
1875
- */
1876
- expand?: string;
1877
- }
1878
- /**
1879
- * Optional Parameters.
1880
- */
1881
- export interface ProductsListByBillingAccountOptionalParams extends msRest.RequestOptionsBase {
1882
- /**
1883
- * May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and
1884
- * 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair
1885
- * string where key and value are separated by a colon (:).
1886
- */
1887
- filter?: string;
1888
- }
1889
- /**
1890
- * Optional Parameters.
1891
- */
1892
- export interface ProductsListByBillingProfileOptionalParams extends msRest.RequestOptionsBase {
1893
- /**
1894
- * May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and
1895
- * 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair
1896
- * string where key and value are separated by a colon (:).
1897
- */
1898
- filter?: string;
1899
- }
1900
- /**
1901
- * Optional Parameters.
1902
- */
1903
- export interface ProductsListByInvoiceSectionOptionalParams extends msRest.RequestOptionsBase {
1904
- /**
1905
- * May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and
1906
- * 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair
1907
- * string where key and value are separated by a colon (:).
1908
- */
1909
- filter?: string;
1910
- }
1911
- /**
1912
- * Optional Parameters.
1913
- */
1914
- export interface ProductsMoveOptionalParams extends msRest.RequestOptionsBase {
1915
- /**
1916
- * The destination invoice section id.
1917
- */
1918
- destinationInvoiceSectionId?: string;
1919
- }
1920
- /**
1921
- * Optional Parameters.
1922
- */
1923
- export interface ProductsValidateMoveOptionalParams extends msRest.RequestOptionsBase {
1924
- /**
1925
- * The destination invoice section id.
1926
- */
1927
- destinationInvoiceSectionId?: string;
1928
- }
1929
- /**
1930
- * Optional Parameters.
1931
- */
1932
- export interface PoliciesUpdateCustomerOptionalParams extends msRest.RequestOptionsBase {
1933
- /**
1934
- * The policy that controls whether the users in customer's organization can view charges at
1935
- * pay-as-you-go prices. Possible values include: 'Allowed', 'NotAllowed'
1936
- */
1937
- viewCharges?: ViewCharges;
1938
- }
1939
- /**
1940
- * Optional Parameters.
1941
- */
1942
- export interface BillingPropertyUpdateOptionalParams extends msRest.RequestOptionsBase {
1943
- /**
1944
- * The cost center applied to the subscription.
1945
- */
1946
- costCenter?: string;
1947
- }
1948
- /**
1949
- * Optional Parameters.
1950
- */
1951
- export interface AgreementsListByBillingAccountOptionalParams extends msRest.RequestOptionsBase {
1952
- /**
1953
- * May be used to expand the participants.
1954
- */
1955
- expand?: string;
1956
- }
1957
- /**
1958
- * Optional Parameters.
1959
- */
1960
- export interface AgreementsGetOptionalParams extends msRest.RequestOptionsBase {
1961
- /**
1962
- * May be used to expand the participants.
1963
- */
1964
- expand?: string;
1965
- }
1966
- /**
1967
- * Optional Parameters.
1968
- */
1969
- export interface BillingPeriodsListOptionalParams extends msRest.RequestOptionsBase {
1970
- /**
1971
- * May be used to filter billing periods by billingPeriodEndDate. The filter supports 'eq', 'lt',
1972
- * 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.
1973
- */
1974
- filter?: string;
1975
- /**
1976
- * Skiptoken is only used if a previous operation returned a partial result. If a previous
1977
- * response contains a nextLink element, the value of the nextLink element will include a
1978
- * skiptoken parameter that specifies a starting point to use for subsequent calls.
1979
- */
1980
- skiptoken?: string;
1981
- /**
1982
- * May be used to limit the number of results to the most recent N billing periods.
1983
- */
1984
- top?: number;
1985
- }
1986
- /**
1987
- * An interface representing BillingManagementClientOptions.
1988
- */
1989
- export interface BillingManagementClientOptions extends AzureServiceClientOptions {
1990
- baseUri?: string;
1991
- }
1992
- /**
1993
- * Defines headers for CreateOrUpdate operation.
1994
- */
1995
- export interface BillingProfilesCreateOrUpdateHeaders {
1996
- /**
1997
- * Location URI to poll for result
1998
- */
1999
- location: string;
2000
- /**
2001
- * Recommended time to wait before making another request to check the status of the operation.
2002
- * The time is specified in seconds.
2003
- */
2004
- retryAfter: number;
2005
- }
2006
- /**
2007
- * Defines headers for CreateOrUpdate operation.
2008
- */
2009
- export interface InvoiceSectionsCreateOrUpdateHeaders {
2010
- /**
2011
- * Location URI to poll for result
2012
- */
2013
- location: string;
2014
- /**
2015
- * Recommended time to wait before making another request to check the status of the operation.
2016
- * The time is specified in seconds.
2017
- */
2018
- retryAfter: number;
2019
- }
2020
- /**
2021
- * Defines headers for DownloadInvoice operation.
2022
- */
2023
- export interface InvoicesDownloadInvoiceHeaders {
2024
- /**
2025
- * GET this URL to retrieve the status of the asynchronous operation.
2026
- */
2027
- location: string;
2028
- /**
2029
- * The amount of delay to use while the status of the operation is checked. The value is
2030
- * expressed in seconds.
2031
- */
2032
- retryAfter: string;
2033
- }
2034
- /**
2035
- * Defines headers for DownloadMultipleModernInvoice operation.
2036
- */
2037
- export interface InvoicesDownloadMultipleModernInvoiceHeaders {
2038
- /**
2039
- * GET this URL to retrieve the status of the asynchronous operation.
2040
- */
2041
- location: string;
2042
- /**
2043
- * The amount of delay to use while the status of the operation is checked. The value is
2044
- * expressed in seconds.
2045
- */
2046
- retryAfter: string;
2047
- }
2048
- /**
2049
- * Defines headers for DownloadBillingSubscriptionInvoice operation.
2050
- */
2051
- export interface InvoicesDownloadBillingSubscriptionInvoiceHeaders {
2052
- /**
2053
- * GET this URL to retrieve the status of the asynchronous operation.
2054
- */
2055
- location: string;
2056
- /**
2057
- * The amount of delay to use while the status of the operation is checked. The value is
2058
- * expressed in seconds.
2059
- */
2060
- retryAfter: string;
2061
- }
2062
- /**
2063
- * Defines headers for DownloadMultipleBillingSubscriptionInvoice operation.
2064
- */
2065
- export interface InvoicesDownloadMultipleBillingSubscriptionInvoiceHeaders {
2066
- /**
2067
- * GET this URL to retrieve the status of the asynchronous operation.
2068
- */
2069
- location: string;
2070
- /**
2071
- * The amount of delay to use while the status of the operation is checked. The value is
2072
- * expressed in seconds.
2073
- */
2074
- retryAfter: string;
2075
- }
2076
- /**
2077
- * Defines headers for Move operation.
2078
- */
2079
- export interface BillingSubscriptionsMoveHeaders {
2080
- /**
2081
- * Location URI to poll for result.
2082
- */
2083
- location: string;
2084
- /**
2085
- * Recommended time to wait before making another request to check the status of the operation.
2086
- * The time is specified in seconds.
2087
- */
2088
- retryAfter: number;
2089
- }
2090
- /**
2091
- * Defines headers for Move operation.
2092
- */
2093
- export interface ProductsMoveHeaders {
2094
- /**
2095
- * Location URI to poll for result
2096
- */
2097
- location: string;
2098
- /**
2099
- * Recommended time to wait before making another request to check the status of the operation.
2100
- * The time is specified in seconds.
2101
- */
2102
- retryAfter: number;
2103
- }
2104
- /**
2105
- * @interface
2106
- * The list of billing accounts.
2107
- * @extends Array<BillingAccount>
2108
- */
2109
- export interface BillingAccountListResult extends Array<BillingAccount> {
2110
- /**
2111
- * The link (url) to the next page of results.
2112
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2113
- */
2114
- readonly nextLink?: string;
2115
- }
2116
- /**
2117
- * @interface
2118
- * The list of invoice section properties with create subscription permission.
2119
- * @extends Array<InvoiceSectionWithCreateSubPermission>
2120
- */
2121
- export interface InvoiceSectionListWithCreateSubPermissionResult extends Array<InvoiceSectionWithCreateSubPermission> {
2122
- /**
2123
- * The link (url) to the next page of results.
2124
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2125
- */
2126
- readonly nextLink?: string;
2127
- }
2128
- /**
2129
- * @interface
2130
- * The list of billing instructions used during invoice generation.
2131
- * @extends Array<Instruction>
2132
- */
2133
- export interface InstructionListResult extends Array<Instruction> {
2134
- /**
2135
- * The link (url) to the next page of results.
2136
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2137
- */
2138
- readonly nextLink?: string;
2139
- }
2140
- /**
2141
- * @interface
2142
- * The list of billing profiles.
2143
- * @extends Array<BillingProfile>
2144
- */
2145
- export interface BillingProfileListResult extends Array<BillingProfile> {
2146
- /**
2147
- * The link (url) to the next page of results.
2148
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2149
- */
2150
- readonly nextLink?: string;
2151
- }
2152
- /**
2153
- * @interface
2154
- * The list of customers.
2155
- * @extends Array<Customer>
2156
- */
2157
- export interface CustomerListResult extends Array<Customer> {
2158
- /**
2159
- * The link (url) to the next page of results.
2160
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2161
- */
2162
- readonly nextLink?: string;
2163
- }
2164
- /**
2165
- * @interface
2166
- * The list of invoice sections.
2167
- * @extends Array<InvoiceSection>
2168
- */
2169
- export interface InvoiceSectionListResult extends Array<InvoiceSection> {
2170
- /**
2171
- * The link (url) to the next page of results.
2172
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2173
- */
2174
- readonly nextLink?: string;
2175
- }
2176
- /**
2177
- * @interface
2178
- * Result of list billingPermissions a caller has on a billing account.
2179
- * @extends Array<BillingPermissionsProperties>
2180
- */
2181
- export interface BillingPermissionsListResult extends Array<BillingPermissionsProperties> {
2182
- /**
2183
- * The link (url) to the next page of results.
2184
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2185
- */
2186
- readonly nextLink?: string;
2187
- }
2188
- /**
2189
- * @interface
2190
- * The list of billing subscriptions.
2191
- * @extends Array<BillingSubscription>
2192
- */
2193
- export interface BillingSubscriptionsListResult extends Array<BillingSubscription> {
2194
- /**
2195
- * The link (url) to the next page of results.
2196
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2197
- */
2198
- readonly nextLink?: string;
2199
- }
2200
- /**
2201
- * @interface
2202
- * The list of products. It contains a list of available product summaries in reverse chronological
2203
- * order by purchase date.
2204
- * @extends Array<Product>
2205
- */
2206
- export interface ProductsListResult extends Array<Product> {
2207
- /**
2208
- * The link (url) to the next page of results.
2209
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2210
- */
2211
- readonly nextLink?: string;
2212
- }
2213
- /**
2214
- * @interface
2215
- * The list of invoices.
2216
- * @extends Array<Invoice>
2217
- */
2218
- export interface InvoiceListResult extends Array<Invoice> {
2219
- /**
2220
- * The link (url) to the next page of results.
2221
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2222
- */
2223
- readonly nextLink?: string;
2224
- }
2225
- /**
2226
- * @interface
2227
- * The list of transactions.
2228
- * @extends Array<Transaction>
2229
- */
2230
- export interface TransactionListResult extends Array<Transaction> {
2231
- /**
2232
- * The link (url) to the next page of results.
2233
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2234
- */
2235
- readonly nextLink?: string;
2236
- }
2237
- /**
2238
- * @interface
2239
- * The list of billing operations and a URL link to get the next set of results.
2240
- * @extends Array<Operation>
2241
- */
2242
- export interface OperationListResult extends Array<Operation> {
2243
- /**
2244
- * URL to get the next set of operation list results if there are any.
2245
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2246
- */
2247
- readonly nextLink?: string;
2248
- }
2249
- /**
2250
- * @interface
2251
- * The list of role definitions.
2252
- * @extends Array<BillingRoleDefinition>
2253
- */
2254
- export interface BillingRoleDefinitionListResult extends Array<BillingRoleDefinition> {
2255
- /**
2256
- * The link (url) to the next page of results.
2257
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2258
- */
2259
- readonly nextLink?: string;
2260
- }
2261
- /**
2262
- * @interface
2263
- * The list of role assignments.
2264
- * @extends Array<BillingRoleAssignment>
2265
- */
2266
- export interface BillingRoleAssignmentListResult extends Array<BillingRoleAssignment> {
2267
- /**
2268
- * The link (url) to the next page of results.
2269
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2270
- */
2271
- readonly nextLink?: string;
2272
- }
2273
- /**
2274
- * @interface
2275
- * Result of listing agreements.
2276
- * @extends Array<Agreement>
2277
- */
2278
- export interface AgreementListResult extends Array<Agreement> {
2279
- /**
2280
- * The link (url) to the next page of results.
2281
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2282
- */
2283
- readonly nextLink?: string;
2284
- }
2285
- /**
2286
- * @interface
2287
- * Result of listing enrollment accounts.
2288
- * @extends Array<EnrollmentAccountSummary>
2289
- */
2290
- export interface EnrollmentAccountListResult extends Array<EnrollmentAccountSummary> {
2291
- /**
2292
- * The link (url) to the next page of results.
2293
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2294
- */
2295
- readonly nextLink?: string;
2296
- }
2297
- /**
2298
- * @interface
2299
- * Result of listing billing periods. It contains a list of available billing periods in reverse
2300
- * chronological order.
2301
- * @extends Array<BillingPeriod>
2302
- */
2303
- export interface BillingPeriodsListResult extends Array<BillingPeriod> {
2304
- /**
2305
- * The link (url) to the next page of results.
2306
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2307
- */
2308
- readonly nextLink?: string;
2309
- }
2310
- /**
2311
- * Defines values for AddressValidationStatus.
2312
- * Possible values include: 'Valid', 'Invalid'
2313
- * @readonly
2314
- * @enum {string}
2315
- */
2316
- export declare type AddressValidationStatus = 'Valid' | 'Invalid';
2317
- /**
2318
- * Defines values for SubscriptionTransferValidationErrorCode.
2319
- * Possible values include: 'InvalidSource', 'SubscriptionNotActive',
2320
- * 'InsufficientPermissionOnSource', 'InsufficientPermissionOnDestination',
2321
- * 'DestinationBillingProfilePastDue', 'SubscriptionTypeNotSupported',
2322
- * 'CrossBillingAccountNotAllowed', 'NotAvailableForDestinationMarket'
2323
- * @readonly
2324
- * @enum {string}
2325
- */
2326
- export declare type SubscriptionTransferValidationErrorCode = 'InvalidSource' | 'SubscriptionNotActive' | 'InsufficientPermissionOnSource' | 'InsufficientPermissionOnDestination' | 'DestinationBillingProfilePastDue' | 'SubscriptionTypeNotSupported' | 'CrossBillingAccountNotAllowed' | 'NotAvailableForDestinationMarket';
2327
- /**
2328
- * Defines values for AgreementType.
2329
- * Possible values include: 'MicrosoftCustomerAgreement', 'EnterpriseAgreement',
2330
- * 'MicrosoftOnlineServicesProgram', 'MicrosoftPartnerAgreement'
2331
- * @readonly
2332
- * @enum {string}
2333
- */
2334
- export declare type AgreementType = 'MicrosoftCustomerAgreement' | 'EnterpriseAgreement' | 'MicrosoftOnlineServicesProgram' | 'MicrosoftPartnerAgreement';
2335
- /**
2336
- * Defines values for AccountType.
2337
- * Possible values include: 'Enterprise', 'Individual', 'Partner'
2338
- * @readonly
2339
- * @enum {string}
2340
- */
2341
- export declare type AccountType = 'Enterprise' | 'Individual' | 'Partner';
2342
- /**
2343
- * Defines values for AccountStatus.
2344
- * Possible values include: 'Active', 'Deleted', 'Disabled', 'Expired', 'Transferred', 'Extended',
2345
- * 'Terminated'
2346
- * @readonly
2347
- * @enum {string}
2348
- */
2349
- export declare type AccountStatus = 'Active' | 'Deleted' | 'Disabled' | 'Expired' | 'Transferred' | 'Extended' | 'Terminated';
2350
- /**
2351
- * Defines values for BillingRelationshipType.
2352
- * Possible values include: 'Direct', 'IndirectCustomer', 'IndirectPartner', 'CSPPartner'
2353
- * @readonly
2354
- * @enum {string}
2355
- */
2356
- export declare type BillingRelationshipType = 'Direct' | 'IndirectCustomer' | 'IndirectPartner' | 'CSPPartner';
2357
- /**
2358
- * Defines values for InvoiceSectionState.
2359
- * Possible values include: 'Active', 'Restricted'
2360
- * @readonly
2361
- * @enum {string}
2362
- */
2363
- export declare type InvoiceSectionState = 'Active' | 'Restricted';
2364
- /**
2365
- * Defines values for TargetCloud.
2366
- * Possible values include: 'USGov', 'USNat', 'USSec'
2367
- * @readonly
2368
- * @enum {string}
2369
- */
2370
- export declare type TargetCloud = 'USGov' | 'USNat' | 'USSec';
2371
- /**
2372
- * Defines values for BillingProfileStatus.
2373
- * Possible values include: 'Active', 'Disabled', 'Warned'
2374
- * @readonly
2375
- * @enum {string}
2376
- */
2377
- export declare type BillingProfileStatus = 'Active' | 'Disabled' | 'Warned';
2378
- /**
2379
- * Defines values for StatusReasonCode.
2380
- * Possible values include: 'PastDue', 'SpendingLimitReached', 'SpendingLimitExpired'
2381
- * @readonly
2382
- * @enum {string}
2383
- */
2384
- export declare type StatusReasonCode = 'PastDue' | 'SpendingLimitReached' | 'SpendingLimitExpired';
2385
- /**
2386
- * Defines values for SpendingLimit.
2387
- * Possible values include: 'Off', 'On'
2388
- * @readonly
2389
- * @enum {string}
2390
- */
2391
- export declare type SpendingLimit = 'Off' | 'On';
2392
- /**
2393
- * Defines values for BillingProfileStatusReasonCode.
2394
- * Possible values include: 'PastDue', 'SpendingLimitReached', 'SpendingLimitExpired'
2395
- * @readonly
2396
- * @enum {string}
2397
- */
2398
- export declare type BillingProfileStatusReasonCode = 'PastDue' | 'SpendingLimitReached' | 'SpendingLimitExpired';
2399
- /**
2400
- * Defines values for BillingProfileSpendingLimit.
2401
- * Possible values include: 'Off', 'On'
2402
- * @readonly
2403
- * @enum {string}
2404
- */
2405
- export declare type BillingProfileSpendingLimit = 'Off' | 'On';
2406
- /**
2407
- * Defines values for StatusReasonCodeForBillingProfile.
2408
- * Possible values include: 'PastDue', 'SpendingLimitReached', 'SpendingLimitExpired'
2409
- * @readonly
2410
- * @enum {string}
2411
- */
2412
- export declare type StatusReasonCodeForBillingProfile = 'PastDue' | 'SpendingLimitReached' | 'SpendingLimitExpired';
2413
- /**
2414
- * Defines values for SpendingLimitForBillingProfile.
2415
- * Possible values include: 'Off', 'On'
2416
- * @readonly
2417
- * @enum {string}
2418
- */
2419
- export declare type SpendingLimitForBillingProfile = 'Off' | 'On';
2420
- /**
2421
- * Defines values for InvoiceStatus.
2422
- * Possible values include: 'Due', 'OverDue', 'Paid', 'Void'
2423
- * @readonly
2424
- * @enum {string}
2425
- */
2426
- export declare type InvoiceStatus = 'Due' | 'OverDue' | 'Paid' | 'Void';
2427
- /**
2428
- * Defines values for InvoiceType.
2429
- * Possible values include: 'AzureService', 'AzureMarketplace', 'AzureSupport'
2430
- * @readonly
2431
- * @enum {string}
2432
- */
2433
- export declare type InvoiceType = 'AzureService' | 'AzureMarketplace' | 'AzureSupport';
2434
- /**
2435
- * Defines values for DocumentType.
2436
- * Possible values include: 'Invoice', 'VoidNote', 'TaxReceipt', 'CreditNote'
2437
- * @readonly
2438
- * @enum {string}
2439
- */
2440
- export declare type DocumentType = 'Invoice' | 'VoidNote' | 'TaxReceipt' | 'CreditNote';
2441
- /**
2442
- * Defines values for DocumentSource.
2443
- * Possible values include: 'DRS', 'ENF'
2444
- * @readonly
2445
- * @enum {string}
2446
- */
2447
- export declare type DocumentSource = 'DRS' | 'ENF';
2448
- /**
2449
- * Defines values for PaymentMethodFamily.
2450
- * Possible values include: 'Credits', 'CheckWire', 'CreditCard', 'None'
2451
- * @readonly
2452
- * @enum {string}
2453
- */
2454
- export declare type PaymentMethodFamily = 'Credits' | 'CheckWire' | 'CreditCard' | 'None';
2455
- /**
2456
- * Defines values for InvoiceDocumentType.
2457
- * Possible values include: 'Invoice', 'CreditNote'
2458
- * @readonly
2459
- * @enum {string}
2460
- */
2461
- export declare type InvoiceDocumentType = 'Invoice' | 'CreditNote';
2462
- /**
2463
- * Defines values for AutoRenew.
2464
- * Possible values include: 'Off', 'On'
2465
- * @readonly
2466
- * @enum {string}
2467
- */
2468
- export declare type AutoRenew = 'Off' | 'On';
2469
- /**
2470
- * Defines values for ProductStatusType.
2471
- * Possible values include: 'Active', 'Inactive', 'PastDue', 'Expiring', 'Expired', 'Disabled',
2472
- * 'Cancelled', 'AutoRenew'
2473
- * @readonly
2474
- * @enum {string}
2475
- */
2476
- export declare type ProductStatusType = 'Active' | 'Inactive' | 'PastDue' | 'Expiring' | 'Expired' | 'Disabled' | 'Cancelled' | 'AutoRenew';
2477
- /**
2478
- * Defines values for BillingFrequency.
2479
- * Possible values include: 'OneTime', 'Monthly', 'UsageBased'
2480
- * @readonly
2481
- * @enum {string}
2482
- */
2483
- export declare type BillingFrequency = 'OneTime' | 'Monthly' | 'UsageBased';
2484
- /**
2485
- * Defines values for ProductTransferValidationErrorCode.
2486
- * Possible values include: 'InvalidSource', 'ProductNotActive', 'InsufficientPermissionOnSource',
2487
- * 'InsufficientPermissionOnDestination', 'DestinationBillingProfilePastDue',
2488
- * 'ProductTypeNotSupported', 'CrossBillingAccountNotAllowed', 'NotAvailableForDestinationMarket',
2489
- * 'OneTimePurchaseProductTransferNotAllowed'
2490
- * @readonly
2491
- * @enum {string}
2492
- */
2493
- export declare type ProductTransferValidationErrorCode = 'InvalidSource' | 'ProductNotActive' | 'InsufficientPermissionOnSource' | 'InsufficientPermissionOnDestination' | 'DestinationBillingProfilePastDue' | 'ProductTypeNotSupported' | 'CrossBillingAccountNotAllowed' | 'NotAvailableForDestinationMarket' | 'OneTimePurchaseProductTransferNotAllowed';
2494
- /**
2495
- * Defines values for BillingSubscriptionStatusType.
2496
- * Possible values include: 'Active', 'Inactive', 'Abandoned', 'Deleted', 'Warning'
2497
- * @readonly
2498
- * @enum {string}
2499
- */
2500
- export declare type BillingSubscriptionStatusType = 'Active' | 'Inactive' | 'Abandoned' | 'Deleted' | 'Warning';
2501
- /**
2502
- * Defines values for TransactionTypeKind.
2503
- * Possible values include: 'all', 'reservation'
2504
- * @readonly
2505
- * @enum {string}
2506
- */
2507
- export declare type TransactionTypeKind = 'all' | 'reservation';
2508
- /**
2509
- * Defines values for ReservationType.
2510
- * Possible values include: 'Purchase', 'Usage Charge'
2511
- * @readonly
2512
- * @enum {string}
2513
- */
2514
- export declare type ReservationType = 'Purchase' | 'Usage Charge';
2515
- /**
2516
- * Defines values for MarketplacePurchasesPolicy.
2517
- * Possible values include: 'AllAllowed', 'OnlyFreeAllowed', 'NotAllowed'
2518
- * @readonly
2519
- * @enum {string}
2520
- */
2521
- export declare type MarketplacePurchasesPolicy = 'AllAllowed' | 'OnlyFreeAllowed' | 'NotAllowed';
2522
- /**
2523
- * Defines values for ReservationPurchasesPolicy.
2524
- * Possible values include: 'Allowed', 'NotAllowed'
2525
- * @readonly
2526
- * @enum {string}
2527
- */
2528
- export declare type ReservationPurchasesPolicy = 'Allowed' | 'NotAllowed';
2529
- /**
2530
- * Defines values for ViewChargesPolicy.
2531
- * Possible values include: 'Allowed', 'NotAllowed'
2532
- * @readonly
2533
- * @enum {string}
2534
- */
2535
- export declare type ViewChargesPolicy = 'Allowed' | 'NotAllowed';
2536
- /**
2537
- * Defines values for ViewCharges.
2538
- * Possible values include: 'Allowed', 'NotAllowed'
2539
- * @readonly
2540
- * @enum {string}
2541
- */
2542
- export declare type ViewCharges = 'Allowed' | 'NotAllowed';
2543
- /**
2544
- * Defines values for Category.
2545
- * Possible values include: 'MicrosoftCustomerAgreement', 'AffiliatePurchaseTerms', 'Other'
2546
- * @readonly
2547
- * @enum {string}
2548
- */
2549
- export declare type Category = 'MicrosoftCustomerAgreement' | 'AffiliatePurchaseTerms' | 'Other';
2550
- /**
2551
- * Defines values for AcceptanceMode.
2552
- * Possible values include: 'ClickToAccept', 'ESignEmbedded', 'ESignOffline'
2553
- * @readonly
2554
- * @enum {string}
2555
- */
2556
- export declare type AcceptanceMode = 'ClickToAccept' | 'ESignEmbedded' | 'ESignOffline';
2557
- /**
2558
- * Contains response data for the list operation.
2559
- */
2560
- export declare type BillingAccountsListResponse = BillingAccountListResult & {
2561
- /**
2562
- * The underlying HTTP response.
2563
- */
2564
- _response: msRest.HttpResponse & {
2565
- /**
2566
- * The response body as text (string format)
2567
- */
2568
- bodyAsText: string;
2569
- /**
2570
- * The response body as parsed JSON or XML
2571
- */
2572
- parsedBody: BillingAccountListResult;
2573
- };
2574
- };
2575
- /**
2576
- * Contains response data for the get operation.
2577
- */
2578
- export declare type BillingAccountsGetResponse = BillingAccount & {
2579
- /**
2580
- * The underlying HTTP response.
2581
- */
2582
- _response: msRest.HttpResponse & {
2583
- /**
2584
- * The response body as text (string format)
2585
- */
2586
- bodyAsText: string;
2587
- /**
2588
- * The response body as parsed JSON or XML
2589
- */
2590
- parsedBody: BillingAccount;
2591
- };
2592
- };
2593
- /**
2594
- * Contains response data for the update operation.
2595
- */
2596
- export declare type BillingAccountsUpdateResponse = BillingAccount & {
2597
- /**
2598
- * The underlying HTTP response.
2599
- */
2600
- _response: msRest.HttpResponse & {
2601
- /**
2602
- * The response body as text (string format)
2603
- */
2604
- bodyAsText: string;
2605
- /**
2606
- * The response body as parsed JSON or XML
2607
- */
2608
- parsedBody: BillingAccount;
2609
- };
2610
- };
2611
- /**
2612
- * Contains response data for the listInvoiceSectionsByCreateSubscriptionPermission operation.
2613
- */
2614
- export declare type BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionResponse = InvoiceSectionListWithCreateSubPermissionResult & {
2615
- /**
2616
- * The underlying HTTP response.
2617
- */
2618
- _response: msRest.HttpResponse & {
2619
- /**
2620
- * The response body as text (string format)
2621
- */
2622
- bodyAsText: string;
2623
- /**
2624
- * The response body as parsed JSON or XML
2625
- */
2626
- parsedBody: InvoiceSectionListWithCreateSubPermissionResult;
2627
- };
2628
- };
2629
- /**
2630
- * Contains response data for the beginUpdate operation.
2631
- */
2632
- export declare type BillingAccountsBeginUpdateResponse = BillingAccount & {
2633
- /**
2634
- * The underlying HTTP response.
2635
- */
2636
- _response: msRest.HttpResponse & {
2637
- /**
2638
- * The response body as text (string format)
2639
- */
2640
- bodyAsText: string;
2641
- /**
2642
- * The response body as parsed JSON or XML
2643
- */
2644
- parsedBody: BillingAccount;
2645
- };
2646
- };
2647
- /**
2648
- * Contains response data for the listNext operation.
2649
- */
2650
- export declare type BillingAccountsListNextResponse = BillingAccountListResult & {
2651
- /**
2652
- * The underlying HTTP response.
2653
- */
2654
- _response: msRest.HttpResponse & {
2655
- /**
2656
- * The response body as text (string format)
2657
- */
2658
- bodyAsText: string;
2659
- /**
2660
- * The response body as parsed JSON or XML
2661
- */
2662
- parsedBody: BillingAccountListResult;
2663
- };
2664
- };
2665
- /**
2666
- * Contains response data for the listInvoiceSectionsByCreateSubscriptionPermissionNext operation.
2667
- */
2668
- export declare type BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextResponse = InvoiceSectionListWithCreateSubPermissionResult & {
2669
- /**
2670
- * The underlying HTTP response.
2671
- */
2672
- _response: msRest.HttpResponse & {
2673
- /**
2674
- * The response body as text (string format)
2675
- */
2676
- bodyAsText: string;
2677
- /**
2678
- * The response body as parsed JSON or XML
2679
- */
2680
- parsedBody: InvoiceSectionListWithCreateSubPermissionResult;
2681
- };
2682
- };
2683
- /**
2684
- * Contains response data for the validate operation.
2685
- */
2686
- export declare type AddressValidateResponse = ValidateAddressResponse & {
2687
- /**
2688
- * The underlying HTTP response.
2689
- */
2690
- _response: msRest.HttpResponse & {
2691
- /**
2692
- * The response body as text (string format)
2693
- */
2694
- bodyAsText: string;
2695
- /**
2696
- * The response body as parsed JSON or XML
2697
- */
2698
- parsedBody: ValidateAddressResponse;
2699
- };
2700
- };
2701
- /**
2702
- * Contains response data for the get operation.
2703
- */
2704
- export declare type AvailableBalancesGetResponse = AvailableBalance & {
2705
- /**
2706
- * The underlying HTTP response.
2707
- */
2708
- _response: msRest.HttpResponse & {
2709
- /**
2710
- * The response body as text (string format)
2711
- */
2712
- bodyAsText: string;
2713
- /**
2714
- * The response body as parsed JSON or XML
2715
- */
2716
- parsedBody: AvailableBalance;
2717
- };
2718
- };
2719
- /**
2720
- * Contains response data for the listByBillingProfile operation.
2721
- */
2722
- export declare type InstructionsListByBillingProfileResponse = InstructionListResult & {
2723
- /**
2724
- * The underlying HTTP response.
2725
- */
2726
- _response: msRest.HttpResponse & {
2727
- /**
2728
- * The response body as text (string format)
2729
- */
2730
- bodyAsText: string;
2731
- /**
2732
- * The response body as parsed JSON or XML
2733
- */
2734
- parsedBody: InstructionListResult;
2735
- };
2736
- };
2737
- /**
2738
- * Contains response data for the get operation.
2739
- */
2740
- export declare type InstructionsGetResponse = Instruction & {
2741
- /**
2742
- * The underlying HTTP response.
2743
- */
2744
- _response: msRest.HttpResponse & {
2745
- /**
2746
- * The response body as text (string format)
2747
- */
2748
- bodyAsText: string;
2749
- /**
2750
- * The response body as parsed JSON or XML
2751
- */
2752
- parsedBody: Instruction;
2753
- };
2754
- };
2755
- /**
2756
- * Contains response data for the put operation.
2757
- */
2758
- export declare type InstructionsPutResponse = Instruction & {
2759
- /**
2760
- * The underlying HTTP response.
2761
- */
2762
- _response: msRest.HttpResponse & {
2763
- /**
2764
- * The response body as text (string format)
2765
- */
2766
- bodyAsText: string;
2767
- /**
2768
- * The response body as parsed JSON or XML
2769
- */
2770
- parsedBody: Instruction;
2771
- };
2772
- };
2773
- /**
2774
- * Contains response data for the listByBillingProfileNext operation.
2775
- */
2776
- export declare type InstructionsListByBillingProfileNextResponse = InstructionListResult & {
2777
- /**
2778
- * The underlying HTTP response.
2779
- */
2780
- _response: msRest.HttpResponse & {
2781
- /**
2782
- * The response body as text (string format)
2783
- */
2784
- bodyAsText: string;
2785
- /**
2786
- * The response body as parsed JSON or XML
2787
- */
2788
- parsedBody: InstructionListResult;
2789
- };
2790
- };
2791
- /**
2792
- * Contains response data for the listByBillingAccount operation.
2793
- */
2794
- export declare type BillingProfilesListByBillingAccountResponse = BillingProfileListResult & {
2795
- /**
2796
- * The underlying HTTP response.
2797
- */
2798
- _response: msRest.HttpResponse & {
2799
- /**
2800
- * The response body as text (string format)
2801
- */
2802
- bodyAsText: string;
2803
- /**
2804
- * The response body as parsed JSON or XML
2805
- */
2806
- parsedBody: BillingProfileListResult;
2807
- };
2808
- };
2809
- /**
2810
- * Contains response data for the get operation.
2811
- */
2812
- export declare type BillingProfilesGetResponse = BillingProfile & {
2813
- /**
2814
- * The underlying HTTP response.
2815
- */
2816
- _response: msRest.HttpResponse & {
2817
- /**
2818
- * The response body as text (string format)
2819
- */
2820
- bodyAsText: string;
2821
- /**
2822
- * The response body as parsed JSON or XML
2823
- */
2824
- parsedBody: BillingProfile;
2825
- };
2826
- };
2827
- /**
2828
- * Contains response data for the createOrUpdate operation.
2829
- */
2830
- export declare type BillingProfilesCreateOrUpdateResponse = BillingProfile & BillingProfilesCreateOrUpdateHeaders & {
2831
- /**
2832
- * The underlying HTTP response.
2833
- */
2834
- _response: msRest.HttpResponse & {
2835
- /**
2836
- * The parsed HTTP response headers.
2837
- */
2838
- parsedHeaders: BillingProfilesCreateOrUpdateHeaders;
2839
- /**
2840
- * The response body as text (string format)
2841
- */
2842
- bodyAsText: string;
2843
- /**
2844
- * The response body as parsed JSON or XML
2845
- */
2846
- parsedBody: BillingProfile;
2847
- };
2848
- };
2849
- /**
2850
- * Contains response data for the listByBillingAccountNext operation.
2851
- */
2852
- export declare type BillingProfilesListByBillingAccountNextResponse = BillingProfileListResult & {
2853
- /**
2854
- * The underlying HTTP response.
2855
- */
2856
- _response: msRest.HttpResponse & {
2857
- /**
2858
- * The response body as text (string format)
2859
- */
2860
- bodyAsText: string;
2861
- /**
2862
- * The response body as parsed JSON or XML
2863
- */
2864
- parsedBody: BillingProfileListResult;
2865
- };
2866
- };
2867
- /**
2868
- * Contains response data for the listByBillingProfile operation.
2869
- */
2870
- export declare type CustomersListByBillingProfileResponse = CustomerListResult & {
2871
- /**
2872
- * The underlying HTTP response.
2873
- */
2874
- _response: msRest.HttpResponse & {
2875
- /**
2876
- * The response body as text (string format)
2877
- */
2878
- bodyAsText: string;
2879
- /**
2880
- * The response body as parsed JSON or XML
2881
- */
2882
- parsedBody: CustomerListResult;
2883
- };
2884
- };
2885
- /**
2886
- * Contains response data for the listByBillingAccount operation.
2887
- */
2888
- export declare type CustomersListByBillingAccountResponse = CustomerListResult & {
2889
- /**
2890
- * The underlying HTTP response.
2891
- */
2892
- _response: msRest.HttpResponse & {
2893
- /**
2894
- * The response body as text (string format)
2895
- */
2896
- bodyAsText: string;
2897
- /**
2898
- * The response body as parsed JSON or XML
2899
- */
2900
- parsedBody: CustomerListResult;
2901
- };
2902
- };
2903
- /**
2904
- * Contains response data for the get operation.
2905
- */
2906
- export declare type CustomersGetResponse = Customer & {
2907
- /**
2908
- * The underlying HTTP response.
2909
- */
2910
- _response: msRest.HttpResponse & {
2911
- /**
2912
- * The response body as text (string format)
2913
- */
2914
- bodyAsText: string;
2915
- /**
2916
- * The response body as parsed JSON or XML
2917
- */
2918
- parsedBody: Customer;
2919
- };
2920
- };
2921
- /**
2922
- * Contains response data for the listByBillingProfileNext operation.
2923
- */
2924
- export declare type CustomersListByBillingProfileNextResponse = CustomerListResult & {
2925
- /**
2926
- * The underlying HTTP response.
2927
- */
2928
- _response: msRest.HttpResponse & {
2929
- /**
2930
- * The response body as text (string format)
2931
- */
2932
- bodyAsText: string;
2933
- /**
2934
- * The response body as parsed JSON or XML
2935
- */
2936
- parsedBody: CustomerListResult;
2937
- };
2938
- };
2939
- /**
2940
- * Contains response data for the listByBillingAccountNext operation.
2941
- */
2942
- export declare type CustomersListByBillingAccountNextResponse = CustomerListResult & {
2943
- /**
2944
- * The underlying HTTP response.
2945
- */
2946
- _response: msRest.HttpResponse & {
2947
- /**
2948
- * The response body as text (string format)
2949
- */
2950
- bodyAsText: string;
2951
- /**
2952
- * The response body as parsed JSON or XML
2953
- */
2954
- parsedBody: CustomerListResult;
2955
- };
2956
- };
2957
- /**
2958
- * Contains response data for the listByBillingProfile operation.
2959
- */
2960
- export declare type InvoiceSectionsListByBillingProfileResponse = InvoiceSectionListResult & {
2961
- /**
2962
- * The underlying HTTP response.
2963
- */
2964
- _response: msRest.HttpResponse & {
2965
- /**
2966
- * The response body as text (string format)
2967
- */
2968
- bodyAsText: string;
2969
- /**
2970
- * The response body as parsed JSON or XML
2971
- */
2972
- parsedBody: InvoiceSectionListResult;
2973
- };
2974
- };
2975
- /**
2976
- * Contains response data for the get operation.
2977
- */
2978
- export declare type InvoiceSectionsGetResponse = InvoiceSection & {
2979
- /**
2980
- * The underlying HTTP response.
2981
- */
2982
- _response: msRest.HttpResponse & {
2983
- /**
2984
- * The response body as text (string format)
2985
- */
2986
- bodyAsText: string;
2987
- /**
2988
- * The response body as parsed JSON or XML
2989
- */
2990
- parsedBody: InvoiceSection;
2991
- };
2992
- };
2993
- /**
2994
- * Contains response data for the createOrUpdate operation.
2995
- */
2996
- export declare type InvoiceSectionsCreateOrUpdateResponse = InvoiceSection & InvoiceSectionsCreateOrUpdateHeaders & {
2997
- /**
2998
- * The underlying HTTP response.
2999
- */
3000
- _response: msRest.HttpResponse & {
3001
- /**
3002
- * The parsed HTTP response headers.
3003
- */
3004
- parsedHeaders: InvoiceSectionsCreateOrUpdateHeaders;
3005
- /**
3006
- * The response body as text (string format)
3007
- */
3008
- bodyAsText: string;
3009
- /**
3010
- * The response body as parsed JSON or XML
3011
- */
3012
- parsedBody: InvoiceSection;
3013
- };
3014
- };
3015
- /**
3016
- * Contains response data for the listByBillingProfileNext operation.
3017
- */
3018
- export declare type InvoiceSectionsListByBillingProfileNextResponse = InvoiceSectionListResult & {
3019
- /**
3020
- * The underlying HTTP response.
3021
- */
3022
- _response: msRest.HttpResponse & {
3023
- /**
3024
- * The response body as text (string format)
3025
- */
3026
- bodyAsText: string;
3027
- /**
3028
- * The response body as parsed JSON or XML
3029
- */
3030
- parsedBody: InvoiceSectionListResult;
3031
- };
3032
- };
3033
- /**
3034
- * Contains response data for the listByCustomer operation.
3035
- */
3036
- export declare type BillingPermissionsListByCustomerResponse = BillingPermissionsListResult & {
3037
- /**
3038
- * The underlying HTTP response.
3039
- */
3040
- _response: msRest.HttpResponse & {
3041
- /**
3042
- * The response body as text (string format)
3043
- */
3044
- bodyAsText: string;
3045
- /**
3046
- * The response body as parsed JSON or XML
3047
- */
3048
- parsedBody: BillingPermissionsListResult;
3049
- };
3050
- };
3051
- /**
3052
- * Contains response data for the listByBillingAccount operation.
3053
- */
3054
- export declare type BillingPermissionsListByBillingAccountResponse = BillingPermissionsListResult & {
3055
- /**
3056
- * The underlying HTTP response.
3057
- */
3058
- _response: msRest.HttpResponse & {
3059
- /**
3060
- * The response body as text (string format)
3061
- */
3062
- bodyAsText: string;
3063
- /**
3064
- * The response body as parsed JSON or XML
3065
- */
3066
- parsedBody: BillingPermissionsListResult;
3067
- };
3068
- };
3069
- /**
3070
- * Contains response data for the listByInvoiceSections operation.
3071
- */
3072
- export declare type BillingPermissionsListByInvoiceSectionsResponse = BillingPermissionsListResult & {
3073
- /**
3074
- * The underlying HTTP response.
3075
- */
3076
- _response: msRest.HttpResponse & {
3077
- /**
3078
- * The response body as text (string format)
3079
- */
3080
- bodyAsText: string;
3081
- /**
3082
- * The response body as parsed JSON or XML
3083
- */
3084
- parsedBody: BillingPermissionsListResult;
3085
- };
3086
- };
3087
- /**
3088
- * Contains response data for the listByBillingProfile operation.
3089
- */
3090
- export declare type BillingPermissionsListByBillingProfileResponse = BillingPermissionsListResult & {
3091
- /**
3092
- * The underlying HTTP response.
3093
- */
3094
- _response: msRest.HttpResponse & {
3095
- /**
3096
- * The response body as text (string format)
3097
- */
3098
- bodyAsText: string;
3099
- /**
3100
- * The response body as parsed JSON or XML
3101
- */
3102
- parsedBody: BillingPermissionsListResult;
3103
- };
3104
- };
3105
- /**
3106
- * Contains response data for the listByCustomerNext operation.
3107
- */
3108
- export declare type BillingPermissionsListByCustomerNextResponse = BillingPermissionsListResult & {
3109
- /**
3110
- * The underlying HTTP response.
3111
- */
3112
- _response: msRest.HttpResponse & {
3113
- /**
3114
- * The response body as text (string format)
3115
- */
3116
- bodyAsText: string;
3117
- /**
3118
- * The response body as parsed JSON or XML
3119
- */
3120
- parsedBody: BillingPermissionsListResult;
3121
- };
3122
- };
3123
- /**
3124
- * Contains response data for the listByBillingAccountNext operation.
3125
- */
3126
- export declare type BillingPermissionsListByBillingAccountNextResponse = BillingPermissionsListResult & {
3127
- /**
3128
- * The underlying HTTP response.
3129
- */
3130
- _response: msRest.HttpResponse & {
3131
- /**
3132
- * The response body as text (string format)
3133
- */
3134
- bodyAsText: string;
3135
- /**
3136
- * The response body as parsed JSON or XML
3137
- */
3138
- parsedBody: BillingPermissionsListResult;
3139
- };
3140
- };
3141
- /**
3142
- * Contains response data for the listByInvoiceSectionsNext operation.
3143
- */
3144
- export declare type BillingPermissionsListByInvoiceSectionsNextResponse = BillingPermissionsListResult & {
3145
- /**
3146
- * The underlying HTTP response.
3147
- */
3148
- _response: msRest.HttpResponse & {
3149
- /**
3150
- * The response body as text (string format)
3151
- */
3152
- bodyAsText: string;
3153
- /**
3154
- * The response body as parsed JSON or XML
3155
- */
3156
- parsedBody: BillingPermissionsListResult;
3157
- };
3158
- };
3159
- /**
3160
- * Contains response data for the listByBillingProfileNext operation.
3161
- */
3162
- export declare type BillingPermissionsListByBillingProfileNextResponse = BillingPermissionsListResult & {
3163
- /**
3164
- * The underlying HTTP response.
3165
- */
3166
- _response: msRest.HttpResponse & {
3167
- /**
3168
- * The response body as text (string format)
3169
- */
3170
- bodyAsText: string;
3171
- /**
3172
- * The response body as parsed JSON or XML
3173
- */
3174
- parsedBody: BillingPermissionsListResult;
3175
- };
3176
- };
3177
- /**
3178
- * Contains response data for the listByCustomer operation.
3179
- */
3180
- export declare type BillingSubscriptionsListByCustomerResponse = BillingSubscriptionsListResult & {
3181
- /**
3182
- * The underlying HTTP response.
3183
- */
3184
- _response: msRest.HttpResponse & {
3185
- /**
3186
- * The response body as text (string format)
3187
- */
3188
- bodyAsText: string;
3189
- /**
3190
- * The response body as parsed JSON or XML
3191
- */
3192
- parsedBody: BillingSubscriptionsListResult;
3193
- };
3194
- };
3195
- /**
3196
- * Contains response data for the listByBillingAccount operation.
3197
- */
3198
- export declare type BillingSubscriptionsListByBillingAccountResponse = BillingSubscriptionsListResult & {
3199
- /**
3200
- * The underlying HTTP response.
3201
- */
3202
- _response: msRest.HttpResponse & {
3203
- /**
3204
- * The response body as text (string format)
3205
- */
3206
- bodyAsText: string;
3207
- /**
3208
- * The response body as parsed JSON or XML
3209
- */
3210
- parsedBody: BillingSubscriptionsListResult;
3211
- };
3212
- };
3213
- /**
3214
- * Contains response data for the listByBillingProfile operation.
3215
- */
3216
- export declare type BillingSubscriptionsListByBillingProfileResponse = BillingSubscriptionsListResult & {
3217
- /**
3218
- * The underlying HTTP response.
3219
- */
3220
- _response: msRest.HttpResponse & {
3221
- /**
3222
- * The response body as text (string format)
3223
- */
3224
- bodyAsText: string;
3225
- /**
3226
- * The response body as parsed JSON or XML
3227
- */
3228
- parsedBody: BillingSubscriptionsListResult;
3229
- };
3230
- };
3231
- /**
3232
- * Contains response data for the listByInvoiceSection operation.
3233
- */
3234
- export declare type BillingSubscriptionsListByInvoiceSectionResponse = BillingSubscriptionsListResult & {
3235
- /**
3236
- * The underlying HTTP response.
3237
- */
3238
- _response: msRest.HttpResponse & {
3239
- /**
3240
- * The response body as text (string format)
3241
- */
3242
- bodyAsText: string;
3243
- /**
3244
- * The response body as parsed JSON or XML
3245
- */
3246
- parsedBody: BillingSubscriptionsListResult;
3247
- };
3248
- };
3249
- /**
3250
- * Contains response data for the get operation.
3251
- */
3252
- export declare type BillingSubscriptionsGetResponse = BillingSubscription & {
3253
- /**
3254
- * The underlying HTTP response.
3255
- */
3256
- _response: msRest.HttpResponse & {
3257
- /**
3258
- * The response body as text (string format)
3259
- */
3260
- bodyAsText: string;
3261
- /**
3262
- * The response body as parsed JSON or XML
3263
- */
3264
- parsedBody: BillingSubscription;
3265
- };
3266
- };
3267
- /**
3268
- * Contains response data for the update operation.
3269
- */
3270
- export declare type BillingSubscriptionsUpdateResponse = BillingSubscription & {
3271
- /**
3272
- * The underlying HTTP response.
3273
- */
3274
- _response: msRest.HttpResponse & {
3275
- /**
3276
- * The response body as text (string format)
3277
- */
3278
- bodyAsText: string;
3279
- /**
3280
- * The response body as parsed JSON or XML
3281
- */
3282
- parsedBody: BillingSubscription;
3283
- };
3284
- };
3285
- /**
3286
- * Contains response data for the move operation.
3287
- */
3288
- export declare type BillingSubscriptionsMoveResponse = BillingSubscription & BillingSubscriptionsMoveHeaders & {
3289
- /**
3290
- * The underlying HTTP response.
3291
- */
3292
- _response: msRest.HttpResponse & {
3293
- /**
3294
- * The parsed HTTP response headers.
3295
- */
3296
- parsedHeaders: BillingSubscriptionsMoveHeaders;
3297
- /**
3298
- * The response body as text (string format)
3299
- */
3300
- bodyAsText: string;
3301
- /**
3302
- * The response body as parsed JSON or XML
3303
- */
3304
- parsedBody: BillingSubscription;
3305
- };
3306
- };
3307
- /**
3308
- * Contains response data for the validateMove operation.
3309
- */
3310
- export declare type BillingSubscriptionsValidateMoveResponse = ValidateSubscriptionTransferEligibilityResult & {
3311
- /**
3312
- * The underlying HTTP response.
3313
- */
3314
- _response: msRest.HttpResponse & {
3315
- /**
3316
- * The response body as text (string format)
3317
- */
3318
- bodyAsText: string;
3319
- /**
3320
- * The response body as parsed JSON or XML
3321
- */
3322
- parsedBody: ValidateSubscriptionTransferEligibilityResult;
3323
- };
3324
- };
3325
- /**
3326
- * Contains response data for the listByCustomerNext operation.
3327
- */
3328
- export declare type BillingSubscriptionsListByCustomerNextResponse = BillingSubscriptionsListResult & {
3329
- /**
3330
- * The underlying HTTP response.
3331
- */
3332
- _response: msRest.HttpResponse & {
3333
- /**
3334
- * The response body as text (string format)
3335
- */
3336
- bodyAsText: string;
3337
- /**
3338
- * The response body as parsed JSON or XML
3339
- */
3340
- parsedBody: BillingSubscriptionsListResult;
3341
- };
3342
- };
3343
- /**
3344
- * Contains response data for the listByBillingAccountNext operation.
3345
- */
3346
- export declare type BillingSubscriptionsListByBillingAccountNextResponse = BillingSubscriptionsListResult & {
3347
- /**
3348
- * The underlying HTTP response.
3349
- */
3350
- _response: msRest.HttpResponse & {
3351
- /**
3352
- * The response body as text (string format)
3353
- */
3354
- bodyAsText: string;
3355
- /**
3356
- * The response body as parsed JSON or XML
3357
- */
3358
- parsedBody: BillingSubscriptionsListResult;
3359
- };
3360
- };
3361
- /**
3362
- * Contains response data for the listByBillingProfileNext operation.
3363
- */
3364
- export declare type BillingSubscriptionsListByBillingProfileNextResponse = BillingSubscriptionsListResult & {
3365
- /**
3366
- * The underlying HTTP response.
3367
- */
3368
- _response: msRest.HttpResponse & {
3369
- /**
3370
- * The response body as text (string format)
3371
- */
3372
- bodyAsText: string;
3373
- /**
3374
- * The response body as parsed JSON or XML
3375
- */
3376
- parsedBody: BillingSubscriptionsListResult;
3377
- };
3378
- };
3379
- /**
3380
- * Contains response data for the listByInvoiceSectionNext operation.
3381
- */
3382
- export declare type BillingSubscriptionsListByInvoiceSectionNextResponse = BillingSubscriptionsListResult & {
3383
- /**
3384
- * The underlying HTTP response.
3385
- */
3386
- _response: msRest.HttpResponse & {
3387
- /**
3388
- * The response body as text (string format)
3389
- */
3390
- bodyAsText: string;
3391
- /**
3392
- * The response body as parsed JSON or XML
3393
- */
3394
- parsedBody: BillingSubscriptionsListResult;
3395
- };
3396
- };
3397
- /**
3398
- * Contains response data for the listByCustomer operation.
3399
- */
3400
- export declare type ProductsListByCustomerResponse = ProductsListResult & {
3401
- /**
3402
- * The underlying HTTP response.
3403
- */
3404
- _response: msRest.HttpResponse & {
3405
- /**
3406
- * The response body as text (string format)
3407
- */
3408
- bodyAsText: string;
3409
- /**
3410
- * The response body as parsed JSON or XML
3411
- */
3412
- parsedBody: ProductsListResult;
3413
- };
3414
- };
3415
- /**
3416
- * Contains response data for the listByBillingAccount operation.
3417
- */
3418
- export declare type ProductsListByBillingAccountResponse = ProductsListResult & {
3419
- /**
3420
- * The underlying HTTP response.
3421
- */
3422
- _response: msRest.HttpResponse & {
3423
- /**
3424
- * The response body as text (string format)
3425
- */
3426
- bodyAsText: string;
3427
- /**
3428
- * The response body as parsed JSON or XML
3429
- */
3430
- parsedBody: ProductsListResult;
3431
- };
3432
- };
3433
- /**
3434
- * Contains response data for the listByBillingProfile operation.
3435
- */
3436
- export declare type ProductsListByBillingProfileResponse = ProductsListResult & {
3437
- /**
3438
- * The underlying HTTP response.
3439
- */
3440
- _response: msRest.HttpResponse & {
3441
- /**
3442
- * The response body as text (string format)
3443
- */
3444
- bodyAsText: string;
3445
- /**
3446
- * The response body as parsed JSON or XML
3447
- */
3448
- parsedBody: ProductsListResult;
3449
- };
3450
- };
3451
- /**
3452
- * Contains response data for the listByInvoiceSection operation.
3453
- */
3454
- export declare type ProductsListByInvoiceSectionResponse = ProductsListResult & {
3455
- /**
3456
- * The underlying HTTP response.
3457
- */
3458
- _response: msRest.HttpResponse & {
3459
- /**
3460
- * The response body as text (string format)
3461
- */
3462
- bodyAsText: string;
3463
- /**
3464
- * The response body as parsed JSON or XML
3465
- */
3466
- parsedBody: ProductsListResult;
3467
- };
3468
- };
3469
- /**
3470
- * Contains response data for the get operation.
3471
- */
3472
- export declare type ProductsGetResponse = Product & {
3473
- /**
3474
- * The underlying HTTP response.
3475
- */
3476
- _response: msRest.HttpResponse & {
3477
- /**
3478
- * The response body as text (string format)
3479
- */
3480
- bodyAsText: string;
3481
- /**
3482
- * The response body as parsed JSON or XML
3483
- */
3484
- parsedBody: Product;
3485
- };
3486
- };
3487
- /**
3488
- * Contains response data for the update operation.
3489
- */
3490
- export declare type ProductsUpdateResponse = Product & {
3491
- /**
3492
- * The underlying HTTP response.
3493
- */
3494
- _response: msRest.HttpResponse & {
3495
- /**
3496
- * The response body as text (string format)
3497
- */
3498
- bodyAsText: string;
3499
- /**
3500
- * The response body as parsed JSON or XML
3501
- */
3502
- parsedBody: Product;
3503
- };
3504
- };
3505
- /**
3506
- * Contains response data for the move operation.
3507
- */
3508
- export declare type ProductsMoveResponse = Product & ProductsMoveHeaders & {
3509
- /**
3510
- * The underlying HTTP response.
3511
- */
3512
- _response: msRest.HttpResponse & {
3513
- /**
3514
- * The parsed HTTP response headers.
3515
- */
3516
- parsedHeaders: ProductsMoveHeaders;
3517
- /**
3518
- * The response body as text (string format)
3519
- */
3520
- bodyAsText: string;
3521
- /**
3522
- * The response body as parsed JSON or XML
3523
- */
3524
- parsedBody: Product;
3525
- };
3526
- };
3527
- /**
3528
- * Contains response data for the validateMove operation.
3529
- */
3530
- export declare type ProductsValidateMoveResponse = ValidateProductTransferEligibilityResult & {
3531
- /**
3532
- * The underlying HTTP response.
3533
- */
3534
- _response: msRest.HttpResponse & {
3535
- /**
3536
- * The response body as text (string format)
3537
- */
3538
- bodyAsText: string;
3539
- /**
3540
- * The response body as parsed JSON or XML
3541
- */
3542
- parsedBody: ValidateProductTransferEligibilityResult;
3543
- };
3544
- };
3545
- /**
3546
- * Contains response data for the listByCustomerNext operation.
3547
- */
3548
- export declare type ProductsListByCustomerNextResponse = ProductsListResult & {
3549
- /**
3550
- * The underlying HTTP response.
3551
- */
3552
- _response: msRest.HttpResponse & {
3553
- /**
3554
- * The response body as text (string format)
3555
- */
3556
- bodyAsText: string;
3557
- /**
3558
- * The response body as parsed JSON or XML
3559
- */
3560
- parsedBody: ProductsListResult;
3561
- };
3562
- };
3563
- /**
3564
- * Contains response data for the listByBillingAccountNext operation.
3565
- */
3566
- export declare type ProductsListByBillingAccountNextResponse = ProductsListResult & {
3567
- /**
3568
- * The underlying HTTP response.
3569
- */
3570
- _response: msRest.HttpResponse & {
3571
- /**
3572
- * The response body as text (string format)
3573
- */
3574
- bodyAsText: string;
3575
- /**
3576
- * The response body as parsed JSON or XML
3577
- */
3578
- parsedBody: ProductsListResult;
3579
- };
3580
- };
3581
- /**
3582
- * Contains response data for the listByBillingProfileNext operation.
3583
- */
3584
- export declare type ProductsListByBillingProfileNextResponse = ProductsListResult & {
3585
- /**
3586
- * The underlying HTTP response.
3587
- */
3588
- _response: msRest.HttpResponse & {
3589
- /**
3590
- * The response body as text (string format)
3591
- */
3592
- bodyAsText: string;
3593
- /**
3594
- * The response body as parsed JSON or XML
3595
- */
3596
- parsedBody: ProductsListResult;
3597
- };
3598
- };
3599
- /**
3600
- * Contains response data for the listByInvoiceSectionNext operation.
3601
- */
3602
- export declare type ProductsListByInvoiceSectionNextResponse = ProductsListResult & {
3603
- /**
3604
- * The underlying HTTP response.
3605
- */
3606
- _response: msRest.HttpResponse & {
3607
- /**
3608
- * The response body as text (string format)
3609
- */
3610
- bodyAsText: string;
3611
- /**
3612
- * The response body as parsed JSON or XML
3613
- */
3614
- parsedBody: ProductsListResult;
3615
- };
3616
- };
3617
- /**
3618
- * Contains response data for the listByBillingAccount operation.
3619
- */
3620
- export declare type InvoicesListByBillingAccountResponse = InvoiceListResult & {
3621
- /**
3622
- * The underlying HTTP response.
3623
- */
3624
- _response: msRest.HttpResponse & {
3625
- /**
3626
- * The response body as text (string format)
3627
- */
3628
- bodyAsText: string;
3629
- /**
3630
- * The response body as parsed JSON or XML
3631
- */
3632
- parsedBody: InvoiceListResult;
3633
- };
3634
- };
3635
- /**
3636
- * Contains response data for the listByBillingProfile operation.
3637
- */
3638
- export declare type InvoicesListByBillingProfileResponse = InvoiceListResult & {
3639
- /**
3640
- * The underlying HTTP response.
3641
- */
3642
- _response: msRest.HttpResponse & {
3643
- /**
3644
- * The response body as text (string format)
3645
- */
3646
- bodyAsText: string;
3647
- /**
3648
- * The response body as parsed JSON or XML
3649
- */
3650
- parsedBody: InvoiceListResult;
3651
- };
3652
- };
3653
- /**
3654
- * Contains response data for the get operation.
3655
- */
3656
- export declare type InvoicesGetResponse = Invoice & {
3657
- /**
3658
- * The underlying HTTP response.
3659
- */
3660
- _response: msRest.HttpResponse & {
3661
- /**
3662
- * The response body as text (string format)
3663
- */
3664
- bodyAsText: string;
3665
- /**
3666
- * The response body as parsed JSON or XML
3667
- */
3668
- parsedBody: Invoice;
3669
- };
3670
- };
3671
- /**
3672
- * Contains response data for the getById operation.
3673
- */
3674
- export declare type InvoicesGetByIdResponse = Invoice & {
3675
- /**
3676
- * The underlying HTTP response.
3677
- */
3678
- _response: msRest.HttpResponse & {
3679
- /**
3680
- * The response body as text (string format)
3681
- */
3682
- bodyAsText: string;
3683
- /**
3684
- * The response body as parsed JSON or XML
3685
- */
3686
- parsedBody: Invoice;
3687
- };
3688
- };
3689
- /**
3690
- * Contains response data for the downloadInvoice operation.
3691
- */
3692
- export declare type InvoicesDownloadInvoiceResponse = DownloadUrl & InvoicesDownloadInvoiceHeaders & {
3693
- /**
3694
- * The underlying HTTP response.
3695
- */
3696
- _response: msRest.HttpResponse & {
3697
- /**
3698
- * The parsed HTTP response headers.
3699
- */
3700
- parsedHeaders: InvoicesDownloadInvoiceHeaders;
3701
- /**
3702
- * The response body as text (string format)
3703
- */
3704
- bodyAsText: string;
3705
- /**
3706
- * The response body as parsed JSON or XML
3707
- */
3708
- parsedBody: DownloadUrl;
3709
- };
3710
- };
3711
- /**
3712
- * Contains response data for the downloadMultipleModernInvoice operation.
3713
- */
3714
- export declare type InvoicesDownloadMultipleModernInvoiceResponse = DownloadUrl & InvoicesDownloadMultipleModernInvoiceHeaders & {
3715
- /**
3716
- * The underlying HTTP response.
3717
- */
3718
- _response: msRest.HttpResponse & {
3719
- /**
3720
- * The parsed HTTP response headers.
3721
- */
3722
- parsedHeaders: InvoicesDownloadMultipleModernInvoiceHeaders;
3723
- /**
3724
- * The response body as text (string format)
3725
- */
3726
- bodyAsText: string;
3727
- /**
3728
- * The response body as parsed JSON or XML
3729
- */
3730
- parsedBody: DownloadUrl;
3731
- };
3732
- };
3733
- /**
3734
- * Contains response data for the listByBillingSubscription operation.
3735
- */
3736
- export declare type InvoicesListByBillingSubscriptionResponse = InvoiceListResult & {
3737
- /**
3738
- * The underlying HTTP response.
3739
- */
3740
- _response: msRest.HttpResponse & {
3741
- /**
3742
- * The response body as text (string format)
3743
- */
3744
- bodyAsText: string;
3745
- /**
3746
- * The response body as parsed JSON or XML
3747
- */
3748
- parsedBody: InvoiceListResult;
3749
- };
3750
- };
3751
- /**
3752
- * Contains response data for the getBySubscriptionAndInvoiceId operation.
3753
- */
3754
- export declare type InvoicesGetBySubscriptionAndInvoiceIdResponse = Invoice & {
3755
- /**
3756
- * The underlying HTTP response.
3757
- */
3758
- _response: msRest.HttpResponse & {
3759
- /**
3760
- * The response body as text (string format)
3761
- */
3762
- bodyAsText: string;
3763
- /**
3764
- * The response body as parsed JSON or XML
3765
- */
3766
- parsedBody: Invoice;
3767
- };
3768
- };
3769
- /**
3770
- * Contains response data for the downloadBillingSubscriptionInvoice operation.
3771
- */
3772
- export declare type InvoicesDownloadBillingSubscriptionInvoiceResponse = DownloadUrl & InvoicesDownloadBillingSubscriptionInvoiceHeaders & {
3773
- /**
3774
- * The underlying HTTP response.
3775
- */
3776
- _response: msRest.HttpResponse & {
3777
- /**
3778
- * The parsed HTTP response headers.
3779
- */
3780
- parsedHeaders: InvoicesDownloadBillingSubscriptionInvoiceHeaders;
3781
- /**
3782
- * The response body as text (string format)
3783
- */
3784
- bodyAsText: string;
3785
- /**
3786
- * The response body as parsed JSON or XML
3787
- */
3788
- parsedBody: DownloadUrl;
3789
- };
3790
- };
3791
- /**
3792
- * Contains response data for the downloadMultipleBillingSubscriptionInvoice operation.
3793
- */
3794
- export declare type InvoicesDownloadMultipleBillingSubscriptionInvoiceResponse = DownloadUrl & InvoicesDownloadMultipleBillingSubscriptionInvoiceHeaders & {
3795
- /**
3796
- * The underlying HTTP response.
3797
- */
3798
- _response: msRest.HttpResponse & {
3799
- /**
3800
- * The parsed HTTP response headers.
3801
- */
3802
- parsedHeaders: InvoicesDownloadMultipleBillingSubscriptionInvoiceHeaders;
3803
- /**
3804
- * The response body as text (string format)
3805
- */
3806
- bodyAsText: string;
3807
- /**
3808
- * The response body as parsed JSON or XML
3809
- */
3810
- parsedBody: DownloadUrl;
3811
- };
3812
- };
3813
- /**
3814
- * Contains response data for the listByBillingAccountNext operation.
3815
- */
3816
- export declare type InvoicesListByBillingAccountNextResponse = InvoiceListResult & {
3817
- /**
3818
- * The underlying HTTP response.
3819
- */
3820
- _response: msRest.HttpResponse & {
3821
- /**
3822
- * The response body as text (string format)
3823
- */
3824
- bodyAsText: string;
3825
- /**
3826
- * The response body as parsed JSON or XML
3827
- */
3828
- parsedBody: InvoiceListResult;
3829
- };
3830
- };
3831
- /**
3832
- * Contains response data for the listByBillingProfileNext operation.
3833
- */
3834
- export declare type InvoicesListByBillingProfileNextResponse = InvoiceListResult & {
3835
- /**
3836
- * The underlying HTTP response.
3837
- */
3838
- _response: msRest.HttpResponse & {
3839
- /**
3840
- * The response body as text (string format)
3841
- */
3842
- bodyAsText: string;
3843
- /**
3844
- * The response body as parsed JSON or XML
3845
- */
3846
- parsedBody: InvoiceListResult;
3847
- };
3848
- };
3849
- /**
3850
- * Contains response data for the listByBillingSubscriptionNext operation.
3851
- */
3852
- export declare type InvoicesListByBillingSubscriptionNextResponse = InvoiceListResult & {
3853
- /**
3854
- * The underlying HTTP response.
3855
- */
3856
- _response: msRest.HttpResponse & {
3857
- /**
3858
- * The response body as text (string format)
3859
- */
3860
- bodyAsText: string;
3861
- /**
3862
- * The response body as parsed JSON or XML
3863
- */
3864
- parsedBody: InvoiceListResult;
3865
- };
3866
- };
3867
- /**
3868
- * Contains response data for the listByInvoice operation.
3869
- */
3870
- export declare type TransactionsListByInvoiceResponse = TransactionListResult & {
3871
- /**
3872
- * The underlying HTTP response.
3873
- */
3874
- _response: msRest.HttpResponse & {
3875
- /**
3876
- * The response body as text (string format)
3877
- */
3878
- bodyAsText: string;
3879
- /**
3880
- * The response body as parsed JSON or XML
3881
- */
3882
- parsedBody: TransactionListResult;
3883
- };
3884
- };
3885
- /**
3886
- * Contains response data for the listByInvoiceNext operation.
3887
- */
3888
- export declare type TransactionsListByInvoiceNextResponse = TransactionListResult & {
3889
- /**
3890
- * The underlying HTTP response.
3891
- */
3892
- _response: msRest.HttpResponse & {
3893
- /**
3894
- * The response body as text (string format)
3895
- */
3896
- bodyAsText: string;
3897
- /**
3898
- * The response body as parsed JSON or XML
3899
- */
3900
- parsedBody: TransactionListResult;
3901
- };
3902
- };
3903
- /**
3904
- * Contains response data for the getByBillingProfile operation.
3905
- */
3906
- export declare type PoliciesGetByBillingProfileResponse = Policy & {
3907
- /**
3908
- * The underlying HTTP response.
3909
- */
3910
- _response: msRest.HttpResponse & {
3911
- /**
3912
- * The response body as text (string format)
3913
- */
3914
- bodyAsText: string;
3915
- /**
3916
- * The response body as parsed JSON or XML
3917
- */
3918
- parsedBody: Policy;
3919
- };
3920
- };
3921
- /**
3922
- * Contains response data for the update operation.
3923
- */
3924
- export declare type PoliciesUpdateResponse = Policy & {
3925
- /**
3926
- * The underlying HTTP response.
3927
- */
3928
- _response: msRest.HttpResponse & {
3929
- /**
3930
- * The response body as text (string format)
3931
- */
3932
- bodyAsText: string;
3933
- /**
3934
- * The response body as parsed JSON or XML
3935
- */
3936
- parsedBody: Policy;
3937
- };
3938
- };
3939
- /**
3940
- * Contains response data for the getByCustomer operation.
3941
- */
3942
- export declare type PoliciesGetByCustomerResponse = CustomerPolicy & {
3943
- /**
3944
- * The underlying HTTP response.
3945
- */
3946
- _response: msRest.HttpResponse & {
3947
- /**
3948
- * The response body as text (string format)
3949
- */
3950
- bodyAsText: string;
3951
- /**
3952
- * The response body as parsed JSON or XML
3953
- */
3954
- parsedBody: CustomerPolicy;
3955
- };
3956
- };
3957
- /**
3958
- * Contains response data for the updateCustomer operation.
3959
- */
3960
- export declare type PoliciesUpdateCustomerResponse = CustomerPolicy & {
3961
- /**
3962
- * The underlying HTTP response.
3963
- */
3964
- _response: msRest.HttpResponse & {
3965
- /**
3966
- * The response body as text (string format)
3967
- */
3968
- bodyAsText: string;
3969
- /**
3970
- * The response body as parsed JSON or XML
3971
- */
3972
- parsedBody: CustomerPolicy;
3973
- };
3974
- };
3975
- /**
3976
- * Contains response data for the get operation.
3977
- */
3978
- export declare type BillingPropertyGetResponse = BillingProperty & {
3979
- /**
3980
- * The underlying HTTP response.
3981
- */
3982
- _response: msRest.HttpResponse & {
3983
- /**
3984
- * The response body as text (string format)
3985
- */
3986
- bodyAsText: string;
3987
- /**
3988
- * The response body as parsed JSON or XML
3989
- */
3990
- parsedBody: BillingProperty;
3991
- };
3992
- };
3993
- /**
3994
- * Contains response data for the update operation.
3995
- */
3996
- export declare type BillingPropertyUpdateResponse = BillingProperty & {
3997
- /**
3998
- * The underlying HTTP response.
3999
- */
4000
- _response: msRest.HttpResponse & {
4001
- /**
4002
- * The response body as text (string format)
4003
- */
4004
- bodyAsText: string;
4005
- /**
4006
- * The response body as parsed JSON or XML
4007
- */
4008
- parsedBody: BillingProperty;
4009
- };
4010
- };
4011
- /**
4012
- * Contains response data for the list operation.
4013
- */
4014
- export declare type OperationsListResponse = OperationListResult & {
4015
- /**
4016
- * The underlying HTTP response.
4017
- */
4018
- _response: msRest.HttpResponse & {
4019
- /**
4020
- * The response body as text (string format)
4021
- */
4022
- bodyAsText: string;
4023
- /**
4024
- * The response body as parsed JSON or XML
4025
- */
4026
- parsedBody: OperationListResult;
4027
- };
4028
- };
4029
- /**
4030
- * Contains response data for the listNext operation.
4031
- */
4032
- export declare type OperationsListNextResponse = OperationListResult & {
4033
- /**
4034
- * The underlying HTTP response.
4035
- */
4036
- _response: msRest.HttpResponse & {
4037
- /**
4038
- * The response body as text (string format)
4039
- */
4040
- bodyAsText: string;
4041
- /**
4042
- * The response body as parsed JSON or XML
4043
- */
4044
- parsedBody: OperationListResult;
4045
- };
4046
- };
4047
- /**
4048
- * Contains response data for the getByBillingAccount operation.
4049
- */
4050
- export declare type BillingRoleDefinitionsGetByBillingAccountResponse = BillingRoleDefinition & {
4051
- /**
4052
- * The underlying HTTP response.
4053
- */
4054
- _response: msRest.HttpResponse & {
4055
- /**
4056
- * The response body as text (string format)
4057
- */
4058
- bodyAsText: string;
4059
- /**
4060
- * The response body as parsed JSON or XML
4061
- */
4062
- parsedBody: BillingRoleDefinition;
4063
- };
4064
- };
4065
- /**
4066
- * Contains response data for the getByInvoiceSection operation.
4067
- */
4068
- export declare type BillingRoleDefinitionsGetByInvoiceSectionResponse = BillingRoleDefinition & {
4069
- /**
4070
- * The underlying HTTP response.
4071
- */
4072
- _response: msRest.HttpResponse & {
4073
- /**
4074
- * The response body as text (string format)
4075
- */
4076
- bodyAsText: string;
4077
- /**
4078
- * The response body as parsed JSON or XML
4079
- */
4080
- parsedBody: BillingRoleDefinition;
4081
- };
4082
- };
4083
- /**
4084
- * Contains response data for the getByBillingProfile operation.
4085
- */
4086
- export declare type BillingRoleDefinitionsGetByBillingProfileResponse = BillingRoleDefinition & {
4087
- /**
4088
- * The underlying HTTP response.
4089
- */
4090
- _response: msRest.HttpResponse & {
4091
- /**
4092
- * The response body as text (string format)
4093
- */
4094
- bodyAsText: string;
4095
- /**
4096
- * The response body as parsed JSON or XML
4097
- */
4098
- parsedBody: BillingRoleDefinition;
4099
- };
4100
- };
4101
- /**
4102
- * Contains response data for the listByBillingAccount operation.
4103
- */
4104
- export declare type BillingRoleDefinitionsListByBillingAccountResponse = BillingRoleDefinitionListResult & {
4105
- /**
4106
- * The underlying HTTP response.
4107
- */
4108
- _response: msRest.HttpResponse & {
4109
- /**
4110
- * The response body as text (string format)
4111
- */
4112
- bodyAsText: string;
4113
- /**
4114
- * The response body as parsed JSON or XML
4115
- */
4116
- parsedBody: BillingRoleDefinitionListResult;
4117
- };
4118
- };
4119
- /**
4120
- * Contains response data for the listByInvoiceSection operation.
4121
- */
4122
- export declare type BillingRoleDefinitionsListByInvoiceSectionResponse = BillingRoleDefinitionListResult & {
4123
- /**
4124
- * The underlying HTTP response.
4125
- */
4126
- _response: msRest.HttpResponse & {
4127
- /**
4128
- * The response body as text (string format)
4129
- */
4130
- bodyAsText: string;
4131
- /**
4132
- * The response body as parsed JSON or XML
4133
- */
4134
- parsedBody: BillingRoleDefinitionListResult;
4135
- };
4136
- };
4137
- /**
4138
- * Contains response data for the listByBillingProfile operation.
4139
- */
4140
- export declare type BillingRoleDefinitionsListByBillingProfileResponse = BillingRoleDefinitionListResult & {
4141
- /**
4142
- * The underlying HTTP response.
4143
- */
4144
- _response: msRest.HttpResponse & {
4145
- /**
4146
- * The response body as text (string format)
4147
- */
4148
- bodyAsText: string;
4149
- /**
4150
- * The response body as parsed JSON or XML
4151
- */
4152
- parsedBody: BillingRoleDefinitionListResult;
4153
- };
4154
- };
4155
- /**
4156
- * Contains response data for the listByBillingAccountNext operation.
4157
- */
4158
- export declare type BillingRoleDefinitionsListByBillingAccountNextResponse = BillingRoleDefinitionListResult & {
4159
- /**
4160
- * The underlying HTTP response.
4161
- */
4162
- _response: msRest.HttpResponse & {
4163
- /**
4164
- * The response body as text (string format)
4165
- */
4166
- bodyAsText: string;
4167
- /**
4168
- * The response body as parsed JSON or XML
4169
- */
4170
- parsedBody: BillingRoleDefinitionListResult;
4171
- };
4172
- };
4173
- /**
4174
- * Contains response data for the listByInvoiceSectionNext operation.
4175
- */
4176
- export declare type BillingRoleDefinitionsListByInvoiceSectionNextResponse = BillingRoleDefinitionListResult & {
4177
- /**
4178
- * The underlying HTTP response.
4179
- */
4180
- _response: msRest.HttpResponse & {
4181
- /**
4182
- * The response body as text (string format)
4183
- */
4184
- bodyAsText: string;
4185
- /**
4186
- * The response body as parsed JSON or XML
4187
- */
4188
- parsedBody: BillingRoleDefinitionListResult;
4189
- };
4190
- };
4191
- /**
4192
- * Contains response data for the listByBillingProfileNext operation.
4193
- */
4194
- export declare type BillingRoleDefinitionsListByBillingProfileNextResponse = BillingRoleDefinitionListResult & {
4195
- /**
4196
- * The underlying HTTP response.
4197
- */
4198
- _response: msRest.HttpResponse & {
4199
- /**
4200
- * The response body as text (string format)
4201
- */
4202
- bodyAsText: string;
4203
- /**
4204
- * The response body as parsed JSON or XML
4205
- */
4206
- parsedBody: BillingRoleDefinitionListResult;
4207
- };
4208
- };
4209
- /**
4210
- * Contains response data for the getByBillingAccount operation.
4211
- */
4212
- export declare type BillingRoleAssignmentsGetByBillingAccountResponse = BillingRoleAssignment & {
4213
- /**
4214
- * The underlying HTTP response.
4215
- */
4216
- _response: msRest.HttpResponse & {
4217
- /**
4218
- * The response body as text (string format)
4219
- */
4220
- bodyAsText: string;
4221
- /**
4222
- * The response body as parsed JSON or XML
4223
- */
4224
- parsedBody: BillingRoleAssignment;
4225
- };
4226
- };
4227
- /**
4228
- * Contains response data for the deleteByBillingAccount operation.
4229
- */
4230
- export declare type BillingRoleAssignmentsDeleteByBillingAccountResponse = BillingRoleAssignment & {
4231
- /**
4232
- * The underlying HTTP response.
4233
- */
4234
- _response: msRest.HttpResponse & {
4235
- /**
4236
- * The response body as text (string format)
4237
- */
4238
- bodyAsText: string;
4239
- /**
4240
- * The response body as parsed JSON or XML
4241
- */
4242
- parsedBody: BillingRoleAssignment;
4243
- };
4244
- };
4245
- /**
4246
- * Contains response data for the getByInvoiceSection operation.
4247
- */
4248
- export declare type BillingRoleAssignmentsGetByInvoiceSectionResponse = BillingRoleAssignment & {
4249
- /**
4250
- * The underlying HTTP response.
4251
- */
4252
- _response: msRest.HttpResponse & {
4253
- /**
4254
- * The response body as text (string format)
4255
- */
4256
- bodyAsText: string;
4257
- /**
4258
- * The response body as parsed JSON or XML
4259
- */
4260
- parsedBody: BillingRoleAssignment;
4261
- };
4262
- };
4263
- /**
4264
- * Contains response data for the deleteByInvoiceSection operation.
4265
- */
4266
- export declare type BillingRoleAssignmentsDeleteByInvoiceSectionResponse = BillingRoleAssignment & {
4267
- /**
4268
- * The underlying HTTP response.
4269
- */
4270
- _response: msRest.HttpResponse & {
4271
- /**
4272
- * The response body as text (string format)
4273
- */
4274
- bodyAsText: string;
4275
- /**
4276
- * The response body as parsed JSON or XML
4277
- */
4278
- parsedBody: BillingRoleAssignment;
4279
- };
4280
- };
4281
- /**
4282
- * Contains response data for the getByBillingProfile operation.
4283
- */
4284
- export declare type BillingRoleAssignmentsGetByBillingProfileResponse = BillingRoleAssignment & {
4285
- /**
4286
- * The underlying HTTP response.
4287
- */
4288
- _response: msRest.HttpResponse & {
4289
- /**
4290
- * The response body as text (string format)
4291
- */
4292
- bodyAsText: string;
4293
- /**
4294
- * The response body as parsed JSON or XML
4295
- */
4296
- parsedBody: BillingRoleAssignment;
4297
- };
4298
- };
4299
- /**
4300
- * Contains response data for the deleteByBillingProfile operation.
4301
- */
4302
- export declare type BillingRoleAssignmentsDeleteByBillingProfileResponse = BillingRoleAssignment & {
4303
- /**
4304
- * The underlying HTTP response.
4305
- */
4306
- _response: msRest.HttpResponse & {
4307
- /**
4308
- * The response body as text (string format)
4309
- */
4310
- bodyAsText: string;
4311
- /**
4312
- * The response body as parsed JSON or XML
4313
- */
4314
- parsedBody: BillingRoleAssignment;
4315
- };
4316
- };
4317
- /**
4318
- * Contains response data for the listByBillingAccount operation.
4319
- */
4320
- export declare type BillingRoleAssignmentsListByBillingAccountResponse = BillingRoleAssignmentListResult & {
4321
- /**
4322
- * The underlying HTTP response.
4323
- */
4324
- _response: msRest.HttpResponse & {
4325
- /**
4326
- * The response body as text (string format)
4327
- */
4328
- bodyAsText: string;
4329
- /**
4330
- * The response body as parsed JSON or XML
4331
- */
4332
- parsedBody: BillingRoleAssignmentListResult;
4333
- };
4334
- };
4335
- /**
4336
- * Contains response data for the listByInvoiceSection operation.
4337
- */
4338
- export declare type BillingRoleAssignmentsListByInvoiceSectionResponse = BillingRoleAssignmentListResult & {
4339
- /**
4340
- * The underlying HTTP response.
4341
- */
4342
- _response: msRest.HttpResponse & {
4343
- /**
4344
- * The response body as text (string format)
4345
- */
4346
- bodyAsText: string;
4347
- /**
4348
- * The response body as parsed JSON or XML
4349
- */
4350
- parsedBody: BillingRoleAssignmentListResult;
4351
- };
4352
- };
4353
- /**
4354
- * Contains response data for the listByBillingProfile operation.
4355
- */
4356
- export declare type BillingRoleAssignmentsListByBillingProfileResponse = BillingRoleAssignmentListResult & {
4357
- /**
4358
- * The underlying HTTP response.
4359
- */
4360
- _response: msRest.HttpResponse & {
4361
- /**
4362
- * The response body as text (string format)
4363
- */
4364
- bodyAsText: string;
4365
- /**
4366
- * The response body as parsed JSON or XML
4367
- */
4368
- parsedBody: BillingRoleAssignmentListResult;
4369
- };
4370
- };
4371
- /**
4372
- * Contains response data for the listByBillingAccountNext operation.
4373
- */
4374
- export declare type BillingRoleAssignmentsListByBillingAccountNextResponse = BillingRoleAssignmentListResult & {
4375
- /**
4376
- * The underlying HTTP response.
4377
- */
4378
- _response: msRest.HttpResponse & {
4379
- /**
4380
- * The response body as text (string format)
4381
- */
4382
- bodyAsText: string;
4383
- /**
4384
- * The response body as parsed JSON or XML
4385
- */
4386
- parsedBody: BillingRoleAssignmentListResult;
4387
- };
4388
- };
4389
- /**
4390
- * Contains response data for the listByInvoiceSectionNext operation.
4391
- */
4392
- export declare type BillingRoleAssignmentsListByInvoiceSectionNextResponse = BillingRoleAssignmentListResult & {
4393
- /**
4394
- * The underlying HTTP response.
4395
- */
4396
- _response: msRest.HttpResponse & {
4397
- /**
4398
- * The response body as text (string format)
4399
- */
4400
- bodyAsText: string;
4401
- /**
4402
- * The response body as parsed JSON or XML
4403
- */
4404
- parsedBody: BillingRoleAssignmentListResult;
4405
- };
4406
- };
4407
- /**
4408
- * Contains response data for the listByBillingProfileNext operation.
4409
- */
4410
- export declare type BillingRoleAssignmentsListByBillingProfileNextResponse = BillingRoleAssignmentListResult & {
4411
- /**
4412
- * The underlying HTTP response.
4413
- */
4414
- _response: msRest.HttpResponse & {
4415
- /**
4416
- * The response body as text (string format)
4417
- */
4418
- bodyAsText: string;
4419
- /**
4420
- * The response body as parsed JSON or XML
4421
- */
4422
- parsedBody: BillingRoleAssignmentListResult;
4423
- };
4424
- };
4425
- /**
4426
- * Contains response data for the listByBillingAccount operation.
4427
- */
4428
- export declare type AgreementsListByBillingAccountResponse = AgreementListResult & {
4429
- /**
4430
- * The underlying HTTP response.
4431
- */
4432
- _response: msRest.HttpResponse & {
4433
- /**
4434
- * The response body as text (string format)
4435
- */
4436
- bodyAsText: string;
4437
- /**
4438
- * The response body as parsed JSON or XML
4439
- */
4440
- parsedBody: AgreementListResult;
4441
- };
4442
- };
4443
- /**
4444
- * Contains response data for the get operation.
4445
- */
4446
- export declare type AgreementsGetResponse = Agreement & {
4447
- /**
4448
- * The underlying HTTP response.
4449
- */
4450
- _response: msRest.HttpResponse & {
4451
- /**
4452
- * The response body as text (string format)
4453
- */
4454
- bodyAsText: string;
4455
- /**
4456
- * The response body as parsed JSON or XML
4457
- */
4458
- parsedBody: Agreement;
4459
- };
4460
- };
4461
- /**
4462
- * Contains response data for the listByBillingAccountNext operation.
4463
- */
4464
- export declare type AgreementsListByBillingAccountNextResponse = AgreementListResult & {
4465
- /**
4466
- * The underlying HTTP response.
4467
- */
4468
- _response: msRest.HttpResponse & {
4469
- /**
4470
- * The response body as text (string format)
4471
- */
4472
- bodyAsText: string;
4473
- /**
4474
- * The response body as parsed JSON or XML
4475
- */
4476
- parsedBody: AgreementListResult;
4477
- };
4478
- };
4479
- /**
4480
- * Contains response data for the list operation.
4481
- */
4482
- export declare type EnrollmentAccountsListResponse = EnrollmentAccountListResult & {
4483
- /**
4484
- * The underlying HTTP response.
4485
- */
4486
- _response: msRest.HttpResponse & {
4487
- /**
4488
- * The response body as text (string format)
4489
- */
4490
- bodyAsText: string;
4491
- /**
4492
- * The response body as parsed JSON or XML
4493
- */
4494
- parsedBody: EnrollmentAccountListResult;
4495
- };
4496
- };
4497
- /**
4498
- * Contains response data for the get operation.
4499
- */
4500
- export declare type EnrollmentAccountsGetResponse = EnrollmentAccountSummary & {
4501
- /**
4502
- * The underlying HTTP response.
4503
- */
4504
- _response: msRest.HttpResponse & {
4505
- /**
4506
- * The response body as text (string format)
4507
- */
4508
- bodyAsText: string;
4509
- /**
4510
- * The response body as parsed JSON or XML
4511
- */
4512
- parsedBody: EnrollmentAccountSummary;
4513
- };
4514
- };
4515
- /**
4516
- * Contains response data for the listNext operation.
4517
- */
4518
- export declare type EnrollmentAccountsListNextResponse = EnrollmentAccountListResult & {
4519
- /**
4520
- * The underlying HTTP response.
4521
- */
4522
- _response: msRest.HttpResponse & {
4523
- /**
4524
- * The response body as text (string format)
4525
- */
4526
- bodyAsText: string;
4527
- /**
4528
- * The response body as parsed JSON or XML
4529
- */
4530
- parsedBody: EnrollmentAccountListResult;
4531
- };
4532
- };
4533
- /**
4534
- * Contains response data for the list operation.
4535
- */
4536
- export declare type BillingPeriodsListResponse = BillingPeriodsListResult & {
4537
- /**
4538
- * The underlying HTTP response.
4539
- */
4540
- _response: msRest.HttpResponse & {
4541
- /**
4542
- * The response body as text (string format)
4543
- */
4544
- bodyAsText: string;
4545
- /**
4546
- * The response body as parsed JSON or XML
4547
- */
4548
- parsedBody: BillingPeriodsListResult;
4549
- };
4550
- };
4551
- /**
4552
- * Contains response data for the get operation.
4553
- */
4554
- export declare type BillingPeriodsGetResponse = BillingPeriod & {
4555
- /**
4556
- * The underlying HTTP response.
4557
- */
4558
- _response: msRest.HttpResponse & {
4559
- /**
4560
- * The response body as text (string format)
4561
- */
4562
- bodyAsText: string;
4563
- /**
4564
- * The response body as parsed JSON or XML
4565
- */
4566
- parsedBody: BillingPeriod;
4567
- };
4568
- };
4569
- /**
4570
- * Contains response data for the listNext operation.
4571
- */
4572
- export declare type BillingPeriodsListNextResponse = BillingPeriodsListResult & {
4573
- /**
4574
- * The underlying HTTP response.
4575
- */
4576
- _response: msRest.HttpResponse & {
4577
- /**
4578
- * The response body as text (string format)
4579
- */
4580
- bodyAsText: string;
4581
- /**
4582
- * The response body as parsed JSON or XML
4583
- */
4584
- parsedBody: BillingPeriodsListResult;
4585
- };
4586
- };
4587
- //# sourceMappingURL=index.d.ts.map