@azure/arm-signalr 4.2.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -78
  4. package/dist/index.js +3754 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/operationsList.d.ts +2 -0
  9. package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/operationsList.js +43 -0
  11. package/dist-esm/samples-dev/operationsList.js.map +1 -0
  12. package/dist-esm/samples-dev/signalRCheckNameAvailability.d.ts +2 -0
  13. package/dist-esm/samples-dev/signalRCheckNameAvailability.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/signalRCheckNameAvailability.js +34 -0
  15. package/dist-esm/samples-dev/signalRCheckNameAvailability.js.map +1 -0
  16. package/dist-esm/samples-dev/signalRCreateOrUpdate.d.ts +2 -0
  17. package/dist-esm/samples-dev/signalRCreateOrUpdate.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/signalRCreateOrUpdate.js +73 -0
  19. package/dist-esm/samples-dev/signalRCreateOrUpdate.js.map +1 -0
  20. package/dist-esm/samples-dev/signalRDelete.d.ts +2 -0
  21. package/dist-esm/samples-dev/signalRDelete.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/signalRDelete.js +31 -0
  23. package/dist-esm/samples-dev/signalRDelete.js.map +1 -0
  24. package/dist-esm/samples-dev/signalRGet.d.ts +2 -0
  25. package/dist-esm/samples-dev/signalRGet.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/signalRGet.js +31 -0
  27. package/dist-esm/samples-dev/signalRGet.js.map +1 -0
  28. package/dist-esm/samples-dev/signalRListByResourceGroup.d.ts +2 -0
  29. package/dist-esm/samples-dev/signalRListByResourceGroup.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/signalRListByResourceGroup.js +44 -0
  31. package/dist-esm/samples-dev/signalRListByResourceGroup.js.map +1 -0
  32. package/dist-esm/samples-dev/signalRListBySubscription.d.ts +2 -0
  33. package/dist-esm/samples-dev/signalRListBySubscription.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/signalRListBySubscription.js +43 -0
  35. package/dist-esm/samples-dev/signalRListBySubscription.js.map +1 -0
  36. package/dist-esm/samples-dev/signalRListKeys.d.ts +2 -0
  37. package/dist-esm/samples-dev/signalRListKeys.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/signalRListKeys.js +31 -0
  39. package/dist-esm/samples-dev/signalRListKeys.js.map +1 -0
  40. package/dist-esm/samples-dev/signalRListSkus.d.ts +2 -0
  41. package/dist-esm/samples-dev/signalRListSkus.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/signalRListSkus.js +31 -0
  43. package/dist-esm/samples-dev/signalRListSkus.js.map +1 -0
  44. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.d.ts +2 -0
  45. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.js +32 -0
  47. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.js.map +1 -0
  48. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.d.ts +2 -0
  49. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.js +32 -0
  51. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.js.map +1 -0
  52. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.d.ts +2 -0
  53. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.js +45 -0
  55. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.js.map +1 -0
  56. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.d.ts +2 -0
  57. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.js +41 -0
  59. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.js.map +1 -0
  60. package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.d.ts +2 -0
  61. package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.js +45 -0
  63. package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.js.map +1 -0
  64. package/dist-esm/samples-dev/signalRRegenerateKey.d.ts +2 -0
  65. package/dist-esm/samples-dev/signalRRegenerateKey.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/signalRRegenerateKey.js +32 -0
  67. package/dist-esm/samples-dev/signalRRegenerateKey.js.map +1 -0
  68. package/dist-esm/samples-dev/signalRRestart.d.ts +2 -0
  69. package/dist-esm/samples-dev/signalRRestart.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/signalRRestart.js +31 -0
  71. package/dist-esm/samples-dev/signalRRestart.js.map +1 -0
  72. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.d.ts +2 -0
  73. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.js +37 -0
  75. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.js.map +1 -0
  76. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.d.ts +2 -0
  77. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.js +32 -0
  79. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.js.map +1 -0
  80. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.d.ts +2 -0
  81. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.js +32 -0
  83. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.js.map +1 -0
  84. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.d.ts +2 -0
  85. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.js +45 -0
  87. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.js.map +1 -0
  88. package/dist-esm/samples-dev/signalRUpdate.d.ts +2 -0
  89. package/dist-esm/samples-dev/signalRUpdate.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/signalRUpdate.js +73 -0
  91. package/dist-esm/samples-dev/signalRUpdate.js.map +1 -0
  92. package/dist-esm/samples-dev/usagesList.d.ts +2 -0
  93. package/dist-esm/samples-dev/usagesList.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/usagesList.js +44 -0
  95. package/dist-esm/samples-dev/usagesList.js.map +1 -0
  96. package/dist-esm/src/index.d.ts +5 -0
  97. package/dist-esm/src/index.d.ts.map +1 -0
  98. package/dist-esm/src/index.js +12 -0
  99. package/dist-esm/src/index.js.map +1 -0
  100. package/dist-esm/src/lroImpl.d.ts +16 -0
  101. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  102. package/dist-esm/src/lroImpl.js +29 -0
  103. package/dist-esm/src/lroImpl.js.map +1 -0
  104. package/dist-esm/src/models/index.d.ts +1116 -0
  105. package/dist-esm/src/models/index.d.ts.map +1 -0
  106. package/dist-esm/src/models/index.js +109 -0
  107. package/dist-esm/src/models/index.js.map +1 -0
  108. package/dist-esm/src/models/mappers.d.ts +54 -0
  109. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  110. package/{esm → dist-esm/src}/models/mappers.js +831 -726
  111. package/dist-esm/src/models/mappers.js.map +1 -0
  112. package/dist-esm/src/models/parameters.d.ts +18 -0
  113. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  114. package/dist-esm/src/models/parameters.js +144 -0
  115. package/dist-esm/src/models/parameters.js.map +1 -0
  116. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  117. package/dist-esm/src/operations/index.d.ts.map +1 -0
  118. package/{esm → dist-esm/src}/operations/index.js +1 -2
  119. package/dist-esm/src/operations/index.js.map +1 -0
  120. package/dist-esm/src/operations/operations.d.ts +32 -0
  121. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operations/operations.js +120 -0
  123. package/dist-esm/src/operations/operations.js.map +1 -0
  124. package/dist-esm/src/operations/signalR.d.ts +176 -0
  125. package/dist-esm/src/operations/signalR.d.ts.map +1 -0
  126. package/dist-esm/src/operations/signalR.js +765 -0
  127. package/dist-esm/src/operations/signalR.js.map +1 -0
  128. package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts +79 -0
  129. package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts.map +1 -0
  130. package/dist-esm/src/operations/signalRPrivateEndpointConnections.js +303 -0
  131. package/dist-esm/src/operations/signalRPrivateEndpointConnections.js.map +1 -0
  132. package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts +41 -0
  133. package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts.map +1 -0
  134. package/dist-esm/src/operations/signalRPrivateLinkResources.js +140 -0
  135. package/dist-esm/src/operations/signalRPrivateLinkResources.js.map +1 -0
  136. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts +89 -0
  137. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -0
  138. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js +355 -0
  139. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js.map +1 -0
  140. package/dist-esm/src/operations/usages.d.ts +35 -0
  141. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  142. package/dist-esm/src/operations/usages.js +132 -0
  143. package/dist-esm/src/operations/usages.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  145. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  147. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  149. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  150. package/{src/models/usagesMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -9
  151. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/signalR.d.ts +138 -0
  153. package/dist-esm/src/operationsInterfaces/signalR.d.ts.map +1 -0
  154. package/{esm/models/usagesMappers.js → dist-esm/src/operationsInterfaces/signalR.js} +2 -2
  155. package/dist-esm/src/operationsInterfaces/signalR.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +52 -0
  157. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts +14 -0
  161. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +62 -0
  165. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
  169. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  170. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/usages.js} +2 -1
  171. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  172. package/dist-esm/src/signalRManagementClient.d.ts +24 -0
  173. package/dist-esm/src/signalRManagementClient.d.ts.map +1 -0
  174. package/dist-esm/src/signalRManagementClient.js +57 -0
  175. package/dist-esm/src/signalRManagementClient.js.map +1 -0
  176. package/dist-esm/test/sampleTest.d.ts +2 -0
  177. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  178. package/dist-esm/test/sampleTest.js +40 -0
  179. package/dist-esm/test/sampleTest.js.map +1 -0
  180. package/package.json +77 -33
  181. package/review/arm-signalr.api.md +873 -0
  182. package/rollup.config.js +181 -30
  183. package/src/index.ts +12 -0
  184. package/src/lroImpl.ts +34 -0
  185. package/src/models/index.ts +938 -1349
  186. package/src/models/mappers.ts +844 -731
  187. package/src/models/parameters.ts +99 -30
  188. package/src/operations/index.ts +1 -2
  189. package/src/operations/operations.ts +85 -73
  190. package/src/operations/signalR.ts +789 -484
  191. package/src/operations/signalRPrivateEndpointConnections.ts +269 -208
  192. package/src/operations/signalRPrivateLinkResources.ts +126 -86
  193. package/src/operations/signalRSharedPrivateLinkResources.ts +350 -201
  194. package/src/operations/usages.ts +105 -80
  195. package/src/operationsInterfaces/index.ts +14 -0
  196. package/src/operationsInterfaces/operations.ts +22 -0
  197. package/src/operationsInterfaces/signalR.ts +248 -0
  198. package/src/operationsInterfaces/signalRPrivateEndpointConnections.ts +94 -0
  199. package/src/operationsInterfaces/signalRPrivateLinkResources.ts +30 -0
  200. package/src/operationsInterfaces/signalRSharedPrivateLinkResources.ts +117 -0
  201. package/src/operationsInterfaces/usages.ts +24 -0
  202. package/src/signalRManagementClient.ts +92 -44
  203. package/tsconfig.json +5 -4
  204. package/types/arm-signalr.d.ts +1549 -0
  205. package/types/tsdoc-metadata.json +11 -0
  206. package/dist/arm-signalr.js +0 -3220
  207. package/dist/arm-signalr.js.map +0 -1
  208. package/dist/arm-signalr.min.js +0 -1
  209. package/dist/arm-signalr.min.js.map +0 -1
  210. package/esm/models/index.d.ts +0 -1552
  211. package/esm/models/index.d.ts.map +0 -1
  212. package/esm/models/index.js.map +0 -1
  213. package/esm/models/mappers.d.ts +0 -51
  214. package/esm/models/mappers.d.ts.map +0 -1
  215. package/esm/models/mappers.js.map +0 -1
  216. package/esm/models/operationsMappers.d.ts +0 -2
  217. package/esm/models/operationsMappers.d.ts.map +0 -1
  218. package/esm/models/operationsMappers.js +0 -9
  219. package/esm/models/operationsMappers.js.map +0 -1
  220. package/esm/models/parameters.d.ts +0 -11
  221. package/esm/models/parameters.d.ts.map +0 -1
  222. package/esm/models/parameters.js +0 -100
  223. package/esm/models/parameters.js.map +0 -1
  224. package/esm/models/signalRMappers.d.ts +0 -2
  225. package/esm/models/signalRMappers.d.ts.map +0 -1
  226. package/esm/models/signalRMappers.js +0 -9
  227. package/esm/models/signalRMappers.js.map +0 -1
  228. package/esm/models/signalRPrivateEndpointConnectionsMappers.d.ts +0 -2
  229. package/esm/models/signalRPrivateEndpointConnectionsMappers.d.ts.map +0 -1
  230. package/esm/models/signalRPrivateEndpointConnectionsMappers.js +0 -9
  231. package/esm/models/signalRPrivateEndpointConnectionsMappers.js.map +0 -1
  232. package/esm/models/signalRPrivateLinkResourcesMappers.d.ts +0 -2
  233. package/esm/models/signalRPrivateLinkResourcesMappers.d.ts.map +0 -1
  234. package/esm/models/signalRPrivateLinkResourcesMappers.js +0 -9
  235. package/esm/models/signalRPrivateLinkResourcesMappers.js.map +0 -1
  236. package/esm/models/signalRSharedPrivateLinkResourcesMappers.d.ts +0 -2
  237. package/esm/models/signalRSharedPrivateLinkResourcesMappers.d.ts.map +0 -1
  238. package/esm/models/signalRSharedPrivateLinkResourcesMappers.js +0 -9
  239. package/esm/models/signalRSharedPrivateLinkResourcesMappers.js.map +0 -1
  240. package/esm/models/usagesMappers.d.ts +0 -2
  241. package/esm/models/usagesMappers.d.ts.map +0 -1
  242. package/esm/models/usagesMappers.js.map +0 -1
  243. package/esm/operations/index.d.ts.map +0 -1
  244. package/esm/operations/index.js.map +0 -1
  245. package/esm/operations/operations.d.ts +0 -46
  246. package/esm/operations/operations.d.ts.map +0 -1
  247. package/esm/operations/operations.js +0 -79
  248. package/esm/operations/operations.js.map +0 -1
  249. package/esm/operations/signalR.d.ts +0 -253
  250. package/esm/operations/signalR.d.ts.map +0 -1
  251. package/esm/operations/signalR.js +0 -519
  252. package/esm/operations/signalR.js.map +0 -1
  253. package/esm/operations/signalRPrivateEndpointConnections.d.ts +0 -133
  254. package/esm/operations/signalRPrivateEndpointConnections.d.ts.map +0 -1
  255. package/esm/operations/signalRPrivateEndpointConnections.js +0 -213
  256. package/esm/operations/signalRPrivateEndpointConnections.js.map +0 -1
  257. package/esm/operations/signalRPrivateLinkResources.d.ts +0 -55
  258. package/esm/operations/signalRPrivateLinkResources.d.ts.map +0 -1
  259. package/esm/operations/signalRPrivateLinkResources.js +0 -86
  260. package/esm/operations/signalRPrivateLinkResources.js.map +0 -1
  261. package/esm/operations/signalRSharedPrivateLinkResources.d.ts +0 -125
  262. package/esm/operations/signalRSharedPrivateLinkResources.d.ts.map +0 -1
  263. package/esm/operations/signalRSharedPrivateLinkResources.js +0 -240
  264. package/esm/operations/signalRSharedPrivateLinkResources.js.map +0 -1
  265. package/esm/operations/usages.d.ts +0 -49
  266. package/esm/operations/usages.d.ts.map +0 -1
  267. package/esm/operations/usages.js +0 -84
  268. package/esm/operations/usages.js.map +0 -1
  269. package/esm/signalRManagementClient.d.ts +0 -30
  270. package/esm/signalRManagementClient.d.ts.map +0 -1
  271. package/esm/signalRManagementClient.js +0 -43
  272. package/esm/signalRManagementClient.js.map +0 -1
  273. package/esm/signalRManagementClientContext.d.ts +0 -23
  274. package/esm/signalRManagementClientContext.d.ts.map +0 -1
  275. package/esm/signalRManagementClientContext.js +0 -61
  276. package/esm/signalRManagementClientContext.js.map +0 -1
  277. package/src/models/operationsMappers.ts +0 -21
  278. package/src/models/signalRMappers.ts +0 -44
  279. package/src/models/signalRPrivateEndpointConnectionsMappers.ts +0 -40
  280. package/src/models/signalRPrivateLinkResourcesMappers.ts +0 -40
  281. package/src/models/signalRSharedPrivateLinkResourcesMappers.ts +0 -40
  282. package/src/signalRManagementClientContext.ts +0 -68
