@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
@@ -1,973 +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
- * The object that describes the operation.
6
- */
7
- export interface OperationDisplay {
8
- /**
9
- * The description of the operation.
10
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
11
- */
12
- readonly description?: string;
13
- /**
14
- * The action that users can perform, based on their permission level.
15
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
16
- */
17
- readonly operation?: string;
18
- /**
19
- * Service provider: Microsoft Support.
20
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
21
- */
22
- readonly provider?: string;
23
- /**
24
- * Resource on which the operation is performed.
25
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
26
- */
27
- readonly resource?: string;
28
- }
29
- /**
30
- * The operation supported by Microsoft Support resource provider.
31
- */
32
- export interface Operation {
33
- /**
34
- * Operation name: {provider}/{resource}/{operation}.
35
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
36
- */
37
- readonly name?: string;
38
- /**
39
- * The object that describes the operation.
40
- */
41
- display?: OperationDisplay;
42
- }
43
- /**
44
- * Object that represents a Service resource.
45
- */
46
- export interface Service {
47
- /**
48
- * Id of the resource.
49
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
50
- */
51
- readonly id?: string;
52
- /**
53
- * Name of the resource.
54
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
55
- */
56
- readonly name?: string;
57
- /**
58
- * Type of the resource 'Microsoft.Support/services'.
59
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
60
- */
61
- readonly type?: string;
62
- /**
63
- * Localized name of the Azure service.
64
- */
65
- displayName?: string;
66
- /**
67
- * ARM Resource types.
68
- */
69
- resourceTypes?: string[];
70
- }
71
- /**
72
- * ProblemClassification resource object.
73
- */
74
- export interface ProblemClassification {
75
- /**
76
- * Id of the resource.
77
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
78
- */
79
- readonly id?: string;
80
- /**
81
- * Name of the resource.
82
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
83
- */
84
- readonly name?: string;
85
- /**
86
- * Type of the resource 'Microsoft.Support/problemClassification'.
87
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
88
- */
89
- readonly type?: string;
90
- /**
91
- * Localized name of problem classification.
92
- */
93
- displayName?: string;
94
- }
95
- /**
96
- * Input of CheckNameAvailability API.
97
- */
98
- export interface CheckNameAvailabilityInput {
99
- /**
100
- * The resource name to validate.
101
- */
102
- name: string;
103
- /**
104
- * The type of resource. Possible values include: 'Microsoft.Support/supportTickets',
105
- * 'Microsoft.Support/communications'
106
- */
107
- type: Type;
108
- }
109
- /**
110
- * Output of check name availability API.
111
- */
112
- export interface CheckNameAvailabilityOutput {
113
- /**
114
- * Indicates whether the name is available.
115
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
116
- */
117
- readonly nameAvailable?: boolean;
118
- /**
119
- * The reason why the name is not available.
120
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
121
- */
122
- readonly reason?: string;
123
- /**
124
- * The detailed error message describing why the name is not available.
125
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
126
- */
127
- readonly message?: string;
128
- }
129
- /**
130
- * Contact information associated with the support ticket.
131
- */
132
- export interface ContactProfile {
133
- /**
134
- * First name.
135
- */
136
- firstName: string;
137
- /**
138
- * Last name.
139
- */
140
- lastName: string;
141
- /**
142
- * Preferred contact method. Possible values include: 'email', 'phone'
143
- */
144
- preferredContactMethod: PreferredContactMethod;
145
- /**
146
- * Primary email address.
147
- */
148
- primaryEmailAddress: string;
149
- /**
150
- * Additional email addresses listed will be copied on any correspondence about the support
151
- * ticket.
152
- */
153
- additionalEmailAddresses?: string[];
154
- /**
155
- * Phone number. This is required if preferred contact method is phone.
156
- */
157
- phoneNumber?: string;
158
- /**
159
- * Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index
160
- * Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).
161
- */
162
- preferredTimeZone: string;
163
- /**
164
- * Country of the user. This is the ISO 3166-1 alpha-3 code.
165
- */
166
- country: string;
167
- /**
168
- * Preferred language of support from Azure. Support languages vary based on the severity you
169
- * choose for your support ticket. Learn more at [Azure Severity and
170
- * responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard
171
- * language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es'
172
- * for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for
173
- * Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for
174
- * German.
175
- */
176
- preferredSupportLanguage: string;
177
- }
178
- /**
179
- * Service Level Agreement details for a support ticket.
180
- */
181
- export interface ServiceLevelAgreement {
182
- /**
183
- * Time in UTC (ISO 8601 format) when the service level agreement starts.
184
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
185
- */
186
- readonly startTime?: Date;
187
- /**
188
- * Time in UTC (ISO 8601 format) when the service level agreement expires.
189
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
190
- */
191
- readonly expirationTime?: Date;
192
- /**
193
- * Service Level Agreement in minutes.
194
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
195
- */
196
- readonly slaMinutes?: number;
197
- }
198
- /**
199
- * Support engineer information.
200
- */
201
- export interface SupportEngineer {
202
- /**
203
- * Email address of the Azure Support engineer assigned to the support ticket.
204
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
205
- */
206
- readonly emailAddress?: string;
207
- }
208
- /**
209
- * Additional information for technical support ticket.
210
- */
211
- export interface TechnicalTicketDetails {
212
- /**
213
- * This is the resource Id of the Azure service resource (For example: A virtual machine resource
214
- * or an HDInsight resource) for which the support ticket is created.
215
- */
216
- resourceId?: string;
217
- }
218
- /**
219
- * This property is required for providing the region and new quota limits.
220
- */
221
- export interface QuotaChangeRequest {
222
- /**
223
- * Region for which the quota increase request is being made.
224
- */
225
- region?: string;
226
- /**
227
- * Payload of the quota increase request.
228
- */
229
- payload?: string;
230
- }
231
- /**
232
- * Additional set of information required for quota increase support ticket for certain quota
233
- * types, e.g.: Virtual machine cores. Get complete details about Quota payload support request
234
- * along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).
235
- */
236
- export interface QuotaTicketDetails {
237
- /**
238
- * Required for certain quota types when there is a sub type, such as Batch, for which you are
239
- * requesting a quota increase.
240
- */
241
- quotaChangeRequestSubType?: string;
242
- /**
243
- * Quota change request version.
244
- */
245
- quotaChangeRequestVersion?: string;
246
- /**
247
- * This property is required for providing the region and new quota limits.
248
- */
249
- quotaChangeRequests?: QuotaChangeRequest[];
250
- }
251
- /**
252
- * Object that represents SupportTicketDetails resource.
253
- */
254
- export interface SupportTicketDetails extends BaseResource {
255
- /**
256
- * Id of the resource.
257
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
258
- */
259
- readonly id?: string;
260
- /**
261
- * Name of the resource.
262
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
263
- */
264
- readonly name?: string;
265
- /**
266
- * Type of the resource 'Microsoft.Support/supportTickets'.
267
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
268
- */
269
- readonly type?: string;
270
- /**
271
- * System generated support ticket Id that is unique.
272
- */
273
- supportTicketId?: string;
274
- /**
275
- * Detailed description of the question or issue.
276
- */
277
- description: string;
278
- /**
279
- * Each Azure service has its own set of issue categories, also known as problem classification.
280
- * This parameter is the unique Id for the type of problem you are experiencing.
281
- */
282
- problemClassificationId: string;
283
- /**
284
- * Localized name of problem classification.
285
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
286
- */
287
- readonly problemClassificationDisplayName?: string;
288
- /**
289
- * A value that indicates the urgency of the case, which in turn determines the response time
290
- * according to the service level agreement of the technical support plan you have with Azure.
291
- * Note: 'Highest critical impact' severity is reserved only for our Premium customers. Possible
292
- * values include: 'minimal', 'moderate', 'critical', 'highestcriticalimpact'
293
- */
294
- severity: SeverityLevel;
295
- /**
296
- * Enrollment Id associated with the support ticket.
297
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
298
- */
299
- readonly enrollmentId?: string;
300
- /**
301
- * Indicates if this requires a 24x7 response from Azure.
302
- */
303
- require24X7Response?: boolean;
304
- /**
305
- * Contact information of the user requesting to create a support ticket.
306
- */
307
- contactDetails: ContactProfile;
308
- /**
309
- * Service Level Agreement information for this support ticket.
310
- */
311
- serviceLevelAgreement?: ServiceLevelAgreement;
312
- /**
313
- * Information about the support engineer working on this support ticket.
314
- */
315
- supportEngineer?: SupportEngineer;
316
- /**
317
- * Support plan type associated with the support ticket.
318
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
319
- */
320
- readonly supportPlanType?: string;
321
- /**
322
- * Title of the support ticket.
323
- */
324
- title: string;
325
- /**
326
- * Time in UTC (ISO 8601 format) when the problem started.
327
- */
328
- problemStartTime?: Date;
329
- /**
330
- * This is the resource Id of the Azure service resource associated with the support ticket.
331
- */
332
- serviceId: string;
333
- /**
334
- * Localized name of the Azure service.
335
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
336
- */
337
- readonly serviceDisplayName?: string;
338
- /**
339
- * Status of the support ticket.
340
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
341
- */
342
- readonly status?: string;
343
- /**
344
- * Time in UTC (ISO 8601 format) when the support ticket was created.
345
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
346
- */
347
- readonly createdDate?: Date;
348
- /**
349
- * Time in UTC (ISO 8601 format) when the support ticket was last modified.
350
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
351
- */
352
- readonly modifiedDate?: Date;
353
- /**
354
- * Additional ticket details associated with a technical support ticket request.
355
- */
356
- technicalTicketDetails?: TechnicalTicketDetails;
357
- /**
358
- * Additional ticket details associated with a quota support ticket request.
359
- */
360
- quotaTicketDetails?: QuotaTicketDetails;
361
- }
362
- /**
363
- * Object that represents a Communication resource.
364
- */
365
- export interface CommunicationDetails extends BaseResource {
366
- /**
367
- * Id of the resource.
368
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
369
- */
370
- readonly id?: string;
371
- /**
372
- * Name of the resource.
373
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
374
- */
375
- readonly name?: string;
376
- /**
377
- * Type of the resource 'Microsoft.Support/communications'.
378
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
379
- */
380
- readonly type?: string;
381
- /**
382
- * Communication type. Possible values include: 'web', 'phone'
383
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
384
- */
385
- readonly communicationType?: CommunicationType;
386
- /**
387
- * Direction of communication. Possible values include: 'inbound', 'outbound'
388
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
389
- */
390
- readonly communicationDirection?: CommunicationDirection;
391
- /**
392
- * Email address of the sender. This property is required if called by a service principal.
393
- */
394
- sender?: string;
395
- /**
396
- * Subject of the communication.
397
- */
398
- subject: string;
399
- /**
400
- * Body of the communication.
401
- */
402
- body: string;
403
- /**
404
- * Time in UTC (ISO 8601 format) when the communication was created.
405
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
406
- */
407
- readonly createdDate?: Date;
408
- }
409
- /**
410
- * The error details.
411
- */
412
- export interface ServiceErrorDetail {
413
- /**
414
- * The error code.
415
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
416
- */
417
- readonly code?: string;
418
- /**
419
- * The error message.
420
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
421
- */
422
- readonly message?: string;
423
- /**
424
- * The target of the error.
425
- */
426
- target?: string;
427
- }
428
- /**
429
- * The API error details.
430
- */
431
- export interface ServiceError {
432
- /**
433
- * The error code.
434
- */
435
- code?: string;
436
- /**
437
- * The error message.
438
- */
439
- message?: string;
440
- /**
441
- * The target of the error.
442
- */
443
- target?: string;
444
- /**
445
- * The list of error details.
446
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
447
- */
448
- readonly details?: ServiceErrorDetail[];
449
- }
450
- /**
451
- * The API error.
452
- */
453
- export interface ExceptionResponse {
454
- /**
455
- * The API error details.
456
- */
457
- error?: ServiceError;
458
- }
459
- /**
460
- * Contact information associated with the support ticket.
461
- */
462
- export interface UpdateContactProfile {
463
- /**
464
- * First name.
465
- */
466
- firstName?: string;
467
- /**
468
- * Last name.
469
- */
470
- lastName?: string;
471
- /**
472
- * Preferred contact method. Possible values include: 'email', 'phone'
473
- */
474
- preferredContactMethod?: PreferredContactMethod;
475
- /**
476
- * Primary email address.
477
- */
478
- primaryEmailAddress?: string;
479
- /**
480
- * Email addresses listed will be copied on any correspondence about the support ticket.
481
- */
482
- additionalEmailAddresses?: string[];
483
- /**
484
- * Phone number. This is required if preferred contact method is phone.
485
- */
486
- phoneNumber?: string;
487
- /**
488
- * Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index
489
- * Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).
490
- */
491
- preferredTimeZone?: string;
492
- /**
493
- * Country of the user. This is the ISO 3166-1 alpha-3 code.
494
- */
495
- country?: string;
496
- /**
497
- * Preferred language of support from Azure. Support languages vary based on the severity you
498
- * choose for your support ticket. Learn more at [Azure Severity and
499
- * responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard
500
- * language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es'
501
- * for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for
502
- * Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for
503
- * German.
504
- */
505
- preferredSupportLanguage?: string;
506
- }
507
- /**
508
- * Updates severity, ticket status, and contact details in the support ticket.
509
- */
510
- export interface UpdateSupportTicket {
511
- /**
512
- * Severity level. Possible values include: 'minimal', 'moderate', 'critical',
513
- * 'highestcriticalimpact'
514
- */
515
- severity?: SeverityLevel;
516
- /**
517
- * Status to be updated on the ticket. Possible values include: 'open', 'closed'
518
- */
519
- status?: Status;
520
- /**
521
- * Contact details to be updated on the support ticket.
522
- */
523
- contactDetails?: UpdateContactProfile;
524
- }
525
- /**
526
- * Optional Parameters.
527
- */
528
- export interface SupportTicketsListOptionalParams extends msRest.RequestOptionsBase {
529
- /**
530
- * The number of values to return in the collection. Default is 25 and max is 100.
531
- */
532
- top?: number;
533
- /**
534
- * The filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn
535
- * more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_ filter can
536
- * only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators
537
- * are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine
538
- * them using the logical 'AND'.
539
- */
540
- filter?: string;
541
- }
542
- /**
543
- * Optional Parameters.
544
- */
545
- export interface CommunicationsListOptionalParams extends msRest.RequestOptionsBase {
546
- /**
547
- * The number of values to return in the collection. Default is 10 and max is 10.
548
- */
549
- top?: number;
550
- /**
551
- * The filter to apply on the operation. You can filter by communicationType and createdDate
552
- * properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater
553
- * Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType
554
- * and CreatedDate filters by Logical And ('and') operator.
555
- */
556
- filter?: string;
557
- }
558
- /**
559
- * An interface representing MicrosoftSupportOptions.
560
- */
561
- export interface MicrosoftSupportOptions extends AzureServiceClientOptions {
562
- baseUri?: string;
563
- }
564
- /**
565
- * @interface
566
- * The list of operations supported by Microsoft Support resource provider.
567
- * @extends Array<Operation>
568
- */
569
- export interface OperationsListResult extends Array<Operation> {
570
- }
571
- /**
572
- * @interface
573
- * Collection of Service resources.
574
- * @extends Array<Service>
575
- */
576
- export interface ServicesListResult extends Array<Service> {
577
- }
578
- /**
579
- * @interface
580
- * Collection of ProblemClassification resources.
581
- * @extends Array<ProblemClassification>
582
- */
583
- export interface ProblemClassificationsListResult extends Array<ProblemClassification> {
584
- }
585
- /**
586
- * @interface
587
- * Object that represents a collection of SupportTicket resources.
588
- * @extends Array<SupportTicketDetails>
589
- */
590
- export interface SupportTicketsListResult extends Array<SupportTicketDetails> {
591
- /**
592
- * The URI to fetch the next page of SupportTicket resources.
593
- */
594
- nextLink?: string;
595
- }
596
- /**
597
- * @interface
598
- * Collection of Communication resources.
599
- * @extends Array<CommunicationDetails>
600
- */
601
- export interface CommunicationsListResult extends Array<CommunicationDetails> {
602
- /**
603
- * The URI to fetch the next page of Communication resources.
604
- */
605
- nextLink?: string;
606
- }
607
- /**
608
- * Defines values for Type.
609
- * Possible values include: 'Microsoft.Support/supportTickets', 'Microsoft.Support/communications'
610
- * @readonly
611
- * @enum {string}
612
- */
613
- export declare type Type = 'Microsoft.Support/supportTickets' | 'Microsoft.Support/communications';
614
- /**
615
- * Defines values for SeverityLevel.
616
- * Possible values include: 'minimal', 'moderate', 'critical', 'highestcriticalimpact'
617
- * @readonly
618
- * @enum {string}
619
- */
620
- export declare type SeverityLevel = 'minimal' | 'moderate' | 'critical' | 'highestcriticalimpact';
621
- /**
622
- * Defines values for PreferredContactMethod.
623
- * Possible values include: 'email', 'phone'
624
- * @readonly
625
- * @enum {string}
626
- */
627
- export declare type PreferredContactMethod = 'email' | 'phone';
628
- /**
629
- * Defines values for CommunicationType.
630
- * Possible values include: 'web', 'phone'
631
- * @readonly
632
- * @enum {string}
633
- */
634
- export declare type CommunicationType = 'web' | 'phone';
635
- /**
636
- * Defines values for CommunicationDirection.
637
- * Possible values include: 'inbound', 'outbound'
638
- * @readonly
639
- * @enum {string}
640
- */
641
- export declare type CommunicationDirection = 'inbound' | 'outbound';
642
- /**
643
- * Defines values for Status.
644
- * Possible values include: 'open', 'closed'
645
- * @readonly
646
- * @enum {string}
647
- */
648
- export declare type Status = 'open' | 'closed';
649
- /**
650
- * Contains response data for the list operation.
651
- */
652
- export declare type OperationsListResponse = OperationsListResult & {
653
- /**
654
- * The underlying HTTP response.
655
- */
656
- _response: msRest.HttpResponse & {
657
- /**
658
- * The response body as text (string format)
659
- */
660
- bodyAsText: string;
661
- /**
662
- * The response body as parsed JSON or XML
663
- */
664
- parsedBody: OperationsListResult;
665
- };
666
- };
667
- /**
668
- * Contains response data for the list operation.
669
- */
670
- export declare type ServicesListResponse = ServicesListResult & {
671
- /**
672
- * The underlying HTTP response.
673
- */
674
- _response: msRest.HttpResponse & {
675
- /**
676
- * The response body as text (string format)
677
- */
678
- bodyAsText: string;
679
- /**
680
- * The response body as parsed JSON or XML
681
- */
682
- parsedBody: ServicesListResult;
683
- };
684
- };
685
- /**
686
- * Contains response data for the get operation.
687
- */
688
- export declare type ServicesGetResponse = Service & {
689
- /**
690
- * The underlying HTTP response.
691
- */
692
- _response: msRest.HttpResponse & {
693
- /**
694
- * The response body as text (string format)
695
- */
696
- bodyAsText: string;
697
- /**
698
- * The response body as parsed JSON or XML
699
- */
700
- parsedBody: Service;
701
- };
702
- };
703
- /**
704
- * Contains response data for the list operation.
705
- */
706
- export declare type ProblemClassificationsListResponse = ProblemClassificationsListResult & {
707
- /**
708
- * The underlying HTTP response.
709
- */
710
- _response: msRest.HttpResponse & {
711
- /**
712
- * The response body as text (string format)
713
- */
714
- bodyAsText: string;
715
- /**
716
- * The response body as parsed JSON or XML
717
- */
718
- parsedBody: ProblemClassificationsListResult;
719
- };
720
- };
721
- /**
722
- * Contains response data for the get operation.
723
- */
724
- export declare type ProblemClassificationsGetResponse = ProblemClassification & {
725
- /**
726
- * The underlying HTTP response.
727
- */
728
- _response: msRest.HttpResponse & {
729
- /**
730
- * The response body as text (string format)
731
- */
732
- bodyAsText: string;
733
- /**
734
- * The response body as parsed JSON or XML
735
- */
736
- parsedBody: ProblemClassification;
737
- };
738
- };
739
- /**
740
- * Contains response data for the checkNameAvailability operation.
741
- */
742
- export declare type SupportTicketsCheckNameAvailabilityResponse = CheckNameAvailabilityOutput & {
743
- /**
744
- * The underlying HTTP response.
745
- */
746
- _response: msRest.HttpResponse & {
747
- /**
748
- * The response body as text (string format)
749
- */
750
- bodyAsText: string;
751
- /**
752
- * The response body as parsed JSON or XML
753
- */
754
- parsedBody: CheckNameAvailabilityOutput;
755
- };
756
- };
757
- /**
758
- * Contains response data for the list operation.
759
- */
760
- export declare type SupportTicketsListResponse = SupportTicketsListResult & {
761
- /**
762
- * The underlying HTTP response.
763
- */
764
- _response: msRest.HttpResponse & {
765
- /**
766
- * The response body as text (string format)
767
- */
768
- bodyAsText: string;
769
- /**
770
- * The response body as parsed JSON or XML
771
- */
772
- parsedBody: SupportTicketsListResult;
773
- };
774
- };
775
- /**
776
- * Contains response data for the get operation.
777
- */
778
- export declare type SupportTicketsGetResponse = SupportTicketDetails & {
779
- /**
780
- * The underlying HTTP response.
781
- */
782
- _response: msRest.HttpResponse & {
783
- /**
784
- * The response body as text (string format)
785
- */
786
- bodyAsText: string;
787
- /**
788
- * The response body as parsed JSON or XML
789
- */
790
- parsedBody: SupportTicketDetails;
791
- };
792
- };
793
- /**
794
- * Contains response data for the update operation.
795
- */
796
- export declare type SupportTicketsUpdateResponse = SupportTicketDetails & {
797
- /**
798
- * The underlying HTTP response.
799
- */
800
- _response: msRest.HttpResponse & {
801
- /**
802
- * The response body as text (string format)
803
- */
804
- bodyAsText: string;
805
- /**
806
- * The response body as parsed JSON or XML
807
- */
808
- parsedBody: SupportTicketDetails;
809
- };
810
- };
811
- /**
812
- * Contains response data for the create operation.
813
- */
814
- export declare type SupportTicketsCreateResponse = SupportTicketDetails & {
815
- /**
816
- * The underlying HTTP response.
817
- */
818
- _response: msRest.HttpResponse & {
819
- /**
820
- * The response body as text (string format)
821
- */
822
- bodyAsText: string;
823
- /**
824
- * The response body as parsed JSON or XML
825
- */
826
- parsedBody: SupportTicketDetails;
827
- };
828
- };
829
- /**
830
- * Contains response data for the beginCreate operation.
831
- */
832
- export declare type SupportTicketsBeginCreateResponse = SupportTicketDetails & {
833
- /**
834
- * The underlying HTTP response.
835
- */
836
- _response: msRest.HttpResponse & {
837
- /**
838
- * The response body as text (string format)
839
- */
840
- bodyAsText: string;
841
- /**
842
- * The response body as parsed JSON or XML
843
- */
844
- parsedBody: SupportTicketDetails;
845
- };
846
- };
847
- /**
848
- * Contains response data for the listNext operation.
849
- */
850
- export declare type SupportTicketsListNextResponse = SupportTicketsListResult & {
851
- /**
852
- * The underlying HTTP response.
853
- */
854
- _response: msRest.HttpResponse & {
855
- /**
856
- * The response body as text (string format)
857
- */
858
- bodyAsText: string;
859
- /**
860
- * The response body as parsed JSON or XML
861
- */
862
- parsedBody: SupportTicketsListResult;
863
- };
864
- };
865
- /**
866
- * Contains response data for the checkNameAvailability operation.
867
- */
868
- export declare type CommunicationsCheckNameAvailabilityResponse = CheckNameAvailabilityOutput & {
869
- /**
870
- * The underlying HTTP response.
871
- */
872
- _response: msRest.HttpResponse & {
873
- /**
874
- * The response body as text (string format)
875
- */
876
- bodyAsText: string;
877
- /**
878
- * The response body as parsed JSON or XML
879
- */
880
- parsedBody: CheckNameAvailabilityOutput;
881
- };
882
- };
883
- /**
884
- * Contains response data for the list operation.
885
- */
886
- export declare type CommunicationsListResponse = CommunicationsListResult & {
887
- /**
888
- * The underlying HTTP response.
889
- */
890
- _response: msRest.HttpResponse & {
891
- /**
892
- * The response body as text (string format)
893
- */
894
- bodyAsText: string;
895
- /**
896
- * The response body as parsed JSON or XML
897
- */
898
- parsedBody: CommunicationsListResult;
899
- };
900
- };
901
- /**
902
- * Contains response data for the get operation.
903
- */
904
- export declare type CommunicationsGetResponse = CommunicationDetails & {
905
- /**
906
- * The underlying HTTP response.
907
- */
908
- _response: msRest.HttpResponse & {
909
- /**
910
- * The response body as text (string format)
911
- */
912
- bodyAsText: string;
913
- /**
914
- * The response body as parsed JSON or XML
915
- */
916
- parsedBody: CommunicationDetails;
917
- };
918
- };
919
- /**
920
- * Contains response data for the create operation.
921
- */
922
- export declare type CommunicationsCreateResponse = CommunicationDetails & {
923
- /**
924
- * The underlying HTTP response.
925
- */
926
- _response: msRest.HttpResponse & {
927
- /**
928
- * The response body as text (string format)
929
- */
930
- bodyAsText: string;
931
- /**
932
- * The response body as parsed JSON or XML
933
- */
934
- parsedBody: CommunicationDetails;
935
- };
936
- };
937
- /**
938
- * Contains response data for the beginCreate operation.
939
- */
940
- export declare type CommunicationsBeginCreateResponse = CommunicationDetails & {
941
- /**
942
- * The underlying HTTP response.
943
- */
944
- _response: msRest.HttpResponse & {
945
- /**
946
- * The response body as text (string format)
947
- */
948
- bodyAsText: string;
949
- /**
950
- * The response body as parsed JSON or XML
951
- */
952
- parsedBody: CommunicationDetails;
953
- };
954
- };
955
- /**
956
- * Contains response data for the listNext operation.
957
- */
958
- export declare type CommunicationsListNextResponse = CommunicationsListResult & {
959
- /**
960
- * The underlying HTTP response.
961
- */
962
- _response: msRest.HttpResponse & {
963
- /**
964
- * The response body as text (string format)
965
- */
966
- bodyAsText: string;
967
- /**
968
- * The response body as parsed JSON or XML
969
- */
970
- parsedBody: CommunicationsListResult;
971
- };
972
- };
973
- //# sourceMappingURL=index.d.ts.map