@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
@@ -6,1665 +6,1254 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * Specifications of the Dimension of metrics.
16
- */
17
- export interface Dimension {
18
- /**
19
- * The public facing name of the dimension.
20
- */
21
- name?: string;
22
- /**
23
- * Localized friendly display name of the dimension.
24
- */
25
- displayName?: string;
11
+ /** Result of the request to list REST API operations. It contains a list of operations. */
12
+ export interface OperationList {
13
+ /** List of operations supported by the resource provider. */
14
+ value?: Operation[];
26
15
  /**
27
- * Name of the dimension as it appears in MDM.
28
- */
29
- internalName?: string;
30
- /**
31
- * A Boolean flag indicating whether this dimension should be included for the shoebox export
32
- * scenario.
16
+ * The URL the client should use to fetch the next page (per server side paging).
17
+ * It's null for now, added for future use.
33
18
  */
34
- toBeExportedForShoebox?: boolean;
19
+ nextLink?: string;
35
20
  }
36
21
 
37
- /**
38
- * Specifications of the Logs for Azure Monitoring.
39
- */
40
- export interface LogSpecification {
41
- /**
42
- * Name of the log.
43
- */
22
+ /** REST API operation supported by resource provider. */
23
+ export interface Operation {
24
+ /** Name of the operation with format: {provider}/{resource}/{operation} */
44
25
  name?: string;
45
- /**
46
- * Localized friendly display name of the log.
47
- */
48
- displayName?: string;
26
+ /** If the operation is a data action. (for data plane rbac) */
27
+ isDataAction?: boolean;
28
+ /** The object that describes a operation. */
29
+ display?: OperationDisplay;
30
+ /** Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. */
31
+ origin?: string;
32
+ /** Extra Operation properties. */
33
+ properties?: OperationProperties;
49
34
  }
50
35
 
51
- /**
52
- * Properties of user assigned identity.
53
- */
54
- export interface UserAssignedIdentityProperty {
55
- /**
56
- * Get the principal id for the user assigned identity
57
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
58
- */
59
- readonly principalId?: string;
60
- /**
61
- * Get the client id for the user assigned identity
62
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
63
- */
64
- readonly clientId?: string;
36
+ /** The object that describes a operation. */
37
+ export interface OperationDisplay {
38
+ /** Friendly name of the resource provider */
39
+ provider?: string;
40
+ /** Resource type on which the operation is performed. */
41
+ resource?: string;
42
+ /** The localized friendly name for the operation. */
43
+ operation?: string;
44
+ /** The localized friendly description for the operation */
45
+ description?: string;
65
46
  }
66
47
 
67
- /**
68
- * A class represent managed identities used for request and response
69
- */
70
- export interface ManagedIdentity {
71
- /**
72
- * Represent the identity type: systemAssigned, userAssigned, None. Possible values include:
73
- * 'None', 'SystemAssigned', 'UserAssigned'
74
- */
75
- type?: ManagedIdentityType;
76
- /**
77
- * Get or set the user assigned identities
78
- */
79
- userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentityProperty };
80
- /**
81
- * Get the principal id for the system assigned identity.
82
- * Only be used in response.
83
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
84
- */
85
- readonly principalId?: string;
86
- /**
87
- * Get the tenant id for the system assigned identity.
88
- * Only be used in response
89
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
90
- */
91
- readonly tenantId?: string;
48
+ /** Extra Operation properties. */
49
+ export interface OperationProperties {
50
+ /** An object that describes a specification. */
51
+ serviceSpecification?: ServiceSpecification;
92
52
  }
93
53
 
94
- /**
95
- * Managed identity settings for upstream.
96
- */
97
- export interface ManagedIdentitySettings {
98
- /**
99
- * The Resource indicating the App ID URI of the target resource.
100
- * It also appears in the aud (audience) claim of the issued token.
101
- */
102
- resource?: string;
54
+ /** An object that describes a specification. */
55
+ export interface ServiceSpecification {
56
+ /** Specifications of the Metrics for Azure Monitoring. */
57
+ metricSpecifications?: MetricSpecification[];
58
+ /** Specifications of the Logs for Azure Monitoring. */
59
+ logSpecifications?: LogSpecification[];
103
60
  }
104
61
 
105
- /**
106
- * Specifications of the Metrics for Azure Monitoring.
107
- */
62
+ /** Specifications of the Metrics for Azure Monitoring. */
108
63
  export interface MetricSpecification {
109
- /**
110
- * Name of the metric.
111
- */
64
+ /** Name of the metric. */
112
65
  name?: string;
113
- /**
114
- * Localized friendly display name of the metric.
115
- */
66
+ /** Localized friendly display name of the metric. */
116
67
  displayName?: string;
117
- /**
118
- * Localized friendly description of the metric.
119
- */
68
+ /** Localized friendly description of the metric. */
120
69
  displayDescription?: string;
121
- /**
122
- * The unit that makes sense for the metric.
123
- */
70
+ /** The unit that makes sense for the metric. */
124
71
  unit?: string;
125
- /**
126
- * Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
127
- */
72
+ /** Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. */
128
73
  aggregationType?: string;
129
74
  /**
130
- * Optional. If set to true, then zero will be returned for time duration where no metric is
131
- * emitted/published.
132
- * Ex. a metric that returns the number of times a particular error code was emitted. The error
133
- * code may not appear
134
- * often, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where
135
- * nothing was emitted.
75
+ * Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
76
+ * Ex. a metric that returns the number of times a particular error code was emitted. The error code may not appear
77
+ * often, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where nothing was emitted.
136
78
  */
137
79
  fillGapWithZero?: string;
138
- /**
139
- * The name of the metric category that the metric belongs to. A metric can only belong to a
140
- * single category.
141
- */
80
+ /** The name of the metric category that the metric belongs to. A metric can only belong to a single category. */
142
81
  category?: string;
143
- /**
144
- * The dimensions of the metrics.
145
- */
82
+ /** The dimensions of the metrics. */
146
83
  dimensions?: Dimension[];
147
84
  }
148
85
 
149
- /**
150
- * Result of the request to check name availability. It contains a flag and possible reason of
151
- * failure.
152
- */
153
- export interface NameAvailability {
154
- /**
155
- * Indicates whether the name is available or not.
156
- */
157
- nameAvailable?: boolean;
158
- /**
159
- * The reason of the availability. Required if name is not available.
160
- */
161
- reason?: string;
162
- /**
163
- * The message of the operation.
164
- */
165
- message?: string;
86
+ /** Specifications of the Dimension of metrics. */
87
+ export interface Dimension {
88
+ /** The public facing name of the dimension. */
89
+ name?: string;
90
+ /** Localized friendly display name of the dimension. */
91
+ displayName?: string;
92
+ /** Name of the dimension as it appears in MDM. */
93
+ internalName?: string;
94
+ /** A Boolean flag indicating whether this dimension should be included for the shoebox export scenario. */
95
+ toBeExportedForShoebox?: boolean;
166
96
  }
167
97
 
168
- /**
169
- * Data POST-ed to the nameAvailability action
170
- */
171
- export interface NameAvailabilityParameters {
172
- /**
173
- * The resource type. Can be "Microsoft.SignalRService/SignalR" or
174
- * "Microsoft.SignalRService/webPubSub"
175
- */
176
- type: string;
177
- /**
178
- * The resource name to validate. e.g."my-resource-name"
179
- */
180
- name: string;
98
+ /** Specifications of the Logs for Azure Monitoring. */
99
+ export interface LogSpecification {
100
+ /** Name of the log. */
101
+ name?: string;
102
+ /** Localized friendly display name of the log. */
103
+ displayName?: string;
181
104
  }
182
105
 
183
- /**
184
- * Network ACL
185
- */
186
- export interface NetworkACL {
187
- /**
188
- * Allowed request types. The value can be one or more of: ClientConnection, ServerConnection,
189
- * RESTAPI.
190
- */
191
- allow?: SignalRRequestType[];
192
- /**
193
- * Denied request types. The value can be one or more of: ClientConnection, ServerConnection,
194
- * RESTAPI.
195
- */
196
- deny?: SignalRRequestType[];
106
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
107
+ export interface ErrorResponse {
108
+ /** The error object. */
109
+ error?: ErrorDetail;
197
110
  }
198
111
 
199
- /**
200
- * The object that describes a operation.
201
- */
202
- export interface OperationDisplay {
112
+ /** The error detail. */
113
+ export interface ErrorDetail {
203
114
  /**
204
- * Friendly name of the resource provider
115
+ * The error code.
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
117
  */
206
- provider?: string;
118
+ readonly code?: string;
207
119
  /**
208
- * Resource type on which the operation is performed.
120
+ * The error message.
121
+ * NOTE: This property will not be serialized. It can only be populated by the server.
209
122
  */
210
- resource?: string;
123
+ readonly message?: string;
211
124
  /**
212
- * The localized friendly name for the operation.
125
+ * The error target.
126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
213
127
  */
214
- operation?: string;
128
+ readonly target?: string;
215
129
  /**
216
- * The localized friendly description for the operation
130
+ * The error details.
131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
132
  */
218
- description?: string;
133
+ readonly details?: ErrorDetail[];
134
+ /**
135
+ * The error additional info.
136
+ * NOTE: This property will not be serialized. It can only be populated by the server.
137
+ */
138
+ readonly additionalInfo?: ErrorAdditionalInfo[];
219
139
  }
220
140
 
221
- /**
222
- * An object that describes a specification.
223
- */
224
- export interface ServiceSpecification {
141
+ /** The resource management error additional info. */
142
+ export interface ErrorAdditionalInfo {
225
143
  /**
226
- * Specifications of the Metrics for Azure Monitoring.
144
+ * The additional info type.
145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
227
146
  */
228
- metricSpecifications?: MetricSpecification[];
147
+ readonly type?: string;
229
148
  /**
230
- * Specifications of the Logs for Azure Monitoring.
149
+ * The additional info.
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
151
  */
232
- logSpecifications?: LogSpecification[];
152
+ readonly info?: Record<string, unknown>;
233
153
  }
234
154
 
235
- /**
236
- * Extra Operation properties.
237
- */
238
- export interface OperationProperties {
239
- /**
240
- * The service specifications.
241
- */
242
- serviceSpecification?: ServiceSpecification;
155
+ /** Data POST-ed to the nameAvailability action */
156
+ export interface NameAvailabilityParameters {
157
+ /** The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub" */
158
+ type: string;
159
+ /** The resource name to validate. e.g."my-resource-name" */
160
+ name: string;
243
161
  }
244
162
 
245
- /**
246
- * REST API operation supported by resource provider.
247
- */
248
- export interface Operation {
249
- /**
250
- * Name of the operation with format: {provider}/{resource}/{operation}
251
- */
252
- name?: string;
253
- /**
254
- * If the operation is a data action. (for data plane rbac)
255
- */
256
- isDataAction?: boolean;
257
- /**
258
- * The object that describes the operation.
259
- */
260
- display?: OperationDisplay;
261
- /**
262
- * Optional. The intended executor of the operation; governs the display of the operation in the
263
- * RBAC UX and the audit logs UX.
264
- */
265
- origin?: string;
266
- /**
267
- * Extra properties for the operation.
268
- */
269
- properties?: OperationProperties;
163
+ /** Result of the request to check name availability. It contains a flag and possible reason of failure. */
164
+ export interface NameAvailability {
165
+ /** Indicates whether the name is available or not. */
166
+ nameAvailable?: boolean;
167
+ /** The reason of the availability. Required if name is not available. */
168
+ reason?: string;
169
+ /** The message of the operation. */
170
+ message?: string;
270
171
  }
271
172
 
272
- /**
273
- * Private endpoint
274
- */
275
- export interface PrivateEndpoint {
173
+ /** Object that includes an array of the resource usages and a possible link for next set. */
174
+ export interface SignalRUsageList {
175
+ /** List of the resource usages */
176
+ value?: SignalRUsage[];
276
177
  /**
277
- * Full qualified Id of the private endpoint
178
+ * The URL the client should use to fetch the next page (per server side paging).
179
+ * It's null for now, added for future use.
278
180
  */
181
+ nextLink?: string;
182
+ }
183
+
184
+ /** Object that describes a specific usage of the resources. */
185
+ export interface SignalRUsage {
186
+ /** Fully qualified ARM resource id */
279
187
  id?: string;
188
+ /** Current value for the usage quota. */
189
+ currentValue?: number;
190
+ /** The maximum permitted value for the usage quota. If there is no limit, this value will be -1. */
191
+ limit?: number;
192
+ /** Localizable String object containing the name and a localized value. */
193
+ name?: SignalRUsageName;
194
+ /** Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. */
195
+ unit?: string;
280
196
  }
281
197
 
282
- /**
283
- * ACL for a private endpoint
284
- */
285
- export interface PrivateEndpointACL extends NetworkACL {
198
+ /** Localizable String object containing the name and a localized value. */
199
+ export interface SignalRUsageName {
200
+ /** The identifier of the usage. */
201
+ value?: string;
202
+ /** Localized name of the usage. */
203
+ localizedValue?: string;
204
+ }
205
+
206
+ /** Object that includes an array of resources and a possible link for next set. */
207
+ export interface SignalRResourceList {
208
+ /** List of the resources */
209
+ value?: SignalRResource[];
286
210
  /**
287
- * Name of the private endpoint connection
211
+ * The URL the client should use to fetch the next page (per server side paging).
212
+ * It's null for now, added for future use.
288
213
  */
289
- name: string;
214
+ nextLink?: string;
290
215
  }
291
216
 
292
- /**
293
- * Metadata pertaining to creation and last modification of the resource.
294
- */
295
- export interface SystemData {
217
+ /** The billing information of the resource. */
218
+ export interface ResourceSku {
296
219
  /**
297
- * The identity that created the resource.
220
+ * The name of the SKU. Required.
221
+ *
222
+ * Allowed values: Standard_S1, Free_F1
298
223
  */
299
- createdBy?: string;
224
+ name: string;
300
225
  /**
301
- * The type of identity that created the resource. Possible values include: 'User',
302
- * 'Application', 'ManagedIdentity', 'Key'
226
+ * Optional tier of this particular SKU. 'Standard' or 'Free'.
227
+ *
228
+ * `Basic` is deprecated, use `Standard` instead.
303
229
  */
304
- createdByType?: CreatedByType;
230
+ tier?: SignalRSkuTier;
305
231
  /**
306
- * The timestamp of resource creation (UTC).
232
+ * Not used. Retained for future use.
233
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
234
  */
308
- createdAt?: Date;
235
+ readonly size?: string;
309
236
  /**
310
- * The identity that last modified the resource.
237
+ * Not used. Retained for future use.
238
+ * NOTE: This property will not be serialized. It can only be populated by the server.
311
239
  */
312
- lastModifiedBy?: string;
240
+ readonly family?: string;
313
241
  /**
314
- * The type of identity that last modified the resource. Possible values include: 'User',
315
- * 'Application', 'ManagedIdentity', 'Key'
242
+ * Optional, integer. The unit count of the resource. 1 by default.
243
+ *
244
+ * If present, following values are allowed:
245
+ * Free: 1
246
+ * Standard: 1,2,5,10,20,50,100
316
247
  */
248
+ capacity?: number;
249
+ }
250
+
251
+ /** Metadata pertaining to creation and last modification of the resource. */
252
+ export interface SystemData {
253
+ /** The identity that created the resource. */
254
+ createdBy?: string;
255
+ /** The type of identity that created the resource. */
256
+ createdByType?: CreatedByType;
257
+ /** The timestamp of resource creation (UTC). */
258
+ createdAt?: Date;
259
+ /** The identity that last modified the resource. */
260
+ lastModifiedBy?: string;
261
+ /** The type of identity that last modified the resource. */
317
262
  lastModifiedByType?: CreatedByType;
318
- /**
319
- * The timestamp of resource last modification (UTC)
320
- */
263
+ /** The timestamp of resource last modification (UTC) */
321
264
  lastModifiedAt?: Date;
322
265
  }
323
266
 
324
- /**
325
- * Connection state of the private endpoint connection
326
- */
267
+ /** Private endpoint */
268
+ export interface PrivateEndpoint {
269
+ /** Full qualified Id of the private endpoint */
270
+ id?: string;
271
+ }
272
+
273
+ /** Connection state of the private endpoint connection */
327
274
  export interface PrivateLinkServiceConnectionState {
328
- /**
329
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
330
- * service. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
331
- */
275
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
332
276
  status?: PrivateLinkServiceConnectionStatus;
333
- /**
334
- * The reason for approval/rejection of the connection.
335
- */
277
+ /** The reason for approval/rejection of the connection. */
336
278
  description?: string;
337
- /**
338
- * A message indicating if changes on the service provider require any updates on the consumer.
339
- */
279
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
340
280
  actionsRequired?: string;
341
281
  }
342
282
 
343
- /**
344
- * The core properties of ARM resources.
345
- */
346
- export interface Resource extends BaseResource {
283
+ /** The core properties of ARM resources. */
284
+ export interface Resource {
347
285
  /**
348
286
  * Fully qualified resource Id for the resource.
349
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
288
  */
351
289
  readonly id?: string;
352
290
  /**
353
291
  * The name of the resource.
354
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
355
293
  */
356
294
  readonly name?: string;
357
295
  /**
358
296
  * The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
359
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
297
+ * NOTE: This property will not be serialized. It can only be populated by the server.
360
298
  */
361
299
  readonly type?: string;
362
300
  }
363
301
 
364
- /**
365
- * The resource model definition for a ARM proxy resource. It will have everything other than
366
- * required location and tags
367
- */
368
- export interface ProxyResource extends Resource {
302
+ /** TLS settings for the resource */
303
+ export interface SignalRTlsSettings {
304
+ /** Request client certificate during TLS handshake if enabled */
305
+ clientCertEnabled?: boolean;
369
306
  }
370
307
 
371
- /**
372
- * A private endpoint connection to an azure resource
373
- */
374
- export interface PrivateEndpointConnection extends ProxyResource {
375
- /**
376
- * Metadata pertaining to creation and last modification of the resource.
377
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
378
- */
379
- readonly systemData?: SystemData;
380
- /**
381
- * Provisioning state of the private endpoint connection. Possible values include: 'Unknown',
382
- * 'Succeeded', 'Failed', 'Canceled', 'Running', 'Creating', 'Updating', 'Deleting', 'Moving'
383
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
384
- */
385
- readonly provisioningState?: ProvisioningState;
386
- /**
387
- * Private endpoint associated with the private endpoint connection
388
- */
389
- privateEndpoint?: PrivateEndpoint;
308
+ /** Feature of a resource, which controls the runtime behavior. */
309
+ export interface SignalRFeature {
390
310
  /**
391
- * Connection state
311
+ * FeatureFlags is the supported features of Azure SignalR service.
312
+ * - ServiceMode: Flag for backend server for SignalR service. Values allowed: "Default": have your own backend server; "Serverless": your application doesn't have a backend server; "Classic": for backward compatibility. Support both Default and Serverless mode but not recommended; "PredefinedOnly": for future use.
313
+ * - EnableConnectivityLogs: "true"/"false", to enable/disable the connectivity log category respectively.
314
+ * - EnableMessagingLogs: "true"/"false", to enable/disable the connectivity log category respectively.
315
+ * - EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: "true"/"false", to enable/disable live trace feature.
392
316
  */
393
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
317
+ flag: FeatureFlags;
318
+ /** Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values. */
319
+ value: string;
320
+ /** Optional properties related to this feature. */
321
+ properties?: { [propertyName: string]: string };
394
322
  }
395
323
 
396
- /**
397
- * Describes the properties of a resource type that has been onboarded to private link service
398
- */
399
- export interface ShareablePrivateLinkResourceProperties {
400
- /**
401
- * The description of the resource type that has been onboarded to private link service
402
- */
403
- description?: string;
404
- /**
405
- * The resource provider group id for the resource that has been onboarded to private link
406
- * service
407
- */
408
- groupId?: string;
409
- /**
410
- * The resource provider type for the resource that has been onboarded to private link service
411
- */
412
- type?: string;
324
+ /** Resource log configuration of a Microsoft.SignalRService resource. */
325
+ export interface ResourceLogConfiguration {
326
+ /** Gets or sets the list of category configurations. */
327
+ categories?: ResourceLogCategory[];
413
328
  }
414
329
 
415
- /**
416
- * Describes a resource type that has been onboarded to private link service
417
- */
418
- export interface ShareablePrivateLinkResourceType {
330
+ /** Resource log category configuration of a Microsoft.SignalRService resource. */
331
+ export interface ResourceLogCategory {
419
332
  /**
420
- * The name of the resource type that has been onboarded to private link service
333
+ * Gets or sets the resource log category's name.
334
+ * Available values: ConnectivityLogs, MessagingLogs.
335
+ * Case insensitive.
421
336
  */
422
337
  name?: string;
423
338
  /**
424
- * Describes the properties of a resource type that has been onboarded to private link service
339
+ * Indicates whether or the resource log category is enabled.
340
+ * Available values: true, false.
341
+ * Case insensitive.
425
342
  */
426
- properties?: ShareablePrivateLinkResourceProperties;
343
+ enabled?: string;
427
344
  }
428
345
 
429
- /**
430
- * Private link resource
431
- */
432
- export interface PrivateLinkResource extends ProxyResource {
433
- /**
434
- * Group Id of the private link resource
435
- */
436
- groupId?: string;
437
- /**
438
- * Required members of the private link resource
439
- */
440
- requiredMembers?: string[];
441
- /**
442
- * Required private DNS zone names
443
- */
444
- requiredZoneNames?: string[];
445
- /**
446
- * The list of resources that are onboarded to private link service
447
- */
448
- shareablePrivateLinkResourceTypes?: ShareablePrivateLinkResourceType[];
449
- }
450
-
451
- /**
452
- * Parameters describes the request to regenerate access keys
453
- */
454
- export interface RegenerateKeyParameters {
455
- /**
456
- * The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). Possible
457
- * values include: 'Primary', 'Secondary'
458
- */
459
- keyType?: KeyType;
460
- }
461
-
462
- /**
463
- * The billing information of the resource.
464
- */
465
- export interface ResourceSku {
466
- /**
467
- * The name of the SKU. Required.
468
- *
469
- * Allowed values: Standard_S1, Free_F1
470
- */
471
- name: string;
472
- /**
473
- * Optional tier of this particular SKU. 'Standard' or 'Free'.
474
- *
475
- * `Basic` is deprecated, use `Standard` instead. Possible values include: 'Free', 'Basic',
476
- * 'Standard', 'Premium'
477
- */
478
- tier?: SignalRSkuTier;
479
- /**
480
- * Not used. Retained for future use.
481
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
482
- */
483
- readonly size?: string;
484
- /**
485
- * Not used. Retained for future use.
486
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
487
- */
488
- readonly family?: string;
489
- /**
490
- * Optional, integer. The unit count of the resource. 1 by default.
491
- *
492
- * If present, following values are allowed:
493
- * Free: 1
494
- * Standard: 1,2,5,10,20,50,100
495
- */
496
- capacity?: number;
497
- }
498
-
499
- /**
500
- * Upstream auth settings.
501
- */
502
- export interface UpstreamAuthSettings {
503
- /**
504
- * Gets or sets the type of auth. None or ManagedIdentity is supported now. Possible values
505
- * include: 'None', 'ManagedIdentity'
506
- */
507
- type?: UpstreamAuthType;
508
- /**
509
- * Gets or sets the managed identity settings. It's required if the auth type is set to
510
- * ManagedIdentity.
511
- */
512
- managedIdentity?: ManagedIdentitySettings;
346
+ /** Cross-Origin Resource Sharing (CORS) settings. */
347
+ export interface SignalRCorsSettings {
348
+ /** Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. If omitted, allow all by default. */
349
+ allowedOrigins?: string[];
350
+ }
351
+
352
+ /** The settings for the Upstream when the service is in server-less mode. */
353
+ export interface ServerlessUpstreamSettings {
354
+ /** Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects. */
355
+ templates?: UpstreamTemplate[];
513
356
  }
514
357
 
515
358
  /**
516
359
  * Upstream template item settings. It defines the Upstream URL of the incoming requests.
517
- * The template defines the pattern of the event, the hub or the category of the incoming request
518
- * that matches current URL template.
360
+ * The template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template.
519
361
  */
520
362
  export interface UpstreamTemplate {
521
363
  /**
522
364
  * Gets or sets the matching pattern for hub names. If not set, it matches any hub.
523
365
  * There are 3 kind of patterns supported:
524
- * 1. "*", it to matches any hub name
525
- * 2. Combine multiple hubs with ",", for example "hub1,hub2", it matches "hub1" and "hub2"
526
- * 3. The single hub name, for example, "hub1", it matches "hub1"
366
+ * 1. "*", it to matches any hub name
367
+ * 2. Combine multiple hubs with ",", for example "hub1,hub2", it matches "hub1" and "hub2"
368
+ * 3. The single hub name, for example, "hub1", it matches "hub1"
527
369
  */
528
370
  hubPattern?: string;
529
371
  /**
530
372
  * Gets or sets the matching pattern for event names. If not set, it matches any event.
531
373
  * There are 3 kind of patterns supported:
532
- * 1. "*", it to matches any event name
533
- * 2. Combine multiple events with ",", for example "connect,disconnect", it matches event
534
- * "connect" and "disconnect"
535
- * 3. The single event name, for example, "connect", it matches "connect"
374
+ * 1. "*", it to matches any event name
375
+ * 2. Combine multiple events with ",", for example "connect,disconnect", it matches event "connect" and "disconnect"
376
+ * 3. The single event name, for example, "connect", it matches "connect"
536
377
  */
537
378
  eventPattern?: string;
538
379
  /**
539
380
  * Gets or sets the matching pattern for category names. If not set, it matches any category.
540
381
  * There are 3 kind of patterns supported:
541
- * 1. "*", it to matches any category name
542
- * 2. Combine multiple categories with ",", for example "connections,messages", it matches
543
- * category "connections" and "messages"
544
- * 3. The single category name, for example, "connections", it matches the category "connections"
382
+ * 1. "*", it to matches any category name
383
+ * 2. Combine multiple categories with ",", for example "connections,messages", it matches category "connections" and "messages"
384
+ * 3. The single category name, for example, "connections", it matches the category "connections"
545
385
  */
546
386
  categoryPattern?: string;
547
387
  /**
548
- * Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category}
549
- * {event} inside the template, the value of the Upstream URL is dynamically calculated when the
550
- * client request comes in.
551
- * For example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client
552
- * request from hub `chat` connects, it will first POST to this URL:
553
- * `http://example.com/chat/api/connect`.
388
+ * Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.
389
+ * For example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`.
554
390
  */
555
391
  urlTemplate: string;
556
- /**
557
- * Gets or sets the auth settings for an upstream. If not set, no auth is used for upstream
558
- * messages.
559
- */
392
+ /** Upstream auth settings. If not set, no auth is used for upstream messages. */
560
393
  auth?: UpstreamAuthSettings;
561
394
  }
562
395
 
563
- /**
564
- * The settings for the Upstream when the service is in server-less mode.
565
- */
566
- export interface ServerlessUpstreamSettings {
567
- /**
568
- * Gets or sets the list of Upstream URL templates. Order matters, and the first matching
569
- * template takes effects.
570
- */
571
- templates?: UpstreamTemplate[];
396
+ /** Upstream auth settings. If not set, no auth is used for upstream messages. */
397
+ export interface UpstreamAuthSettings {
398
+ /** Upstream auth type enum. */
399
+ type?: UpstreamAuthType;
400
+ /** Managed identity settings for upstream. */
401
+ managedIdentity?: ManagedIdentitySettings;
572
402
  }
573
403
 
574
- /**
575
- * Describes a Shared Private Link Resource
576
- */
577
- export interface SharedPrivateLinkResource extends ProxyResource {
404
+ /** Managed identity settings for upstream. */
405
+ export interface ManagedIdentitySettings {
578
406
  /**
579
- * Metadata pertaining to creation and last modification of the resource.
580
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
407
+ * The Resource indicating the App ID URI of the target resource.
408
+ * It also appears in the aud (audience) claim of the issued token.
581
409
  */
582
- readonly systemData?: SystemData;
410
+ resource?: string;
411
+ }
412
+
413
+ /** Network ACLs for the resource */
414
+ export interface SignalRNetworkACLs {
415
+ /** Azure Networking ACL Action. */
416
+ defaultAction?: ACLAction;
417
+ /** Network ACL */
418
+ publicNetwork?: NetworkACL;
419
+ /** ACLs for requests from private endpoints */
420
+ privateEndpoints?: PrivateEndpointACL[];
421
+ }
422
+
423
+ /** Network ACL */
424
+ export interface NetworkACL {
425
+ /** Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */
426
+ allow?: SignalRRequestType[];
427
+ /** Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. */
428
+ deny?: SignalRRequestType[];
429
+ }
430
+
431
+ /** A class represent managed identities used for request and response */
432
+ export interface ManagedIdentity {
433
+ /** Represents the identity type: systemAssigned, userAssigned, None */
434
+ type?: ManagedIdentityType;
435
+ /** Get or set the user assigned identities */
436
+ userAssignedIdentities?: {
437
+ [propertyName: string]: UserAssignedIdentityProperty;
438
+ };
583
439
  /**
584
- * The group id from the provider of resource the shared private link resource is for
440
+ * Get the principal id for the system assigned identity.
441
+ * Only be used in response.
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
585
443
  */
586
- groupId: string;
444
+ readonly principalId?: string;
587
445
  /**
588
- * The resource id of the resource the shared private link resource is for
446
+ * Get the tenant id for the system assigned identity.
447
+ * Only be used in response
448
+ * NOTE: This property will not be serialized. It can only be populated by the server.
589
449
  */
590
- privateLinkResourceId: string;
450
+ readonly tenantId?: string;
451
+ }
452
+
453
+ /** Properties of user assigned identity. */
454
+ export interface UserAssignedIdentityProperty {
591
455
  /**
592
- * Provisioning state of the shared private link resource. Possible values include: 'Unknown',
593
- * 'Succeeded', 'Failed', 'Canceled', 'Running', 'Creating', 'Updating', 'Deleting', 'Moving'
594
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
456
+ * Get the principal id for the user assigned identity
457
+ * NOTE: This property will not be serialized. It can only be populated by the server.
595
458
  */
596
- readonly provisioningState?: ProvisioningState;
459
+ readonly principalId?: string;
597
460
  /**
598
- * The request message for requesting approval of the shared private link resource
461
+ * Get the client id for the user assigned identity
462
+ * NOTE: This property will not be serialized. It can only be populated by the server.
599
463
  */
600
- requestMessage?: string;
464
+ readonly clientId?: string;
465
+ }
466
+
467
+ /** A class represents the access keys of the resource. */
468
+ export interface SignalRKeys {
469
+ /** The primary access key. */
470
+ primaryKey?: string;
471
+ /** The secondary access key. */
472
+ secondaryKey?: string;
473
+ /** Connection string constructed via the primaryKey */
474
+ primaryConnectionString?: string;
475
+ /** Connection string constructed via the secondaryKey */
476
+ secondaryConnectionString?: string;
477
+ }
478
+
479
+ /** A list of private endpoint connections */
480
+ export interface PrivateEndpointConnectionList {
481
+ /** The list of the private endpoint connections */
482
+ value?: PrivateEndpointConnection[];
483
+ /** Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size. */
484
+ nextLink?: string;
485
+ }
486
+
487
+ /** Contains a list of PrivateLinkResource and a possible link to query more results */
488
+ export interface PrivateLinkResourceList {
489
+ /** List of PrivateLinkResource */
490
+ value?: PrivateLinkResource[];
601
491
  /**
602
- * Status of the shared private link resource. Possible values include: 'Pending', 'Approved',
603
- * 'Rejected', 'Disconnected', 'Timeout'
604
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
492
+ * The URL the client should use to fetch the next page (per server side paging).
493
+ * It's null for now, added for future use.
605
494
  */
606
- readonly status?: SharedPrivateLinkResourceStatus;
495
+ nextLink?: string;
607
496
  }
608
497
 
609
- /**
610
- * Cross-Origin Resource Sharing (CORS) settings.
611
- */
612
- export interface SignalRCorsSettings {
498
+ /** Describes a resource type that has been onboarded to private link service */
499
+ export interface ShareablePrivateLinkResourceType {
500
+ /** The name of the resource type that has been onboarded to private link service */
501
+ name?: string;
502
+ /** Describes the properties of a resource type that has been onboarded to private link service */
503
+ properties?: ShareablePrivateLinkResourceProperties;
504
+ }
505
+
506
+ /** Describes the properties of a resource type that has been onboarded to private link service */
507
+ export interface ShareablePrivateLinkResourceProperties {
508
+ /** The description of the resource type that has been onboarded to private link service */
509
+ description?: string;
510
+ /** The resource provider group id for the resource that has been onboarded to private link service */
511
+ groupId?: string;
512
+ /** The resource provider type for the resource that has been onboarded to private link service */
513
+ type?: string;
514
+ }
515
+
516
+ /** Parameters describes the request to regenerate access keys */
517
+ export interface RegenerateKeyParameters {
518
+ /** The type of access key. */
519
+ keyType?: KeyType;
520
+ }
521
+
522
+ /** A list of shared private link resources */
523
+ export interface SharedPrivateLinkResourceList {
524
+ /** The list of the shared private link resources */
525
+ value?: SharedPrivateLinkResource[];
526
+ /** Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size. */
527
+ nextLink?: string;
528
+ }
529
+
530
+ /** The list skus operation response */
531
+ export interface SkuList {
613
532
  /**
614
- * Gets or sets the list of origins that should be allowed to make cross-origin calls (for
615
- * example: http://example.com:12345). Use "*" to allow all. If omitted, allow all by default.
533
+ * The list of skus available for the resource.
534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
616
535
  */
617
- allowedOrigins?: string[];
536
+ readonly value?: Sku[];
537
+ /**
538
+ * The URL the client should use to fetch the next page (per server side paging).
539
+ * It's null for now, added for future use.
540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
+ */
542
+ readonly nextLink?: string;
618
543
  }
619
544
 
620
- /**
621
- * Feature of a resource, which controls the runtime behavior.
622
- */
623
- export interface SignalRFeature {
545
+ /** Describes an available sku." */
546
+ export interface Sku {
624
547
  /**
625
- * FeatureFlags is the supported features of Azure SignalR service.
626
- * - ServiceMode: Flag for backend server for SignalR service. Values allowed: "Default": have
627
- * your own backend server; "Serverless": your application doesn't have a backend server;
628
- * "Classic": for backward compatibility. Support both Default and Serverless mode but not
629
- * recommended; "PredefinedOnly": for future use.
630
- * - EnableConnectivityLogs: "true"/"false", to enable/disable the connectivity log category
631
- * respectively.
632
- * - EnableMessagingLogs: "true"/"false", to enable/disable the connectivity log category
633
- * respectively.
634
- * - EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR
635
- * service, it will give you live traces in real time, it will be helpful when you developing
636
- * your own Azure SignalR based web application or self-troubleshooting some issues. Please note
637
- * that live traces are counted as outbound messages that will be charged. Values allowed:
638
- * "true"/"false", to enable/disable live trace feature. Possible values include: 'ServiceMode',
639
- * 'EnableConnectivityLogs', 'EnableMessagingLogs', 'EnableLiveTrace'
548
+ * The resource type that this object applies to
549
+ * NOTE: This property will not be serialized. It can only be populated by the server.
640
550
  */
641
- flag: FeatureFlags;
551
+ readonly resourceType?: string;
642
552
  /**
643
- * Value of the feature flag. See Azure SignalR service document
644
- * https://docs.microsoft.com/azure/azure-signalr/ for allowed values.
553
+ * The billing information of the resource.
554
+ * NOTE: This property will not be serialized. It can only be populated by the server.
645
555
  */
646
- value: string;
556
+ readonly sku?: ResourceSku;
647
557
  /**
648
- * Optional properties related to this feature.
558
+ * Describes scaling information of a sku.
559
+ * NOTE: This property will not be serialized. It can only be populated by the server.
649
560
  */
650
- properties?: { [propertyName: string]: string };
561
+ readonly capacity?: SkuCapacity;
651
562
  }
652
563
 
653
- /**
654
- * A class represents the access keys of the resource.
655
- */
656
- export interface SignalRKeys {
564
+ /** Describes scaling information of a sku. */
565
+ export interface SkuCapacity {
657
566
  /**
658
- * The primary access key.
567
+ * The lowest permitted capacity for this resource
568
+ * NOTE: This property will not be serialized. It can only be populated by the server.
659
569
  */
660
- primaryKey?: string;
570
+ readonly minimum?: number;
661
571
  /**
662
- * The secondary access key.
572
+ * The highest permitted capacity for this resource
573
+ * NOTE: This property will not be serialized. It can only be populated by the server.
663
574
  */
664
- secondaryKey?: string;
575
+ readonly maximum?: number;
665
576
  /**
666
- * Connection string constructed via the primaryKey
577
+ * The default capacity.
578
+ * NOTE: This property will not be serialized. It can only be populated by the server.
667
579
  */
668
- primaryConnectionString?: string;
580
+ readonly default?: number;
669
581
  /**
670
- * Connection string constructed via the secondaryKey
582
+ * Allows capacity value list.
583
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
584
  */
672
- secondaryConnectionString?: string;
585
+ readonly allowedValues?: number[];
586
+ /**
587
+ * The scale type applicable to the sku.
588
+ * NOTE: This property will not be serialized. It can only be populated by the server.
589
+ */
590
+ readonly scaleType?: ScaleType;
673
591
  }
674
592
 
675
- /**
676
- * Network ACLs for the resource
677
- */
678
- export interface SignalRNetworkACLs {
593
+ /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
594
+ export type ProxyResource = Resource & {};
595
+
596
+ /** The resource model definition for a ARM tracked top level resource. */
597
+ export type TrackedResource = Resource & {
598
+ /** The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. */
599
+ location?: string;
600
+ /** Tags of the service which is a list of key value pairs that describe the resource. */
601
+ tags?: { [propertyName: string]: string };
602
+ };
603
+
604
+ /** ACL for a private endpoint */
605
+ export type PrivateEndpointACL = NetworkACL & {
606
+ /** Name of the private endpoint connection */
607
+ name: string;
608
+ };
609
+
610
+ /** A private endpoint connection to an azure resource */
611
+ export type PrivateEndpointConnection = ProxyResource & {
679
612
  /**
680
- * Default action when no other rule matches. Possible values include: 'Allow', 'Deny'
613
+ * Metadata pertaining to creation and last modification of the resource.
614
+ * NOTE: This property will not be serialized. It can only be populated by the server.
681
615
  */
682
- defaultAction?: ACLAction;
616
+ readonly systemData?: SystemData;
683
617
  /**
684
- * ACL for requests from public network
618
+ * Provisioning state of the resource.
619
+ * NOTE: This property will not be serialized. It can only be populated by the server.
685
620
  */
686
- publicNetwork?: NetworkACL;
621
+ readonly provisioningState?: ProvisioningState;
622
+ /** Private endpoint */
623
+ privateEndpoint?: PrivateEndpoint;
687
624
  /**
688
- * ACLs for requests from private endpoints
625
+ * Group IDs
626
+ * NOTE: This property will not be serialized. It can only be populated by the server.
689
627
  */
690
- privateEndpoints?: PrivateEndpointACL[];
691
- }
628
+ readonly groupIds?: string[];
629
+ /** Connection state of the private endpoint connection */
630
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
631
+ };
692
632
 
693
- /**
694
- * TLS settings for the resource
695
- */
696
- export interface SignalRTlsSettings {
633
+ /** Describes a Shared Private Link Resource */
634
+ export type SharedPrivateLinkResource = ProxyResource & {
697
635
  /**
698
- * Request client certificate during TLS handshake if enabled. Default value: true.
636
+ * Metadata pertaining to creation and last modification of the resource.
637
+ * NOTE: This property will not be serialized. It can only be populated by the server.
699
638
  */
700
- clientCertEnabled?: boolean;
701
- }
702
-
703
- /**
704
- * The resource model definition for a ARM tracked top level resource.
705
- */
706
- export interface TrackedResource extends Resource {
639
+ readonly systemData?: SystemData;
640
+ /** The group id from the provider of resource the shared private link resource is for */
641
+ groupId?: string;
642
+ /** The resource id of the resource the shared private link resource is for */
643
+ privateLinkResourceId?: string;
707
644
  /**
708
- * The GEO location of the resource. e.g. West US | East US | North Central US | South Central
709
- * US.
645
+ * Provisioning state of the resource.
646
+ * NOTE: This property will not be serialized. It can only be populated by the server.
710
647
  */
711
- location?: string;
648
+ readonly provisioningState?: ProvisioningState;
649
+ /** The request message for requesting approval of the shared private link resource */
650
+ requestMessage?: string;
712
651
  /**
713
- * Tags of the service which is a list of key value pairs that describe the resource.
652
+ * Status of the shared private link resource
653
+ * NOTE: This property will not be serialized. It can only be populated by the server.
714
654
  */
715
- tags?: { [propertyName: string]: string };
716
- }
655
+ readonly status?: SharedPrivateLinkResourceStatus;
656
+ };
717
657
 
718
- /**
719
- * A class represent a resource.
720
- */
721
- export interface SignalRResource extends TrackedResource {
658
+ /** Private link resource */
659
+ export type PrivateLinkResource = ProxyResource & {
660
+ /** Group Id of the private link resource */
661
+ groupId?: string;
662
+ /** Required members of the private link resource */
663
+ requiredMembers?: string[];
664
+ /** Required private DNS zone names */
665
+ requiredZoneNames?: string[];
666
+ /** The list of resources that are onboarded to private link service */
667
+ shareablePrivateLinkResourceTypes?: ShareablePrivateLinkResourceType[];
668
+ };
669
+
670
+ /** A class represent a resource. */
671
+ export type SignalRResource = TrackedResource & {
672
+ /** The billing information of the resource. */
673
+ sku?: ResourceSku;
674
+ /** The kind of the service, it can be SignalR or RawWebSockets */
675
+ kind?: ServiceKind;
676
+ /** A class represent managed identities used for request and response */
677
+ identity?: ManagedIdentity;
722
678
  /**
723
- * The billing information of the resource.(e.g. Free, Standard)
679
+ * Metadata pertaining to creation and last modification of the resource.
680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
724
681
  */
725
- sku?: ResourceSku;
682
+ readonly systemData?: SystemData;
726
683
  /**
727
- * Provisioning state of the resource. Possible values include: 'Unknown', 'Succeeded', 'Failed',
728
- * 'Canceled', 'Running', 'Creating', 'Updating', 'Deleting', 'Moving'
729
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
684
+ * Provisioning state of the resource.
685
+ * NOTE: This property will not be serialized. It can only be populated by the server.
730
686
  */
731
687
  readonly provisioningState?: ProvisioningState;
732
688
  /**
733
689
  * The publicly accessible IP of the resource.
734
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
735
691
  */
736
692
  readonly externalIP?: string;
737
693
  /**
738
694
  * FQDN of the service instance.
739
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
740
696
  */
741
697
  readonly hostName?: string;
742
698
  /**
743
699
  * The publicly accessible port of the resource which is designed for browser/client side usage.
744
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
701
  */
746
702
  readonly publicPort?: number;
747
703
  /**
748
704
  * The publicly accessible port of the resource which is designed for customer server side usage.
749
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
750
706
  */
751
707
  readonly serverPort?: number;
752
708
  /**
753
709
  * Version of the resource. Probably you need the same or higher version of client SDKs.
754
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
755
711
  */
756
712
  readonly version?: string;
757
713
  /**
758
714
  * Private endpoint connections to the resource.
759
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
715
+ * NOTE: This property will not be serialized. It can only be populated by the server.
760
716
  */
761
717
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
762
718
  /**
763
719
  * The list of shared private link resources.
764
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
720
+ * NOTE: This property will not be serialized. It can only be populated by the server.
765
721
  */
766
722
  readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
767
- /**
768
- * TLS settings.
769
- */
723
+ /** TLS settings for the resource */
770
724
  tls?: SignalRTlsSettings;
771
725
  /**
772
- * List of the featureFlags.
773
- *
774
- * FeatureFlags that are not included in the parameters for the update operation will not be
775
- * modified.
776
- * And the response will only include featureFlags that are explicitly set.
777
- * When a featureFlag is not explicitly set, its globally default value will be used
778
- * But keep in mind, the default value doesn't mean "false". It varies in terms of different
779
- * FeatureFlags.
780
- */
781
- features?: SignalRFeature[];
782
- /**
783
- * Cross-Origin Resource Sharing (CORS) settings.
784
- */
785
- cors?: SignalRCorsSettings;
786
- /**
787
- * Upstream settings when the service is in server-less mode.
788
- */
789
- upstream?: ServerlessUpstreamSettings;
790
- /**
791
- * Network ACLs
792
- */
793
- networkACLs?: SignalRNetworkACLs;
794
- /**
795
- * Enable or disable public network access. Default to "Enabled".
796
- * When it's Enabled, network ACLs still apply.
797
- * When it's Disabled, public network access is always disabled no matter what you set in network
798
- * ACLs. Default value: 'Enabled'.
799
- */
800
- publicNetworkAccess?: string;
801
- /**
802
- * DisableLocalAuth
803
- * Enable or disable local auth with AccessKey
804
- * When set as true, connection with AccessKey=xxx won't work. Default value: false.
805
- */
806
- disableLocalAuth?: boolean;
807
- /**
808
- * DisableLocalAuth
809
- * Enable or disable aad auth
810
- * When set as true, connection with AuthType=aad won't work. Default value: false.
811
- */
812
- disableAadAuth?: boolean;
813
- /**
814
- * The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR". Possible
815
- * values include: 'SignalR', 'RawWebSockets'
816
- */
817
- kind?: ServiceKind;
818
- /**
819
- * The managed identity response
820
- */
821
- identity?: ManagedIdentity;
822
- /**
823
- * Metadata pertaining to creation and last modification of the resource.
824
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
825
- */
826
- readonly systemData?: SystemData;
827
- }
828
-
829
- /**
830
- * Localizable String object containing the name and a localized value.
831
- */
832
- export interface SignalRUsageName {
833
- /**
834
- * The identifier of the usage.
835
- */
836
- value?: string;
837
- /**
838
- * Localized name of the usage.
839
- */
840
- localizedValue?: string;
841
- }
842
-
843
- /**
844
- * Object that describes a specific usage of the resources.
845
- */
846
- export interface SignalRUsage {
847
- /**
848
- * Fully qualified ARM resource id
849
- */
850
- id?: string;
851
- /**
852
- * Current value for the usage quota.
853
- */
854
- currentValue?: number;
855
- /**
856
- * The maximum permitted value for the usage quota. If there is no limit, this value will be -1.
857
- */
858
- limit?: number;
859
- /**
860
- * Localizable String object containing the name and a localized value.
861
- */
862
- name?: SignalRUsageName;
863
- /**
864
- * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds,
865
- * Percent, CountPerSecond, BytesPerSecond.
866
- */
867
- unit?: string;
868
- }
869
-
870
- /**
871
- * The resource management error additional info.
872
- */
873
- export interface ErrorAdditionalInfo {
874
- /**
875
- * The additional info type.
876
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
877
- */
878
- readonly type?: string;
879
- /**
880
- * The additional info.
881
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
882
- */
883
- readonly info?: any;
884
- }
885
-
886
- /**
887
- * The error detail.
888
- */
889
- export interface ErrorDetail {
890
- /**
891
- * The error code.
892
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
726
+ * Deprecated.
727
+ * NOTE: This property will not be serialized. It can only be populated by the server.
893
728
  */
894
- readonly code?: string;
729
+ readonly hostNamePrefix?: string;
895
730
  /**
896
- * The error message.
897
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
731
+ * List of the featureFlags.
732
+ *
733
+ * FeatureFlags that are not included in the parameters for the update operation will not be modified.
734
+ * And the response will only include featureFlags that are explicitly set.
735
+ * When a featureFlag is not explicitly set, its globally default value will be used
736
+ * But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.
898
737
  */
899
- readonly message?: string;
738
+ features?: SignalRFeature[];
739
+ /** Resource log configuration of a Microsoft.SignalRService resource. */
740
+ resourceLogConfiguration?: ResourceLogConfiguration;
741
+ /** Cross-Origin Resource Sharing (CORS) settings. */
742
+ cors?: SignalRCorsSettings;
743
+ /** The settings for the Upstream when the service is in server-less mode. */
744
+ upstream?: ServerlessUpstreamSettings;
745
+ /** Network ACLs for the resource */
746
+ networkACLs?: SignalRNetworkACLs;
900
747
  /**
901
- * The error target.
902
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
748
+ * Enable or disable public network access. Default to "Enabled".
749
+ * When it's Enabled, network ACLs still apply.
750
+ * When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
903
751
  */
904
- readonly target?: string;
752
+ publicNetworkAccess?: string;
905
753
  /**
906
- * The error details.
907
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
754
+ * DisableLocalAuth
755
+ * Enable or disable local auth with AccessKey
756
+ * When set as true, connection with AccessKey=xxx won't work.
908
757
  */
909
- readonly details?: ErrorDetail[];
758
+ disableLocalAuth?: boolean;
910
759
  /**
911
- * The error additional info.
912
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
760
+ * DisableLocalAuth
761
+ * Enable or disable aad auth
762
+ * When set as true, connection with AuthType=aad won't work.
913
763
  */
914
- readonly additionalInfo?: ErrorAdditionalInfo[];
764
+ disableAadAuth?: boolean;
765
+ };
766
+
767
+ /** Known values of {@link SignalRSkuTier} that the service accepts. */
768
+ export enum KnownSignalRSkuTier {
769
+ Free = "Free",
770
+ Basic = "Basic",
771
+ Standard = "Standard",
772
+ Premium = "Premium"
915
773
  }
916
774
 
917
775
  /**
918
- * Common error response for all Azure Resource Manager APIs to return error details for failed
919
- * operations. (This also follows the OData error response format.).
920
- * @summary Error response
921
- */
922
- export interface ErrorResponse {
923
- /**
924
- * The error object.
925
- */
926
- error?: ErrorDetail;
776
+ * Defines values for SignalRSkuTier. \
777
+ * {@link KnownSignalRSkuTier} can be used interchangeably with SignalRSkuTier,
778
+ * this enum contains the known values that the service supports.
779
+ * ### Known values supported by the service
780
+ * **Free** \
781
+ * **Basic** \
782
+ * **Standard** \
783
+ * **Premium**
784
+ */
785
+ export type SignalRSkuTier = string;
786
+
787
+ /** Known values of {@link ProvisioningState} that the service accepts. */
788
+ export enum KnownProvisioningState {
789
+ Unknown = "Unknown",
790
+ Succeeded = "Succeeded",
791
+ Failed = "Failed",
792
+ Canceled = "Canceled",
793
+ Running = "Running",
794
+ Creating = "Creating",
795
+ Updating = "Updating",
796
+ Deleting = "Deleting",
797
+ Moving = "Moving"
927
798
  }
928
799
 
929
800
  /**
930
- * An interface representing SignalRManagementClientOptions.
931
- */
932
- export interface SignalRManagementClientOptions extends AzureServiceClientOptions {
933
- baseUri?: string;
801
+ * Defines values for ProvisioningState. \
802
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
803
+ * this enum contains the known values that the service supports.
804
+ * ### Known values supported by the service
805
+ * **Unknown** \
806
+ * **Succeeded** \
807
+ * **Failed** \
808
+ * **Canceled** \
809
+ * **Running** \
810
+ * **Creating** \
811
+ * **Updating** \
812
+ * **Deleting** \
813
+ * **Moving**
814
+ */
815
+ export type ProvisioningState = string;
816
+
817
+ /** Known values of {@link CreatedByType} that the service accepts. */
818
+ export enum KnownCreatedByType {
819
+ User = "User",
820
+ Application = "Application",
821
+ ManagedIdentity = "ManagedIdentity",
822
+ Key = "Key"
934
823
  }
935
824
 
936
825
  /**
937
- * @interface
938
- * Result of the request to list REST API operations. It contains a list of operations.
939
- * @extends Array<Operation>
826
+ * Defines values for CreatedByType. \
827
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
828
+ * this enum contains the known values that the service supports.
829
+ * ### Known values supported by the service
830
+ * **User** \
831
+ * **Application** \
832
+ * **ManagedIdentity** \
833
+ * **Key**
940
834
  */
941
- export interface OperationList extends Array<Operation> {
942
- /**
943
- * The URL the client should use to fetch the next page (per server side paging).
944
- * It's null for now, added for future use.
945
- */
946
- nextLink?: string;
835
+ export type CreatedByType = string;
836
+
837
+ /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
838
+ export enum KnownPrivateLinkServiceConnectionStatus {
839
+ Pending = "Pending",
840
+ Approved = "Approved",
841
+ Rejected = "Rejected",
842
+ Disconnected = "Disconnected"
947
843
  }
948
844
 
949
845
  /**
950
- * @interface
951
- * Object that includes an array of resources and a possible link for next set.
952
- * @extends Array<SignalRResource>
953
- */
954
- export interface SignalRResourceList extends Array<SignalRResource> {
955
- /**
956
- * The URL the client should use to fetch the next page (per server side paging).
957
- * It's null for now, added for future use.
958
- */
959
- nextLink?: string;
846
+ * Defines values for PrivateLinkServiceConnectionStatus. \
847
+ * {@link KnownPrivateLinkServiceConnectionStatus} can be used interchangeably with PrivateLinkServiceConnectionStatus,
848
+ * this enum contains the known values that the service supports.
849
+ * ### Known values supported by the service
850
+ * **Pending** \
851
+ * **Approved** \
852
+ * **Rejected** \
853
+ * **Disconnected**
854
+ */
855
+ export type PrivateLinkServiceConnectionStatus = string;
856
+
857
+ /** Known values of {@link SharedPrivateLinkResourceStatus} that the service accepts. */
858
+ export enum KnownSharedPrivateLinkResourceStatus {
859
+ Pending = "Pending",
860
+ Approved = "Approved",
861
+ Rejected = "Rejected",
862
+ Disconnected = "Disconnected",
863
+ Timeout = "Timeout"
960
864
  }
961
865
 
962
866
  /**
963
- * @interface
964
- * Object that includes an array of the resource usages and a possible link for next set.
965
- * @extends Array<SignalRUsage>
966
- */
967
- export interface SignalRUsageList extends Array<SignalRUsage> {
968
- /**
969
- * The URL the client should use to fetch the next page (per server side paging).
970
- * It's null for now, added for future use.
971
- */
972
- nextLink?: string;
867
+ * Defines values for SharedPrivateLinkResourceStatus. \
868
+ * {@link KnownSharedPrivateLinkResourceStatus} can be used interchangeably with SharedPrivateLinkResourceStatus,
869
+ * this enum contains the known values that the service supports.
870
+ * ### Known values supported by the service
871
+ * **Pending** \
872
+ * **Approved** \
873
+ * **Rejected** \
874
+ * **Disconnected** \
875
+ * **Timeout**
876
+ */
877
+ export type SharedPrivateLinkResourceStatus = string;
878
+
879
+ /** Known values of {@link FeatureFlags} that the service accepts. */
880
+ export enum KnownFeatureFlags {
881
+ ServiceMode = "ServiceMode",
882
+ EnableConnectivityLogs = "EnableConnectivityLogs",
883
+ EnableMessagingLogs = "EnableMessagingLogs",
884
+ EnableLiveTrace = "EnableLiveTrace"
973
885
  }
974
886
 
975
887
  /**
976
- * @interface
977
- * A list of private endpoint connections
978
- * @extends Array<PrivateEndpointConnection>
888
+ * Defines values for FeatureFlags. \
889
+ * {@link KnownFeatureFlags} can be used interchangeably with FeatureFlags,
890
+ * this enum contains the known values that the service supports.
891
+ * ### Known values supported by the service
892
+ * **ServiceMode** \
893
+ * **EnableConnectivityLogs** \
894
+ * **EnableMessagingLogs** \
895
+ * **EnableLiveTrace**
979
896
  */
980
- export interface PrivateEndpointConnectionList extends Array<PrivateEndpointConnection> {
981
- /**
982
- * Request URL that can be used to query next page of private endpoint connections. Returned when
983
- * the total number of requested private endpoint connections exceed maximum page size.
984
- */
985
- nextLink?: string;
897
+ export type FeatureFlags = string;
898
+
899
+ /** Known values of {@link UpstreamAuthType} that the service accepts. */
900
+ export enum KnownUpstreamAuthType {
901
+ None = "None",
902
+ ManagedIdentity = "ManagedIdentity"
986
903
  }
987
904
 
988
905
  /**
989
- * @interface
990
- * Contains a list of PrivateLinkResource and a possible link to query more results
991
- * @extends Array<PrivateLinkResource>
906
+ * Defines values for UpstreamAuthType. \
907
+ * {@link KnownUpstreamAuthType} can be used interchangeably with UpstreamAuthType,
908
+ * this enum contains the known values that the service supports.
909
+ * ### Known values supported by the service
910
+ * **None** \
911
+ * **ManagedIdentity**
992
912
  */
993
- export interface PrivateLinkResourceList extends Array<PrivateLinkResource> {
994
- /**
995
- * The URL the client should use to fetch the next page (per server side paging).
996
- * It's null for now, added for future use.
997
- */
998
- nextLink?: string;
913
+ export type UpstreamAuthType = string;
914
+
915
+ /** Known values of {@link ACLAction} that the service accepts. */
916
+ export enum KnownACLAction {
917
+ Allow = "Allow",
918
+ Deny = "Deny"
999
919
  }
1000
920
 
1001
921
  /**
1002
- * @interface
1003
- * A list of shared private link resources
1004
- * @extends Array<SharedPrivateLinkResource>
922
+ * Defines values for ACLAction. \
923
+ * {@link KnownACLAction} can be used interchangeably with ACLAction,
924
+ * this enum contains the known values that the service supports.
925
+ * ### Known values supported by the service
926
+ * **Allow** \
927
+ * **Deny**
1005
928
  */
1006
- export interface SharedPrivateLinkResourceList extends Array<SharedPrivateLinkResource> {
1007
- /**
1008
- * Request URL that can be used to query next page of private endpoint connections. Returned when
1009
- * the total number of requested private endpoint connections exceed maximum page size.
1010
- */
1011
- nextLink?: string;
929
+ export type ACLAction = string;
930
+
931
+ /** Known values of {@link SignalRRequestType} that the service accepts. */
932
+ export enum KnownSignalRRequestType {
933
+ ClientConnection = "ClientConnection",
934
+ ServerConnection = "ServerConnection",
935
+ Restapi = "RESTAPI",
936
+ Trace = "Trace"
1012
937
  }
1013
938
 
1014
939
  /**
1015
- * Defines values for ACLAction.
1016
- * Possible values include: 'Allow', 'Deny'
1017
- * @readonly
1018
- * @enum {string}
940
+ * Defines values for SignalRRequestType. \
941
+ * {@link KnownSignalRRequestType} can be used interchangeably with SignalRRequestType,
942
+ * this enum contains the known values that the service supports.
943
+ * ### Known values supported by the service
944
+ * **ClientConnection** \
945
+ * **ServerConnection** \
946
+ * **RESTAPI** \
947
+ * **Trace**
1019
948
  */
1020
- export type ACLAction = 'Allow' | 'Deny';
949
+ export type SignalRRequestType = string;
1021
950
 
1022
- /**
1023
- * Defines values for FeatureFlags.
1024
- * Possible values include: 'ServiceMode', 'EnableConnectivityLogs', 'EnableMessagingLogs',
1025
- * 'EnableLiveTrace'
1026
- * @readonly
1027
- * @enum {string}
1028
- */
1029
- export type FeatureFlags = 'ServiceMode' | 'EnableConnectivityLogs' | 'EnableMessagingLogs' | 'EnableLiveTrace';
951
+ /** Known values of {@link ServiceKind} that the service accepts. */
952
+ export enum KnownServiceKind {
953
+ SignalR = "SignalR",
954
+ RawWebSockets = "RawWebSockets"
955
+ }
1030
956
 
1031
957
  /**
1032
- * Defines values for KeyType.
1033
- * Possible values include: 'Primary', 'Secondary'
1034
- * @readonly
1035
- * @enum {string}
958
+ * Defines values for ServiceKind. \
959
+ * {@link KnownServiceKind} can be used interchangeably with ServiceKind,
960
+ * this enum contains the known values that the service supports.
961
+ * ### Known values supported by the service
962
+ * **SignalR** \
963
+ * **RawWebSockets**
1036
964
  */
1037
- export type KeyType = 'Primary' | 'Secondary';
965
+ export type ServiceKind = string;
1038
966
 
1039
- /**
1040
- * Defines values for ManagedIdentityType.
1041
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
1042
- * @readonly
1043
- * @enum {string}
1044
- */
1045
- export type ManagedIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned';
967
+ /** Known values of {@link ManagedIdentityType} that the service accepts. */
968
+ export enum KnownManagedIdentityType {
969
+ None = "None",
970
+ SystemAssigned = "SystemAssigned",
971
+ UserAssigned = "UserAssigned"
972
+ }
1046
973
 
1047
974
  /**
1048
- * Defines values for SignalRRequestType.
1049
- * Possible values include: 'ClientConnection', 'ServerConnection', 'RESTAPI', 'Trace'
1050
- * @readonly
1051
- * @enum {string}
975
+ * Defines values for ManagedIdentityType. \
976
+ * {@link KnownManagedIdentityType} can be used interchangeably with ManagedIdentityType,
977
+ * this enum contains the known values that the service supports.
978
+ * ### Known values supported by the service
979
+ * **None** \
980
+ * **SystemAssigned** \
981
+ * **UserAssigned**
1052
982
  */
1053
- export type SignalRRequestType = 'ClientConnection' | 'ServerConnection' | 'RESTAPI' | 'Trace';
983
+ export type ManagedIdentityType = string;
1054
984
 
1055
- /**
1056
- * Defines values for CreatedByType.
1057
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1058
- * @readonly
1059
- * @enum {string}
1060
- */
1061
- export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
985
+ /** Known values of {@link KeyType} that the service accepts. */
986
+ export enum KnownKeyType {
987
+ Primary = "Primary",
988
+ Secondary = "Secondary",
989
+ Salt = "Salt"
990
+ }
1062
991
 
1063
992
  /**
1064
- * Defines values for ProvisioningState.
1065
- * Possible values include: 'Unknown', 'Succeeded', 'Failed', 'Canceled', 'Running', 'Creating',
1066
- * 'Updating', 'Deleting', 'Moving'
1067
- * @readonly
1068
- * @enum {string}
993
+ * Defines values for KeyType. \
994
+ * {@link KnownKeyType} can be used interchangeably with KeyType,
995
+ * this enum contains the known values that the service supports.
996
+ * ### Known values supported by the service
997
+ * **Primary** \
998
+ * **Secondary** \
999
+ * **Salt**
1069
1000
  */
1070
- export type ProvisioningState = 'Unknown' | 'Succeeded' | 'Failed' | 'Canceled' | 'Running' | 'Creating' | 'Updating' | 'Deleting' | 'Moving';
1001
+ export type KeyType = string;
1071
1002
 
1072
- /**
1073
- * Defines values for PrivateLinkServiceConnectionStatus.
1074
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
1075
- * @readonly
1076
- * @enum {string}
1077
- */
1078
- export type PrivateLinkServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
1003
+ /** Known values of {@link ScaleType} that the service accepts. */
1004
+ export enum KnownScaleType {
1005
+ None = "None",
1006
+ Manual = "Manual",
1007
+ Automatic = "Automatic"
1008
+ }
1079
1009
 
1080
1010
  /**
1081
- * Defines values for SignalRSkuTier.
1082
- * Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
1083
- * @readonly
1084
- * @enum {string}
1011
+ * Defines values for ScaleType. \
1012
+ * {@link KnownScaleType} can be used interchangeably with ScaleType,
1013
+ * this enum contains the known values that the service supports.
1014
+ * ### Known values supported by the service
1015
+ * **None** \
1016
+ * **Manual** \
1017
+ * **Automatic**
1085
1018
  */
1086
- export type SignalRSkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium';
1019
+ export type ScaleType = string;
1087
1020
 
1088
- /**
1089
- * Defines values for UpstreamAuthType.
1090
- * Possible values include: 'None', 'ManagedIdentity'
1091
- * @readonly
1092
- * @enum {string}
1093
- */
1094
- export type UpstreamAuthType = 'None' | 'ManagedIdentity';
1021
+ /** Optional parameters. */
1022
+ export interface OperationsListOptionalParams
1023
+ extends coreClient.OperationOptions {}
1095
1024
 
1096
- /**
1097
- * Defines values for ServiceKind.
1098
- * Possible values include: 'SignalR', 'RawWebSockets'
1099
- * @readonly
1100
- * @enum {string}
1101
- */
1102
- export type ServiceKind = 'SignalR' | 'RawWebSockets';
1025
+ /** Contains response data for the list operation. */
1026
+ export type OperationsListResponse = OperationList;
1103
1027
 
1104
- /**
1105
- * Defines values for SharedPrivateLinkResourceStatus.
1106
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'
1107
- * @readonly
1108
- * @enum {string}
1109
- */
1110
- export type SharedPrivateLinkResourceStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected' | 'Timeout';
1028
+ /** Optional parameters. */
1029
+ export interface OperationsListNextOptionalParams
1030
+ extends coreClient.OperationOptions {}
1111
1031
 
1112
- /**
1113
- * Contains response data for the list operation.
1114
- */
1115
- export type OperationsListResponse = OperationList & {
1116
- /**
1117
- * The underlying HTTP response.
1118
- */
1119
- _response: msRest.HttpResponse & {
1120
- /**
1121
- * The response body as text (string format)
1122
- */
1123
- bodyAsText: string;
1124
-
1125
- /**
1126
- * The response body as parsed JSON or XML
1127
- */
1128
- parsedBody: OperationList;
1129
- };
1130
- };
1032
+ /** Contains response data for the listNext operation. */
1033
+ export type OperationsListNextResponse = OperationList;
1131
1034
 
1132
- /**
1133
- * Contains response data for the listNext operation.
1134
- */
1135
- export type OperationsListNextResponse = OperationList & {
1136
- /**
1137
- * The underlying HTTP response.
1138
- */
1139
- _response: msRest.HttpResponse & {
1140
- /**
1141
- * The response body as text (string format)
1142
- */
1143
- bodyAsText: string;
1144
-
1145
- /**
1146
- * The response body as parsed JSON or XML
1147
- */
1148
- parsedBody: OperationList;
1149
- };
1150
- };
1035
+ /** Optional parameters. */
1036
+ export interface SignalRCheckNameAvailabilityOptionalParams
1037
+ extends coreClient.OperationOptions {}
1151
1038
 
1152
- /**
1153
- * Contains response data for the checkNameAvailability operation.
1154
- */
1155
- export type SignalRCheckNameAvailabilityResponse = NameAvailability & {
1156
- /**
1157
- * The underlying HTTP response.
1158
- */
1159
- _response: msRest.HttpResponse & {
1160
- /**
1161
- * The response body as text (string format)
1162
- */
1163
- bodyAsText: string;
1164
-
1165
- /**
1166
- * The response body as parsed JSON or XML
1167
- */
1168
- parsedBody: NameAvailability;
1169
- };
1170
- };
1039
+ /** Contains response data for the checkNameAvailability operation. */
1040
+ export type SignalRCheckNameAvailabilityResponse = NameAvailability;
1171
1041
 
1172
- /**
1173
- * Contains response data for the listBySubscription operation.
1174
- */
1175
- export type SignalRListBySubscriptionResponse = SignalRResourceList & {
1176
- /**
1177
- * The underlying HTTP response.
1178
- */
1179
- _response: msRest.HttpResponse & {
1180
- /**
1181
- * The response body as text (string format)
1182
- */
1183
- bodyAsText: string;
1184
-
1185
- /**
1186
- * The response body as parsed JSON or XML
1187
- */
1188
- parsedBody: SignalRResourceList;
1189
- };
1190
- };
1042
+ /** Optional parameters. */
1043
+ export interface SignalRListBySubscriptionOptionalParams
1044
+ extends coreClient.OperationOptions {}
1191
1045
 
1192
- /**
1193
- * Contains response data for the listByResourceGroup operation.
1194
- */
1195
- export type SignalRListByResourceGroupResponse = SignalRResourceList & {
1196
- /**
1197
- * The underlying HTTP response.
1198
- */
1199
- _response: msRest.HttpResponse & {
1200
- /**
1201
- * The response body as text (string format)
1202
- */
1203
- bodyAsText: string;
1204
-
1205
- /**
1206
- * The response body as parsed JSON or XML
1207
- */
1208
- parsedBody: SignalRResourceList;
1209
- };
1210
- };
1046
+ /** Contains response data for the listBySubscription operation. */
1047
+ export type SignalRListBySubscriptionResponse = SignalRResourceList;
1211
1048
 
1212
- /**
1213
- * Contains response data for the get operation.
1214
- */
1215
- export type SignalRGetResponse = SignalRResource & {
1216
- /**
1217
- * The underlying HTTP response.
1218
- */
1219
- _response: msRest.HttpResponse & {
1220
- /**
1221
- * The response body as text (string format)
1222
- */
1223
- bodyAsText: string;
1224
-
1225
- /**
1226
- * The response body as parsed JSON or XML
1227
- */
1228
- parsedBody: SignalRResource;
1229
- };
1230
- };
1049
+ /** Optional parameters. */
1050
+ export interface SignalRListByResourceGroupOptionalParams
1051
+ extends coreClient.OperationOptions {}
1231
1052
 
1232
- /**
1233
- * Contains response data for the createOrUpdate operation.
1234
- */
1235
- export type SignalRCreateOrUpdateResponse = SignalRResource & {
1236
- /**
1237
- * The underlying HTTP response.
1238
- */
1239
- _response: msRest.HttpResponse & {
1240
- /**
1241
- * The response body as text (string format)
1242
- */
1243
- bodyAsText: string;
1244
-
1245
- /**
1246
- * The response body as parsed JSON or XML
1247
- */
1248
- parsedBody: SignalRResource;
1249
- };
1250
- };
1053
+ /** Contains response data for the listByResourceGroup operation. */
1054
+ export type SignalRListByResourceGroupResponse = SignalRResourceList;
1251
1055
 
1252
- /**
1253
- * Contains response data for the update operation.
1254
- */
1255
- export type SignalRUpdateResponse = SignalRResource & {
1256
- /**
1257
- * The underlying HTTP response.
1258
- */
1259
- _response: msRest.HttpResponse & {
1260
- /**
1261
- * The response body as text (string format)
1262
- */
1263
- bodyAsText: string;
1264
-
1265
- /**
1266
- * The response body as parsed JSON or XML
1267
- */
1268
- parsedBody: SignalRResource;
1269
- };
1270
- };
1056
+ /** Optional parameters. */
1057
+ export interface SignalRGetOptionalParams extends coreClient.OperationOptions {}
1271
1058
 
1272
- /**
1273
- * Contains response data for the listKeys operation.
1274
- */
1275
- export type SignalRListKeysResponse = SignalRKeys & {
1276
- /**
1277
- * The underlying HTTP response.
1278
- */
1279
- _response: msRest.HttpResponse & {
1280
- /**
1281
- * The response body as text (string format)
1282
- */
1283
- bodyAsText: string;
1284
-
1285
- /**
1286
- * The response body as parsed JSON or XML
1287
- */
1288
- parsedBody: SignalRKeys;
1289
- };
1290
- };
1059
+ /** Contains response data for the get operation. */
1060
+ export type SignalRGetResponse = SignalRResource;
1291
1061
 
1292
- /**
1293
- * Contains response data for the regenerateKey operation.
1294
- */
1295
- export type SignalRRegenerateKeyResponse = SignalRKeys & {
1296
- /**
1297
- * The underlying HTTP response.
1298
- */
1299
- _response: msRest.HttpResponse & {
1300
- /**
1301
- * The response body as text (string format)
1302
- */
1303
- bodyAsText: string;
1304
-
1305
- /**
1306
- * The response body as parsed JSON or XML
1307
- */
1308
- parsedBody: SignalRKeys;
1309
- };
1310
- };
1062
+ /** Optional parameters. */
1063
+ export interface SignalRCreateOrUpdateOptionalParams
1064
+ extends coreClient.OperationOptions {
1065
+ /** Delay to wait until next poll, in milliseconds. */
1066
+ updateIntervalInMs?: number;
1067
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1068
+ resumeFrom?: string;
1069
+ }
1311
1070
 
1312
- /**
1313
- * Contains response data for the beginCreateOrUpdate operation.
1314
- */
1315
- export type SignalRBeginCreateOrUpdateResponse = SignalRResource & {
1316
- /**
1317
- * The underlying HTTP response.
1318
- */
1319
- _response: msRest.HttpResponse & {
1320
- /**
1321
- * The response body as text (string format)
1322
- */
1323
- bodyAsText: string;
1324
-
1325
- /**
1326
- * The response body as parsed JSON or XML
1327
- */
1328
- parsedBody: SignalRResource;
1329
- };
1330
- };
1071
+ /** Contains response data for the createOrUpdate operation. */
1072
+ export type SignalRCreateOrUpdateResponse = SignalRResource;
1331
1073
 
1332
- /**
1333
- * Contains response data for the beginUpdate operation.
1334
- */
1335
- export type SignalRBeginUpdateResponse = SignalRResource & {
1336
- /**
1337
- * The underlying HTTP response.
1338
- */
1339
- _response: msRest.HttpResponse & {
1340
- /**
1341
- * The response body as text (string format)
1342
- */
1343
- bodyAsText: string;
1344
-
1345
- /**
1346
- * The response body as parsed JSON or XML
1347
- */
1348
- parsedBody: SignalRResource;
1349
- };
1350
- };
1074
+ /** Optional parameters. */
1075
+ export interface SignalRDeleteOptionalParams
1076
+ extends coreClient.OperationOptions {
1077
+ /** Delay to wait until next poll, in milliseconds. */
1078
+ updateIntervalInMs?: number;
1079
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1080
+ resumeFrom?: string;
1081
+ }
1351
1082
 
1352
- /**
1353
- * Contains response data for the beginRegenerateKey operation.
1354
- */
1355
- export type SignalRBeginRegenerateKeyResponse = SignalRKeys & {
1356
- /**
1357
- * The underlying HTTP response.
1358
- */
1359
- _response: msRest.HttpResponse & {
1360
- /**
1361
- * The response body as text (string format)
1362
- */
1363
- bodyAsText: string;
1364
-
1365
- /**
1366
- * The response body as parsed JSON or XML
1367
- */
1368
- parsedBody: SignalRKeys;
1369
- };
1370
- };
1083
+ /** Optional parameters. */
1084
+ export interface SignalRUpdateOptionalParams
1085
+ extends coreClient.OperationOptions {
1086
+ /** Delay to wait until next poll, in milliseconds. */
1087
+ updateIntervalInMs?: number;
1088
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1089
+ resumeFrom?: string;
1090
+ }
1371
1091
 
1372
- /**
1373
- * Contains response data for the listBySubscriptionNext operation.
1374
- */
1375
- export type SignalRListBySubscriptionNextResponse = SignalRResourceList & {
1376
- /**
1377
- * The underlying HTTP response.
1378
- */
1379
- _response: msRest.HttpResponse & {
1380
- /**
1381
- * The response body as text (string format)
1382
- */
1383
- bodyAsText: string;
1384
-
1385
- /**
1386
- * The response body as parsed JSON or XML
1387
- */
1388
- parsedBody: SignalRResourceList;
1389
- };
1390
- };
1092
+ /** Contains response data for the update operation. */
1093
+ export type SignalRUpdateResponse = SignalRResource;
1391
1094
 
1392
- /**
1393
- * Contains response data for the listByResourceGroupNext operation.
1394
- */
1395
- export type SignalRListByResourceGroupNextResponse = SignalRResourceList & {
1396
- /**
1397
- * The underlying HTTP response.
1398
- */
1399
- _response: msRest.HttpResponse & {
1400
- /**
1401
- * The response body as text (string format)
1402
- */
1403
- bodyAsText: string;
1404
-
1405
- /**
1406
- * The response body as parsed JSON or XML
1407
- */
1408
- parsedBody: SignalRResourceList;
1409
- };
1410
- };
1095
+ /** Optional parameters. */
1096
+ export interface SignalRListKeysOptionalParams
1097
+ extends coreClient.OperationOptions {}
1411
1098
 
1412
- /**
1413
- * Contains response data for the list operation.
1414
- */
1415
- export type UsagesListResponse = SignalRUsageList & {
1416
- /**
1417
- * The underlying HTTP response.
1418
- */
1419
- _response: msRest.HttpResponse & {
1420
- /**
1421
- * The response body as text (string format)
1422
- */
1423
- bodyAsText: string;
1424
-
1425
- /**
1426
- * The response body as parsed JSON or XML
1427
- */
1428
- parsedBody: SignalRUsageList;
1429
- };
1430
- };
1099
+ /** Contains response data for the listKeys operation. */
1100
+ export type SignalRListKeysResponse = SignalRKeys;
1431
1101
 
1432
- /**
1433
- * Contains response data for the listNext operation.
1434
- */
1435
- export type UsagesListNextResponse = SignalRUsageList & {
1436
- /**
1437
- * The underlying HTTP response.
1438
- */
1439
- _response: msRest.HttpResponse & {
1440
- /**
1441
- * The response body as text (string format)
1442
- */
1443
- bodyAsText: string;
1444
-
1445
- /**
1446
- * The response body as parsed JSON or XML
1447
- */
1448
- parsedBody: SignalRUsageList;
1449
- };
1450
- };
1102
+ /** Optional parameters. */
1103
+ export interface SignalRRegenerateKeyOptionalParams
1104
+ extends coreClient.OperationOptions {
1105
+ /** Delay to wait until next poll, in milliseconds. */
1106
+ updateIntervalInMs?: number;
1107
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1108
+ resumeFrom?: string;
1109
+ }
1451
1110
 
1452
- /**
1453
- * Contains response data for the list operation.
1454
- */
1455
- export type SignalRPrivateEndpointConnectionsListResponse = PrivateEndpointConnectionList & {
1456
- /**
1457
- * The underlying HTTP response.
1458
- */
1459
- _response: msRest.HttpResponse & {
1460
- /**
1461
- * The response body as text (string format)
1462
- */
1463
- bodyAsText: string;
1464
-
1465
- /**
1466
- * The response body as parsed JSON or XML
1467
- */
1468
- parsedBody: PrivateEndpointConnectionList;
1469
- };
1470
- };
1111
+ /** Contains response data for the regenerateKey operation. */
1112
+ export type SignalRRegenerateKeyResponse = SignalRKeys;
1471
1113
 
1472
- /**
1473
- * Contains response data for the get operation.
1474
- */
1475
- export type SignalRPrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1476
- /**
1477
- * The underlying HTTP response.
1478
- */
1479
- _response: msRest.HttpResponse & {
1480
- /**
1481
- * The response body as text (string format)
1482
- */
1483
- bodyAsText: string;
1484
-
1485
- /**
1486
- * The response body as parsed JSON or XML
1487
- */
1488
- parsedBody: PrivateEndpointConnection;
1489
- };
1490
- };
1114
+ /** Optional parameters. */
1115
+ export interface SignalRRestartOptionalParams
1116
+ extends coreClient.OperationOptions {
1117
+ /** Delay to wait until next poll, in milliseconds. */
1118
+ updateIntervalInMs?: number;
1119
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1120
+ resumeFrom?: string;
1121
+ }
1491
1122
 
1492
- /**
1493
- * Contains response data for the update operation.
1494
- */
1495
- export type SignalRPrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection & {
1496
- /**
1497
- * The underlying HTTP response.
1498
- */
1499
- _response: msRest.HttpResponse & {
1500
- /**
1501
- * The response body as text (string format)
1502
- */
1503
- bodyAsText: string;
1504
-
1505
- /**
1506
- * The response body as parsed JSON or XML
1507
- */
1508
- parsedBody: PrivateEndpointConnection;
1509
- };
1510
- };
1123
+ /** Optional parameters. */
1124
+ export interface SignalRListSkusOptionalParams
1125
+ extends coreClient.OperationOptions {}
1511
1126
 
1512
- /**
1513
- * Contains response data for the listNext operation.
1514
- */
1515
- export type SignalRPrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionList & {
1516
- /**
1517
- * The underlying HTTP response.
1518
- */
1519
- _response: msRest.HttpResponse & {
1520
- /**
1521
- * The response body as text (string format)
1522
- */
1523
- bodyAsText: string;
1524
-
1525
- /**
1526
- * The response body as parsed JSON or XML
1527
- */
1528
- parsedBody: PrivateEndpointConnectionList;
1529
- };
1530
- };
1127
+ /** Contains response data for the listSkus operation. */
1128
+ export type SignalRListSkusResponse = SkuList;
1531
1129
 
1532
- /**
1533
- * Contains response data for the list operation.
1534
- */
1535
- export type SignalRPrivateLinkResourcesListResponse = PrivateLinkResourceList & {
1536
- /**
1537
- * The underlying HTTP response.
1538
- */
1539
- _response: msRest.HttpResponse & {
1540
- /**
1541
- * The response body as text (string format)
1542
- */
1543
- bodyAsText: string;
1544
-
1545
- /**
1546
- * The response body as parsed JSON or XML
1547
- */
1548
- parsedBody: PrivateLinkResourceList;
1549
- };
1550
- };
1130
+ /** Optional parameters. */
1131
+ export interface SignalRListBySubscriptionNextOptionalParams
1132
+ extends coreClient.OperationOptions {}
1551
1133
 
1552
- /**
1553
- * Contains response data for the listNext operation.
1554
- */
1555
- export type SignalRPrivateLinkResourcesListNextResponse = PrivateLinkResourceList & {
1556
- /**
1557
- * The underlying HTTP response.
1558
- */
1559
- _response: msRest.HttpResponse & {
1560
- /**
1561
- * The response body as text (string format)
1562
- */
1563
- bodyAsText: string;
1564
-
1565
- /**
1566
- * The response body as parsed JSON or XML
1567
- */
1568
- parsedBody: PrivateLinkResourceList;
1569
- };
1570
- };
1134
+ /** Contains response data for the listBySubscriptionNext operation. */
1135
+ export type SignalRListBySubscriptionNextResponse = SignalRResourceList;
1571
1136
 
1572
- /**
1573
- * Contains response data for the list operation.
1574
- */
1575
- export type SignalRSharedPrivateLinkResourcesListResponse = SharedPrivateLinkResourceList & {
1576
- /**
1577
- * The underlying HTTP response.
1578
- */
1579
- _response: msRest.HttpResponse & {
1580
- /**
1581
- * The response body as text (string format)
1582
- */
1583
- bodyAsText: string;
1584
-
1585
- /**
1586
- * The response body as parsed JSON or XML
1587
- */
1588
- parsedBody: SharedPrivateLinkResourceList;
1589
- };
1590
- };
1137
+ /** Optional parameters. */
1138
+ export interface SignalRListByResourceGroupNextOptionalParams
1139
+ extends coreClient.OperationOptions {}
1591
1140
 
1592
- /**
1593
- * Contains response data for the get operation.
1594
- */
1595
- export type SignalRSharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource & {
1596
- /**
1597
- * The underlying HTTP response.
1598
- */
1599
- _response: msRest.HttpResponse & {
1600
- /**
1601
- * The response body as text (string format)
1602
- */
1603
- bodyAsText: string;
1604
-
1605
- /**
1606
- * The response body as parsed JSON or XML
1607
- */
1608
- parsedBody: SharedPrivateLinkResource;
1609
- };
1610
- };
1141
+ /** Contains response data for the listByResourceGroupNext operation. */
1142
+ export type SignalRListByResourceGroupNextResponse = SignalRResourceList;
1611
1143
 
1612
- /**
1613
- * Contains response data for the createOrUpdate operation.
1614
- */
1615
- export type SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource & {
1616
- /**
1617
- * The underlying HTTP response.
1618
- */
1619
- _response: msRest.HttpResponse & {
1620
- /**
1621
- * The response body as text (string format)
1622
- */
1623
- bodyAsText: string;
1624
-
1625
- /**
1626
- * The response body as parsed JSON or XML
1627
- */
1628
- parsedBody: SharedPrivateLinkResource;
1629
- };
1630
- };
1144
+ /** Optional parameters. */
1145
+ export interface UsagesListOptionalParams extends coreClient.OperationOptions {}
1631
1146
 
1632
- /**
1633
- * Contains response data for the beginCreateOrUpdate operation.
1634
- */
1635
- export type SignalRSharedPrivateLinkResourcesBeginCreateOrUpdateResponse = SharedPrivateLinkResource & {
1636
- /**
1637
- * The underlying HTTP response.
1638
- */
1639
- _response: msRest.HttpResponse & {
1640
- /**
1641
- * The response body as text (string format)
1642
- */
1643
- bodyAsText: string;
1644
-
1645
- /**
1646
- * The response body as parsed JSON or XML
1647
- */
1648
- parsedBody: SharedPrivateLinkResource;
1649
- };
1650
- };
1147
+ /** Contains response data for the list operation. */
1148
+ export type UsagesListResponse = SignalRUsageList;
1651
1149
 
1652
- /**
1653
- * Contains response data for the listNext operation.
1654
- */
1655
- export type SignalRSharedPrivateLinkResourcesListNextResponse = SharedPrivateLinkResourceList & {
1656
- /**
1657
- * The underlying HTTP response.
1658
- */
1659
- _response: msRest.HttpResponse & {
1660
- /**
1661
- * The response body as text (string format)
1662
- */
1663
- bodyAsText: string;
1664
-
1665
- /**
1666
- * The response body as parsed JSON or XML
1667
- */
1668
- parsedBody: SharedPrivateLinkResourceList;
1669
- };
1670
- };
1150
+ /** Optional parameters. */
1151
+ export interface UsagesListNextOptionalParams
1152
+ extends coreClient.OperationOptions {}
1153
+
1154
+ /** Contains response data for the listNext operation. */
1155
+ export type UsagesListNextResponse = SignalRUsageList;
1156
+
1157
+ /** Optional parameters. */
1158
+ export interface SignalRPrivateEndpointConnectionsListOptionalParams
1159
+ extends coreClient.OperationOptions {}
1160
+
1161
+ /** Contains response data for the list operation. */
1162
+ export type SignalRPrivateEndpointConnectionsListResponse = PrivateEndpointConnectionList;
1163
+
1164
+ /** Optional parameters. */
1165
+ export interface SignalRPrivateEndpointConnectionsGetOptionalParams
1166
+ extends coreClient.OperationOptions {}
1167
+
1168
+ /** Contains response data for the get operation. */
1169
+ export type SignalRPrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1170
+
1171
+ /** Optional parameters. */
1172
+ export interface SignalRPrivateEndpointConnectionsUpdateOptionalParams
1173
+ extends coreClient.OperationOptions {}
1174
+
1175
+ /** Contains response data for the update operation. */
1176
+ export type SignalRPrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
1177
+
1178
+ /** Optional parameters. */
1179
+ export interface SignalRPrivateEndpointConnectionsDeleteOptionalParams
1180
+ extends coreClient.OperationOptions {
1181
+ /** Delay to wait until next poll, in milliseconds. */
1182
+ updateIntervalInMs?: number;
1183
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1184
+ resumeFrom?: string;
1185
+ }
1186
+
1187
+ /** Optional parameters. */
1188
+ export interface SignalRPrivateEndpointConnectionsListNextOptionalParams
1189
+ extends coreClient.OperationOptions {}
1190
+
1191
+ /** Contains response data for the listNext operation. */
1192
+ export type SignalRPrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionList;
1193
+
1194
+ /** Optional parameters. */
1195
+ export interface SignalRPrivateLinkResourcesListOptionalParams
1196
+ extends coreClient.OperationOptions {}
1197
+
1198
+ /** Contains response data for the list operation. */
1199
+ export type SignalRPrivateLinkResourcesListResponse = PrivateLinkResourceList;
1200
+
1201
+ /** Optional parameters. */
1202
+ export interface SignalRPrivateLinkResourcesListNextOptionalParams
1203
+ extends coreClient.OperationOptions {}
1204
+
1205
+ /** Contains response data for the listNext operation. */
1206
+ export type SignalRPrivateLinkResourcesListNextResponse = PrivateLinkResourceList;
1207
+
1208
+ /** Optional parameters. */
1209
+ export interface SignalRSharedPrivateLinkResourcesListOptionalParams
1210
+ extends coreClient.OperationOptions {}
1211
+
1212
+ /** Contains response data for the list operation. */
1213
+ export type SignalRSharedPrivateLinkResourcesListResponse = SharedPrivateLinkResourceList;
1214
+
1215
+ /** Optional parameters. */
1216
+ export interface SignalRSharedPrivateLinkResourcesGetOptionalParams
1217
+ extends coreClient.OperationOptions {}
1218
+
1219
+ /** Contains response data for the get operation. */
1220
+ export type SignalRSharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource;
1221
+
1222
+ /** Optional parameters. */
1223
+ export interface SignalRSharedPrivateLinkResourcesCreateOrUpdateOptionalParams
1224
+ extends coreClient.OperationOptions {
1225
+ /** Delay to wait until next poll, in milliseconds. */
1226
+ updateIntervalInMs?: number;
1227
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1228
+ resumeFrom?: string;
1229
+ }
1230
+
1231
+ /** Contains response data for the createOrUpdate operation. */
1232
+ export type SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource;
1233
+
1234
+ /** Optional parameters. */
1235
+ export interface SignalRSharedPrivateLinkResourcesDeleteOptionalParams
1236
+ extends coreClient.OperationOptions {
1237
+ /** Delay to wait until next poll, in milliseconds. */
1238
+ updateIntervalInMs?: number;
1239
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1240
+ resumeFrom?: string;
1241
+ }
1242
+
1243
+ /** Optional parameters. */
1244
+ export interface SignalRSharedPrivateLinkResourcesListNextOptionalParams
1245
+ extends coreClient.OperationOptions {}
1246
+
1247
+ /** Contains response data for the listNext operation. */
1248
+ export type SignalRSharedPrivateLinkResourcesListNextResponse = SharedPrivateLinkResourceList;
1249
+
1250
+ /** Optional parameters. */
1251
+ export interface SignalRManagementClientOptionalParams
1252
+ extends coreClient.ServiceClientOptions {
1253
+ /** server parameter */
1254
+ $host?: string;
1255
+ /** Api Version */
1256
+ apiVersion?: string;
1257
+ /** Overrides client endpoint. */
1258
+ endpoint?: string;
1259
+ }