@azure/arm-support 2.1.1-alpha.20231017.1 → 2.2.0-beta.1

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 (435) hide show
  1. package/CHANGELOG.md +111 -10
  2. package/README.md +1 -1
  3. package/dist/index.js +2451 -300
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/chatTranscriptsGetSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/chatTranscriptsGetSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/chatTranscriptsGetSample.js +38 -0
  10. package/dist-esm/samples-dev/chatTranscriptsGetSample.js.map +1 -0
  11. package/dist-esm/samples-dev/chatTranscriptsListSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/chatTranscriptsListSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/{getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js → chatTranscriptsListSample.js} +18 -11
  14. package/dist-esm/samples-dev/chatTranscriptsListSample.js.map +1 -0
  15. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.js +37 -0
  18. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.js.map +1 -0
  19. package/dist-esm/samples-dev/communicationsCheckNameAvailabilitySample.js +1 -1
  20. package/dist-esm/samples-dev/communicationsCreateSample.js +1 -1
  21. package/dist-esm/samples-dev/communicationsGetSample.js +1 -1
  22. package/dist-esm/samples-dev/communicationsListSample.js +3 -3
  23. package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.d.ts +2 -0
  24. package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/{checksWhetherNameIsAvailableForCommunicationResource.js → communicationsNoSubscriptionCheckNameAvailabilitySample.js} +15 -7
  26. package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.js.map +1 -0
  27. package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/{addCommunicationToSubscriptionTicket.js → communicationsNoSubscriptionCreateSample.js} +15 -9
  30. package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.js.map +1 -0
  31. package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/{getCommunicationDetailsForASubscriptionSupportTicket.js → communicationsNoSubscriptionGetSample.js} +15 -9
  34. package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.js.map +1 -0
  35. package/dist-esm/samples-dev/fileWorkspacesCreateSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/fileWorkspacesCreateSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/fileWorkspacesCreateSample.js +37 -0
  38. package/dist-esm/samples-dev/fileWorkspacesCreateSample.js.map +1 -0
  39. package/dist-esm/samples-dev/fileWorkspacesGetSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/fileWorkspacesGetSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/fileWorkspacesGetSample.js +37 -0
  42. package/dist-esm/samples-dev/fileWorkspacesGetSample.js.map +1 -0
  43. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.js +36 -0
  46. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.js.map +1 -0
  47. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.js +36 -0
  50. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.js.map +1 -0
  51. package/dist-esm/samples-dev/filesCreateSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/filesCreateSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/filesCreateSample.js +43 -0
  54. package/dist-esm/samples-dev/filesCreateSample.js.map +1 -0
  55. package/dist-esm/samples-dev/filesGetSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/filesGetSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/filesGetSample.js +38 -0
  58. package/dist-esm/samples-dev/filesGetSample.js.map +1 -0
  59. package/dist-esm/samples-dev/filesListSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/filesListSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/{getAllOperations.js → filesListSample.js} +18 -10
  62. package/dist-esm/samples-dev/filesListSample.js.map +1 -0
  63. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.js +42 -0
  66. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.js.map +1 -0
  67. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.js +37 -0
  70. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.js.map +1 -0
  71. package/dist-esm/samples-dev/filesNoSubscriptionListSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/filesNoSubscriptionListSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/filesNoSubscriptionListSample.js +57 -0
  74. package/dist-esm/samples-dev/filesNoSubscriptionListSample.js.map +1 -0
  75. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.js +41 -0
  78. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.js.map +1 -0
  79. package/dist-esm/samples-dev/filesUploadSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/filesUploadSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/filesUploadSample.js +42 -0
  82. package/dist-esm/samples-dev/filesUploadSample.js.map +1 -0
  83. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  84. package/dist-esm/samples-dev/problemClassificationsGetSample.js +2 -4
  85. package/dist-esm/samples-dev/problemClassificationsGetSample.js.map +1 -1
  86. package/dist-esm/samples-dev/problemClassificationsListSample.js +2 -4
  87. package/dist-esm/samples-dev/problemClassificationsListSample.js.map +1 -1
  88. package/dist-esm/samples-dev/servicesGetSample.js +2 -4
  89. package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
  90. package/dist-esm/samples-dev/servicesListSample.js +2 -4
  91. package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
  92. package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/{listSupportTicketsForASubscription.js → supportTicketChatTranscriptsNoSubscriptionListSample.js} +18 -11
  95. package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.js.map +1 -0
  96. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.js +139 -0
  99. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.js.map +1 -0
  100. package/dist-esm/samples-dev/supportTicketsCheckNameAvailabilitySample.js +1 -1
  101. package/dist-esm/samples-dev/supportTicketsCreateSample.js +54 -17
  102. package/dist-esm/samples-dev/supportTicketsCreateSample.js.map +1 -1
  103. package/dist-esm/samples-dev/supportTicketsGetSample.js +1 -1
  104. package/dist-esm/samples-dev/supportTicketsListSample.js +170 -14
  105. package/dist-esm/samples-dev/supportTicketsListSample.js.map +1 -1
  106. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.d.ts +2 -0
  107. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.d.ts.map +1 -0
  108. package/dist-esm/samples-dev/{checksWhetherNameIsAvailableForSupportTicketResource.js → supportTicketsNoSubscriptionCheckNameAvailabilitySample.js} +15 -7
  109. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.js.map +1 -0
  110. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.d.ts +2 -0
  111. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.d.ts.map +1 -0
  112. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.js +127 -0
  113. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.js.map +1 -0
  114. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.d.ts +2 -0
  115. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.d.ts.map +1 -0
  116. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.js +36 -0
  117. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.js.map +1 -0
  118. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.d.ts +2 -0
  119. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.d.ts.map +1 -0
  120. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.js +284 -0
  121. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.js.map +1 -0
  122. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.d.ts +2 -0
  123. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.d.ts.map +1 -0
  124. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.js +102 -0
  125. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.js.map +1 -0
  126. package/dist-esm/samples-dev/supportTicketsUpdateSample.js +29 -9
  127. package/dist-esm/samples-dev/supportTicketsUpdateSample.js.map +1 -1
  128. package/dist-esm/src/lroImpl.d.ts +6 -11
  129. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  130. package/dist-esm/src/lroImpl.js +12 -20
  131. package/dist-esm/src/lroImpl.js.map +1 -1
  132. package/dist-esm/src/microsoftSupport.d.ts +13 -2
  133. package/dist-esm/src/microsoftSupport.d.ts.map +1 -1
  134. package/dist-esm/src/microsoftSupport.js +20 -12
  135. package/dist-esm/src/microsoftSupport.js.map +1 -1
  136. package/dist-esm/src/models/index.d.ts +431 -23
  137. package/dist-esm/src/models/index.d.ts.map +1 -1
  138. package/dist-esm/src/models/index.js +32 -0
  139. package/dist-esm/src/models/index.js.map +1 -1
  140. package/dist-esm/src/models/mappers.d.ts +17 -3
  141. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  142. package/dist-esm/src/models/mappers.js +443 -19
  143. package/dist-esm/src/models/mappers.js.map +1 -1
  144. package/dist-esm/src/models/parameters.d.ts +6 -0
  145. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  146. package/dist-esm/src/models/parameters.js +53 -2
  147. package/dist-esm/src/models/parameters.js.map +1 -1
  148. package/dist-esm/src/operations/chatTranscripts.d.ts +42 -0
  149. package/dist-esm/src/operations/chatTranscripts.d.ts.map +1 -0
  150. package/dist-esm/src/operations/chatTranscripts.js +180 -0
  151. package/dist-esm/src/operations/chatTranscripts.js.map +1 -0
  152. package/dist-esm/src/operations/chatTranscriptsNoSubscription.d.ts +20 -0
  153. package/dist-esm/src/operations/chatTranscriptsNoSubscription.d.ts.map +1 -0
  154. package/dist-esm/src/operations/chatTranscriptsNoSubscription.js +52 -0
  155. package/dist-esm/src/operations/chatTranscriptsNoSubscription.js.map +1 -0
  156. package/dist-esm/src/operations/communications.d.ts +2 -2
  157. package/dist-esm/src/operations/communications.d.ts.map +1 -1
  158. package/dist-esm/src/operations/communications.js +21 -17
  159. package/dist-esm/src/operations/communications.js.map +1 -1
  160. package/dist-esm/src/operations/communicationsNoSubscription.d.ts +45 -0
  161. package/dist-esm/src/operations/communicationsNoSubscription.d.ts.map +1 -0
  162. package/dist-esm/src/operations/communicationsNoSubscription.js +177 -0
  163. package/dist-esm/src/operations/communicationsNoSubscription.js.map +1 -0
  164. package/dist-esm/src/operations/fileWorkspaces.d.ts +25 -0
  165. package/dist-esm/src/operations/fileWorkspaces.d.ts.map +1 -0
  166. package/dist-esm/src/operations/fileWorkspaces.js +79 -0
  167. package/dist-esm/src/operations/fileWorkspaces.js.map +1 -0
  168. package/dist-esm/src/operations/fileWorkspacesNoSubscription.d.ts +25 -0
  169. package/dist-esm/src/operations/fileWorkspacesNoSubscription.d.ts.map +1 -0
  170. package/dist-esm/src/operations/fileWorkspacesNoSubscription.js +71 -0
  171. package/dist-esm/src/operations/fileWorkspacesNoSubscription.js.map +1 -0
  172. package/dist-esm/src/operations/files.d.ts +58 -0
  173. package/dist-esm/src/operations/files.d.ts.map +1 -0
  174. package/dist-esm/src/operations/files.js +244 -0
  175. package/dist-esm/src/operations/files.js.map +1 -0
  176. package/dist-esm/src/operations/filesNoSubscription.d.ts +58 -0
  177. package/dist-esm/src/operations/filesNoSubscription.d.ts.map +1 -0
  178. package/dist-esm/src/operations/filesNoSubscription.js +236 -0
  179. package/dist-esm/src/operations/filesNoSubscription.js.map +1 -0
  180. package/dist-esm/src/operations/index.d.ts +10 -0
  181. package/dist-esm/src/operations/index.d.ts.map +1 -1
  182. package/dist-esm/src/operations/index.js +10 -0
  183. package/dist-esm/src/operations/index.js.map +1 -1
  184. package/dist-esm/src/operations/operations.js +1 -1
  185. package/dist-esm/src/operations/operations.js.map +1 -1
  186. package/dist-esm/src/operations/problemClassifications.js +2 -2
  187. package/dist-esm/src/operations/problemClassifications.js.map +1 -1
  188. package/dist-esm/src/operations/services.js +2 -2
  189. package/dist-esm/src/operations/services.js.map +1 -1
  190. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.d.ts +35 -0
  191. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.d.ts.map +1 -0
  192. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.js +145 -0
  193. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.js.map +1 -0
  194. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.d.ts +45 -0
  195. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.d.ts.map +1 -0
  196. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.js +155 -0
  197. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.js.map +1 -0
  198. package/dist-esm/src/operations/supportTickets.d.ts +15 -17
  199. package/dist-esm/src/operations/supportTickets.d.ts.map +1 -1
  200. package/dist-esm/src/operations/supportTickets.js +30 -28
  201. package/dist-esm/src/operations/supportTickets.js.map +1 -1
  202. package/dist-esm/src/operations/supportTicketsNoSubscription.d.ts +98 -0
  203. package/dist-esm/src/operations/supportTicketsNoSubscription.d.ts.map +1 -0
  204. package/dist-esm/src/operations/supportTicketsNoSubscription.js +332 -0
  205. package/dist-esm/src/operations/supportTicketsNoSubscription.js.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/chatTranscripts.d.ts +19 -0
  207. package/dist-esm/src/operationsInterfaces/chatTranscripts.d.ts.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/chatTranscripts.js +9 -0
  209. package/dist-esm/src/operationsInterfaces/chatTranscripts.js.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +12 -0
  211. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.js +9 -0
  213. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.js.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/communications.d.ts +2 -2
  215. package/dist-esm/src/operationsInterfaces/communications.d.ts.map +1 -1
  216. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.d.ts +37 -0
  217. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/fileWorkspaces.d.ts +17 -0
  221. package/dist-esm/src/operationsInterfaces/fileWorkspaces.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/fileWorkspaces.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/fileWorkspaces.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +17 -0
  225. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/files.d.ts +35 -0
  229. package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/files.js +9 -0
  231. package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/filesNoSubscription.d.ts +35 -0
  233. package/dist-esm/src/operationsInterfaces/filesNoSubscription.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/filesNoSubscription.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/filesNoSubscription.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  237. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  238. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  239. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  240. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.d.ts +12 -0
  241. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.d.ts.map +1 -0
  242. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.js +9 -0
  243. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.js.map +1 -0
  244. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.d.ts +17 -0
  245. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.d.ts.map +1 -0
  246. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.js +9 -0
  247. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.js.map +1 -0
  248. package/dist-esm/src/operationsInterfaces/supportTickets.d.ts +11 -13
  249. package/dist-esm/src/operationsInterfaces/supportTickets.d.ts.map +1 -1
  250. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.d.ts +73 -0
  251. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +1 -0
  252. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.js +9 -0
  253. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.js.map +1 -0
  254. package/dist-esm/test/support_operations_test.spec.d.ts +4 -0
  255. package/dist-esm/test/support_operations_test.spec.d.ts.map +1 -0
  256. package/dist-esm/test/support_operations_test.spec.js +78 -0
  257. package/dist-esm/test/support_operations_test.spec.js.map +1 -0
  258. package/package.json +16 -10
  259. package/review/arm-support.api.md +464 -19
  260. package/src/lroImpl.ts +31 -23
  261. package/src/microsoftSupport.ts +73 -7
  262. package/src/models/index.ts +513 -23
  263. package/src/models/mappers.ts +473 -19
  264. package/src/models/parameters.ts +61 -2
  265. package/src/operations/chatTranscripts.ts +215 -0
  266. package/src/operations/chatTranscriptsNoSubscription.ts +72 -0
  267. package/src/operations/communications.ts +25 -18
  268. package/src/operations/communicationsNoSubscription.ts +254 -0
  269. package/src/operations/fileWorkspaces.ts +107 -0
  270. package/src/operations/fileWorkspacesNoSubscription.ts +98 -0
  271. package/src/operations/files.ts +303 -0
  272. package/src/operations/filesNoSubscription.ts +294 -0
  273. package/src/operations/index.ts +10 -0
  274. package/src/operations/operations.ts +1 -1
  275. package/src/operations/problemClassifications.ts +2 -2
  276. package/src/operations/services.ts +2 -2
  277. package/src/operations/supportTicketChatTranscriptsNoSubscription.ts +170 -0
  278. package/src/operations/supportTicketCommunicationsNoSubscription.ts +180 -0
  279. package/src/operations/supportTickets.ts +39 -34
  280. package/src/operations/supportTicketsNoSubscription.ts +415 -0
  281. package/src/operationsInterfaces/chatTranscripts.ts +40 -0
  282. package/src/operationsInterfaces/chatTranscriptsNoSubscription.ts +27 -0
  283. package/src/operationsInterfaces/communications.ts +3 -3
  284. package/src/operationsInterfaces/communicationsNoSubscription.ts +77 -0
  285. package/src/operationsInterfaces/fileWorkspaces.ts +36 -0
  286. package/src/operationsInterfaces/fileWorkspacesNoSubscription.ts +36 -0
  287. package/src/operationsInterfaces/files.ts +70 -0
  288. package/src/operationsInterfaces/filesNoSubscription.ts +70 -0
  289. package/src/operationsInterfaces/index.ts +10 -0
  290. package/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.ts +27 -0
  291. package/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.ts +32 -0
  292. package/src/operationsInterfaces/supportTickets.ts +12 -14
  293. package/src/operationsInterfaces/supportTicketsNoSubscription.ts +120 -0
  294. package/types/arm-support.d.ts +805 -50
  295. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts +0 -2
  296. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.js.map +0 -1
  298. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts +0 -2
  299. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.js.map +0 -1
  301. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts +0 -2
  302. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.js.map +0 -1
  304. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts +0 -2
  305. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js +0 -46
  307. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js.map +0 -1
  308. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts +0 -2
  309. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js +0 -46
  311. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js.map +0 -1
  312. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts +0 -2
  313. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js +0 -49
  315. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js.map +0 -1
  316. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts +0 -2
  317. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts.map +0 -1
  318. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js +0 -56
  319. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js.map +0 -1
  320. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts +0 -2
  321. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js +0 -60
  323. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js.map +0 -1
  324. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts +0 -2
  325. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js +0 -53
  327. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js.map +0 -1
  328. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts +0 -2
  329. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js +0 -52
  331. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js.map +0 -1
  332. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts +0 -2
  333. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts.map +0 -1
  334. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js +0 -56
  335. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js.map +0 -1
  336. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts +0 -2
  337. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts.map +0 -1
  338. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js +0 -56
  339. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js.map +0 -1
  340. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts +0 -2
  341. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts.map +0 -1
  342. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js +0 -56
  343. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js.map +0 -1
  344. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts +0 -2
  345. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts.map +0 -1
  346. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js +0 -53
  347. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js.map +0 -1
  348. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts +0 -2
  349. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts.map +0 -1
  350. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js +0 -56
  351. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js.map +0 -1
  352. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts +0 -2
  353. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts.map +0 -1
  354. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js +0 -51
  355. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js.map +0 -1
  356. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts +0 -2
  357. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts.map +0 -1
  358. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js +0 -51
  359. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js.map +0 -1
  360. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts +0 -2
  361. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts.map +0 -1
  362. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js +0 -46
  363. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js.map +0 -1
  364. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts +0 -2
  365. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts.map +0 -1
  366. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js +0 -56
  367. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js.map +0 -1
  368. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts +0 -2
  369. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts.map +0 -1
  370. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js +0 -56
  371. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js.map +0 -1
  372. package/dist-esm/samples-dev/getAllOperations.d.ts +0 -2
  373. package/dist-esm/samples-dev/getAllOperations.d.ts.map +0 -1
  374. package/dist-esm/samples-dev/getAllOperations.js.map +0 -1
  375. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts +0 -2
  376. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.js.map +0 -1
  378. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts +0 -2
  379. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js +0 -30
  381. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js.map +0 -1
  382. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts +0 -2
  383. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js +0 -31
  385. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js.map +0 -1
  386. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts +0 -2
  387. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js +0 -30
  389. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js.map +0 -1
  390. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts +0 -2
  391. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js.map +0 -1
  393. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts +0 -2
  394. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js +0 -50
  396. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js.map +0 -1
  397. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts +0 -2
  398. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js +0 -51
  400. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js.map +0 -1
  401. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts +0 -2
  402. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js +0 -52
  404. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js.map +0 -1
  405. package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts +0 -2
  406. package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/listSupportTicketsForASubscription.js.map +0 -1
  408. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts +0 -2
  409. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts.map +0 -1
  410. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js +0 -52
  411. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js.map +0 -1
  412. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts +0 -2
  413. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts.map +0 -1
  414. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js +0 -53
  415. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js.map +0 -1
  416. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts +0 -2
  417. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts.map +0 -1
  418. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js +0 -53
  419. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js.map +0 -1
  420. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts +0 -2
  421. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts.map +0 -1
  422. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js +0 -43
  423. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js.map +0 -1
  424. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts +0 -2
  425. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts.map +0 -1
  426. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js +0 -31
  427. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js.map +0 -1
  428. package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts +0 -2
  429. package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts.map +0 -1
  430. package/dist-esm/samples-dev/updateStatusOfASupportTicket.js +0 -31
  431. package/dist-esm/samples-dev/updateStatusOfASupportTicket.js.map +0 -1
  432. package/dist-esm/test/sampleTest.d.ts +0 -2
  433. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  434. package/dist-esm/test/sampleTest.js +0 -38
  435. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,56 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "DTUs",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [
39
- {
40
- payload: '{"ServerName":"testserver","NewLimit":54000}',
41
- region: "EastUS"
42
- }
43
- ]
44
- },
45
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
46
- severity: "moderate",
47
- title: "my title"
48
- };
49
- const credential = new DefaultAzureCredential();
50
- const client = new MicrosoftSupport(credential, subscriptionId);
51
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
52
- console.log(result);
53
- });
54
- }
55
- createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics().catch(console.error);
56
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,kEAAkE;;QAC/E,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,8HAA8H;YAChI,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,MAAM;gBACjC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE;oBACnB;wBACE,OAAO,EAAE,8CAA8C;wBACvD,MAAM,EAAE,QAAQ;qBACjB;iBACF;aACF;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kEAAkE,EAAE,CAAC,KAAK,CACxE,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.ts"],"names":[],"mappings":""}
@@ -1,56 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "DTUs",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [
39
- {
40
- payload: '{"ServerName":"testserver","NewLimit":54000}',
41
- region: "EastUS"
42
- }
43
- ]
44
- },
45
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
46
- severity: "moderate",
47
- title: "my title"
48
- };
49
- const credential = new DefaultAzureCredential();
50
- const client = new MicrosoftSupport(credential, subscriptionId);
51
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
52
- console.log(result);
53
- });
54
- }
55
- createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase().catch(console.error);
56
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,wDAAwD;;QACrE,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,yHAAyH;YAC3H,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,MAAM;gBACjC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE;oBACnB;wBACE,OAAO,EAAE,8CAA8C;wBACvD,MAAM,EAAE,QAAQ;qBACjB;iBACF;aACF;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wDAAwD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.ts"],"names":[],"mappings":""}
@@ -1,56 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "Account",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [
39
- {
40
- payload: '{"AccountName":"test","NewLimit":200,"Type":"LowPriority"}',
41
- region: "EastUS"
42
- }
43
- ]
44
- },
45
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
46
- severity: "moderate",
47
- title: "my title"
48
- };
49
- const credential = new DefaultAzureCredential();
50
- const client = new MicrosoftSupport(credential, subscriptionId);
51
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
52
- console.log(result);
53
- });
54
- }
55
- createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount().catch(console.error);
56
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,sEAAsE;;QACnF,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,kHAAkH;YACpH,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,SAAS;gBACpC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE;oBACnB;wBACE,OAAO,EAAE,4DAA4D;wBACrE,MAAM,EAAE,QAAQ;qBACjB;iBACF;aACF;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sEAAsE,EAAE,CAAC,KAAK,CAC5E,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.ts"],"names":[],"mappings":""}
@@ -1,53 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "BatchAml",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [
39
- { payload: '{"NewLimit":200,"Type":"LowPriority"}', region: "EastUS" }
40
- ]
41
- },
42
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
43
- severity: "moderate",
44
- title: "my title"
45
- };
46
- const credential = new DefaultAzureCredential();
47
- const client = new MicrosoftSupport(credential, subscriptionId);
48
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
49
- console.log(result);
50
- });
51
- }
52
- createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService().catch(console.error);
53
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,+EAA+E;;QAC5F,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,qIAAqI;YACvI,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,UAAU;gBACrC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE;oBACnB,EAAE,OAAO,EAAE,uCAAuC,EAAE,MAAM,EAAE,QAAQ,EAAE;iBACvE;aACF;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+EAA+E,EAAE,CAAC,KAAK,CACrF,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.ts"],"names":[],"mappings":""}
@@ -1,56 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForPoolsForABatchAccount() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "Account",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [
39
- {
40
- payload: '{"AccountName":"test","NewLimit":200,"Type":"Pools"}',
41
- region: "EastUS"
42
- }
43
- ]
44
- },
45
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
46
- severity: "moderate",
47
- title: "my title"
48
- };
49
- const credential = new DefaultAzureCredential();
50
- const client = new MicrosoftSupport(credential, subscriptionId);
51
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
52
- console.log(result);
53
- });
54
- }
55
- createATicketToRequestQuotaIncreaseForPoolsForABatchAccount().catch(console.error);
56
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2DAA2D;;QACxE,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,kHAAkH;YACpH,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,SAAS;gBACpC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE;oBACnB;wBACE,OAAO,EAAE,sDAAsD;wBAC/D,MAAM,EAAE,QAAQ;qBACjB;iBACF;aACF;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2DAA2D,EAAE,CAAC,KAAK,CACjE,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.ts"],"names":[],"mappings":""}
@@ -1,51 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "Servers",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }]
39
- },
40
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
41
- severity: "moderate",
42
- title: "my title"
43
- };
44
- const credential = new DefaultAzureCredential();
45
- const client = new MicrosoftSupport(credential, subscriptionId);
46
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
47
- console.log(result);
48
- });
49
- }
50
- createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics().catch(console.error);
51
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qEAAqE;;QAClF,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,8HAA8H;YAChI,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,SAAS;gBACpC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;aACzE;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qEAAqE,EAAE,CAAC,KAAK,CAC3E,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.ts"],"names":[],"mappings":""}
@@ -1,51 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForServersForSqlDatabase() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "my description",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid",
35
- quotaTicketDetails: {
36
- quotaChangeRequestSubType: "Servers",
37
- quotaChangeRequestVersion: "1.0",
38
- quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }]
39
- },
40
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
41
- severity: "moderate",
42
- title: "my title"
43
- };
44
- const credential = new DefaultAzureCredential();
45
- const client = new MicrosoftSupport(credential, subscriptionId);
46
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
47
- console.log(result);
48
- });
49
- }
50
- createATicketToRequestQuotaIncreaseForServersForSqlDatabase().catch(console.error);
51
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2DAA2D;;QACxE,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EAAE,gBAAgB;YAC7B,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,yHAAyH;YAC3H,kBAAkB,EAAE;gBAClB,yBAAyB,EAAE,SAAS;gBACpC,yBAAyB,EAAE,KAAK;gBAChC,mBAAmB,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;aACzE;YACD,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2DAA2D,EAAE,CAAC,KAAK,CACjE,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.ts"],"names":[],"mappings":""}
@@ -1,46 +0,0 @@
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
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- /**
12
- * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
13
- *
14
- * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
15
- * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateGenericQuotaTicket.json
16
- */
17
- import { MicrosoftSupport } from "@azure/arm-support";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
- function createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const supportTicketName = "testticket";
23
- const createSupportTicketParameters = {
24
- description: "Increase the maximum throughput per container limit to 10000 for account foo bar",
25
- contactDetails: {
26
- country: "usa",
27
- firstName: "abc",
28
- lastName: "xyz",
29
- preferredContactMethod: "email",
30
- preferredSupportLanguage: "en-US",
31
- preferredTimeZone: "Pacific Standard Time",
32
- primaryEmailAddress: "abc@contoso.com"
33
- },
34
- problemClassificationId: "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid",
35
- serviceId: "/providers/Microsoft.Support/services/quota_service_guid",
36
- severity: "moderate",
37
- title: "my title"
38
- };
39
- const credential = new DefaultAzureCredential();
40
- const client = new MicrosoftSupport(credential, subscriptionId);
41
- const result = yield client.supportTickets.beginCreateAndWait(supportTicketName, createSupportTicketParameters);
42
- console.log(result);
43
- });
44
- }
45
- createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject().catch(console.error);
46
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,4GAA4G;;QACzH,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,6BAA6B,GAAyB;YAC1D,WAAW,EACT,kFAAkF;YACpF,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,QAAQ,EAAE,KAAK;gBACf,sBAAsB,EAAE,OAAO;gBAC/B,wBAAwB,EAAE,OAAO;gBACjC,iBAAiB,EAAE,uBAAuB;gBAC1C,mBAAmB,EAAE,iBAAiB;aACvC;YACD,uBAAuB,EACrB,qHAAqH;YACvH,SAAS,EAAE,0DAA0D;YACrE,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4GAA4G,EAAE,CAAC,KAAK,CAClH,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.ts"],"names":[],"mappings":""}