@azure/arm-support 1.1.1 → 2.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 (322) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +2154 -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/samples-dev/addCommunicationToSubscriptionTicket.d.ts +2 -0
  9. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.js +36 -0
  11. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.js.map +1 -0
  12. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts +2 -0
  13. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.js +34 -0
  15. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.js.map +1 -0
  16. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts +2 -0
  17. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.js +33 -0
  19. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.js.map +1 -0
  20. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts +2 -0
  21. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js +46 -0
  23. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js.map +1 -0
  24. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts +2 -0
  25. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js +46 -0
  27. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js.map +1 -0
  28. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts +2 -0
  29. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js +49 -0
  31. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js.map +1 -0
  32. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts +2 -0
  33. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js +56 -0
  35. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js.map +1 -0
  36. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts +2 -0
  37. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js +60 -0
  39. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js.map +1 -0
  40. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts +2 -0
  41. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js +53 -0
  43. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js.map +1 -0
  44. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts +2 -0
  45. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js +52 -0
  47. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js.map +1 -0
  48. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts +2 -0
  49. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js +56 -0
  51. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js.map +1 -0
  52. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts +2 -0
  53. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js +56 -0
  55. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js.map +1 -0
  56. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts +2 -0
  57. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js +56 -0
  59. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js.map +1 -0
  60. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts +2 -0
  61. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js +53 -0
  63. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js.map +1 -0
  64. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts +2 -0
  65. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js +56 -0
  67. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js.map +1 -0
  68. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts +2 -0
  69. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js +51 -0
  71. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js.map +1 -0
  72. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts +2 -0
  73. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js +51 -0
  75. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js.map +1 -0
  76. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts +2 -0
  77. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js +46 -0
  79. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js.map +1 -0
  80. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts +2 -0
  81. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js +56 -0
  83. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js.map +1 -0
  84. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts +2 -0
  85. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js +56 -0
  87. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js.map +1 -0
  88. package/dist-esm/samples-dev/getAllOperations.d.ts +2 -0
  89. package/dist-esm/samples-dev/getAllOperations.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/getAllOperations.js +43 -0
  91. package/dist-esm/samples-dev/getAllOperations.js.map +1 -0
  92. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts +2 -0
  93. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.js +31 -0
  95. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.js.map +1 -0
  96. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts +2 -0
  97. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js +30 -0
  99. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js.map +1 -0
  100. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts +2 -0
  101. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js +31 -0
  103. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js.map +1 -0
  104. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts +2 -0
  105. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js +30 -0
  107. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js.map +1 -0
  108. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts +2 -0
  109. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js +44 -0
  111. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js.map +1 -0
  112. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts +2 -0
  113. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js +43 -0
  115. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js.map +1 -0
  116. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts +2 -0
  117. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js +44 -0
  119. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js.map +1 -0
  120. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts +2 -0
  121. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js +45 -0
  123. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js.map +1 -0
  124. package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts +2 -0
  125. package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/listSupportTicketsForASubscription.js +43 -0
  127. package/dist-esm/samples-dev/listSupportTicketsForASubscription.js.map +1 -0
  128. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts +2 -0
  129. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js +45 -0
  131. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js.map +1 -0
  132. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts +2 -0
  133. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js +46 -0
  135. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js.map +1 -0
  136. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts +2 -0
  137. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js +46 -0
  139. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js.map +1 -0
  140. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts +2 -0
  141. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js +43 -0
  143. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js.map +1 -0
  144. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts +2 -0
  145. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js +31 -0
  147. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js.map +1 -0
  148. package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts +2 -0
  149. package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/updateStatusOfASupportTicket.js +31 -0
  151. package/dist-esm/samples-dev/updateStatusOfASupportTicket.js.map +1 -0
  152. package/dist-esm/src/index.d.ts +5 -0
  153. package/dist-esm/src/index.d.ts.map +1 -0
  154. package/dist-esm/src/index.js +12 -0
  155. package/dist-esm/src/index.js.map +1 -0
  156. package/dist-esm/src/lroImpl.d.ts +16 -0
  157. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  158. package/dist-esm/src/lroImpl.js +29 -0
  159. package/dist-esm/src/lroImpl.js.map +1 -0
  160. package/dist-esm/src/microsoftSupport.d.ts +22 -0
  161. package/dist-esm/src/microsoftSupport.d.ts.map +1 -0
  162. package/dist-esm/src/microsoftSupport.js +55 -0
  163. package/dist-esm/src/microsoftSupport.js.map +1 -0
  164. package/dist-esm/src/models/index.d.ts +570 -0
  165. package/dist-esm/src/models/index.d.ts.map +1 -0
  166. package/dist-esm/src/models/index.js +40 -0
  167. package/dist-esm/src/models/index.js.map +1 -0
  168. package/dist-esm/src/models/mappers.d.ts +26 -0
  169. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  170. package/{esm → dist-esm/src}/models/mappers.js +395 -430
  171. package/dist-esm/src/models/mappers.js.map +1 -0
  172. package/dist-esm/src/models/parameters.d.ts +18 -0
  173. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  174. package/dist-esm/src/models/parameters.js +148 -0
  175. package/dist-esm/src/models/parameters.js.map +1 -0
  176. package/dist-esm/src/operations/communications.d.ts +77 -0
  177. package/dist-esm/src/operations/communications.d.ts.map +1 -0
  178. package/dist-esm/src/operations/communications.js +295 -0
  179. package/dist-esm/src/operations/communications.js.map +1 -0
  180. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  181. package/dist-esm/src/operations/index.d.ts.map +1 -0
  182. package/{esm → dist-esm/src}/operations/index.js +3 -5
  183. package/dist-esm/src/operations/index.js.map +1 -0
  184. package/dist-esm/src/operations/operations.d.ts +26 -0
  185. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  186. package/dist-esm/src/operations/operations.js +90 -0
  187. package/dist-esm/src/operations/operations.js.map +1 -0
  188. package/dist-esm/src/operations/problemClassifications.d.ts +41 -0
  189. package/dist-esm/src/operations/problemClassifications.d.ts.map +1 -0
  190. package/dist-esm/src/operations/problemClassifications.js +127 -0
  191. package/dist-esm/src/operations/problemClassifications.js.map +1 -0
  192. package/dist-esm/src/operations/services.d.ts +44 -0
  193. package/dist-esm/src/operations/services.d.ts.map +1 -0
  194. package/dist-esm/src/operations/services.js +126 -0
  195. package/dist-esm/src/operations/services.js.map +1 -0
  196. package/dist-esm/src/operations/supportTickets.d.ts +115 -0
  197. package/dist-esm/src/operations/supportTickets.d.ts.map +1 -0
  198. package/dist-esm/src/operations/supportTickets.js +341 -0
  199. package/dist-esm/src/operations/supportTickets.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/communications.d.ts +49 -0
  201. package/dist-esm/src/operationsInterfaces/communications.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/communications.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/communications.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  205. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  207. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  209. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/problemClassifications.d.ts +22 -0
  213. package/dist-esm/src/operationsInterfaces/problemClassifications.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/problemClassifications.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/problemClassifications.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/services.d.ts +23 -0
  217. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/supportTickets.d.ts +90 -0
  221. package/dist-esm/src/operationsInterfaces/supportTickets.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/supportTickets.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/supportTickets.js.map +1 -0
  224. package/dist-esm/test/sampleTest.d.ts +2 -0
  225. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  226. package/dist-esm/test/sampleTest.js +40 -0
  227. package/dist-esm/test/sampleTest.js.map +1 -0
  228. package/package.json +77 -33
  229. package/review/arm-support.api.md +459 -0
  230. package/rollup.config.js +181 -30
  231. package/src/index.ts +12 -0
  232. package/src/lroImpl.ts +34 -0
  233. package/src/microsoftSupport.ts +82 -43
  234. package/src/models/index.ts +430 -827
  235. package/src/models/mappers.ts +400 -436
  236. package/src/models/parameters.ts +105 -48
  237. package/src/operations/communications.ts +275 -216
  238. package/src/operations/index.ts +3 -5
  239. package/src/operations/operations.ts +66 -42
  240. package/src/operations/problemClassifications.ts +101 -89
  241. package/src/operations/services.ts +94 -82
  242. package/src/operations/supportTickets.ts +301 -285
  243. package/src/operationsInterfaces/communications.ts +94 -0
  244. package/src/operationsInterfaces/index.ts +13 -0
  245. package/src/operationsInterfaces/operations.ts +22 -0
  246. package/src/operationsInterfaces/problemClassifications.ts +43 -0
  247. package/src/operationsInterfaces/services.ts +42 -0
  248. package/src/operationsInterfaces/supportTickets.ts +137 -0
  249. package/tsconfig.json +5 -4
  250. package/types/arm-support.d.ts +844 -0
  251. package/types/tsdoc-metadata.json +11 -0
  252. package/dist/arm-support.js +0 -2026
  253. package/dist/arm-support.js.map +0 -1
  254. package/dist/arm-support.min.js +0 -1
  255. package/dist/arm-support.min.js.map +0 -1
  256. package/esm/microsoftSupport.d.ts +0 -28
  257. package/esm/microsoftSupport.d.ts.map +0 -1
  258. package/esm/microsoftSupport.js +0 -42
  259. package/esm/microsoftSupport.js.map +0 -1
  260. package/esm/microsoftSupportContext.d.ts +0 -22
  261. package/esm/microsoftSupportContext.d.ts.map +0 -1
  262. package/esm/microsoftSupportContext.js +0 -61
  263. package/esm/microsoftSupportContext.js.map +0 -1
  264. package/esm/models/communicationsMappers.d.ts +0 -2
  265. package/esm/models/communicationsMappers.d.ts.map +0 -1
  266. package/esm/models/communicationsMappers.js +0 -9
  267. package/esm/models/communicationsMappers.js.map +0 -1
  268. package/esm/models/index.d.ts +0 -973
  269. package/esm/models/index.d.ts.map +0 -1
  270. package/esm/models/index.js +0 -8
  271. package/esm/models/index.js.map +0 -1
  272. package/esm/models/mappers.d.ts +0 -28
  273. package/esm/models/mappers.d.ts.map +0 -1
  274. package/esm/models/mappers.js.map +0 -1
  275. package/esm/models/operationsMappers.d.ts +0 -2
  276. package/esm/models/operationsMappers.d.ts.map +0 -1
  277. package/esm/models/operationsMappers.js +0 -9
  278. package/esm/models/operationsMappers.js.map +0 -1
  279. package/esm/models/parameters.d.ts +0 -12
  280. package/esm/models/parameters.d.ts.map +0 -1
  281. package/esm/models/parameters.js +0 -115
  282. package/esm/models/parameters.js.map +0 -1
  283. package/esm/models/problemClassificationsMappers.d.ts +0 -2
  284. package/esm/models/problemClassificationsMappers.d.ts.map +0 -1
  285. package/esm/models/problemClassificationsMappers.js +0 -9
  286. package/esm/models/problemClassificationsMappers.js.map +0 -1
  287. package/esm/models/servicesMappers.d.ts +0 -2
  288. package/esm/models/servicesMappers.d.ts.map +0 -1
  289. package/esm/models/servicesMappers.js +0 -9
  290. package/esm/models/servicesMappers.js.map +0 -1
  291. package/esm/models/supportTicketsMappers.d.ts +0 -2
  292. package/esm/models/supportTicketsMappers.d.ts.map +0 -1
  293. package/esm/models/supportTicketsMappers.js +0 -9
  294. package/esm/models/supportTicketsMappers.js.map +0 -1
  295. package/esm/operations/communications.d.ts +0 -121
  296. package/esm/operations/communications.d.ts.map +0 -1
  297. package/esm/operations/communications.js +0 -207
  298. package/esm/operations/communications.js.map +0 -1
  299. package/esm/operations/index.d.ts.map +0 -1
  300. package/esm/operations/index.js.map +0 -1
  301. package/esm/operations/operations.d.ts +0 -28
  302. package/esm/operations/operations.d.ts.map +0 -1
  303. package/esm/operations/operations.js +0 -51
  304. package/esm/operations/operations.js.map +0 -1
  305. package/esm/operations/problemClassifications.d.ts +0 -57
  306. package/esm/operations/problemClassifications.d.ts.map +0 -1
  307. package/esm/operations/problemClassifications.js +0 -85
  308. package/esm/operations/problemClassifications.js.map +0 -1
  309. package/esm/operations/services.d.ts +0 -52
  310. package/esm/operations/services.d.ts.map +0 -1
  311. package/esm/operations/services.js +0 -79
  312. package/esm/operations/services.js.map +0 -1
  313. package/esm/operations/supportTickets.d.ts +0 -171
  314. package/esm/operations/supportTickets.d.ts.map +0 -1
  315. package/esm/operations/supportTickets.js +0 -265
  316. package/esm/operations/supportTickets.js.map +0 -1
  317. package/src/microsoftSupportContext.ts +0 -68
  318. package/src/models/communicationsMappers.ts +0 -25
  319. package/src/models/operationsMappers.ts +0 -16
  320. package/src/models/problemClassificationsMappers.ts +0 -15
  321. package/src/models/servicesMappers.ts +0 -15
  322. package/src/models/supportTicketsMappers.ts +0 -27
