@azure/arm-deviceprovisioningservices 6.0.0-beta.1 → 6.0.0-beta.2

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 (395) hide show
  1. package/CHANGELOG.md +20 -10
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/iotDpsClient.d.ts +2 -2
  9. package/dist/browser/iotDpsClient.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/iotDpsClient.js +32 -24
  11. package/dist/browser/iotDpsClient.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +13 -6
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/dpsCertificate.d.ts +3 -3
  21. package/dist/browser/operations/dpsCertificate.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/dpsCertificate.js +3 -2
  23. package/dist/browser/operations/dpsCertificate.js.map +1 -0
  24. package/dist/browser/operations/index.d.ts +4 -0
  25. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  26. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  27. package/dist/browser/operations/index.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/iotDpsResource.d.ts +3 -3
  29. package/dist/browser/operations/iotDpsResource.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/iotDpsResource.js +319 -402
  31. package/dist/browser/operations/iotDpsResource.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  33. package/dist/browser/operations/operations.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -48
  35. package/dist/browser/operations/operations.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/dpsCertificate.d.ts +1 -1
  37. package/dist/browser/operationsInterfaces/dpsCertificate.d.ts.map +1 -0
  38. package/dist/browser/operationsInterfaces/dpsCertificate.js.map +1 -0
  39. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  41. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  42. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/iotDpsResource.d.ts +1 -1
  44. package/dist/browser/operationsInterfaces/iotDpsResource.d.ts.map +1 -0
  45. package/dist/browser/operationsInterfaces/iotDpsResource.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  49. package/dist/browser/package.json +3 -0
  50. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  51. package/dist/browser/pagingHelper.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +5 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +19 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/iotDpsClient.d.ts +22 -0
  57. package/dist/commonjs/iotDpsClient.d.ts.map +1 -0
  58. package/dist/commonjs/iotDpsClient.js +115 -0
  59. package/dist/commonjs/iotDpsClient.js.map +1 -0
  60. package/dist/commonjs/lroImpl.d.ts +11 -0
  61. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  62. package/dist/commonjs/lroImpl.js +21 -0
  63. package/dist/commonjs/lroImpl.js.map +1 -0
  64. package/{types/arm-deviceprovisioningservices.d.ts → dist/commonjs/models/index.d.ts} +979 -1378
  65. package/dist/commonjs/models/index.d.ts.map +1 -0
  66. package/dist/commonjs/models/index.js +131 -0
  67. package/dist/commonjs/models/index.js.map +1 -0
  68. package/dist/commonjs/models/mappers.d.ts +40 -0
  69. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  70. package/dist/commonjs/models/mappers.js +1271 -0
  71. package/dist/commonjs/models/mappers.js.map +1 -0
  72. package/dist/commonjs/models/parameters.d.ts +34 -0
  73. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/models/parameters.js +296 -0
  75. package/dist/commonjs/models/parameters.js.map +1 -0
  76. package/dist/commonjs/operations/dpsCertificate.d.ts +70 -0
  77. package/dist/commonjs/operations/dpsCertificate.d.ts.map +1 -0
  78. package/dist/commonjs/operations/dpsCertificate.js +295 -0
  79. package/dist/commonjs/operations/dpsCertificate.js.map +1 -0
  80. package/dist/commonjs/operations/index.d.ts +4 -0
  81. package/dist/commonjs/operations/index.d.ts.map +1 -0
  82. package/dist/commonjs/operations/index.js +14 -0
  83. package/dist/commonjs/operations/index.js.map +1 -0
  84. package/dist/commonjs/operations/iotDpsResource.d.ts +253 -0
  85. package/dist/commonjs/operations/iotDpsResource.d.ts.map +1 -0
  86. package/dist/commonjs/operations/iotDpsResource.js +1175 -0
  87. package/dist/commonjs/operations/iotDpsResource.js.map +1 -0
  88. package/dist/commonjs/operations/operations.d.ts +32 -0
  89. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/operations.js +121 -0
  91. package/dist/commonjs/operations/operations.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/dpsCertificate.d.ts +62 -0
  93. package/dist/commonjs/operationsInterfaces/dpsCertificate.d.ts.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/dpsCertificate.js +10 -0
  95. package/dist/commonjs/operationsInterfaces/dpsCertificate.js.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  97. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  99. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/iotDpsResource.d.ts +183 -0
  101. package/dist/commonjs/operationsInterfaces/iotDpsResource.d.ts.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/iotDpsResource.js +10 -0
  103. package/dist/commonjs/operationsInterfaces/iotDpsResource.js.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  105. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  107. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  108. package/dist/commonjs/package.json +3 -0
  109. package/dist/commonjs/pagingHelper.d.ts +13 -0
  110. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  111. package/dist/commonjs/pagingHelper.js +34 -0
  112. package/dist/commonjs/pagingHelper.js.map +1 -0
  113. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  114. package/dist/esm/index.d.ts +5 -0
  115. package/dist/esm/index.d.ts.map +1 -0
  116. package/{src/index.ts → dist/esm/index.js} +5 -5
  117. package/dist/esm/index.js.map +1 -0
  118. package/dist/esm/iotDpsClient.d.ts +22 -0
  119. package/dist/esm/iotDpsClient.d.ts.map +1 -0
  120. package/dist/esm/iotDpsClient.js +110 -0
  121. package/dist/esm/iotDpsClient.js.map +1 -0
  122. package/dist/esm/lroImpl.d.ts +11 -0
  123. package/dist/esm/lroImpl.d.ts.map +1 -0
  124. package/dist/esm/lroImpl.js +18 -0
  125. package/dist/esm/lroImpl.js.map +1 -0
  126. package/dist/esm/models/index.d.ts +979 -0
  127. package/dist/esm/models/index.d.ts.map +1 -0
  128. package/dist/esm/models/index.js +128 -0
  129. package/dist/esm/models/index.js.map +1 -0
  130. package/dist/esm/models/mappers.d.ts +40 -0
  131. package/dist/esm/models/mappers.d.ts.map +1 -0
  132. package/dist/esm/models/mappers.js +1268 -0
  133. package/dist/esm/models/mappers.js.map +1 -0
  134. package/dist/esm/models/parameters.d.ts +34 -0
  135. package/dist/esm/models/parameters.d.ts.map +1 -0
  136. package/dist/esm/models/parameters.js +293 -0
  137. package/dist/esm/models/parameters.js.map +1 -0
  138. package/dist/esm/operations/dpsCertificate.d.ts +70 -0
  139. package/dist/esm/operations/dpsCertificate.d.ts.map +1 -0
  140. package/dist/esm/operations/dpsCertificate.js +290 -0
  141. package/dist/esm/operations/dpsCertificate.js.map +1 -0
  142. package/dist/esm/operations/index.d.ts +4 -0
  143. package/dist/esm/operations/index.d.ts.map +1 -0
  144. package/dist/esm/operations/index.js +11 -0
  145. package/dist/esm/operations/index.js.map +1 -0
  146. package/dist/esm/operations/iotDpsResource.d.ts +253 -0
  147. package/dist/esm/operations/iotDpsResource.d.ts.map +1 -0
  148. package/dist/esm/operations/iotDpsResource.js +1170 -0
  149. package/dist/esm/operations/iotDpsResource.js.map +1 -0
  150. package/dist/esm/operations/operations.d.ts +32 -0
  151. package/dist/esm/operations/operations.d.ts.map +1 -0
  152. package/dist/esm/operations/operations.js +116 -0
  153. package/dist/esm/operations/operations.js.map +1 -0
  154. package/dist/esm/operationsInterfaces/dpsCertificate.d.ts +62 -0
  155. package/dist/esm/operationsInterfaces/dpsCertificate.d.ts.map +1 -0
  156. package/{src/operations/index.ts → dist/esm/operationsInterfaces/dpsCertificate.js} +2 -4
  157. package/dist/esm/operationsInterfaces/dpsCertificate.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  159. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  160. package/dist/esm/operationsInterfaces/index.js +11 -0
  161. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  162. package/dist/esm/operationsInterfaces/iotDpsResource.d.ts +183 -0
  163. package/dist/esm/operationsInterfaces/iotDpsResource.d.ts.map +1 -0
  164. package/dist/esm/operationsInterfaces/iotDpsResource.js +9 -0
  165. package/dist/esm/operationsInterfaces/iotDpsResource.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  167. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/operations.js +9 -0
  169. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  170. package/dist/esm/package.json +3 -0
  171. package/dist/esm/pagingHelper.d.ts +13 -0
  172. package/dist/esm/pagingHelper.d.ts.map +1 -0
  173. package/dist/esm/pagingHelper.js +30 -0
  174. package/dist/esm/pagingHelper.js.map +1 -0
  175. package/dist/react-native/index.d.ts +5 -0
  176. package/dist/react-native/index.d.ts.map +1 -0
  177. package/dist/react-native/index.js +13 -0
  178. package/dist/react-native/index.js.map +1 -0
  179. package/dist/react-native/iotDpsClient.d.ts +22 -0
  180. package/dist/react-native/iotDpsClient.d.ts.map +1 -0
  181. package/dist/react-native/iotDpsClient.js +110 -0
  182. package/dist/react-native/iotDpsClient.js.map +1 -0
  183. package/dist/react-native/lroImpl.d.ts +11 -0
  184. package/dist/react-native/lroImpl.d.ts.map +1 -0
  185. package/dist/react-native/lroImpl.js +18 -0
  186. package/dist/react-native/lroImpl.js.map +1 -0
  187. package/dist/react-native/models/index.d.ts +979 -0
  188. package/dist/react-native/models/index.d.ts.map +1 -0
  189. package/dist/react-native/models/index.js +128 -0
  190. package/dist/react-native/models/index.js.map +1 -0
  191. package/dist/react-native/models/mappers.d.ts +40 -0
  192. package/dist/react-native/models/mappers.d.ts.map +1 -0
  193. package/dist/react-native/models/mappers.js +1268 -0
  194. package/dist/react-native/models/mappers.js.map +1 -0
  195. package/dist/react-native/models/parameters.d.ts +34 -0
  196. package/dist/react-native/models/parameters.d.ts.map +1 -0
  197. package/dist/react-native/models/parameters.js +293 -0
  198. package/dist/react-native/models/parameters.js.map +1 -0
  199. package/dist/react-native/operations/dpsCertificate.d.ts +70 -0
  200. package/dist/react-native/operations/dpsCertificate.d.ts.map +1 -0
  201. package/dist/react-native/operations/dpsCertificate.js +290 -0
  202. package/dist/react-native/operations/dpsCertificate.js.map +1 -0
  203. package/dist/react-native/operations/index.d.ts +4 -0
  204. package/dist/react-native/operations/index.d.ts.map +1 -0
  205. package/dist/react-native/operations/index.js +11 -0
  206. package/dist/react-native/operations/index.js.map +1 -0
  207. package/dist/react-native/operations/iotDpsResource.d.ts +253 -0
  208. package/dist/react-native/operations/iotDpsResource.d.ts.map +1 -0
  209. package/dist/react-native/operations/iotDpsResource.js +1170 -0
  210. package/dist/react-native/operations/iotDpsResource.js.map +1 -0
  211. package/dist/react-native/operations/operations.d.ts +32 -0
  212. package/dist/react-native/operations/operations.d.ts.map +1 -0
  213. package/dist/react-native/operations/operations.js +116 -0
  214. package/dist/react-native/operations/operations.js.map +1 -0
  215. package/dist/react-native/operationsInterfaces/dpsCertificate.d.ts +62 -0
  216. package/dist/react-native/operationsInterfaces/dpsCertificate.d.ts.map +1 -0
  217. package/dist/react-native/operationsInterfaces/dpsCertificate.js +9 -0
  218. package/dist/react-native/operationsInterfaces/dpsCertificate.js.map +1 -0
  219. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  220. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  221. package/dist/react-native/operationsInterfaces/index.js +11 -0
  222. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  223. package/dist/react-native/operationsInterfaces/iotDpsResource.d.ts +183 -0
  224. package/dist/react-native/operationsInterfaces/iotDpsResource.d.ts.map +1 -0
  225. package/dist/react-native/operationsInterfaces/iotDpsResource.js +9 -0
  226. package/dist/react-native/operationsInterfaces/iotDpsResource.js.map +1 -0
  227. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  228. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  230. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  231. package/dist/react-native/package.json +3 -0
  232. package/dist/react-native/pagingHelper.d.ts +13 -0
  233. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  234. package/dist/react-native/pagingHelper.js +30 -0
  235. package/dist/react-native/pagingHelper.js.map +1 -0
  236. package/package.json +85 -76
  237. package/dist/index.js +0 -3571
  238. package/dist/index.js.map +0 -1
  239. package/dist/index.min.js +0 -1
  240. package/dist/index.min.js.map +0 -1
  241. package/dist-esm/samples-dev/dpsCertificateCreateOrUpdateSample.d.ts +0 -2
  242. package/dist-esm/samples-dev/dpsCertificateCreateOrUpdateSample.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/dpsCertificateCreateOrUpdateSample.js +0 -44
  244. package/dist-esm/samples-dev/dpsCertificateCreateOrUpdateSample.js.map +0 -1
  245. package/dist-esm/samples-dev/dpsCertificateDeleteSample.d.ts +0 -2
  246. package/dist-esm/samples-dev/dpsCertificateDeleteSample.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/dpsCertificateDeleteSample.js +0 -42
  248. package/dist-esm/samples-dev/dpsCertificateDeleteSample.js.map +0 -1
  249. package/dist-esm/samples-dev/dpsCertificateGenerateVerificationCodeSample.d.ts +0 -2
  250. package/dist-esm/samples-dev/dpsCertificateGenerateVerificationCodeSample.d.ts.map +0 -1
  251. package/dist-esm/samples-dev/dpsCertificateGenerateVerificationCodeSample.js +0 -42
  252. package/dist-esm/samples-dev/dpsCertificateGenerateVerificationCodeSample.js.map +0 -1
  253. package/dist-esm/samples-dev/dpsCertificateGetSample.d.ts +0 -2
  254. package/dist-esm/samples-dev/dpsCertificateGetSample.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/dpsCertificateGetSample.js +0 -41
  256. package/dist-esm/samples-dev/dpsCertificateGetSample.js.map +0 -1
  257. package/dist-esm/samples-dev/dpsCertificateListSample.d.ts +0 -2
  258. package/dist-esm/samples-dev/dpsCertificateListSample.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/dpsCertificateListSample.js +0 -40
  260. package/dist-esm/samples-dev/dpsCertificateListSample.js.map +0 -1
  261. package/dist-esm/samples-dev/dpsCertificateVerifyCertificateSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/dpsCertificateVerifyCertificateSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/dpsCertificateVerifyCertificateSample.js +0 -45
  264. package/dist-esm/samples-dev/dpsCertificateVerifyCertificateSample.js.map +0 -1
  265. package/dist-esm/samples-dev/iotDpsResourceCheckProvisioningServiceNameAvailabilitySample.d.ts +0 -2
  266. package/dist-esm/samples-dev/iotDpsResourceCheckProvisioningServiceNameAvailabilitySample.d.ts.map +0 -1
  267. package/dist-esm/samples-dev/iotDpsResourceCheckProvisioningServiceNameAvailabilitySample.js +0 -38
  268. package/dist-esm/samples-dev/iotDpsResourceCheckProvisioningServiceNameAvailabilitySample.js.map +0 -1
  269. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdatePrivateEndpointConnectionSample.d.ts +0 -2
  270. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdatePrivateEndpointConnectionSample.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdatePrivateEndpointConnectionSample.js +0 -49
  272. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdatePrivateEndpointConnectionSample.js.map +0 -1
  273. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdateSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdateSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdateSample.js +0 -78
  276. package/dist-esm/samples-dev/iotDpsResourceCreateOrUpdateSample.js.map +0 -1
  277. package/dist-esm/samples-dev/iotDpsResourceDeletePrivateEndpointConnectionSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/iotDpsResourceDeletePrivateEndpointConnectionSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/iotDpsResourceDeletePrivateEndpointConnectionSample.js +0 -41
  280. package/dist-esm/samples-dev/iotDpsResourceDeletePrivateEndpointConnectionSample.js.map +0 -1
  281. package/dist-esm/samples-dev/iotDpsResourceDeleteSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/iotDpsResourceDeleteSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/iotDpsResourceDeleteSample.js +0 -40
  284. package/dist-esm/samples-dev/iotDpsResourceDeleteSample.js.map +0 -1
  285. package/dist-esm/samples-dev/iotDpsResourceGetOperationResultSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/iotDpsResourceGetOperationResultSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/iotDpsResourceGetOperationResultSample.js +0 -42
  288. package/dist-esm/samples-dev/iotDpsResourceGetOperationResultSample.js.map +0 -1
  289. package/dist-esm/samples-dev/iotDpsResourceGetPrivateEndpointConnectionSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/iotDpsResourceGetPrivateEndpointConnectionSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/iotDpsResourceGetPrivateEndpointConnectionSample.js +0 -41
  292. package/dist-esm/samples-dev/iotDpsResourceGetPrivateEndpointConnectionSample.js.map +0 -1
  293. package/dist-esm/samples-dev/iotDpsResourceGetPrivateLinkResourcesSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/iotDpsResourceGetPrivateLinkResourcesSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/iotDpsResourceGetPrivateLinkResourcesSample.js +0 -41
  296. package/dist-esm/samples-dev/iotDpsResourceGetPrivateLinkResourcesSample.js.map +0 -1
  297. package/dist-esm/samples-dev/iotDpsResourceGetSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/iotDpsResourceGetSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/iotDpsResourceGetSample.js +0 -40
  300. package/dist-esm/samples-dev/iotDpsResourceGetSample.js.map +0 -1
  301. package/dist-esm/samples-dev/iotDpsResourceListByResourceGroupSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/iotDpsResourceListByResourceGroupSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/iotDpsResourceListByResourceGroupSample.js +0 -60
  304. package/dist-esm/samples-dev/iotDpsResourceListByResourceGroupSample.js.map +0 -1
  305. package/dist-esm/samples-dev/iotDpsResourceListBySubscriptionSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/iotDpsResourceListBySubscriptionSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/iotDpsResourceListBySubscriptionSample.js +0 -58
  308. package/dist-esm/samples-dev/iotDpsResourceListBySubscriptionSample.js.map +0 -1
  309. package/dist-esm/samples-dev/iotDpsResourceListKeysForKeyNameSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/iotDpsResourceListKeysForKeyNameSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/iotDpsResourceListKeysForKeyNameSample.js +0 -41
  312. package/dist-esm/samples-dev/iotDpsResourceListKeysForKeyNameSample.js.map +0 -1
  313. package/dist-esm/samples-dev/iotDpsResourceListKeysSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/iotDpsResourceListKeysSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/iotDpsResourceListKeysSample.js +0 -61
  316. package/dist-esm/samples-dev/iotDpsResourceListKeysSample.js.map +0 -1
  317. package/dist-esm/samples-dev/iotDpsResourceListPrivateEndpointConnectionsSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/iotDpsResourceListPrivateEndpointConnectionsSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/iotDpsResourceListPrivateEndpointConnectionsSample.js +0 -40
  320. package/dist-esm/samples-dev/iotDpsResourceListPrivateEndpointConnectionsSample.js.map +0 -1
  321. package/dist-esm/samples-dev/iotDpsResourceListPrivateLinkResourcesSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/iotDpsResourceListPrivateLinkResourcesSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/iotDpsResourceListPrivateLinkResourcesSample.js +0 -40
  324. package/dist-esm/samples-dev/iotDpsResourceListPrivateLinkResourcesSample.js.map +0 -1
  325. package/dist-esm/samples-dev/iotDpsResourceListValidSkusSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/iotDpsResourceListValidSkusSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/iotDpsResourceListValidSkusSample.js +0 -61
  328. package/dist-esm/samples-dev/iotDpsResourceListValidSkusSample.js.map +0 -1
  329. package/dist-esm/samples-dev/iotDpsResourceUpdateSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/iotDpsResourceUpdateSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/iotDpsResourceUpdateSample.js +0 -41
  332. package/dist-esm/samples-dev/iotDpsResourceUpdateSample.js.map +0 -1
  333. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/operationsListSample.js +0 -58
  336. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  337. package/dist-esm/src/index.d.ts +0 -6
  338. package/dist-esm/src/index.d.ts.map +0 -1
  339. package/dist-esm/src/index.js.map +0 -1
  340. package/dist-esm/src/iotDpsClient.d.ts.map +0 -1
  341. package/dist-esm/src/iotDpsClient.js.map +0 -1
  342. package/dist-esm/src/lroImpl.js +0 -21
  343. package/dist-esm/src/lroImpl.js.map +0 -1
  344. package/dist-esm/src/models/index.js.map +0 -1
  345. package/dist-esm/src/models/mappers.js.map +0 -1
  346. package/dist-esm/src/models/parameters.js.map +0 -1
  347. package/dist-esm/src/operations/dpsCertificate.d.ts.map +0 -1
  348. package/dist-esm/src/operations/dpsCertificate.js.map +0 -1
  349. package/dist-esm/src/operations/index.d.ts +0 -4
  350. package/dist-esm/src/operations/index.js.map +0 -1
  351. package/dist-esm/src/operations/iotDpsResource.d.ts.map +0 -1
  352. package/dist-esm/src/operations/iotDpsResource.js.map +0 -1
  353. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  354. package/dist-esm/src/operations/operations.js.map +0 -1
  355. package/dist-esm/src/operationsInterfaces/dpsCertificate.d.ts.map +0 -1
  356. package/dist-esm/src/operationsInterfaces/dpsCertificate.js.map +0 -1
  357. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  358. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  359. package/dist-esm/src/operationsInterfaces/iotDpsResource.d.ts.map +0 -1
  360. package/dist-esm/src/operationsInterfaces/iotDpsResource.js.map +0 -1
  361. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  362. package/dist-esm/src/pagingHelper.js.map +0 -1
  363. package/dist-esm/test/deviceprovisioningservices_operations_test.spec.d.ts +0 -4
  364. package/dist-esm/test/deviceprovisioningservices_operations_test.spec.d.ts.map +0 -1
  365. package/dist-esm/test/deviceprovisioningservices_operations_test.spec.js +0 -123
  366. package/dist-esm/test/deviceprovisioningservices_operations_test.spec.js.map +0 -1
  367. package/rollup.config.js +0 -122
  368. package/src/iotDpsClient.ts +0 -152
  369. package/src/lroImpl.ts +0 -42
  370. package/src/models/index.ts +0 -1108
  371. package/src/models/mappers.ts +0 -1309
  372. package/src/models/parameters.ts +0 -337
  373. package/src/operations/dpsCertificate.ts +0 -374
  374. package/src/operations/iotDpsResource.ts +0 -1674
  375. package/src/operations/operations.ts +0 -149
  376. package/src/operationsInterfaces/dpsCertificate.ts +0 -118
  377. package/src/operationsInterfaces/index.ts +0 -11
  378. package/src/operationsInterfaces/iotDpsResource.ts +0 -351
  379. package/src/operationsInterfaces/operations.ts +0 -22
  380. package/src/pagingHelper.ts +0 -39
  381. package/tsconfig.json +0 -33
  382. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  383. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  384. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  385. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  386. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  387. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  388. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  389. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  390. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dpsCertificate.js +0 -0
  391. /package/{dist-esm/src → dist/browser}/operationsInterfaces/iotDpsResource.js +0 -0
  392. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  393. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  394. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  395. /package/review/{arm-deviceprovisioningservices.api.md → arm-deviceprovisioningservices-node.api.md} +0 -0