@@ -1,3220 +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
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmSignalr = {}), global.msRestAzure, global.msRest));
12
- }(this, (function (exports, msRestAzure, msRest) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- var __assign = function() {
44
- __assign = Object.assign || function __assign(t) {
45
- for (var s, i = 1, n = arguments.length; i < n; i++) {
46
- s = arguments[i];
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
- }
49
- return t;
50
- };
51
- return __assign.apply(this, arguments);
52
- };
53
-
54
- /*
55
- * Copyright (c) Microsoft Corporation.
56
- * Licensed under the MIT License.
57
- *
58
- * Code generated by Microsoft (R) AutoRest Code Generator.
59
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
60
- */
61
-
62
- var index = /*#__PURE__*/Object.freeze({
63
- __proto__: null
64
- });
65
-
66
- /*
67
- * Copyright (c) Microsoft Corporation.
68
- * Licensed under the MIT License.
69
- *
70
- * Code generated by Microsoft (R) AutoRest Code Generator.
71
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
72
- */
73
- var CloudError = msRestAzure.CloudErrorMapper;
74
- var BaseResource = msRestAzure.BaseResourceMapper;
75
- var Dimension = {
76
- serializedName: "Dimension",
77
- type: {
78
- name: "Composite",
79
- className: "Dimension",
80
- modelProperties: {
81
- name: {
82
- serializedName: "name",
83
- type: {
84
- name: "String"
85
- }
86
- },
87
- displayName: {
88
- serializedName: "displayName",
89
- type: {
90
- name: "String"
91
- }
92
- },
93
- internalName: {
94
- serializedName: "internalName",
95
- type: {
96
- name: "String"
97
- }
98
- },
99
- toBeExportedForShoebox: {
100
- serializedName: "toBeExportedForShoebox",
101
- type: {
102
- name: "Boolean"
103
- }
104
- }
105
- }
106
- }
107
- };
108
- var LogSpecification = {
109
- serializedName: "LogSpecification",
110
- type: {
111
- name: "Composite",
112
- className: "LogSpecification",
113
- modelProperties: {
114
- name: {
115
- serializedName: "name",
116
- type: {
117
- name: "String"
118
- }
119
- },
120
- displayName: {
121
- serializedName: "displayName",
122
- type: {
123
- name: "String"
124
- }
125
- }
126
- }
127
- }
128
- };
129
- var UserAssignedIdentityProperty = {
130
- serializedName: "UserAssignedIdentityProperty",
131
- type: {
132
- name: "Composite",
133
- className: "UserAssignedIdentityProperty",
134
- modelProperties: {
135
- principalId: {
136
- readOnly: true,
137
- serializedName: "principalId",
138
- type: {
139
- name: "String"
140
- }
141
- },
142
- clientId: {
143
- readOnly: true,
144
- serializedName: "clientId",
145
- type: {
146
- name: "String"
147
- }
148
- }
149
- }
150
- }
151
- };
152
- var ManagedIdentity = {
153
- serializedName: "ManagedIdentity",
154
- type: {
155
- name: "Composite",
156
- className: "ManagedIdentity",
157
- modelProperties: {
158
- type: {
159
- serializedName: "type",
160
- type: {
161
- name: "String"
162
- }
163
- },
164
- userAssignedIdentities: {
165
- serializedName: "userAssignedIdentities",
166
- type: {
167
- name: "Dictionary",
168
- value: {
169
- type: {
170
- name: "Composite",
171
- className: "UserAssignedIdentityProperty"
172
- }
173
- }
174
- }
175
- },
176
- principalId: {
177
- readOnly: true,
178
- serializedName: "principalId",
179
- type: {
180
- name: "String"
181
- }
182
- },
183
- tenantId: {
184
- readOnly: true,
185
- serializedName: "tenantId",
186
- type: {
187
- name: "String"
188
- }
189
- }
190
- }
191
- }
192
- };
193
- var ManagedIdentitySettings = {
194
- serializedName: "ManagedIdentitySettings",
195
- type: {
196
- name: "Composite",
197
- className: "ManagedIdentitySettings",
198
- modelProperties: {
199
- resource: {
200
- serializedName: "resource",
201
- type: {
202
- name: "String"
203
- }
204
- }
205
- }
206
- }
207
- };
208
- var MetricSpecification = {
209
- serializedName: "MetricSpecification",
210
- type: {
211
- name: "Composite",
212
- className: "MetricSpecification",
213
- modelProperties: {
214
- name: {
215
- serializedName: "name",
216
- type: {
217
- name: "String"
218
- }
219
- },
220
- displayName: {
221
- serializedName: "displayName",
222
- type: {
223
- name: "String"
224
- }
225
- },
226
- displayDescription: {
227
- serializedName: "displayDescription",
228
- type: {
229
- name: "String"
230
- }
231
- },
232
- unit: {
233
- serializedName: "unit",
234
- type: {
235
- name: "String"
236
- }
237
- },
238
- aggregationType: {
239
- serializedName: "aggregationType",
240
- type: {
241
- name: "String"
242
- }
243
- },
244
- fillGapWithZero: {
245
- serializedName: "fillGapWithZero",
246
- type: {
247
- name: "String"
248
- }
249
- },
250
- category: {
251
- serializedName: "category",
252
- type: {
253
- name: "String"
254
- }
255
- },
256
- dimensions: {
257
- serializedName: "dimensions",
258
- type: {
259
- name: "Sequence",
260
- element: {
261
- type: {
262
- name: "Composite",
263
- className: "Dimension"
264
- }
265
- }
266
- }
267
- }
268
- }
269
- }
270
- };
271
- var NameAvailability = {
272
- serializedName: "NameAvailability",
273
- type: {
274
- name: "Composite",
275
- className: "NameAvailability",
276
- modelProperties: {
277
- nameAvailable: {
278
- serializedName: "nameAvailable",
279
- type: {
280
- name: "Boolean"
281
- }
282
- },
283
- reason: {
284
- serializedName: "reason",
285
- type: {
286
- name: "String"
287
- }
288
- },
289
- message: {
290
- serializedName: "message",
291
- type: {
292
- name: "String"
293
- }
294
- }
295
- }
296
- }
297
- };
298
- var NameAvailabilityParameters = {
299
- serializedName: "NameAvailabilityParameters",
300
- type: {
301
- name: "Composite",
302
- className: "NameAvailabilityParameters",
303
- modelProperties: {
304
- type: {
305
- required: true,
306
- serializedName: "type",
307
- type: {
308
- name: "String"
309
- }
310
- },
311
- name: {
312
- required: true,
313
- serializedName: "name",
314
- type: {
315
- name: "String"
316
- }
317
- }
318
- }
319
- }
320
- };
321
- var NetworkACL = {
322
- serializedName: "NetworkACL",
323
- type: {
324
- name: "Composite",
325
- className: "NetworkACL",
326
- modelProperties: {
327
- allow: {
328
- serializedName: "allow",
329
- type: {
330
- name: "Sequence",
331
- element: {
332
- type: {
333
- name: "String"
334
- }
335
- }
336
- }
337
- },
338
- deny: {
339
- serializedName: "deny",
340
- type: {
341
- name: "Sequence",
342
- element: {
343
- type: {
344
- name: "String"
345
- }
346
- }
347
- }
348
- }
349
- }
350
- }
351
- };
352
- var OperationDisplay = {
353
- serializedName: "OperationDisplay",
354
- type: {
355
- name: "Composite",
356
- className: "OperationDisplay",
357
- modelProperties: {
358
- provider: {
359
- serializedName: "provider",
360
- type: {
361
- name: "String"
362
- }
363
- },
364
- resource: {
365
- serializedName: "resource",
366
- type: {
367
- name: "String"
368
- }
369
- },
370
- operation: {
371
- serializedName: "operation",
372
- type: {
373
- name: "String"
374
- }
375
- },
376
- description: {
377
- serializedName: "description",
378
- type: {
379
- name: "String"
380
- }
381
- }
382
- }
383
- }
384
- };
385
- var ServiceSpecification = {
386
- serializedName: "ServiceSpecification",
387
- type: {
388
- name: "Composite",
389
- className: "ServiceSpecification",
390
- modelProperties: {
391
- metricSpecifications: {
392
- serializedName: "metricSpecifications",
393
- type: {
394
- name: "Sequence",
395
- element: {
396
- type: {
397
- name: "Composite",
398
- className: "MetricSpecification"
399
- }
400
- }
401
- }
402
- },
403
- logSpecifications: {
404
- serializedName: "logSpecifications",
405
- type: {
406
- name: "Sequence",
407
- element: {
408
- type: {
409
- name: "Composite",
410
- className: "LogSpecification"
411
- }
412
- }
413
- }
414
- }
415
- }
416
- }
417
- };
418
- var OperationProperties = {
419
- serializedName: "OperationProperties",
420
- type: {
421
- name: "Composite",
422
- className: "OperationProperties",
423
- modelProperties: {
424
- serviceSpecification: {
425
- serializedName: "serviceSpecification",
426
- type: {
427
- name: "Composite",
428
- className: "ServiceSpecification"
429
- }
430
- }
431
- }
432
- }
433
- };
434
- var Operation = {
435
- serializedName: "Operation",
436
- type: {
437
- name: "Composite",
438
- className: "Operation",
439
- modelProperties: {
440
- name: {
441
- serializedName: "name",
442
- type: {
443
- name: "String"
444
- }
445
- },
446
- isDataAction: {
447
- serializedName: "isDataAction",
448
- type: {
449
- name: "Boolean"
450
- }
451
- },
452
- display: {
453
- serializedName: "display",
454
- type: {
455
- name: "Composite",
456
- className: "OperationDisplay"
457
- }
458
- },
459
- origin: {
460
- serializedName: "origin",
461
- type: {
462
- name: "String"
463
- }
464
- },
465
- properties: {
466
- serializedName: "properties",
467
- type: {
468
- name: "Composite",
469
- className: "OperationProperties"
470
- }
471
- }
472
- }
473
- }
474
- };
475
- var PrivateEndpoint = {
476
- serializedName: "PrivateEndpoint",
477
- type: {
478
- name: "Composite",
479
- className: "PrivateEndpoint",
480
- modelProperties: {
481
- id: {
482
- serializedName: "id",
483
- type: {
484
- name: "String"
485
- }
486
- }
487
- }
488
- }
489
- };
490
- var PrivateEndpointACL = {
491
- serializedName: "PrivateEndpointACL",
492
- type: {
493
- name: "Composite",
494
- className: "PrivateEndpointACL",
495
- modelProperties: __assign(__assign({}, NetworkACL.type.modelProperties), { name: {
496
- required: true,
497
- serializedName: "name",
498
- type: {
499
- name: "String"
500
- }
501
- } })
502
- }
503
- };
504
- var SystemData = {
505
- serializedName: "systemData",
506
- type: {
507
- name: "Composite",
508
- className: "SystemData",
509
- modelProperties: {
510
- createdBy: {
511
- serializedName: "createdBy",
512
- type: {
513
- name: "String"
514
- }
515
- },
516
- createdByType: {
517
- serializedName: "createdByType",
518
- type: {
519
- name: "String"
520
- }
521
- },
522
- createdAt: {
523
- serializedName: "createdAt",
524
- type: {
525
- name: "DateTime"
526
- }
527
- },
528
- lastModifiedBy: {
529
- serializedName: "lastModifiedBy",
530
- type: {
531
- name: "String"
532
- }
533
- },
534
- lastModifiedByType: {
535
- serializedName: "lastModifiedByType",
536
- type: {
537
- name: "String"
538
- }
539
- },
540
- lastModifiedAt: {
541
- serializedName: "lastModifiedAt",
542
- type: {
543
- name: "DateTime"
544
- }
545
- }
546
- }
547
- }
548
- };
549
- var PrivateLinkServiceConnectionState = {
550
- serializedName: "PrivateLinkServiceConnectionState",
551
- type: {
552
- name: "Composite",
553
- className: "PrivateLinkServiceConnectionState",
554
- modelProperties: {
555
- status: {
556
- serializedName: "status",
557
- type: {
558
- name: "String"
559
- }
560
- },
561
- description: {
562
- serializedName: "description",
563
- type: {
564
- name: "String"
565
- }
566
- },
567
- actionsRequired: {
568
- serializedName: "actionsRequired",
569
- type: {
570
- name: "String"
571
- }
572
- }
573
- }
574
- }
575
- };
576
- var Resource = {
577
- serializedName: "Resource",
578
- type: {
579
- name: "Composite",
580
- className: "Resource",
581
- modelProperties: {
582
- id: {
583
- readOnly: true,
584
- serializedName: "id",
585
- type: {
586
- name: "String"
587
- }
588
- },
589
- name: {
590
- readOnly: true,
591
- serializedName: "name",
592
- type: {
593
- name: "String"
594
- }
595
- },
596
- type: {
597
- readOnly: true,
598
- serializedName: "type",
599
- type: {
600
- name: "String"
601
- }
602
- }
603
- }
604
- }
605
- };
606
- var ProxyResource = {
607
- serializedName: "ProxyResource",
608
- type: {
609
- name: "Composite",
610
- className: "ProxyResource",
611
- modelProperties: __assign({}, Resource.type.modelProperties)
612
- }
613
- };
614
- var PrivateEndpointConnection = {
615
- serializedName: "PrivateEndpointConnection",
616
- type: {
617
- name: "Composite",
618
- className: "PrivateEndpointConnection",
619
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { systemData: {
620
- readOnly: true,
621
- serializedName: "systemData",
622
- type: {
623
- name: "Composite",
624
- className: "SystemData"
625
- }
626
- }, provisioningState: {
627
- readOnly: true,
628
- serializedName: "properties.provisioningState",
629
- type: {
630
- name: "String"
631
- }
632
- }, privateEndpoint: {
633
- serializedName: "properties.privateEndpoint",
634
- type: {
635
- name: "Composite",
636
- className: "PrivateEndpoint"
637
- }
638
- }, privateLinkServiceConnectionState: {
639
- serializedName: "properties.privateLinkServiceConnectionState",
640
- type: {
641
- name: "Composite",
642
- className: "PrivateLinkServiceConnectionState"
643
- }
644
- } })
645
- }
646
- };
647
- var ShareablePrivateLinkResourceProperties = {
648
- serializedName: "ShareablePrivateLinkResourceProperties",
649
- type: {
650
- name: "Composite",
651
- className: "ShareablePrivateLinkResourceProperties",
652
- modelProperties: {
653
- description: {
654
- serializedName: "description",
655
- type: {
656
- name: "String"
657
- }
658
- },
659
- groupId: {
660
- serializedName: "groupId",
661
- type: {
662
- name: "String"
663
- }
664
- },
665
- type: {
666
- serializedName: "type",
667
- type: {
668
- name: "String"
669
- }
670
- }
671
- }
672
- }
673
- };
674
- var ShareablePrivateLinkResourceType = {
675
- serializedName: "ShareablePrivateLinkResourceType",
676
- type: {
677
- name: "Composite",
678
- className: "ShareablePrivateLinkResourceType",
679
- modelProperties: {
680
- name: {
681
- serializedName: "name",
682
- type: {
683
- name: "String"
684
- }
685
- },
686
- properties: {
687
- serializedName: "properties",
688
- type: {
689
- name: "Composite",
690
- className: "ShareablePrivateLinkResourceProperties"
691
- }
692
- }
693
- }
694
- }
695
- };
696
- var PrivateLinkResource = {
697
- serializedName: "PrivateLinkResource",
698
- type: {
699
- name: "Composite",
700
- className: "PrivateLinkResource",
701
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { groupId: {
702
- serializedName: "properties.groupId",
703
- type: {
704
- name: "String"
705
- }
706
- }, requiredMembers: {
707
- serializedName: "properties.requiredMembers",
708
- type: {
709
- name: "Sequence",
710
- element: {
711
- type: {
712
- name: "String"
713
- }
714
- }
715
- }
716
- }, requiredZoneNames: {
717
- serializedName: "properties.requiredZoneNames",
718
- type: {
719
- name: "Sequence",
720
- element: {
721
- type: {
722
- name: "String"
723
- }
724
- }
725
- }
726
- }, shareablePrivateLinkResourceTypes: {
727
- serializedName: "properties.shareablePrivateLinkResourceTypes",
728
- type: {
729
- name: "Sequence",
730
- element: {
731
- type: {
732
- name: "Composite",
733
- className: "ShareablePrivateLinkResourceType"
734
- }
735
- }
736
- }
737
- } })
738
- }
739
- };
740
- var RegenerateKeyParameters = {
741
- serializedName: "RegenerateKeyParameters",
742
- type: {
743
- name: "Composite",
744
- className: "RegenerateKeyParameters",
745
- modelProperties: {
746
- keyType: {
747
- serializedName: "keyType",
748
- type: {
749
- name: "String"
750
- }
751
- }
752
- }
753
- }
754
- };
755
- var ResourceSku = {
756
- serializedName: "ResourceSku",
757
- type: {
758
- name: "Composite",
759
- className: "ResourceSku",
760
- modelProperties: {
761
- name: {
762
- required: true,
763
- serializedName: "name",
764
- type: {
765
- name: "String"
766
- }
767
- },
768
- tier: {
769
- serializedName: "tier",
770
- type: {
771
- name: "String"
772
- }
773
- },
774
- size: {
775
- readOnly: true,
776
- serializedName: "size",
777
- type: {
778
- name: "String"
779
- }
780
- },
781
- family: {
782
- readOnly: true,
783
- serializedName: "family",
784
- type: {
785
- name: "String"
786
- }
787
- },
788
- capacity: {
789
- serializedName: "capacity",
790
- type: {
791
- name: "Number"
792
- }
793
- }
794
- }
795
- }
796
- };
797
- var UpstreamAuthSettings = {
798
- serializedName: "UpstreamAuthSettings",
799
- type: {
800
- name: "Composite",
801
- className: "UpstreamAuthSettings",
802
- modelProperties: {
803
- type: {
804
- serializedName: "type",
805
- type: {
806
- name: "String"
807
- }
808
- },
809
- managedIdentity: {
810
- serializedName: "managedIdentity",
811
- type: {
812
- name: "Composite",
813
- className: "ManagedIdentitySettings"
814
- }
815
- }
816
- }
817
- }
818
- };
819
- var UpstreamTemplate = {
820
- serializedName: "UpstreamTemplate",
821
- type: {
822
- name: "Composite",
823
- className: "UpstreamTemplate",
824
- modelProperties: {
825
- hubPattern: {
826
- serializedName: "hubPattern",
827
- type: {
828
- name: "String"
829
- }
830
- },
831
- eventPattern: {
832
- serializedName: "eventPattern",
833
- type: {
834
- name: "String"
835
- }
836
- },
837
- categoryPattern: {
838
- serializedName: "categoryPattern",
839
- type: {
840
- name: "String"
841
- }
842
- },
843
- urlTemplate: {
844
- required: true,
845
- serializedName: "urlTemplate",
846
- type: {
847
- name: "String"
848
- }
849
- },
850
- auth: {
851
- serializedName: "auth",
852
- type: {
853
- name: "Composite",
854
- className: "UpstreamAuthSettings"
855
- }
856
- }
857
- }
858
- }
859
- };
860
- var ServerlessUpstreamSettings = {
861
- serializedName: "ServerlessUpstreamSettings",
862
- type: {
863
- name: "Composite",
864
- className: "ServerlessUpstreamSettings",
865
- modelProperties: {
866
- templates: {
867
- serializedName: "templates",
868
- type: {
869
- name: "Sequence",
870
- element: {
871
- type: {
872
- name: "Composite",
873
- className: "UpstreamTemplate"
874
- }
875
- }
876
- }
877
- }
878
- }
879
- }
880
- };
881
- var SharedPrivateLinkResource = {
882
- serializedName: "SharedPrivateLinkResource",
883
- type: {
884
- name: "Composite",
885
- className: "SharedPrivateLinkResource",
886
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { systemData: {
887
- readOnly: true,
888
- serializedName: "systemData",
889
- type: {
890
- name: "Composite",
891
- className: "SystemData"
892
- }
893
- }, groupId: {
894
- required: true,
895
- serializedName: "properties.groupId",
896
- type: {
897
- name: "String"
898
- }
899
- }, privateLinkResourceId: {
900
- required: true,
901
- serializedName: "properties.privateLinkResourceId",
902
- type: {
903
- name: "String"
904
- }
905
- }, provisioningState: {
906
- readOnly: true,
907
- serializedName: "properties.provisioningState",
908
- type: {
909
- name: "String"
910
- }
911
- }, requestMessage: {
912
- serializedName: "properties.requestMessage",
913
- type: {
914
- name: "String"
915
- }
916
- }, status: {
917
- readOnly: true,
918
- serializedName: "properties.status",
919
- type: {
920
- name: "String"
921
- }
922
- } })
923
- }
924
- };
925
- var SignalRCorsSettings = {
926
- serializedName: "SignalRCorsSettings",
927
- type: {
928
- name: "Composite",
929
- className: "SignalRCorsSettings",
930
- modelProperties: {
931
- allowedOrigins: {
932
- serializedName: "allowedOrigins",
933
- type: {
934
- name: "Sequence",
935
- element: {
936
- type: {
937
- name: "String"
938
- }
939
- }
940
- }
941
- }
942
- }
943
- }
944
- };
945
- var SignalRFeature = {
946
- serializedName: "SignalRFeature",
947
- type: {
948
- name: "Composite",
949
- className: "SignalRFeature",
950
- modelProperties: {
951
- flag: {
952
- required: true,
953
- serializedName: "flag",
954
- type: {
955
- name: "String"
956
- }
957
- },
958
- value: {
959
- required: true,
960
- serializedName: "value",
961
- constraints: {
962
- MaxLength: 128,
963
- MinLength: 1
964
- },
965
- type: {
966
- name: "String"
967
- }
968
- },
969
- properties: {
970
- serializedName: "properties",
971
- type: {
972
- name: "Dictionary",
973
- value: {
974
- type: {
975
- name: "String"
976
- }
977
- }
978
- }
979
- }
980
- }
981
- }
982
- };
983
- var SignalRKeys = {
984
- serializedName: "SignalRKeys",
985
- type: {
986
- name: "Composite",
987
- className: "SignalRKeys",
988
- modelProperties: {
989
- primaryKey: {
990
- serializedName: "primaryKey",
991
- type: {
992
- name: "String"
993
- }
994
- },
995
- secondaryKey: {
996
- serializedName: "secondaryKey",
997
- type: {
998
- name: "String"
999
- }
1000
- },
1001
- primaryConnectionString: {
1002
- serializedName: "primaryConnectionString",
1003
- type: {
1004
- name: "String"
1005
- }
1006
- },
1007
- secondaryConnectionString: {
1008
- serializedName: "secondaryConnectionString",
1009
- type: {
1010
- name: "String"
1011
- }
1012
- }
1013
- }
1014
- }
1015
- };
1016
- var SignalRNetworkACLs = {
1017
- serializedName: "SignalRNetworkACLs",
1018
- type: {
1019
- name: "Composite",
1020
- className: "SignalRNetworkACLs",
1021
- modelProperties: {
1022
- defaultAction: {
1023
- serializedName: "defaultAction",
1024
- type: {
1025
- name: "String"
1026
- }
1027
- },
1028
- publicNetwork: {
1029
- serializedName: "publicNetwork",
1030
- type: {
1031
- name: "Composite",
1032
- className: "NetworkACL"
1033
- }
1034
- },
1035
- privateEndpoints: {
1036
- serializedName: "privateEndpoints",
1037
- type: {
1038
- name: "Sequence",
1039
- element: {
1040
- type: {
1041
- name: "Composite",
1042
- className: "PrivateEndpointACL"
1043
- }
1044
- }
1045
- }
1046
- }
1047
- }
1048
- }
1049
- };
1050
- var SignalRTlsSettings = {
1051
- serializedName: "SignalRTlsSettings",
1052
- type: {
1053
- name: "Composite",
1054
- className: "SignalRTlsSettings",
1055
- modelProperties: {
1056
- clientCertEnabled: {
1057
- serializedName: "clientCertEnabled",
1058
- defaultValue: true,
1059
- type: {
1060
- name: "Boolean"
1061
- }
1062
- }
1063
- }
1064
- }
1065
- };
1066
- var TrackedResource = {
1067
- serializedName: "TrackedResource",
1068
- type: {
1069
- name: "Composite",
1070
- className: "TrackedResource",
1071
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { location: {
1072
- serializedName: "location",
1073
- type: {
1074
- name: "String"
1075
- }
1076
- }, tags: {
1077
- serializedName: "tags",
1078
- type: {
1079
- name: "Dictionary",
1080
- value: {
1081
- type: {
1082
- name: "String"
1083
- }
1084
- }
1085
- }
1086
- } })
1087
- }
1088
- };
1089
- var SignalRResource = {
1090
- serializedName: "SignalRResource",
1091
- type: {
1092
- name: "Composite",
1093
- className: "SignalRResource",
1094
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { sku: {
1095
- serializedName: "sku",
1096
- type: {
1097
- name: "Composite",
1098
- className: "ResourceSku"
1099
- }
1100
- }, provisioningState: {
1101
- readOnly: true,
1102
- serializedName: "properties.provisioningState",
1103
- type: {
1104
- name: "String"
1105
- }
1106
- }, externalIP: {
1107
- readOnly: true,
1108
- serializedName: "properties.externalIP",
1109
- type: {
1110
- name: "String"
1111
- }
1112
- }, hostName: {
1113
- readOnly: true,
1114
- serializedName: "properties.hostName",
1115
- type: {
1116
- name: "String"
1117
- }
1118
- }, publicPort: {
1119
- readOnly: true,
1120
- serializedName: "properties.publicPort",
1121
- type: {
1122
- name: "Number"
1123
- }
1124
- }, serverPort: {
1125
- readOnly: true,
1126
- serializedName: "properties.serverPort",
1127
- type: {
1128
- name: "Number"
1129
- }
1130
- }, version: {
1131
- readOnly: true,
1132
- serializedName: "properties.version",
1133
- type: {
1134
- name: "String"
1135
- }
1136
- }, privateEndpointConnections: {
1137
- readOnly: true,
1138
- serializedName: "properties.privateEndpointConnections",
1139
- type: {
1140
- name: "Sequence",
1141
- element: {
1142
- type: {
1143
- name: "Composite",
1144
- className: "PrivateEndpointConnection"
1145
- }
1146
- }
1147
- }
1148
- }, sharedPrivateLinkResources: {
1149
- readOnly: true,
1150
- serializedName: "properties.sharedPrivateLinkResources",
1151
- type: {
1152
- name: "Sequence",
1153
- element: {
1154
- type: {
1155
- name: "Composite",
1156
- className: "SharedPrivateLinkResource"
1157
- }
1158
- }
1159
- }
1160
- }, tls: {
1161
- serializedName: "properties.tls",
1162
- type: {
1163
- name: "Composite",
1164
- className: "SignalRTlsSettings"
1165
- }
1166
- }, features: {
1167
- serializedName: "properties.features",
1168
- type: {
1169
- name: "Sequence",
1170
- element: {
1171
- type: {
1172
- name: "Composite",
1173
- className: "SignalRFeature"
1174
- }
1175
- }
1176
- }
1177
- }, cors: {
1178
- serializedName: "properties.cors",
1179
- type: {
1180
- name: "Composite",
1181
- className: "SignalRCorsSettings"
1182
- }
1183
- }, upstream: {
1184
- serializedName: "properties.upstream",
1185
- type: {
1186
- name: "Composite",
1187
- className: "ServerlessUpstreamSettings"
1188
- }
1189
- }, networkACLs: {
1190
- serializedName: "properties.networkACLs",
1191
- type: {
1192
- name: "Composite",
1193
- className: "SignalRNetworkACLs"
1194
- }
1195
- }, publicNetworkAccess: {
1196
- serializedName: "properties.publicNetworkAccess",
1197
- defaultValue: 'Enabled',
1198
- type: {
1199
- name: "String"
1200
- }
1201
- }, disableLocalAuth: {
1202
- serializedName: "properties.disableLocalAuth",
1203
- defaultValue: false,
1204
- type: {
1205
- name: "Boolean"
1206
- }
1207
- }, disableAadAuth: {
1208
- serializedName: "properties.disableAadAuth",
1209
- defaultValue: false,
1210
- type: {
1211
- name: "Boolean"
1212
- }
1213
- }, kind: {
1214
- serializedName: "kind",
1215
- type: {
1216
- name: "String"
1217
- }
1218
- }, identity: {
1219
- serializedName: "identity",
1220
- type: {
1221
- name: "Composite",
1222
- className: "ManagedIdentity"
1223
- }
1224
- }, systemData: {
1225
- readOnly: true,
1226
- serializedName: "systemData",
1227
- type: {
1228
- name: "Composite",
1229
- className: "SystemData"
1230
- }
1231
- } })
1232
- }
1233
- };
1234
- var SignalRUsageName = {
1235
- serializedName: "SignalRUsageName",
1236
- type: {
1237
- name: "Composite",
1238
- className: "SignalRUsageName",
1239
- modelProperties: {
1240
- value: {
1241
- serializedName: "value",
1242
- type: {
1243
- name: "String"
1244
- }
1245
- },
1246
- localizedValue: {
1247
- serializedName: "localizedValue",
1248
- type: {
1249
- name: "String"
1250
- }
1251
- }
1252
- }
1253
- }
1254
- };
1255
- var SignalRUsage = {
1256
- serializedName: "SignalRUsage",
1257
- type: {
1258
- name: "Composite",
1259
- className: "SignalRUsage",
1260
- modelProperties: {
1261
- id: {
1262
- serializedName: "id",
1263
- type: {
1264
- name: "String"
1265
- }
1266
- },
1267
- currentValue: {
1268
- serializedName: "currentValue",
1269
- type: {
1270
- name: "Number"
1271
- }
1272
- },
1273
- limit: {
1274
- serializedName: "limit",
1275
- type: {
1276
- name: "Number"
1277
- }
1278
- },
1279
- name: {
1280
- serializedName: "name",
1281
- type: {
1282
- name: "Composite",
1283
- className: "SignalRUsageName"
1284
- }
1285
- },
1286
- unit: {
1287
- serializedName: "unit",
1288
- type: {
1289
- name: "String"
1290
- }
1291
- }
1292
- }
1293
- }
1294
- };
1295
- var ErrorAdditionalInfo = {
1296
- serializedName: "ErrorAdditionalInfo",
1297
- type: {
1298
- name: "Composite",
1299
- className: "ErrorAdditionalInfo",
1300
- modelProperties: {
1301
- type: {
1302
- readOnly: true,
1303
- serializedName: "type",
1304
- type: {
1305
- name: "String"
1306
- }
1307
- },
1308
- info: {
1309
- readOnly: true,
1310
- serializedName: "info",
1311
- type: {
1312
- name: "Object"
1313
- }
1314
- }
1315
- }
1316
- }
1317
- };
1318
- var ErrorDetail = {
1319
- serializedName: "ErrorDetail",
1320
- type: {
1321
- name: "Composite",
1322
- className: "ErrorDetail",
1323
- modelProperties: {
1324
- code: {
1325
- readOnly: true,
1326
- serializedName: "code",
1327
- type: {
1328
- name: "String"
1329
- }
1330
- },
1331
- message: {
1332
- readOnly: true,
1333
- serializedName: "message",
1334
- type: {
1335
- name: "String"
1336
- }
1337
- },
1338
- target: {
1339
- readOnly: true,
1340
- serializedName: "target",
1341
- type: {
1342
- name: "String"
1343
- }
1344
- },
1345
- details: {
1346
- readOnly: true,
1347
- serializedName: "details",
1348
- type: {
1349
- name: "Sequence",
1350
- element: {
1351
- type: {
1352
- name: "Composite",
1353
- className: "ErrorDetail"
1354
- }
1355
- }
1356
- }
1357
- },
1358
- additionalInfo: {
1359
- readOnly: true,
1360
- serializedName: "additionalInfo",
1361
- type: {
1362
- name: "Sequence",
1363
- element: {
1364
- type: {
1365
- name: "Composite",
1366
- className: "ErrorAdditionalInfo"
1367
- }
1368
- }
1369
- }
1370
- }
1371
- }
1372
- }
1373
- };
1374
- var ErrorResponse = {
1375
- serializedName: "ErrorResponse",
1376
- type: {
1377
- name: "Composite",
1378
- className: "ErrorResponse",
1379
- modelProperties: {
1380
- error: {
1381
- serializedName: "error",
1382
- type: {
1383
- name: "Composite",
1384
- className: "ErrorDetail"
1385
- }
1386
- }
1387
- }
1388
- }
1389
- };
1390
- var OperationList = {
1391
- serializedName: "OperationList",
1392
- type: {
1393
- name: "Composite",
1394
- className: "OperationList",
1395
- modelProperties: {
1396
- value: {
1397
- serializedName: "",
1398
- type: {
1399
- name: "Sequence",
1400
- element: {
1401
- type: {
1402
- name: "Composite",
1403
- className: "Operation"
1404
- }
1405
- }
1406
- }
1407
- },
1408
- nextLink: {
1409
- serializedName: "nextLink",
1410
- type: {
1411
- name: "String"
1412
- }
1413
- }
1414
- }
1415
- }
1416
- };
1417
- var SignalRResourceList = {
1418
- serializedName: "SignalRResourceList",
1419
- type: {
1420
- name: "Composite",
1421
- className: "SignalRResourceList",
1422
- modelProperties: {
1423
- value: {
1424
- serializedName: "",
1425
- type: {
1426
- name: "Sequence",
1427
- element: {
1428
- type: {
1429
- name: "Composite",
1430
- className: "SignalRResource"
1431
- }
1432
- }
1433
- }
1434
- },
1435
- nextLink: {
1436
- serializedName: "nextLink",
1437
- type: {
1438
- name: "String"
1439
- }
1440
- }
1441
- }
1442
- }
1443
- };
1444
- var SignalRUsageList = {
1445
- serializedName: "SignalRUsageList",
1446
- type: {
1447
- name: "Composite",
1448
- className: "SignalRUsageList",
1449
- modelProperties: {
1450
- value: {
1451
- serializedName: "",
1452
- type: {
1453
- name: "Sequence",
1454
- element: {
1455
- type: {
1456
- name: "Composite",
1457
- className: "SignalRUsage"
1458
- }
1459
- }
1460
- }
1461
- },
1462
- nextLink: {
1463
- serializedName: "nextLink",
1464
- type: {
1465
- name: "String"
1466
- }
1467
- }
1468
- }
1469
- }
1470
- };
1471
- var PrivateEndpointConnectionList = {
1472
- serializedName: "PrivateEndpointConnectionList",
1473
- type: {
1474
- name: "Composite",
1475
- className: "PrivateEndpointConnectionList",
1476
- modelProperties: {
1477
- value: {
1478
- serializedName: "",
1479
- type: {
1480
- name: "Sequence",
1481
- element: {
1482
- type: {
1483
- name: "Composite",
1484
- className: "PrivateEndpointConnection"
1485
- }
1486
- }
1487
- }
1488
- },
1489
- nextLink: {
1490
- serializedName: "nextLink",
1491
- type: {
1492
- name: "String"
1493
- }
1494
- }
1495
- }
1496
- }
1497
- };
1498
- var PrivateLinkResourceList = {
1499
- serializedName: "PrivateLinkResourceList",
1500
- type: {
1501
- name: "Composite",
1502
- className: "PrivateLinkResourceList",
1503
- modelProperties: {
1504
- value: {
1505
- serializedName: "",
1506
- type: {
1507
- name: "Sequence",
1508
- element: {
1509
- type: {
1510
- name: "Composite",
1511
- className: "PrivateLinkResource"
1512
- }
1513
- }
1514
- }
1515
- },
1516
- nextLink: {
1517
- serializedName: "nextLink",
1518
- type: {
1519
- name: "String"
1520
- }
1521
- }
1522
- }
1523
- }
1524
- };
1525
- var SharedPrivateLinkResourceList = {
1526
- serializedName: "SharedPrivateLinkResourceList",
1527
- type: {
1528
- name: "Composite",
1529
- className: "SharedPrivateLinkResourceList",
1530
- modelProperties: {
1531
- value: {
1532
- serializedName: "",
1533
- type: {
1534
- name: "Sequence",
1535
- element: {
1536
- type: {
1537
- name: "Composite",
1538
- className: "SharedPrivateLinkResource"
1539
- }
1540
- }
1541
- }
1542
- },
1543
- nextLink: {
1544
- serializedName: "nextLink",
1545
- type: {
1546
- name: "String"
1547
- }
1548
- }
1549
- }
1550
- }
1551
- };
1552
-
1553
- var mappers = /*#__PURE__*/Object.freeze({
1554
- __proto__: null,
1555
- CloudError: CloudError,
1556
- BaseResource: BaseResource,
1557
- Dimension: Dimension,
1558
- LogSpecification: LogSpecification,
1559
- UserAssignedIdentityProperty: UserAssignedIdentityProperty,
1560
- ManagedIdentity: ManagedIdentity,
1561
- ManagedIdentitySettings: ManagedIdentitySettings,
1562
- MetricSpecification: MetricSpecification,
1563
- NameAvailability: NameAvailability,
1564
- NameAvailabilityParameters: NameAvailabilityParameters,
1565
- NetworkACL: NetworkACL,
1566
- OperationDisplay: OperationDisplay,
1567
- ServiceSpecification: ServiceSpecification,
1568
- OperationProperties: OperationProperties,
1569
- Operation: Operation,
1570
- PrivateEndpoint: PrivateEndpoint,
1571
- PrivateEndpointACL: PrivateEndpointACL,
1572
- SystemData: SystemData,
1573
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1574
- Resource: Resource,
1575
- ProxyResource: ProxyResource,
1576
- PrivateEndpointConnection: PrivateEndpointConnection,
1577
- ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
1578
- ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
1579
- PrivateLinkResource: PrivateLinkResource,
1580
- RegenerateKeyParameters: RegenerateKeyParameters,
1581
- ResourceSku: ResourceSku,
1582
- UpstreamAuthSettings: UpstreamAuthSettings,
1583
- UpstreamTemplate: UpstreamTemplate,
1584
- ServerlessUpstreamSettings: ServerlessUpstreamSettings,
1585
- SharedPrivateLinkResource: SharedPrivateLinkResource,
1586
- SignalRCorsSettings: SignalRCorsSettings,
1587
- SignalRFeature: SignalRFeature,
1588
- SignalRKeys: SignalRKeys,
1589
- SignalRNetworkACLs: SignalRNetworkACLs,
1590
- SignalRTlsSettings: SignalRTlsSettings,
1591
- TrackedResource: TrackedResource,
1592
- SignalRResource: SignalRResource,
1593
- SignalRUsageName: SignalRUsageName,
1594
- SignalRUsage: SignalRUsage,
1595
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1596
- ErrorDetail: ErrorDetail,
1597
- ErrorResponse: ErrorResponse,
1598
- OperationList: OperationList,
1599
- SignalRResourceList: SignalRResourceList,
1600
- SignalRUsageList: SignalRUsageList,
1601
- PrivateEndpointConnectionList: PrivateEndpointConnectionList,
1602
- PrivateLinkResourceList: PrivateLinkResourceList,
1603
- SharedPrivateLinkResourceList: SharedPrivateLinkResourceList
1604
- });
1605
-
1606
- /*
1607
- * Copyright (c) Microsoft Corporation.
1608
- * Licensed under the MIT License.
1609
- *
1610
- * Code generated by Microsoft (R) AutoRest Code Generator.
1611
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1612
- */
1613
-
1614
- var Mappers = /*#__PURE__*/Object.freeze({
1615
- __proto__: null,
1616
- Dimension: Dimension,
1617
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1618
- ErrorDetail: ErrorDetail,
1619
- ErrorResponse: ErrorResponse,
1620
- LogSpecification: LogSpecification,
1621
- MetricSpecification: MetricSpecification,
1622
- Operation: Operation,
1623
- OperationDisplay: OperationDisplay,
1624
- OperationList: OperationList,
1625
- OperationProperties: OperationProperties,
1626
- ServiceSpecification: ServiceSpecification
1627
- });
1628
-
1629
- /*
1630
- * Copyright (c) Microsoft Corporation.
1631
- * Licensed under the MIT License.
1632
- *
1633
- * Code generated by Microsoft (R) AutoRest Code Generator.
1634
- * Changes may cause incorrect behavior and will be lost if the code is
1635
- * regenerated.
1636
- */
1637
- var acceptLanguage = {
1638
- parameterPath: "acceptLanguage",
1639
- mapper: {
1640
- serializedName: "accept-language",
1641
- defaultValue: 'en-US',
1642
- type: {
1643
- name: "String"
1644
- }
1645
- }
1646
- };
1647
- var apiVersion = {
1648
- parameterPath: "apiVersion",
1649
- mapper: {
1650
- required: true,
1651
- serializedName: "api-version",
1652
- type: {
1653
- name: "String"
1654
- }
1655
- }
1656
- };
1657
- var location = {
1658
- parameterPath: "location",
1659
- mapper: {
1660
- required: true,
1661
- serializedName: "location",
1662
- type: {
1663
- name: "String"
1664
- }
1665
- }
1666
- };
1667
- var nextPageLink = {
1668
- parameterPath: "nextPageLink",
1669
- mapper: {
1670
- required: true,
1671
- serializedName: "nextLink",
1672
- type: {
1673
- name: "String"
1674
- }
1675
- },
1676
- skipEncoding: true
1677
- };
1678
- var privateEndpointConnectionName = {
1679
- parameterPath: "privateEndpointConnectionName",
1680
- mapper: {
1681
- required: true,
1682
- serializedName: "privateEndpointConnectionName",
1683
- type: {
1684
- name: "String"
1685
- }
1686
- }
1687
- };
1688
- var resourceGroupName = {
1689
- parameterPath: "resourceGroupName",
1690
- mapper: {
1691
- required: true,
1692
- serializedName: "resourceGroupName",
1693
- type: {
1694
- name: "String"
1695
- }
1696
- }
1697
- };
1698
- var resourceName = {
1699
- parameterPath: "resourceName",
1700
- mapper: {
1701
- required: true,
1702
- serializedName: "resourceName",
1703
- type: {
1704
- name: "String"
1705
- }
1706
- }
1707
- };
1708
- var sharedPrivateLinkResourceName = {
1709
- parameterPath: "sharedPrivateLinkResourceName",
1710
- mapper: {
1711
- required: true,
1712
- serializedName: "sharedPrivateLinkResourceName",
1713
- type: {
1714
- name: "String"
1715
- }
1716
- }
1717
- };
1718
- var subscriptionId = {
1719
- parameterPath: "subscriptionId",
1720
- mapper: {
1721
- required: true,
1722
- serializedName: "subscriptionId",
1723
- type: {
1724
- name: "String"
1725
- }
1726
- }
1727
- };
1728
-
1729
- /*
1730
- * Copyright (c) Microsoft Corporation.
1731
- * Licensed under the MIT License.
1732
- *
1733
- * Code generated by Microsoft (R) AutoRest Code Generator.
1734
- * Changes may cause incorrect behavior and will be lost if the code is
1735
- * regenerated.
1736
- */
1737
- /** Class representing a Operations. */
1738
- var Operations = /** @class */ (function () {
1739
- /**
1740
- * Create a Operations.
1741
- * @param {SignalRManagementClientContext} client Reference to the service client.
1742
- */
1743
- function Operations(client) {
1744
- this.client = client;
1745
- }
1746
- Operations.prototype.list = function (options, callback) {
1747
- return this.client.sendOperationRequest({
1748
- options: options
1749
- }, listOperationSpec, callback);
1750
- };
1751
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
1752
- return this.client.sendOperationRequest({
1753
- nextPageLink: nextPageLink,
1754
- options: options
1755
- }, listNextOperationSpec, callback);
1756
- };
1757
- return Operations;
1758
- }());
1759
- // Operation Specifications
1760
- var serializer = new msRest.Serializer(Mappers);
1761
- var listOperationSpec = {
1762
- httpMethod: "GET",
1763
- path: "providers/Microsoft.SignalRService/operations",
1764
- queryParameters: [
1765
- apiVersion
1766
- ],
1767
- headerParameters: [
1768
- acceptLanguage
1769
- ],
1770
- responses: {
1771
- 200: {
1772
- bodyMapper: OperationList
1773
- },
1774
- default: {
1775
- bodyMapper: ErrorResponse
1776
- }
1777
- },
1778
- serializer: serializer
1779
- };
1780
- var listNextOperationSpec = {
1781
- httpMethod: "GET",
1782
- baseUrl: "https://management.azure.com",
1783
- path: "{nextLink}",
1784
- urlParameters: [
1785
- nextPageLink
1786
- ],
1787
- queryParameters: [
1788
- apiVersion
1789
- ],
1790
- headerParameters: [
1791
- acceptLanguage
1792
- ],
1793
- responses: {
1794
- 200: {
1795
- bodyMapper: OperationList
1796
- },
1797
- default: {
1798
- bodyMapper: ErrorResponse
1799
- }
1800
- },
1801
- serializer: serializer
1802
- };
1803
-
1804
- /*
1805
- * Copyright (c) Microsoft Corporation.
1806
- * Licensed under the MIT License.
1807
- *
1808
- * Code generated by Microsoft (R) AutoRest Code Generator.
1809
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1810
- */
1811
-
1812
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1813
- __proto__: null,
1814
- BaseResource: BaseResource,
1815
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1816
- ErrorDetail: ErrorDetail,
1817
- ErrorResponse: ErrorResponse,
1818
- ManagedIdentity: ManagedIdentity,
1819
- ManagedIdentitySettings: ManagedIdentitySettings,
1820
- NameAvailability: NameAvailability,
1821
- NameAvailabilityParameters: NameAvailabilityParameters,
1822
- NetworkACL: NetworkACL,
1823
- PrivateEndpoint: PrivateEndpoint,
1824
- PrivateEndpointACL: PrivateEndpointACL,
1825
- PrivateEndpointConnection: PrivateEndpointConnection,
1826
- PrivateLinkResource: PrivateLinkResource,
1827
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1828
- ProxyResource: ProxyResource,
1829
- RegenerateKeyParameters: RegenerateKeyParameters,
1830
- Resource: Resource,
1831
- ResourceSku: ResourceSku,
1832
- ServerlessUpstreamSettings: ServerlessUpstreamSettings,
1833
- ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
1834
- ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
1835
- SharedPrivateLinkResource: SharedPrivateLinkResource,
1836
- SignalRCorsSettings: SignalRCorsSettings,
1837
- SignalRFeature: SignalRFeature,
1838
- SignalRKeys: SignalRKeys,
1839
- SignalRNetworkACLs: SignalRNetworkACLs,
1840
- SignalRResource: SignalRResource,
1841
- SignalRResourceList: SignalRResourceList,
1842
- SignalRTlsSettings: SignalRTlsSettings,
1843
- SystemData: SystemData,
1844
- TrackedResource: TrackedResource,
1845
- UpstreamAuthSettings: UpstreamAuthSettings,
1846
- UpstreamTemplate: UpstreamTemplate,
1847
- UserAssignedIdentityProperty: UserAssignedIdentityProperty
1848
- });
1849
-
1850
- /*
1851
- * Copyright (c) Microsoft Corporation.
1852
- * Licensed under the MIT License.
1853
- *
1854
- * Code generated by Microsoft (R) AutoRest Code Generator.
1855
- * Changes may cause incorrect behavior and will be lost if the code is
1856
- * regenerated.
1857
- */
1858
- /** Class representing a SignalR. */
1859
- var SignalR = /** @class */ (function () {
1860
- /**
1861
- * Create a SignalR.
1862
- * @param {SignalRManagementClientContext} client Reference to the service client.
1863
- */
1864
- function SignalR(client) {
1865
- this.client = client;
1866
- }
1867
- SignalR.prototype.checkNameAvailability = function (location, parameters, options, callback) {
1868
- return this.client.sendOperationRequest({
1869
- location: location,
1870
- parameters: parameters,
1871
- options: options
1872
- }, checkNameAvailabilityOperationSpec, callback);
1873
- };
1874
- SignalR.prototype.listBySubscription = function (options, callback) {
1875
- return this.client.sendOperationRequest({
1876
- options: options
1877
- }, listBySubscriptionOperationSpec, callback);
1878
- };
1879
- SignalR.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1880
- return this.client.sendOperationRequest({
1881
- resourceGroupName: resourceGroupName,
1882
- options: options
1883
- }, listByResourceGroupOperationSpec, callback);
1884
- };
1885
- SignalR.prototype.get = function (resourceGroupName, resourceName, options, callback) {
1886
- return this.client.sendOperationRequest({
1887
- resourceGroupName: resourceGroupName,
1888
- resourceName: resourceName,
1889
- options: options
1890
- }, getOperationSpec, callback);
1891
- };
1892
- /**
1893
- * Create or update a resource.
1894
- * @param parameters Parameters for the create or update operation
1895
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1896
- * obtain this value from the Azure Resource Manager API or the portal.
1897
- * @param resourceName The name of the resource.
1898
- * @param [options] The optional parameters
1899
- * @returns Promise<Models.SignalRCreateOrUpdateResponse>
1900
- */
1901
- SignalR.prototype.createOrUpdate = function (parameters, resourceGroupName, resourceName, options) {
1902
- return this.beginCreateOrUpdate(parameters, resourceGroupName, resourceName, options)
1903
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1904
- };
1905
- /**
1906
- * Operation to delete a resource.
1907
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1908
- * obtain this value from the Azure Resource Manager API or the portal.
1909
- * @param resourceName The name of the resource.
1910
- * @param [options] The optional parameters
1911
- * @returns Promise<msRest.RestResponse>
1912
- */
1913
- SignalR.prototype.deleteMethod = function (resourceGroupName, resourceName, options) {
1914
- return this.beginDeleteMethod(resourceGroupName, resourceName, options)
1915
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1916
- };
1917
- /**
1918
- * Operation to update an exiting resource.
1919
- * @param parameters Parameters for the update operation
1920
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1921
- * obtain this value from the Azure Resource Manager API or the portal.
1922
- * @param resourceName The name of the resource.
1923
- * @param [options] The optional parameters
1924
- * @returns Promise<Models.SignalRUpdateResponse>
1925
- */
1926
- SignalR.prototype.update = function (parameters, resourceGroupName, resourceName, options) {
1927
- return this.beginUpdate(parameters, resourceGroupName, resourceName, options)
1928
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1929
- };
1930
- SignalR.prototype.listKeys = function (resourceGroupName, resourceName, options, callback) {
1931
- return this.client.sendOperationRequest({
1932
- resourceGroupName: resourceGroupName,
1933
- resourceName: resourceName,
1934
- options: options
1935
- }, listKeysOperationSpec, callback);
1936
- };
1937
- /**
1938
- * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at
1939
- * the same time.
1940
- * @param parameters Parameter that describes the Regenerate Key Operation.
1941
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1942
- * obtain this value from the Azure Resource Manager API or the portal.
1943
- * @param resourceName The name of the resource.
1944
- * @param [options] The optional parameters
1945
- * @returns Promise<Models.SignalRRegenerateKeyResponse>
1946
- */
1947
- SignalR.prototype.regenerateKey = function (parameters, resourceGroupName, resourceName, options) {
1948
- return this.beginRegenerateKey(parameters, resourceGroupName, resourceName, options)
1949
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1950
- };
1951
- /**
1952
- * Operation to restart a resource.
1953
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1954
- * obtain this value from the Azure Resource Manager API or the portal.
1955
- * @param resourceName The name of the resource.
1956
- * @param [options] The optional parameters
1957
- * @returns Promise<msRest.RestResponse>
1958
- */
1959
- SignalR.prototype.restart = function (resourceGroupName, resourceName, options) {
1960
- return this.beginRestart(resourceGroupName, resourceName, options)
1961
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1962
- };
1963
- /**
1964
- * Create or update a resource.
1965
- * @param parameters Parameters for the create or update operation
1966
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1967
- * obtain this value from the Azure Resource Manager API or the portal.
1968
- * @param resourceName The name of the resource.
1969
- * @param [options] The optional parameters
1970
- * @returns Promise<msRestAzure.LROPoller>
1971
- */
1972
- SignalR.prototype.beginCreateOrUpdate = function (parameters, resourceGroupName, resourceName, options) {
1973
- return this.client.sendLRORequest({
1974
- parameters: parameters,
1975
- resourceGroupName: resourceGroupName,
1976
- resourceName: resourceName,
1977
- options: options
1978
- }, beginCreateOrUpdateOperationSpec, options);
1979
- };
1980
- /**
1981
- * Operation to delete a resource.
1982
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1983
- * obtain this value from the Azure Resource Manager API or the portal.
1984
- * @param resourceName The name of the resource.
1985
- * @param [options] The optional parameters
1986
- * @returns Promise<msRestAzure.LROPoller>
1987
- */
1988
- SignalR.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, options) {
1989
- return this.client.sendLRORequest({
1990
- resourceGroupName: resourceGroupName,
1991
- resourceName: resourceName,
1992
- options: options
1993
- }, beginDeleteMethodOperationSpec, options);
1994
- };
1995
- /**
1996
- * Operation to update an exiting resource.
1997
- * @param parameters Parameters for the update operation
1998
- * @param resourceGroupName The name of the resource group that contains the resource. You can
1999
- * obtain this value from the Azure Resource Manager API or the portal.
2000
- * @param resourceName The name of the resource.
2001
- * @param [options] The optional parameters
2002
- * @returns Promise<msRestAzure.LROPoller>
2003
- */
2004
- SignalR.prototype.beginUpdate = function (parameters, resourceGroupName, resourceName, options) {
2005
- return this.client.sendLRORequest({
2006
- parameters: parameters,
2007
- resourceGroupName: resourceGroupName,
2008
- resourceName: resourceName,
2009
- options: options
2010
- }, beginUpdateOperationSpec, options);
2011
- };
2012
- /**
2013
- * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at
2014
- * the same time.
2015
- * @param parameters Parameter that describes the Regenerate Key Operation.
2016
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2017
- * obtain this value from the Azure Resource Manager API or the portal.
2018
- * @param resourceName The name of the resource.
2019
- * @param [options] The optional parameters
2020
- * @returns Promise<msRestAzure.LROPoller>
2021
- */
2022
- SignalR.prototype.beginRegenerateKey = function (parameters, resourceGroupName, resourceName, options) {
2023
- return this.client.sendLRORequest({
2024
- parameters: parameters,
2025
- resourceGroupName: resourceGroupName,
2026
- resourceName: resourceName,
2027
- options: options
2028
- }, beginRegenerateKeyOperationSpec, options);
2029
- };
2030
- /**
2031
- * Operation to restart a resource.
2032
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2033
- * obtain this value from the Azure Resource Manager API or the portal.
2034
- * @param resourceName The name of the resource.
2035
- * @param [options] The optional parameters
2036
- * @returns Promise<msRestAzure.LROPoller>
2037
- */
2038
- SignalR.prototype.beginRestart = function (resourceGroupName, resourceName, options) {
2039
- return this.client.sendLRORequest({
2040
- resourceGroupName: resourceGroupName,
2041
- resourceName: resourceName,
2042
- options: options
2043
- }, beginRestartOperationSpec, options);
2044
- };
2045
- SignalR.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
2046
- return this.client.sendOperationRequest({
2047
- nextPageLink: nextPageLink,
2048
- options: options
2049
- }, listBySubscriptionNextOperationSpec, callback);
2050
- };
2051
- SignalR.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
2052
- return this.client.sendOperationRequest({
2053
- nextPageLink: nextPageLink,
2054
- options: options
2055
- }, listByResourceGroupNextOperationSpec, callback);
2056
- };
2057
- return SignalR;
2058
- }());
2059
- // Operation Specifications
2060
- var serializer$1 = new msRest.Serializer(Mappers$1);
2061
- var checkNameAvailabilityOperationSpec = {
2062
- httpMethod: "POST",
2063
- path: "subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability",
2064
- urlParameters: [
2065
- location,
2066
- subscriptionId
2067
- ],
2068
- queryParameters: [
2069
- apiVersion
2070
- ],
2071
- headerParameters: [
2072
- acceptLanguage
2073
- ],
2074
- requestBody: {
2075
- parameterPath: "parameters",
2076
- mapper: __assign(__assign({}, NameAvailabilityParameters), { required: true })
2077
- },
2078
- responses: {
2079
- 200: {
2080
- bodyMapper: NameAvailability
2081
- },
2082
- default: {
2083
- bodyMapper: ErrorResponse
2084
- }
2085
- },
2086
- serializer: serializer$1
2087
- };
2088
- var listBySubscriptionOperationSpec = {
2089
- httpMethod: "GET",
2090
- path: "subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/signalR",
2091
- urlParameters: [
2092
- subscriptionId
2093
- ],
2094
- queryParameters: [
2095
- apiVersion
2096
- ],
2097
- headerParameters: [
2098
- acceptLanguage
2099
- ],
2100
- responses: {
2101
- 200: {
2102
- bodyMapper: SignalRResourceList
2103
- },
2104
- default: {
2105
- bodyMapper: ErrorResponse
2106
- }
2107
- },
2108
- serializer: serializer$1
2109
- };
2110
- var listByResourceGroupOperationSpec = {
2111
- httpMethod: "GET",
2112
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR",
2113
- urlParameters: [
2114
- subscriptionId,
2115
- resourceGroupName
2116
- ],
2117
- queryParameters: [
2118
- apiVersion
2119
- ],
2120
- headerParameters: [
2121
- acceptLanguage
2122
- ],
2123
- responses: {
2124
- 200: {
2125
- bodyMapper: SignalRResourceList
2126
- },
2127
- default: {
2128
- bodyMapper: ErrorResponse
2129
- }
2130
- },
2131
- serializer: serializer$1
2132
- };
2133
- var getOperationSpec = {
2134
- httpMethod: "GET",
2135
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}",
2136
- urlParameters: [
2137
- subscriptionId,
2138
- resourceGroupName,
2139
- resourceName
2140
- ],
2141
- queryParameters: [
2142
- apiVersion
2143
- ],
2144
- headerParameters: [
2145
- acceptLanguage
2146
- ],
2147
- responses: {
2148
- 200: {
2149
- bodyMapper: SignalRResource
2150
- },
2151
- default: {
2152
- bodyMapper: ErrorResponse
2153
- }
2154
- },
2155
- serializer: serializer$1
2156
- };
2157
- var listKeysOperationSpec = {
2158
- httpMethod: "POST",
2159
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/listKeys",
2160
- urlParameters: [
2161
- subscriptionId,
2162
- resourceGroupName,
2163
- resourceName
2164
- ],
2165
- queryParameters: [
2166
- apiVersion
2167
- ],
2168
- headerParameters: [
2169
- acceptLanguage
2170
- ],
2171
- responses: {
2172
- 200: {
2173
- bodyMapper: SignalRKeys
2174
- },
2175
- default: {
2176
- bodyMapper: ErrorResponse
2177
- }
2178
- },
2179
- serializer: serializer$1
2180
- };
2181
- var beginCreateOrUpdateOperationSpec = {
2182
- httpMethod: "PUT",
2183
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}",
2184
- urlParameters: [
2185
- subscriptionId,
2186
- resourceGroupName,
2187
- resourceName
2188
- ],
2189
- queryParameters: [
2190
- apiVersion
2191
- ],
2192
- headerParameters: [
2193
- acceptLanguage
2194
- ],
2195
- requestBody: {
2196
- parameterPath: "parameters",
2197
- mapper: __assign(__assign({}, SignalRResource), { required: true })
2198
- },
2199
- responses: {
2200
- 200: {
2201
- bodyMapper: SignalRResource
2202
- },
2203
- 201: {
2204
- bodyMapper: SignalRResource
2205
- },
2206
- 202: {},
2207
- default: {
2208
- bodyMapper: ErrorResponse
2209
- }
2210
- },
2211
- serializer: serializer$1
2212
- };
2213
- var beginDeleteMethodOperationSpec = {
2214
- httpMethod: "DELETE",
2215
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}",
2216
- urlParameters: [
2217
- subscriptionId,
2218
- resourceGroupName,
2219
- resourceName
2220
- ],
2221
- queryParameters: [
2222
- apiVersion
2223
- ],
2224
- headerParameters: [
2225
- acceptLanguage
2226
- ],
2227
- responses: {
2228
- 200: {},
2229
- 202: {},
2230
- 204: {},
2231
- default: {
2232
- bodyMapper: ErrorResponse
2233
- }
2234
- },
2235
- serializer: serializer$1
2236
- };
2237
- var beginUpdateOperationSpec = {
2238
- httpMethod: "PATCH",
2239
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}",
2240
- urlParameters: [
2241
- subscriptionId,
2242
- resourceGroupName,
2243
- resourceName
2244
- ],
2245
- queryParameters: [
2246
- apiVersion
2247
- ],
2248
- headerParameters: [
2249
- acceptLanguage
2250
- ],
2251
- requestBody: {
2252
- parameterPath: "parameters",
2253
- mapper: __assign(__assign({}, SignalRResource), { required: true })
2254
- },
2255
- responses: {
2256
- 200: {
2257
- bodyMapper: SignalRResource
2258
- },
2259
- 202: {},
2260
- default: {
2261
- bodyMapper: ErrorResponse
2262
- }
2263
- },
2264
- serializer: serializer$1
2265
- };
2266
- var beginRegenerateKeyOperationSpec = {
2267
- httpMethod: "POST",
2268
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/regenerateKey",
2269
- urlParameters: [
2270
- subscriptionId,
2271
- resourceGroupName,
2272
- resourceName
2273
- ],
2274
- queryParameters: [
2275
- apiVersion
2276
- ],
2277
- headerParameters: [
2278
- acceptLanguage
2279
- ],
2280
- requestBody: {
2281
- parameterPath: "parameters",
2282
- mapper: __assign(__assign({}, RegenerateKeyParameters), { required: true })
2283
- },
2284
- responses: {
2285
- 202: {
2286
- bodyMapper: SignalRKeys
2287
- },
2288
- default: {
2289
- bodyMapper: ErrorResponse
2290
- }
2291
- },
2292
- serializer: serializer$1
2293
- };
2294
- var beginRestartOperationSpec = {
2295
- httpMethod: "POST",
2296
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/restart",
2297
- urlParameters: [
2298
- subscriptionId,
2299
- resourceGroupName,
2300
- resourceName
2301
- ],
2302
- queryParameters: [
2303
- apiVersion
2304
- ],
2305
- headerParameters: [
2306
- acceptLanguage
2307
- ],
2308
- responses: {
2309
- 202: {},
2310
- 204: {},
2311
- default: {
2312
- bodyMapper: ErrorResponse
2313
- }
2314
- },
2315
- serializer: serializer$1
2316
- };
2317
- var listBySubscriptionNextOperationSpec = {
2318
- httpMethod: "GET",
2319
- baseUrl: "https://management.azure.com",
2320
- path: "{nextLink}",
2321
- urlParameters: [
2322
- nextPageLink
2323
- ],
2324
- queryParameters: [
2325
- apiVersion
2326
- ],
2327
- headerParameters: [
2328
- acceptLanguage
2329
- ],
2330
- responses: {
2331
- 200: {
2332
- bodyMapper: SignalRResourceList
2333
- },
2334
- default: {
2335
- bodyMapper: ErrorResponse
2336
- }
2337
- },
2338
- serializer: serializer$1
2339
- };
2340
- var listByResourceGroupNextOperationSpec = {
2341
- httpMethod: "GET",
2342
- baseUrl: "https://management.azure.com",
2343
- path: "{nextLink}",
2344
- urlParameters: [
2345
- nextPageLink
2346
- ],
2347
- queryParameters: [
2348
- apiVersion
2349
- ],
2350
- headerParameters: [
2351
- acceptLanguage
2352
- ],
2353
- responses: {
2354
- 200: {
2355
- bodyMapper: SignalRResourceList
2356
- },
2357
- default: {
2358
- bodyMapper: ErrorResponse
2359
- }
2360
- },
2361
- serializer: serializer$1
2362
- };
2363
-
2364
- /*
2365
- * Copyright (c) Microsoft Corporation.
2366
- * Licensed under the MIT License.
2367
- *
2368
- * Code generated by Microsoft (R) AutoRest Code Generator.
2369
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2370
- */
2371
-
2372
- var Mappers$2 = /*#__PURE__*/Object.freeze({
2373
- __proto__: null,
2374
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2375
- ErrorDetail: ErrorDetail,
2376
- ErrorResponse: ErrorResponse,
2377
- SignalRUsage: SignalRUsage,
2378
- SignalRUsageList: SignalRUsageList,
2379
- SignalRUsageName: SignalRUsageName
2380
- });
2381
-
2382
- /*
2383
- * Copyright (c) Microsoft Corporation.
2384
- * Licensed under the MIT License.
2385
- *
2386
- * Code generated by Microsoft (R) AutoRest Code Generator.
2387
- * Changes may cause incorrect behavior and will be lost if the code is
2388
- * regenerated.
2389
- */
2390
- /** Class representing a Usages. */
2391
- var Usages = /** @class */ (function () {
2392
- /**
2393
- * Create a Usages.
2394
- * @param {SignalRManagementClientContext} client Reference to the service client.
2395
- */
2396
- function Usages(client) {
2397
- this.client = client;
2398
- }
2399
- Usages.prototype.list = function (location, options, callback) {
2400
- return this.client.sendOperationRequest({
2401
- location: location,
2402
- options: options
2403
- }, listOperationSpec$1, callback);
2404
- };
2405
- Usages.prototype.listNext = function (nextPageLink, options, callback) {
2406
- return this.client.sendOperationRequest({
2407
- nextPageLink: nextPageLink,
2408
- options: options
2409
- }, listNextOperationSpec$1, callback);
2410
- };
2411
- return Usages;
2412
- }());
2413
- // Operation Specifications
2414
- var serializer$2 = new msRest.Serializer(Mappers$2);
2415
- var listOperationSpec$1 = {
2416
- httpMethod: "GET",
2417
- path: "subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages",
2418
- urlParameters: [
2419
- location,
2420
- subscriptionId
2421
- ],
2422
- queryParameters: [
2423
- apiVersion
2424
- ],
2425
- headerParameters: [
2426
- acceptLanguage
2427
- ],
2428
- responses: {
2429
- 200: {
2430
- bodyMapper: SignalRUsageList
2431
- },
2432
- default: {
2433
- bodyMapper: ErrorResponse
2434
- }
2435
- },
2436
- serializer: serializer$2
2437
- };
2438
- var listNextOperationSpec$1 = {
2439
- httpMethod: "GET",
2440
- baseUrl: "https://management.azure.com",
2441
- path: "{nextLink}",
2442
- urlParameters: [
2443
- nextPageLink
2444
- ],
2445
- queryParameters: [
2446
- apiVersion
2447
- ],
2448
- headerParameters: [
2449
- acceptLanguage
2450
- ],
2451
- responses: {
2452
- 200: {
2453
- bodyMapper: SignalRUsageList
2454
- },
2455
- default: {
2456
- bodyMapper: ErrorResponse
2457
- }
2458
- },
2459
- serializer: serializer$2
2460
- };
2461
-
2462
- /*
2463
- * Copyright (c) Microsoft Corporation.
2464
- * Licensed under the MIT License.
2465
- *
2466
- * Code generated by Microsoft (R) AutoRest Code Generator.
2467
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2468
- */
2469
-
2470
- var Mappers$3 = /*#__PURE__*/Object.freeze({
2471
- __proto__: null,
2472
- BaseResource: BaseResource,
2473
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2474
- ErrorDetail: ErrorDetail,
2475
- ErrorResponse: ErrorResponse,
2476
- ManagedIdentity: ManagedIdentity,
2477
- ManagedIdentitySettings: ManagedIdentitySettings,
2478
- NetworkACL: NetworkACL,
2479
- PrivateEndpoint: PrivateEndpoint,
2480
- PrivateEndpointACL: PrivateEndpointACL,
2481
- PrivateEndpointConnection: PrivateEndpointConnection,
2482
- PrivateEndpointConnectionList: PrivateEndpointConnectionList,
2483
- PrivateLinkResource: PrivateLinkResource,
2484
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2485
- ProxyResource: ProxyResource,
2486
- Resource: Resource,
2487
- ResourceSku: ResourceSku,
2488
- ServerlessUpstreamSettings: ServerlessUpstreamSettings,
2489
- ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
2490
- ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
2491
- SharedPrivateLinkResource: SharedPrivateLinkResource,
2492
- SignalRCorsSettings: SignalRCorsSettings,
2493
- SignalRFeature: SignalRFeature,
2494
- SignalRNetworkACLs: SignalRNetworkACLs,
2495
- SignalRResource: SignalRResource,
2496
- SignalRTlsSettings: SignalRTlsSettings,
2497
- SystemData: SystemData,
2498
- TrackedResource: TrackedResource,
2499
- UpstreamAuthSettings: UpstreamAuthSettings,
2500
- UpstreamTemplate: UpstreamTemplate,
2501
- UserAssignedIdentityProperty: UserAssignedIdentityProperty
2502
- });
2503
-
2504
- /*
2505
- * Copyright (c) Microsoft Corporation.
2506
- * Licensed under the MIT License.
2507
- *
2508
- * Code generated by Microsoft (R) AutoRest Code Generator.
2509
- * Changes may cause incorrect behavior and will be lost if the code is
2510
- * regenerated.
2511
- */
2512
- /** Class representing a SignalRPrivateEndpointConnections. */
2513
- var SignalRPrivateEndpointConnections = /** @class */ (function () {
2514
- /**
2515
- * Create a SignalRPrivateEndpointConnections.
2516
- * @param {SignalRManagementClientContext} client Reference to the service client.
2517
- */
2518
- function SignalRPrivateEndpointConnections(client) {
2519
- this.client = client;
2520
- }
2521
- SignalRPrivateEndpointConnections.prototype.list = function (resourceGroupName, resourceName, options, callback) {
2522
- return this.client.sendOperationRequest({
2523
- resourceGroupName: resourceGroupName,
2524
- resourceName: resourceName,
2525
- options: options
2526
- }, listOperationSpec$2, callback);
2527
- };
2528
- SignalRPrivateEndpointConnections.prototype.get = function (privateEndpointConnectionName, resourceGroupName, resourceName, options, callback) {
2529
- return this.client.sendOperationRequest({
2530
- privateEndpointConnectionName: privateEndpointConnectionName,
2531
- resourceGroupName: resourceGroupName,
2532
- resourceName: resourceName,
2533
- options: options
2534
- }, getOperationSpec$1, callback);
2535
- };
2536
- SignalRPrivateEndpointConnections.prototype.update = function (privateEndpointConnectionName, parameters, resourceGroupName, resourceName, options, callback) {
2537
- return this.client.sendOperationRequest({
2538
- privateEndpointConnectionName: privateEndpointConnectionName,
2539
- parameters: parameters,
2540
- resourceGroupName: resourceGroupName,
2541
- resourceName: resourceName,
2542
- options: options
2543
- }, updateOperationSpec, callback);
2544
- };
2545
- /**
2546
- * Delete the specified private endpoint connection
2547
- * @param privateEndpointConnectionName The name of the private endpoint connection
2548
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2549
- * obtain this value from the Azure Resource Manager API or the portal.
2550
- * @param resourceName The name of the resource.
2551
- * @param [options] The optional parameters
2552
- * @returns Promise<msRest.RestResponse>
2553
- */
2554
- SignalRPrivateEndpointConnections.prototype.deleteMethod = function (privateEndpointConnectionName, resourceGroupName, resourceName, options) {
2555
- return this.beginDeleteMethod(privateEndpointConnectionName, resourceGroupName, resourceName, options)
2556
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2557
- };
2558
- /**
2559
- * Delete the specified private endpoint connection
2560
- * @param privateEndpointConnectionName The name of the private endpoint connection
2561
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2562
- * obtain this value from the Azure Resource Manager API or the portal.
2563
- * @param resourceName The name of the resource.
2564
- * @param [options] The optional parameters
2565
- * @returns Promise<msRestAzure.LROPoller>
2566
- */
2567
- SignalRPrivateEndpointConnections.prototype.beginDeleteMethod = function (privateEndpointConnectionName, resourceGroupName, resourceName, options) {
2568
- return this.client.sendLRORequest({
2569
- privateEndpointConnectionName: privateEndpointConnectionName,
2570
- resourceGroupName: resourceGroupName,
2571
- resourceName: resourceName,
2572
- options: options
2573
- }, beginDeleteMethodOperationSpec$1, options);
2574
- };
2575
- SignalRPrivateEndpointConnections.prototype.listNext = function (nextPageLink, options, callback) {
2576
- return this.client.sendOperationRequest({
2577
- nextPageLink: nextPageLink,
2578
- options: options
2579
- }, listNextOperationSpec$2, callback);
2580
- };
2581
- return SignalRPrivateEndpointConnections;
2582
- }());
2583
- // Operation Specifications
2584
- var serializer$3 = new msRest.Serializer(Mappers$3);
2585
- var listOperationSpec$2 = {
2586
- httpMethod: "GET",
2587
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections",
2588
- urlParameters: [
2589
- subscriptionId,
2590
- resourceGroupName,
2591
- resourceName
2592
- ],
2593
- queryParameters: [
2594
- apiVersion
2595
- ],
2596
- headerParameters: [
2597
- acceptLanguage
2598
- ],
2599
- responses: {
2600
- 200: {
2601
- bodyMapper: PrivateEndpointConnectionList
2602
- },
2603
- default: {
2604
- bodyMapper: ErrorResponse
2605
- }
2606
- },
2607
- serializer: serializer$3
2608
- };
2609
- var getOperationSpec$1 = {
2610
- httpMethod: "GET",
2611
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2612
- urlParameters: [
2613
- privateEndpointConnectionName,
2614
- subscriptionId,
2615
- resourceGroupName,
2616
- resourceName
2617
- ],
2618
- queryParameters: [
2619
- apiVersion
2620
- ],
2621
- headerParameters: [
2622
- acceptLanguage
2623
- ],
2624
- responses: {
2625
- 200: {
2626
- bodyMapper: PrivateEndpointConnection
2627
- },
2628
- default: {
2629
- bodyMapper: ErrorResponse
2630
- }
2631
- },
2632
- serializer: serializer$3
2633
- };
2634
- var updateOperationSpec = {
2635
- httpMethod: "PUT",
2636
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2637
- urlParameters: [
2638
- privateEndpointConnectionName,
2639
- subscriptionId,
2640
- resourceGroupName,
2641
- resourceName
2642
- ],
2643
- queryParameters: [
2644
- apiVersion
2645
- ],
2646
- headerParameters: [
2647
- acceptLanguage
2648
- ],
2649
- requestBody: {
2650
- parameterPath: "parameters",
2651
- mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
2652
- },
2653
- responses: {
2654
- 200: {
2655
- bodyMapper: PrivateEndpointConnection
2656
- },
2657
- default: {
2658
- bodyMapper: ErrorResponse
2659
- }
2660
- },
2661
- serializer: serializer$3
2662
- };
2663
- var beginDeleteMethodOperationSpec$1 = {
2664
- httpMethod: "DELETE",
2665
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2666
- urlParameters: [
2667
- privateEndpointConnectionName,
2668
- subscriptionId,
2669
- resourceGroupName,
2670
- resourceName
2671
- ],
2672
- queryParameters: [
2673
- apiVersion
2674
- ],
2675
- headerParameters: [
2676
- acceptLanguage
2677
- ],
2678
- responses: {
2679
- 200: {},
2680
- 202: {},
2681
- 204: {},
2682
- default: {
2683
- bodyMapper: ErrorResponse
2684
- }
2685
- },
2686
- serializer: serializer$3
2687
- };
2688
- var listNextOperationSpec$2 = {
2689
- httpMethod: "GET",
2690
- baseUrl: "https://management.azure.com",
2691
- path: "{nextLink}",
2692
- urlParameters: [
2693
- nextPageLink
2694
- ],
2695
- queryParameters: [
2696
- apiVersion
2697
- ],
2698
- headerParameters: [
2699
- acceptLanguage
2700
- ],
2701
- responses: {
2702
- 200: {
2703
- bodyMapper: PrivateEndpointConnectionList
2704
- },
2705
- default: {
2706
- bodyMapper: ErrorResponse
2707
- }
2708
- },
2709
- serializer: serializer$3
2710
- };
2711
-
2712
- /*
2713
- * Copyright (c) Microsoft Corporation.
2714
- * Licensed under the MIT License.
2715
- *
2716
- * Code generated by Microsoft (R) AutoRest Code Generator.
2717
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2718
- */
2719
-
2720
- var Mappers$4 = /*#__PURE__*/Object.freeze({
2721
- __proto__: null,
2722
- BaseResource: BaseResource,
2723
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2724
- ErrorDetail: ErrorDetail,
2725
- ErrorResponse: ErrorResponse,
2726
- ManagedIdentity: ManagedIdentity,
2727
- ManagedIdentitySettings: ManagedIdentitySettings,
2728
- NetworkACL: NetworkACL,
2729
- PrivateEndpoint: PrivateEndpoint,
2730
- PrivateEndpointACL: PrivateEndpointACL,
2731
- PrivateEndpointConnection: PrivateEndpointConnection,
2732
- PrivateLinkResource: PrivateLinkResource,
2733
- PrivateLinkResourceList: PrivateLinkResourceList,
2734
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2735
- ProxyResource: ProxyResource,
2736
- Resource: Resource,
2737
- ResourceSku: ResourceSku,
2738
- ServerlessUpstreamSettings: ServerlessUpstreamSettings,
2739
- ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
2740
- ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
2741
- SharedPrivateLinkResource: SharedPrivateLinkResource,
2742
- SignalRCorsSettings: SignalRCorsSettings,
2743
- SignalRFeature: SignalRFeature,
2744
- SignalRNetworkACLs: SignalRNetworkACLs,
2745
- SignalRResource: SignalRResource,
2746
- SignalRTlsSettings: SignalRTlsSettings,
2747
- SystemData: SystemData,
2748
- TrackedResource: TrackedResource,
2749
- UpstreamAuthSettings: UpstreamAuthSettings,
2750
- UpstreamTemplate: UpstreamTemplate,
2751
- UserAssignedIdentityProperty: UserAssignedIdentityProperty
2752
- });
2753
-
2754
- /*
2755
- * Copyright (c) Microsoft Corporation.
2756
- * Licensed under the MIT License.
2757
- *
2758
- * Code generated by Microsoft (R) AutoRest Code Generator.
2759
- * Changes may cause incorrect behavior and will be lost if the code is
2760
- * regenerated.
2761
- */
2762
- /** Class representing a SignalRPrivateLinkResources. */
2763
- var SignalRPrivateLinkResources = /** @class */ (function () {
2764
- /**
2765
- * Create a SignalRPrivateLinkResources.
2766
- * @param {SignalRManagementClientContext} client Reference to the service client.
2767
- */
2768
- function SignalRPrivateLinkResources(client) {
2769
- this.client = client;
2770
- }
2771
- SignalRPrivateLinkResources.prototype.list = function (resourceGroupName, resourceName, options, callback) {
2772
- return this.client.sendOperationRequest({
2773
- resourceGroupName: resourceGroupName,
2774
- resourceName: resourceName,
2775
- options: options
2776
- }, listOperationSpec$3, callback);
2777
- };
2778
- SignalRPrivateLinkResources.prototype.listNext = function (nextPageLink, options, callback) {
2779
- return this.client.sendOperationRequest({
2780
- nextPageLink: nextPageLink,
2781
- options: options
2782
- }, listNextOperationSpec$3, callback);
2783
- };
2784
- return SignalRPrivateLinkResources;
2785
- }());
2786
- // Operation Specifications
2787
- var serializer$4 = new msRest.Serializer(Mappers$4);
2788
- var listOperationSpec$3 = {
2789
- httpMethod: "GET",
2790
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateLinkResources",
2791
- urlParameters: [
2792
- subscriptionId,
2793
- resourceGroupName,
2794
- resourceName
2795
- ],
2796
- queryParameters: [
2797
- apiVersion
2798
- ],
2799
- headerParameters: [
2800
- acceptLanguage
2801
- ],
2802
- responses: {
2803
- 200: {
2804
- bodyMapper: PrivateLinkResourceList
2805
- },
2806
- default: {
2807
- bodyMapper: ErrorResponse
2808
- }
2809
- },
2810
- serializer: serializer$4
2811
- };
2812
- var listNextOperationSpec$3 = {
2813
- httpMethod: "GET",
2814
- baseUrl: "https://management.azure.com",
2815
- path: "{nextLink}",
2816
- urlParameters: [
2817
- nextPageLink
2818
- ],
2819
- queryParameters: [
2820
- apiVersion
2821
- ],
2822
- headerParameters: [
2823
- acceptLanguage
2824
- ],
2825
- responses: {
2826
- 200: {
2827
- bodyMapper: PrivateLinkResourceList
2828
- },
2829
- default: {
2830
- bodyMapper: ErrorResponse
2831
- }
2832
- },
2833
- serializer: serializer$4
2834
- };
2835
-
2836
- /*
2837
- * Copyright (c) Microsoft Corporation.
2838
- * Licensed under the MIT License.
2839
- *
2840
- * Code generated by Microsoft (R) AutoRest Code Generator.
2841
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2842
- */
2843
-
2844
- var Mappers$5 = /*#__PURE__*/Object.freeze({
2845
- __proto__: null,
2846
- BaseResource: BaseResource,
2847
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2848
- ErrorDetail: ErrorDetail,
2849
- ErrorResponse: ErrorResponse,
2850
- ManagedIdentity: ManagedIdentity,
2851
- ManagedIdentitySettings: ManagedIdentitySettings,
2852
- NetworkACL: NetworkACL,
2853
- PrivateEndpoint: PrivateEndpoint,
2854
- PrivateEndpointACL: PrivateEndpointACL,
2855
- PrivateEndpointConnection: PrivateEndpointConnection,
2856
- PrivateLinkResource: PrivateLinkResource,
2857
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2858
- ProxyResource: ProxyResource,
2859
- Resource: Resource,
2860
- ResourceSku: ResourceSku,
2861
- ServerlessUpstreamSettings: ServerlessUpstreamSettings,
2862
- ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
2863
- ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
2864
- SharedPrivateLinkResource: SharedPrivateLinkResource,
2865
- SharedPrivateLinkResourceList: SharedPrivateLinkResourceList,
2866
- SignalRCorsSettings: SignalRCorsSettings,
2867
- SignalRFeature: SignalRFeature,
2868
- SignalRNetworkACLs: SignalRNetworkACLs,
2869
- SignalRResource: SignalRResource,
2870
- SignalRTlsSettings: SignalRTlsSettings,
2871
- SystemData: SystemData,
2872
- TrackedResource: TrackedResource,
2873
- UpstreamAuthSettings: UpstreamAuthSettings,
2874
- UpstreamTemplate: UpstreamTemplate,
2875
- UserAssignedIdentityProperty: UserAssignedIdentityProperty
2876
- });
2877
-
2878
- /*
2879
- * Copyright (c) Microsoft Corporation.
2880
- * Licensed under the MIT License.
2881
- *
2882
- * Code generated by Microsoft (R) AutoRest Code Generator.
2883
- * Changes may cause incorrect behavior and will be lost if the code is
2884
- * regenerated.
2885
- */
2886
- /** Class representing a SignalRSharedPrivateLinkResources. */
2887
- var SignalRSharedPrivateLinkResources = /** @class */ (function () {
2888
- /**
2889
- * Create a SignalRSharedPrivateLinkResources.
2890
- * @param {SignalRManagementClientContext} client Reference to the service client.
2891
- */
2892
- function SignalRSharedPrivateLinkResources(client) {
2893
- this.client = client;
2894
- }
2895
- SignalRSharedPrivateLinkResources.prototype.list = function (resourceGroupName, resourceName, options, callback) {
2896
- return this.client.sendOperationRequest({
2897
- resourceGroupName: resourceGroupName,
2898
- resourceName: resourceName,
2899
- options: options
2900
- }, listOperationSpec$4, callback);
2901
- };
2902
- SignalRSharedPrivateLinkResources.prototype.get = function (sharedPrivateLinkResourceName, resourceGroupName, resourceName, options, callback) {
2903
- return this.client.sendOperationRequest({
2904
- sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
2905
- resourceGroupName: resourceGroupName,
2906
- resourceName: resourceName,
2907
- options: options
2908
- }, getOperationSpec$2, callback);
2909
- };
2910
- /**
2911
- * Create or update a shared private link resource
2912
- * @param sharedPrivateLinkResourceName The name of the shared private link resource
2913
- * @param parameters The shared private link resource
2914
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2915
- * obtain this value from the Azure Resource Manager API or the portal.
2916
- * @param resourceName The name of the resource.
2917
- * @param [options] The optional parameters
2918
- * @returns Promise<Models.SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse>
2919
- */
2920
- SignalRSharedPrivateLinkResources.prototype.createOrUpdate = function (sharedPrivateLinkResourceName, parameters, resourceGroupName, resourceName, options) {
2921
- return this.beginCreateOrUpdate(sharedPrivateLinkResourceName, parameters, resourceGroupName, resourceName, options)
2922
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2923
- };
2924
- /**
2925
- * Delete the specified shared private link resource
2926
- * @param sharedPrivateLinkResourceName The name of the shared private link resource
2927
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2928
- * obtain this value from the Azure Resource Manager API or the portal.
2929
- * @param resourceName The name of the resource.
2930
- * @param [options] The optional parameters
2931
- * @returns Promise<msRest.RestResponse>
2932
- */
2933
- SignalRSharedPrivateLinkResources.prototype.deleteMethod = function (sharedPrivateLinkResourceName, resourceGroupName, resourceName, options) {
2934
- return this.beginDeleteMethod(sharedPrivateLinkResourceName, resourceGroupName, resourceName, options)
2935
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2936
- };
2937
- /**
2938
- * Create or update a shared private link resource
2939
- * @param sharedPrivateLinkResourceName The name of the shared private link resource
2940
- * @param parameters The shared private link resource
2941
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2942
- * obtain this value from the Azure Resource Manager API or the portal.
2943
- * @param resourceName The name of the resource.
2944
- * @param [options] The optional parameters
2945
- * @returns Promise<msRestAzure.LROPoller>
2946
- */
2947
- SignalRSharedPrivateLinkResources.prototype.beginCreateOrUpdate = function (sharedPrivateLinkResourceName, parameters, resourceGroupName, resourceName, options) {
2948
- return this.client.sendLRORequest({
2949
- sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
2950
- parameters: parameters,
2951
- resourceGroupName: resourceGroupName,
2952
- resourceName: resourceName,
2953
- options: options
2954
- }, beginCreateOrUpdateOperationSpec$1, options);
2955
- };
2956
- /**
2957
- * Delete the specified shared private link resource
2958
- * @param sharedPrivateLinkResourceName The name of the shared private link resource
2959
- * @param resourceGroupName The name of the resource group that contains the resource. You can
2960
- * obtain this value from the Azure Resource Manager API or the portal.
2961
- * @param resourceName The name of the resource.
2962
- * @param [options] The optional parameters
2963
- * @returns Promise<msRestAzure.LROPoller>
2964
- */
2965
- SignalRSharedPrivateLinkResources.prototype.beginDeleteMethod = function (sharedPrivateLinkResourceName, resourceGroupName, resourceName, options) {
2966
- return this.client.sendLRORequest({
2967
- sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
2968
- resourceGroupName: resourceGroupName,
2969
- resourceName: resourceName,
2970
- options: options
2971
- }, beginDeleteMethodOperationSpec$2, options);
2972
- };
2973
- SignalRSharedPrivateLinkResources.prototype.listNext = function (nextPageLink, options, callback) {
2974
- return this.client.sendOperationRequest({
2975
- nextPageLink: nextPageLink,
2976
- options: options
2977
- }, listNextOperationSpec$4, callback);
2978
- };
2979
- return SignalRSharedPrivateLinkResources;
2980
- }());
2981
- // Operation Specifications
2982
- var serializer$5 = new msRest.Serializer(Mappers$5);
2983
- var listOperationSpec$4 = {
2984
- httpMethod: "GET",
2985
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources",
2986
- urlParameters: [
2987
- subscriptionId,
2988
- resourceGroupName,
2989
- resourceName
2990
- ],
2991
- queryParameters: [
2992
- apiVersion
2993
- ],
2994
- headerParameters: [
2995
- acceptLanguage
2996
- ],
2997
- responses: {
2998
- 200: {
2999
- bodyMapper: SharedPrivateLinkResourceList
3000
- },
3001
- default: {
3002
- bodyMapper: ErrorResponse
3003
- }
3004
- },
3005
- serializer: serializer$5
3006
- };
3007
- var getOperationSpec$2 = {
3008
- httpMethod: "GET",
3009
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3010
- urlParameters: [
3011
- sharedPrivateLinkResourceName,
3012
- subscriptionId,
3013
- resourceGroupName,
3014
- resourceName
3015
- ],
3016
- queryParameters: [
3017
- apiVersion
3018
- ],
3019
- headerParameters: [
3020
- acceptLanguage
3021
- ],
3022
- responses: {
3023
- 200: {
3024
- bodyMapper: SharedPrivateLinkResource
3025
- },
3026
- default: {
3027
- bodyMapper: ErrorResponse
3028
- }
3029
- },
3030
- serializer: serializer$5
3031
- };
3032
- var beginCreateOrUpdateOperationSpec$1 = {
3033
- httpMethod: "PUT",
3034
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3035
- urlParameters: [
3036
- sharedPrivateLinkResourceName,
3037
- subscriptionId,
3038
- resourceGroupName,
3039
- resourceName
3040
- ],
3041
- queryParameters: [
3042
- apiVersion
3043
- ],
3044
- headerParameters: [
3045
- acceptLanguage
3046
- ],
3047
- requestBody: {
3048
- parameterPath: "parameters",
3049
- mapper: __assign(__assign({}, SharedPrivateLinkResource), { required: true })
3050
- },
3051
- responses: {
3052
- 200: {
3053
- bodyMapper: SharedPrivateLinkResource
3054
- },
3055
- 201: {
3056
- bodyMapper: SharedPrivateLinkResource
3057
- },
3058
- default: {
3059
- bodyMapper: ErrorResponse
3060
- }
3061
- },
3062
- serializer: serializer$5
3063
- };
3064
- var beginDeleteMethodOperationSpec$2 = {
3065
- httpMethod: "DELETE",
3066
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3067
- urlParameters: [
3068
- sharedPrivateLinkResourceName,
3069
- subscriptionId,
3070
- resourceGroupName,
3071
- resourceName
3072
- ],
3073
- queryParameters: [
3074
- apiVersion
3075
- ],
3076
- headerParameters: [
3077
- acceptLanguage
3078
- ],
3079
- responses: {
3080
- 200: {},
3081
- 202: {},
3082
- 204: {},
3083
- default: {
3084
- bodyMapper: ErrorResponse
3085
- }
3086
- },
3087
- serializer: serializer$5
3088
- };
3089
- var listNextOperationSpec$4 = {
3090
- httpMethod: "GET",
3091
- baseUrl: "https://management.azure.com",
3092
- path: "{nextLink}",
3093
- urlParameters: [
3094
- nextPageLink
3095
- ],
3096
- queryParameters: [
3097
- apiVersion
3098
- ],
3099
- headerParameters: [
3100
- acceptLanguage
3101
- ],
3102
- responses: {
3103
- 200: {
3104
- bodyMapper: SharedPrivateLinkResourceList
3105
- },
3106
- default: {
3107
- bodyMapper: ErrorResponse
3108
- }
3109
- },
3110
- serializer: serializer$5
3111
- };
3112
-
3113
- /*
3114
- * Copyright (c) Microsoft Corporation.
3115
- * Licensed under the MIT License.
3116
- *
3117
- * Code generated by Microsoft (R) AutoRest Code Generator.
3118
- * Changes may cause incorrect behavior and will be lost if the code is
3119
- * regenerated.
3120
- */
3121
- var packageName = "@azure/arm-signalr";
3122
- var packageVersion = "4.2.0";
3123
- var SignalRManagementClientContext = /** @class */ (function (_super) {
3124
- __extends(SignalRManagementClientContext, _super);
3125
- /**
3126
- * Initializes a new instance of the SignalRManagementClient class.
3127
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
3128
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
3129
- * more information about these credentials, see
3130
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
3131
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
3132
- * @azure/ms-rest-browserauth are also supported.
3133
- * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure
3134
- * subscription. The subscription ID forms part of the URI for every service call.
3135
- * @param [options] The parameter options
3136
- */
3137
- function SignalRManagementClientContext(credentials, subscriptionId, options) {
3138
- var _this = this;
3139
- if (credentials == undefined) {
3140
- throw new Error('\'credentials\' cannot be null.');
3141
- }
3142
- if (subscriptionId == undefined) {
3143
- throw new Error('\'subscriptionId\' cannot be null.');
3144
- }
3145
- if (!options) {
3146
- options = {};
3147
- }
3148
- if (!options.userAgent) {
3149
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
3150
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
3151
- }
3152
- _this = _super.call(this, credentials, options) || this;
3153
- _this.apiVersion = '2021-06-01-preview';
3154
- _this.acceptLanguage = 'en-US';
3155
- _this.longRunningOperationRetryTimeout = 30;
3156
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
3157
- _this.requestContentType = "application/json; charset=utf-8";
3158
- _this.credentials = credentials;
3159
- _this.subscriptionId = subscriptionId;
3160
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
3161
- _this.acceptLanguage = options.acceptLanguage;
3162
- }
3163
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
3164
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
3165
- }
3166
- return _this;
3167
- }
3168
- return SignalRManagementClientContext;
3169
- }(msRestAzure.AzureServiceClient));
3170
-
3171
- /*
3172
- * Copyright (c) Microsoft Corporation.
3173
- * Licensed under the MIT License.
3174
- *
3175
- * Code generated by Microsoft (R) AutoRest Code Generator.
3176
- * Changes may cause incorrect behavior and will be lost if the code is
3177
- * regenerated.
3178
- */
3179
- var SignalRManagementClient = /** @class */ (function (_super) {
3180
- __extends(SignalRManagementClient, _super);
3181
- /**
3182
- * Initializes a new instance of the SignalRManagementClient class.
3183
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
3184
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
3185
- * more information about these credentials, see
3186
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
3187
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
3188
- * @azure/ms-rest-browserauth are also supported.
3189
- * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure
3190
- * subscription. The subscription ID forms part of the URI for every service call.
3191
- * @param [options] The parameter options
3192
- */
3193
- function SignalRManagementClient(credentials, subscriptionId, options) {
3194
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
3195
- _this.operations = new Operations(_this);
3196
- _this.signalR = new SignalR(_this);
3197
- _this.usages = new Usages(_this);
3198
- _this.signalRPrivateEndpointConnections = new SignalRPrivateEndpointConnections(_this);
3199
- _this.signalRPrivateLinkResources = new SignalRPrivateLinkResources(_this);
3200
- _this.signalRSharedPrivateLinkResources = new SignalRSharedPrivateLinkResources(_this);
3201
- return _this;
3202
- }
3203
- return SignalRManagementClient;
3204
- }(SignalRManagementClientContext));
3205
-
3206
- exports.Operations = Operations;
3207
- exports.SignalR = SignalR;
3208
- exports.SignalRManagementClient = SignalRManagementClient;
3209
- exports.SignalRManagementClientContext = SignalRManagementClientContext;
3210
- exports.SignalRManagementMappers = mappers;
3211
- exports.SignalRManagementModels = index;
3212
- exports.SignalRPrivateEndpointConnections = SignalRPrivateEndpointConnections;
3213
- exports.SignalRPrivateLinkResources = SignalRPrivateLinkResources;
3214
- exports.SignalRSharedPrivateLinkResources = SignalRSharedPrivateLinkResources;
3215
- exports.Usages = Usages;
3216
-
3217
- Object.defineProperty(exports, '__esModule', { value: true });
3218
-
3219
- })));
3220
- //# sourceMappingURL=arm-signalr.js.map