@@ -0,0 +1,94 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ CommunicationDetails,
13
+ CommunicationsListOptionalParams,
14
+ CheckNameAvailabilityInput,
15
+ CommunicationsCheckNameAvailabilityOptionalParams,
16
+ CommunicationsCheckNameAvailabilityResponse,
17
+ CommunicationsGetOptionalParams,
18
+ CommunicationsGetResponse,
19
+ CommunicationsCreateOptionalParams,
20
+ CommunicationsCreateResponse
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Interface representing a Communications. */
25
+ export interface Communications {
26
+ /**
27
+ * Lists all communications (attachments not included) for a support ticket. <br/></br> You can also
28
+ * filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter
29
+ * parameter. The only type of communication supported today is _Web_. Output will be a paged result
30
+ * with _nextLink_, using which you can retrieve the next set of Communication results.
31
+ * <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was
32
+ * created more than 18 months ago, a request for data might cause an error.
33
+ * @param supportTicketName Support ticket name.
34
+ * @param options The options parameters.
35
+ */
36
+ list(
37
+ supportTicketName: string,
38
+ options?: CommunicationsListOptionalParams
39
+ ): PagedAsyncIterableIterator<CommunicationDetails>;
40
+ /**
41
+ * Check the availability of a resource name. This API should be used to check the uniqueness of the
42
+ * name for adding a new communication to the support ticket.
43
+ * @param supportTicketName Support ticket name.
44
+ * @param checkNameAvailabilityInput Input to check.
45
+ * @param options The options parameters.
46
+ */
47
+ checkNameAvailability(
48
+ supportTicketName: string,
49
+ checkNameAvailabilityInput: CheckNameAvailabilityInput,
50
+ options?: CommunicationsCheckNameAvailabilityOptionalParams
51
+ ): Promise<CommunicationsCheckNameAvailabilityResponse>;
52
+ /**
53
+ * Returns communication details for a support ticket.
54
+ * @param supportTicketName Support ticket name.
55
+ * @param communicationName Communication name.
56
+ * @param options The options parameters.
57
+ */
58
+ get(
59
+ supportTicketName: string,
60
+ communicationName: string,
61
+ options?: CommunicationsGetOptionalParams
62
+ ): Promise<CommunicationsGetResponse>;
63
+ /**
64
+ * Adds a new customer communication to an Azure support ticket.
65
+ * @param supportTicketName Support ticket name.
66
+ * @param communicationName Communication name.
67
+ * @param createCommunicationParameters Communication object.
68
+ * @param options The options parameters.
69
+ */
70
+ beginCreate(
71
+ supportTicketName: string,
72
+ communicationName: string,
73
+ createCommunicationParameters: CommunicationDetails,
74
+ options?: CommunicationsCreateOptionalParams
75
+ ): Promise<
76
+ PollerLike<
77
+ PollOperationState<CommunicationsCreateResponse>,
78
+ CommunicationsCreateResponse
79
+ >
80
+ >;
81
+ /**
82
+ * Adds a new customer communication to an Azure support ticket.
83
+ * @param supportTicketName Support ticket name.
84
+ * @param communicationName Communication name.
85
+ * @param createCommunicationParameters Communication object.
86
+ * @param options The options parameters.
87
+ */
88
+ beginCreateAndWait(
89
+ supportTicketName: string,
90
+ communicationName: string,
91
+ createCommunicationParameters: CommunicationDetails,
92
+ options?: CommunicationsCreateOptionalParams
93
+ ): Promise<CommunicationsCreateResponse>;
94
+ }
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./operations";
10
+ export * from "./services";
11
+ export * from "./problemClassifications";
12
+ export * from "./supportTickets";
13
+ export * from "./communications";
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * This lists all the available Microsoft Support REST API operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ ProblemClassification,
12
+ ProblemClassificationsListOptionalParams,
13
+ ProblemClassificationsGetOptionalParams,
14
+ ProblemClassificationsGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a ProblemClassifications. */
19
+ export interface ProblemClassifications {
20
+ /**
21
+ * Lists all the problem classifications (categories) available for a specific Azure service. Always
22
+ * use the service and problem classifications obtained programmatically. This practice ensures that
23
+ * you always have the most recent set of service and problem classification Ids.
24
+ * @param serviceName Name of the Azure service for which the problem classifications need to be
25
+ * retrieved.
26
+ * @param options The options parameters.
27
+ */
28
+ list(
29
+ serviceName: string,
30
+ options?: ProblemClassificationsListOptionalParams
31
+ ): PagedAsyncIterableIterator<ProblemClassification>;
32
+ /**
33
+ * Get problem classification details for a specific Azure service.
34
+ * @param serviceName Name of the Azure service available for support.
35
+ * @param problemClassificationName Name of problem classification.
36
+ * @param options The options parameters.
37
+ */
38
+ get(
39
+ serviceName: string,
40
+ problemClassificationName: string,
41
+ options?: ProblemClassificationsGetOptionalParams
42
+ ): Promise<ProblemClassificationsGetResponse>;
43
+ }
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Service,
12
+ ServicesListOptionalParams,
13
+ ServicesGetOptionalParams,
14
+ ServicesGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a Services. */
19
+ export interface Services {
20
+ /**
21
+ * Lists all the Azure services available for support ticket creation. For **Technical** issues, select
22
+ * the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down
23
+ * list on the Azure portal's [New support
24
+ * request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page.
25
+ * Always use the service and its corresponding problem classification(s) obtained programmatically for
26
+ * support ticket creation. This practice ensures that you always have the most recent set of service
27
+ * and problem classification Ids.
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ options?: ServicesListOptionalParams
32
+ ): PagedAsyncIterableIterator<Service>;
33
+ /**
34
+ * Gets a specific Azure service for support ticket creation.
35
+ * @param serviceName Name of the Azure service.
36
+ * @param options The options parameters.
37
+ */
38
+ get(
39
+ serviceName: string,
40
+ options?: ServicesGetOptionalParams
41
+ ): Promise<ServicesGetResponse>;
42
+ }
@@ -0,0 +1,137 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ SupportTicketDetails,
13
+ SupportTicketsListOptionalParams,
14
+ CheckNameAvailabilityInput,
15
+ SupportTicketsCheckNameAvailabilityOptionalParams,
16
+ SupportTicketsCheckNameAvailabilityResponse,
17
+ SupportTicketsGetOptionalParams,
18
+ SupportTicketsGetResponse,
19
+ UpdateSupportTicket,
20
+ SupportTicketsUpdateOptionalParams,
21
+ SupportTicketsUpdateResponse,
22
+ SupportTicketsCreateOptionalParams,
23
+ SupportTicketsCreateResponse
24
+ } from "../models";
25
+
26
+ /// <reference lib="esnext.asynciterable" />
27
+ /** Interface representing a SupportTickets. */
28
+ export interface SupportTickets {
29
+ /**
30
+ * Lists all the support tickets for an Azure subscription. You can also filter the support tickets by
31
+ * _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with
32
+ * _nextLink_, using which you can retrieve the next set of support tickets. <br/><br/>Support ticket
33
+ * data is available for 18 months after ticket creation. If a ticket was created more than 18 months
34
+ * ago, a request for data might cause an error.
35
+ * @param options The options parameters.
36
+ */
37
+ list(
38
+ options?: SupportTicketsListOptionalParams
39
+ ): PagedAsyncIterableIterator<SupportTicketDetails>;
40
+ /**
41
+ * Check the availability of a resource name. This API should be used to check the uniqueness of the
42
+ * name for support ticket creation for the selected subscription.
43
+ * @param checkNameAvailabilityInput Input to check.
44
+ * @param options The options parameters.
45
+ */
46
+ checkNameAvailability(
47
+ checkNameAvailabilityInput: CheckNameAvailabilityInput,
48
+ options?: SupportTicketsCheckNameAvailabilityOptionalParams
49
+ ): Promise<SupportTicketsCheckNameAvailabilityResponse>;
50
+ /**
51
+ * Get ticket details for an Azure subscription. Support ticket data is available for 18 months after
52
+ * ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an
53
+ * error.
54
+ * @param supportTicketName Support ticket name.
55
+ * @param options The options parameters.
56
+ */
57
+ get(
58
+ supportTicketName: string,
59
+ options?: SupportTicketsGetOptionalParams
60
+ ): Promise<SupportTicketsGetResponse>;
61
+ /**
62
+ * This API allows you to update the severity level, ticket status, and your contact information in the
63
+ * support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively
64
+ * being worked upon by an Azure support engineer. In such a case, contact your support engineer to
65
+ * request severity update by adding a new communication using the Communications
66
+ * API.<br/><br/>Changing the ticket status to _closed_ is allowed only on an unassigned case. When an
67
+ * engineer is actively working on the ticket, send your ticket closure request by sending a note to
68
+ * your engineer.
69
+ * @param supportTicketName Support ticket name.
70
+ * @param updateSupportTicket UpdateSupportTicket object.
71
+ * @param options The options parameters.
72
+ */
73
+ update(
74
+ supportTicketName: string,
75
+ updateSupportTicket: UpdateSupportTicket,
76
+ options?: SupportTicketsUpdateOptionalParams
77
+ ): Promise<SupportTicketsUpdateResponse>;
78
+ /**
79
+ * Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and
80
+ * Subscription Management issues for the specified subscription. Learn the
81
+ * [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call
82
+ * the Services and ProblemClassifications API to get the most recent set of services and problem
83
+ * categories required for support ticket creation.<br/><br/>Adding attachments is not currently
84
+ * supported via the API. To add a file to an existing support ticket, visit the [Manage support
85
+ * ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest)
86
+ * page in the Azure portal, select the support ticket, and use the file upload control to add a new
87
+ * file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not
88
+ * supported via the API. The Azure support engineer working on your ticket will reach out to you for
89
+ * consent if your issue requires gathering diagnostic information from your Azure
90
+ * resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include
91
+ * _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per
92
+ * [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant).
93
+ * The primary token will be from the tenant for whom a support ticket is being raised against the
94
+ * subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from
95
+ * the Cloud solution provider (CSP) partner tenant.
96
+ * @param supportTicketName Support ticket name.
97
+ * @param createSupportTicketParameters Support ticket request payload.
98
+ * @param options The options parameters.
99
+ */
100
+ beginCreate(
101
+ supportTicketName: string,
102
+ createSupportTicketParameters: SupportTicketDetails,
103
+ options?: SupportTicketsCreateOptionalParams
104
+ ): Promise<
105
+ PollerLike<
106
+ PollOperationState<SupportTicketsCreateResponse>,
107
+ SupportTicketsCreateResponse
108
+ >
109
+ >;
110
+ /**
111
+ * Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and
112
+ * Subscription Management issues for the specified subscription. Learn the
113
+ * [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call
114
+ * the Services and ProblemClassifications API to get the most recent set of services and problem
115
+ * categories required for support ticket creation.<br/><br/>Adding attachments is not currently
116
+ * supported via the API. To add a file to an existing support ticket, visit the [Manage support
117
+ * ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest)
118
+ * page in the Azure portal, select the support ticket, and use the file upload control to add a new
119
+ * file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not
120
+ * supported via the API. The Azure support engineer working on your ticket will reach out to you for
121
+ * consent if your issue requires gathering diagnostic information from your Azure
122
+ * resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include
123
+ * _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per
124
+ * [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant).
125
+ * The primary token will be from the tenant for whom a support ticket is being raised against the
126
+ * subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from
127
+ * the Cloud solution provider (CSP) partner tenant.
128
+ * @param supportTicketName Support ticket name.
129
+ * @param createSupportTicketParameters Support ticket request payload.
130
+ * @param options The options parameters.
131
+ */
132
+ beginCreateAndWait(
133
+ supportTicketName: string,
134
+ createSupportTicketParameters: SupportTicketDetails,
135
+ options?: SupportTicketsCreateOptionalParams
136
+ ): Promise<SupportTicketsCreateResponse>;
137
+ }
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
@@ -11,9 +11,10 @@
11
11
  "forceConsistentCasingInFileNames": true,
12
12
  "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
15
- "importHelpers": true
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true,
16
+ "paths": { "@azure/arm-support": ["./src/index"] }
16
17
  },
17
- "include": ["./src/**/*.ts"],
18
+ "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
18
19
  "exclude": ["node_modules"]
19
20
  }