@@ -1,149 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Operations } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { IotDpsClient } from "../iotDpsClient";
16
- import {
17
- Operation,
18
- OperationsListNextOptionalParams,
19
- OperationsListOptionalParams,
20
- OperationsListResponse,
21
- OperationsListNextResponse
22
- } from "../models";
23
-
24
- /// <reference lib="esnext.asynciterable" />
25
- /** Class containing Operations operations. */
26
- export class OperationsImpl implements Operations {
27
- private readonly client: IotDpsClient;
28
-
29
- /**
30
- * Initialize a new instance of the class Operations class.
31
- * @param client Reference to the service client
32
- */
33
- constructor(client: IotDpsClient) {
34
- this.client = client;
35
- }
36
-
37
- /**
38
- * Lists all of the available Microsoft.Devices REST API operations.
39
- * @param options The options parameters.
40
- */
41
- public list(
42
- options?: OperationsListOptionalParams
43
- ): PagedAsyncIterableIterator<Operation> {
44
- const iter = this.listPagingAll(options);
45
- return {
46
- next() {
47
- return iter.next();
48
- },
49
- [Symbol.asyncIterator]() {
50
- return this;
51
- },
52
- byPage: (settings?: PageSettings) => {
53
- if (settings?.maxPageSize) {
54
- throw new Error("maxPageSize is not supported by this operation.");
55
- }
56
- return this.listPagingPage(options, settings);
57
- }
58
- };
59
- }
60
-
61
- private async *listPagingPage(
62
- options?: OperationsListOptionalParams,
63
- settings?: PageSettings
64
- ): AsyncIterableIterator<Operation[]> {
65
- let result: OperationsListResponse;
66
- let continuationToken = settings?.continuationToken;
67
- if (!continuationToken) {
68
- result = await this._list(options);
69
- let page = result.value || [];
70
- continuationToken = result.nextLink;
71
- setContinuationToken(page, continuationToken);
72
- yield page;
73
- }
74
- while (continuationToken) {
75
- result = await this._listNext(continuationToken, options);
76
- continuationToken = result.nextLink;
77
- let page = result.value || [];
78
- setContinuationToken(page, continuationToken);
79
- yield page;
80
- }
81
- }
82
-
83
- private async *listPagingAll(
84
- options?: OperationsListOptionalParams
85
- ): AsyncIterableIterator<Operation> {
86
- for await (const page of this.listPagingPage(options)) {
87
- yield* page;
88
- }
89
- }
90
-
91
- /**
92
- * Lists all of the available Microsoft.Devices REST API operations.
93
- * @param options The options parameters.
94
- */
95
- private _list(
96
- options?: OperationsListOptionalParams
97
- ): Promise<OperationsListResponse> {
98
- return this.client.sendOperationRequest({ options }, listOperationSpec);
99
- }
100
-
101
- /**
102
- * ListNext
103
- * @param nextLink The nextLink from the previous successful call to the List method.
104
- * @param options The options parameters.
105
- */
106
- private _listNext(
107
- nextLink: string,
108
- options?: OperationsListNextOptionalParams
109
- ): Promise<OperationsListNextResponse> {
110
- return this.client.sendOperationRequest(
111
- { nextLink, options },
112
- listNextOperationSpec
113
- );
114
- }
115
- }
116
- // Operation Specifications
117
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
118
-
119
- const listOperationSpec: coreClient.OperationSpec = {
120
- path: "/providers/Microsoft.Devices/operations",
121
- httpMethod: "GET",
122
- responses: {
123
- 200: {
124
- bodyMapper: Mappers.OperationListResult
125
- },
126
- default: {
127
- bodyMapper: Mappers.ErrorDetails
128
- }
129
- },
130
- queryParameters: [Parameters.apiVersion],
131
- urlParameters: [Parameters.$host],
132
- headerParameters: [Parameters.accept],
133
- serializer
134
- };
135
- const listNextOperationSpec: coreClient.OperationSpec = {
136
- path: "{nextLink}",
137
- httpMethod: "GET",
138
- responses: {
139
- 200: {
140
- bodyMapper: Mappers.OperationListResult
141
- },
142
- default: {
143
- bodyMapper: Mappers.ErrorDetails
144
- }
145
- },
146
- urlParameters: [Parameters.$host, Parameters.nextLink],
147
- headerParameters: [Parameters.accept],
148
- serializer
149
- };
@@ -1,118 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import {
10
- DpsCertificateGetOptionalParams,
11
- DpsCertificateGetResponse,
12
- CertificateResponse,
13
- DpsCertificateCreateOrUpdateOptionalParams,
14
- DpsCertificateCreateOrUpdateResponse,
15
- DpsCertificateDeleteOptionalParams,
16
- DpsCertificateListOptionalParams,
17
- DpsCertificateListResponse,
18
- DpsCertificateGenerateVerificationCodeOptionalParams,
19
- DpsCertificateGenerateVerificationCodeResponse,
20
- VerificationCodeRequest,
21
- DpsCertificateVerifyCertificateOptionalParams,
22
- DpsCertificateVerifyCertificateResponse
23
- } from "../models";
24
-
25
- /** Interface representing a DpsCertificate. */
26
- export interface DpsCertificate {
27
- /**
28
- * Get the certificate from the provisioning service.
29
- * @param certificateName Name of the certificate to retrieve.
30
- * @param resourceGroupName Resource group identifier.
31
- * @param provisioningServiceName Name of the provisioning service the certificate is associated with.
32
- * @param options The options parameters.
33
- */
34
- get(
35
- certificateName: string,
36
- resourceGroupName: string,
37
- provisioningServiceName: string,
38
- options?: DpsCertificateGetOptionalParams
39
- ): Promise<DpsCertificateGetResponse>;
40
- /**
41
- * Add new certificate or update an existing certificate.
42
- * @param resourceGroupName Resource group identifier.
43
- * @param provisioningServiceName The name of the provisioning service.
44
- * @param certificateName The name of the certificate create or update.
45
- * @param certificateDescription The certificate body.
46
- * @param options The options parameters.
47
- */
48
- createOrUpdate(
49
- resourceGroupName: string,
50
- provisioningServiceName: string,
51
- certificateName: string,
52
- certificateDescription: CertificateResponse,
53
- options?: DpsCertificateCreateOrUpdateOptionalParams
54
- ): Promise<DpsCertificateCreateOrUpdateResponse>;
55
- /**
56
- * Deletes the specified certificate associated with the Provisioning Service
57
- * @param resourceGroupName Resource group identifier.
58
- * @param ifMatch ETag of the certificate
59
- * @param provisioningServiceName The name of the provisioning service.
60
- * @param certificateName This is a mandatory field, and is the logical name of the certificate that
61
- * the provisioning service will access by.
62
- * @param options The options parameters.
63
- */
64
- delete(
65
- resourceGroupName: string,
66
- ifMatch: string,
67
- provisioningServiceName: string,
68
- certificateName: string,
69
- options?: DpsCertificateDeleteOptionalParams
70
- ): Promise<void>;
71
- /**
72
- * Get all the certificates tied to the provisioning service.
73
- * @param resourceGroupName Name of resource group.
74
- * @param provisioningServiceName Name of provisioning service to retrieve certificates for.
75
- * @param options The options parameters.
76
- */
77
- list(
78
- resourceGroupName: string,
79
- provisioningServiceName: string,
80
- options?: DpsCertificateListOptionalParams
81
- ): Promise<DpsCertificateListResponse>;
82
- /**
83
- * Generate verification code for Proof of Possession.
84
- * @param certificateName The mandatory logical name of the certificate, that the provisioning service
85
- * uses to access.
86
- * @param ifMatch ETag of the certificate. This is required to update an existing certificate, and
87
- * ignored while creating a brand new certificate.
88
- * @param resourceGroupName name of resource group.
89
- * @param provisioningServiceName Name of provisioning service.
90
- * @param options The options parameters.
91
- */
92
- generateVerificationCode(
93
- certificateName: string,
94
- ifMatch: string,
95
- resourceGroupName: string,
96
- provisioningServiceName: string,
97
- options?: DpsCertificateGenerateVerificationCodeOptionalParams
98
- ): Promise<DpsCertificateGenerateVerificationCodeResponse>;
99
- /**
100
- * Verifies the certificate's private key possession by providing the leaf cert issued by the verifying
101
- * pre uploaded certificate.
102
- * @param certificateName The mandatory logical name of the certificate, that the provisioning service
103
- * uses to access.
104
- * @param ifMatch ETag of the certificate.
105
- * @param resourceGroupName Resource group name.
106
- * @param provisioningServiceName Provisioning service name.
107
- * @param request The name of the certificate
108
- * @param options The options parameters.
109
- */
110
- verifyCertificate(
111
- certificateName: string,
112
- ifMatch: string,
113
- resourceGroupName: string,
114
- provisioningServiceName: string,
115
- request: VerificationCodeRequest,
116
- options?: DpsCertificateVerifyCertificateOptionalParams
117
- ): Promise<DpsCertificateVerifyCertificateResponse>;
118
- }
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export * from "./operations";
10
- export * from "./dpsCertificate";
11
- export * from "./iotDpsResource";
@@ -1,351 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
- import {
12
- ProvisioningServiceDescription,
13
- IotDpsResourceListBySubscriptionOptionalParams,
14
- IotDpsResourceListByResourceGroupOptionalParams,
15
- IotDpsSkuDefinition,
16
- IotDpsResourceListValidSkusOptionalParams,
17
- SharedAccessSignatureAuthorizationRuleAccessRightsDescription,
18
- IotDpsResourceListKeysOptionalParams,
19
- IotDpsResourceGetOptionalParams,
20
- IotDpsResourceGetResponse,
21
- IotDpsResourceCreateOrUpdateOptionalParams,
22
- IotDpsResourceCreateOrUpdateResponse,
23
- TagsResource,
24
- IotDpsResourceUpdateOptionalParams,
25
- IotDpsResourceUpdateResponse,
26
- IotDpsResourceDeleteOptionalParams,
27
- IotDpsResourceGetOperationResultOptionalParams,
28
- IotDpsResourceGetOperationResultResponse,
29
- OperationInputs,
30
- IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams,
31
- IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse,
32
- IotDpsResourceListKeysForKeyNameOptionalParams,
33
- IotDpsResourceListKeysForKeyNameResponse,
34
- IotDpsResourceListPrivateLinkResourcesOptionalParams,
35
- IotDpsResourceListPrivateLinkResourcesResponse,
36
- IotDpsResourceGetPrivateLinkResourcesOptionalParams,
37
- IotDpsResourceGetPrivateLinkResourcesResponse,
38
- IotDpsResourceListPrivateEndpointConnectionsOptionalParams,
39
- IotDpsResourceListPrivateEndpointConnectionsResponse,
40
- IotDpsResourceGetPrivateEndpointConnectionOptionalParams,
41
- IotDpsResourceGetPrivateEndpointConnectionResponse,
42
- PrivateEndpointConnection,
43
- IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams,
44
- IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse,
45
- IotDpsResourceDeletePrivateEndpointConnectionOptionalParams,
46
- IotDpsResourceDeletePrivateEndpointConnectionResponse
47
- } from "../models";
48
-
49
- /// <reference lib="esnext.asynciterable" />
50
- /** Interface representing a IotDpsResource. */
51
- export interface IotDpsResource {
52
- /**
53
- * List all the provisioning services for a given subscription id.
54
- * @param options The options parameters.
55
- */
56
- listBySubscription(
57
- options?: IotDpsResourceListBySubscriptionOptionalParams
58
- ): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
59
- /**
60
- * Get a list of all provisioning services in the given resource group.
61
- * @param resourceGroupName Resource group identifier.
62
- * @param options The options parameters.
63
- */
64
- listByResourceGroup(
65
- resourceGroupName: string,
66
- options?: IotDpsResourceListByResourceGroupOptionalParams
67
- ): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
68
- /**
69
- * Gets the list of valid SKUs and tiers for a provisioning service.
70
- * @param provisioningServiceName Name of provisioning service.
71
- * @param resourceGroupName Name of resource group.
72
- * @param options The options parameters.
73
- */
74
- listValidSkus(
75
- provisioningServiceName: string,
76
- resourceGroupName: string,
77
- options?: IotDpsResourceListValidSkusOptionalParams
78
- ): PagedAsyncIterableIterator<IotDpsSkuDefinition>;
79
- /**
80
- * List the primary and secondary keys for a provisioning service.
81
- * @param provisioningServiceName The provisioning service name to get the shared access keys for.
82
- * @param resourceGroupName resource group name
83
- * @param options The options parameters.
84
- */
85
- listKeys(
86
- provisioningServiceName: string,
87
- resourceGroupName: string,
88
- options?: IotDpsResourceListKeysOptionalParams
89
- ): PagedAsyncIterableIterator<
90
- SharedAccessSignatureAuthorizationRuleAccessRightsDescription
91
- >;
92
- /**
93
- * Get the metadata of the provisioning service without SAS keys.
94
- * @param resourceGroupName Resource group name.
95
- * @param provisioningServiceName Name of the provisioning service to retrieve.
96
- * @param options The options parameters.
97
- */
98
- get(
99
- resourceGroupName: string,
100
- provisioningServiceName: string,
101
- options?: IotDpsResourceGetOptionalParams
102
- ): Promise<IotDpsResourceGetResponse>;
103
- /**
104
- * Create or update the metadata of the provisioning service. The usual pattern to modify a property is
105
- * to retrieve the provisioning service metadata and security metadata, and then combine them with the
106
- * modified values in a new body to update the provisioning service.
107
- * @param resourceGroupName Resource group identifier.
108
- * @param provisioningServiceName Name of provisioning service to create or update.
109
- * @param iotDpsDescription Description of the provisioning service to create or update.
110
- * @param options The options parameters.
111
- */
112
- beginCreateOrUpdate(
113
- resourceGroupName: string,
114
- provisioningServiceName: string,
115
- iotDpsDescription: ProvisioningServiceDescription,
116
- options?: IotDpsResourceCreateOrUpdateOptionalParams
117
- ): Promise<
118
- SimplePollerLike<
119
- OperationState<IotDpsResourceCreateOrUpdateResponse>,
120
- IotDpsResourceCreateOrUpdateResponse
121
- >
122
- >;
123
- /**
124
- * Create or update the metadata of the provisioning service. The usual pattern to modify a property is
125
- * to retrieve the provisioning service metadata and security metadata, and then combine them with the
126
- * modified values in a new body to update the provisioning service.
127
- * @param resourceGroupName Resource group identifier.
128
- * @param provisioningServiceName Name of provisioning service to create or update.
129
- * @param iotDpsDescription Description of the provisioning service to create or update.
130
- * @param options The options parameters.
131
- */
132
- beginCreateOrUpdateAndWait(
133
- resourceGroupName: string,
134
- provisioningServiceName: string,
135
- iotDpsDescription: ProvisioningServiceDescription,
136
- options?: IotDpsResourceCreateOrUpdateOptionalParams
137
- ): Promise<IotDpsResourceCreateOrUpdateResponse>;
138
- /**
139
- * Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method
140
- * @param resourceGroupName Resource group identifier.
141
- * @param provisioningServiceName Name of provisioning service to create or update.
142
- * @param provisioningServiceTags Updated tag information to set into the provisioning service
143
- * instance.
144
- * @param options The options parameters.
145
- */
146
- beginUpdate(
147
- resourceGroupName: string,
148
- provisioningServiceName: string,
149
- provisioningServiceTags: TagsResource,
150
- options?: IotDpsResourceUpdateOptionalParams
151
- ): Promise<
152
- SimplePollerLike<
153
- OperationState<IotDpsResourceUpdateResponse>,
154
- IotDpsResourceUpdateResponse
155
- >
156
- >;
157
- /**
158
- * Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method
159
- * @param resourceGroupName Resource group identifier.
160
- * @param provisioningServiceName Name of provisioning service to create or update.
161
- * @param provisioningServiceTags Updated tag information to set into the provisioning service
162
- * instance.
163
- * @param options The options parameters.
164
- */
165
- beginUpdateAndWait(
166
- resourceGroupName: string,
167
- provisioningServiceName: string,
168
- provisioningServiceTags: TagsResource,
169
- options?: IotDpsResourceUpdateOptionalParams
170
- ): Promise<IotDpsResourceUpdateResponse>;
171
- /**
172
- * Deletes the Provisioning Service.
173
- * @param resourceGroupName Resource group identifier.
174
- * @param provisioningServiceName Name of provisioning service to delete.
175
- * @param options The options parameters.
176
- */
177
- beginDelete(
178
- resourceGroupName: string,
179
- provisioningServiceName: string,
180
- options?: IotDpsResourceDeleteOptionalParams
181
- ): Promise<SimplePollerLike<OperationState<void>, void>>;
182
- /**
183
- * Deletes the Provisioning Service.
184
- * @param resourceGroupName Resource group identifier.
185
- * @param provisioningServiceName Name of provisioning service to delete.
186
- * @param options The options parameters.
187
- */
188
- beginDeleteAndWait(
189
- resourceGroupName: string,
190
- provisioningServiceName: string,
191
- options?: IotDpsResourceDeleteOptionalParams
192
- ): Promise<void>;
193
- /**
194
- * Gets the status of a long running operation, such as create, update or delete a provisioning
195
- * service.
196
- * @param operationId Operation id corresponding to long running operation. Use this to poll for the
197
- * status.
198
- * @param resourceGroupName Resource group identifier.
199
- * @param provisioningServiceName Name of provisioning service that the operation is running on.
200
- * @param asyncinfo Async header used to poll on the status of the operation, obtained while creating
201
- * the long running operation.
202
- * @param options The options parameters.
203
- */
204
- getOperationResult(
205
- operationId: string,
206
- resourceGroupName: string,
207
- provisioningServiceName: string,
208
- asyncinfo: string,
209
- options?: IotDpsResourceGetOperationResultOptionalParams
210
- ): Promise<IotDpsResourceGetOperationResultResponse>;
211
- /**
212
- * Check if a provisioning service name is available. This will validate if the name is syntactically
213
- * valid and if the name is usable
214
- * @param argumentsParam Set the name parameter in the OperationInputs structure to the name of the
215
- * provisioning service to check.
216
- * @param options The options parameters.
217
- */
218
- checkProvisioningServiceNameAvailability(
219
- argumentsParam: OperationInputs,
220
- options?: IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams
221
- ): Promise<IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
222
- /**
223
- * List primary and secondary keys for a specific key name
224
- * @param provisioningServiceName Name of the provisioning service.
225
- * @param keyName Logical key name to get key-values for.
226
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
227
- * @param options The options parameters.
228
- */
229
- listKeysForKeyName(
230
- provisioningServiceName: string,
231
- keyName: string,
232
- resourceGroupName: string,
233
- options?: IotDpsResourceListKeysForKeyNameOptionalParams
234
- ): Promise<IotDpsResourceListKeysForKeyNameResponse>;
235
- /**
236
- * List private link resources for the given provisioning service
237
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
238
- * @param resourceName The name of the provisioning service.
239
- * @param options The options parameters.
240
- */
241
- listPrivateLinkResources(
242
- resourceGroupName: string,
243
- resourceName: string,
244
- options?: IotDpsResourceListPrivateLinkResourcesOptionalParams
245
- ): Promise<IotDpsResourceListPrivateLinkResourcesResponse>;
246
- /**
247
- * Get the specified private link resource for the given provisioning service
248
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
249
- * @param resourceName The name of the provisioning service.
250
- * @param groupId The name of the private link resource
251
- * @param options The options parameters.
252
- */
253
- getPrivateLinkResources(
254
- resourceGroupName: string,
255
- resourceName: string,
256
- groupId: string,
257
- options?: IotDpsResourceGetPrivateLinkResourcesOptionalParams
258
- ): Promise<IotDpsResourceGetPrivateLinkResourcesResponse>;
259
- /**
260
- * List private endpoint connection properties
261
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
262
- * @param resourceName The name of the provisioning service.
263
- * @param options The options parameters.
264
- */
265
- listPrivateEndpointConnections(
266
- resourceGroupName: string,
267
- resourceName: string,
268
- options?: IotDpsResourceListPrivateEndpointConnectionsOptionalParams
269
- ): Promise<IotDpsResourceListPrivateEndpointConnectionsResponse>;
270
- /**
271
- * Get private endpoint connection properties
272
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
273
- * @param resourceName The name of the provisioning service.
274
- * @param privateEndpointConnectionName The name of the private endpoint connection
275
- * @param options The options parameters.
276
- */
277
- getPrivateEndpointConnection(
278
- resourceGroupName: string,
279
- resourceName: string,
280
- privateEndpointConnectionName: string,
281
- options?: IotDpsResourceGetPrivateEndpointConnectionOptionalParams
282
- ): Promise<IotDpsResourceGetPrivateEndpointConnectionResponse>;
283
- /**
284
- * Create or update the status of a private endpoint connection with the specified name
285
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
286
- * @param resourceName The name of the provisioning service.
287
- * @param privateEndpointConnectionName The name of the private endpoint connection
288
- * @param privateEndpointConnection The private endpoint connection with updated properties
289
- * @param options The options parameters.
290
- */
291
- beginCreateOrUpdatePrivateEndpointConnection(
292
- resourceGroupName: string,
293
- resourceName: string,
294
- privateEndpointConnectionName: string,
295
- privateEndpointConnection: PrivateEndpointConnection,
296
- options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams
297
- ): Promise<
298
- SimplePollerLike<
299
- OperationState<
300
- IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse
301
- >,
302
- IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse
303
- >
304
- >;
305
- /**
306
- * Create or update the status of a private endpoint connection with the specified name
307
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
308
- * @param resourceName The name of the provisioning service.
309
- * @param privateEndpointConnectionName The name of the private endpoint connection
310
- * @param privateEndpointConnection The private endpoint connection with updated properties
311
- * @param options The options parameters.
312
- */
313
- beginCreateOrUpdatePrivateEndpointConnectionAndWait(
314
- resourceGroupName: string,
315
- resourceName: string,
316
- privateEndpointConnectionName: string,
317
- privateEndpointConnection: PrivateEndpointConnection,
318
- options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams
319
- ): Promise<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>;
320
- /**
321
- * Delete private endpoint connection with the specified name
322
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
323
- * @param resourceName The name of the provisioning service.
324
- * @param privateEndpointConnectionName The name of the private endpoint connection
325
- * @param options The options parameters.
326
- */
327
- beginDeletePrivateEndpointConnection(
328
- resourceGroupName: string,
329
- resourceName: string,
330
- privateEndpointConnectionName: string,
331
- options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams
332
- ): Promise<
333
- SimplePollerLike<
334
- OperationState<IotDpsResourceDeletePrivateEndpointConnectionResponse>,
335
- IotDpsResourceDeletePrivateEndpointConnectionResponse
336
- >
337
- >;
338
- /**
339
- * Delete private endpoint connection with the specified name
340
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
341
- * @param resourceName The name of the provisioning service.
342
- * @param privateEndpointConnectionName The name of the private endpoint connection
343
- * @param options The options parameters.
344
- */
345
- beginDeletePrivateEndpointConnectionAndWait(
346
- resourceGroupName: string,
347
- resourceName: string,
348
- privateEndpointConnectionName: string,
349
- options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams
350
- ): Promise<IotDpsResourceDeletePrivateEndpointConnectionResponse>;
351
- }
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { Operation, OperationsListOptionalParams } from "../models";
11
-
12
- /// <reference lib="esnext.asynciterable" />
13
- /** Interface representing a Operations. */
14
- export interface Operations {
15
- /**
16
- * Lists all of the available Microsoft.Devices REST API operations.
17
- * @param options The options parameters.
18
- */
19
- list(
20
- options?: OperationsListOptionalParams
21
- ): PagedAsyncIterableIterator<Operation>;
22
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export interface PageInfo {
10
- continuationToken?: string;
11
- }
12
-
13
- const pageMap = new WeakMap<object, PageInfo>();
14
-
15
- /**
16
- * Given the last `.value` produced by the `byPage` iterator,
17
- * returns a continuation token that can be used to begin paging from
18
- * that point later.
19
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
20
- * @returns The continuation token that can be passed into byPage() during future calls.
21
- */
22
- export function getContinuationToken(page: unknown): string | undefined {
23
- if (typeof page !== "object" || page === null) {
24
- return undefined;
25
- }
26
- return pageMap.get(page)?.continuationToken;
27
- }
28
-
29
- export function setContinuationToken(
30
- page: unknown,
31
- continuationToken: string | undefined
32
- ): void {
33
- if (typeof page !== "object" || page === null || !continuationToken) {
34
- return;
35
- }
36
- const pageInfo = pageMap.get(page) ?? {};
37
- pageInfo.continuationToken = continuationToken;
38
- pageMap.set(page, pageInfo);
39
- }