@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,1378 +1,979 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { OperationState } from '@azure/core-lro';
4
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
- import { SimplePollerLike } from '@azure/core-lro';
6
-
7
- /**
8
- * Defines values for AccessRightsDescription. \
9
- * {@link KnownAccessRightsDescription} can be used interchangeably with AccessRightsDescription,
10
- * this enum contains the known values that the service supports.
11
- * ### Known values supported by the service
12
- * **ServiceConfig** \
13
- * **EnrollmentRead** \
14
- * **EnrollmentWrite** \
15
- * **DeviceConnect** \
16
- * **RegistrationStatusRead** \
17
- * **RegistrationStatusWrite**
18
- */
19
- export declare type AccessRightsDescription = string;
20
-
21
- /**
22
- * Defines values for AllocationPolicy. \
23
- * {@link KnownAllocationPolicy} can be used interchangeably with AllocationPolicy,
24
- * this enum contains the known values that the service supports.
25
- * ### Known values supported by the service
26
- * **Hashed** \
27
- * **GeoLatency** \
28
- * **Static**
29
- */
30
- export declare type AllocationPolicy = string;
31
-
32
- /** Result of a long running operation. */
33
- export declare interface AsyncOperationResult {
34
- /** current status of a long running operation. */
35
- status?: string;
36
- /** Error message containing code, description and details */
37
- error?: ErrorMessage;
38
- }
39
-
40
- /** The JSON-serialized X509 Certificate. */
41
- export declare interface CertificateBodyDescription {
42
- /** Base-64 representation of the X509 leaf certificate .cer file or just .pem file content. */
43
- certificate?: string;
44
- /** True indicates that the certificate will be created in verified state and proof of possession will not be required. */
45
- isVerified?: boolean;
46
- }
47
-
48
- /** The JSON-serialized array of Certificate objects. */
49
- export declare interface CertificateListDescription {
50
- /** The array of Certificate objects. */
51
- value?: CertificateResponse[];
52
- }
53
-
54
- /** The description of an X509 CA Certificate. */
55
- export declare interface CertificateProperties {
56
- /**
57
- * The certificate's subject name.
58
- * NOTE: This property will not be serialized. It can only be populated by the server.
59
- */
60
- readonly subject?: string;
61
- /**
62
- * The certificate's expiration date and time.
63
- * NOTE: This property will not be serialized. It can only be populated by the server.
64
- */
65
- readonly expiry?: Date;
66
- /**
67
- * The certificate's thumbprint.
68
- * NOTE: This property will not be serialized. It can only be populated by the server.
69
- */
70
- readonly thumbprint?: string;
71
- /** Determines whether certificate has been verified. */
72
- isVerified?: boolean;
73
- /** base-64 representation of X509 certificate .cer file or just .pem file content. */
74
- certificate?: Uint8Array;
75
- /**
76
- * The certificate's creation date and time.
77
- * NOTE: This property will not be serialized. It can only be populated by the server.
78
- */
79
- readonly created?: Date;
80
- /**
81
- * The certificate's last update date and time.
82
- * NOTE: This property will not be serialized. It can only be populated by the server.
83
- */
84
- readonly updated?: Date;
85
- }
86
-
87
- /**
88
- * Defines values for CertificatePurpose. \
89
- * {@link KnownCertificatePurpose} can be used interchangeably with CertificatePurpose,
90
- * this enum contains the known values that the service supports.
91
- * ### Known values supported by the service
92
- * **clientAuthentication** \
93
- * **serverAuthentication**
94
- */
95
- export declare type CertificatePurpose = string;
96
-
97
- /** The X509 Certificate. */
98
- export declare interface CertificateResponse {
99
- /** properties of a certificate */
100
- properties?: CertificateProperties;
101
- /**
102
- * The resource identifier.
103
- * NOTE: This property will not be serialized. It can only be populated by the server.
104
- */
105
- readonly id?: string;
106
- /**
107
- * The name of the certificate.
108
- * NOTE: This property will not be serialized. It can only be populated by the server.
109
- */
110
- readonly name?: string;
111
- /**
112
- * The entity tag.
113
- * NOTE: This property will not be serialized. It can only be populated by the server.
114
- */
115
- readonly etag?: string;
116
- /**
117
- * The resource type.
118
- * NOTE: This property will not be serialized. It can only be populated by the server.
119
- */
120
- readonly type?: string;
121
- /**
122
- * Metadata pertaining to creation and last modification of the resource.
123
- * NOTE: This property will not be serialized. It can only be populated by the server.
124
- */
125
- readonly systemData?: SystemData;
126
- }
127
-
128
- /**
129
- * Defines values for CreatedByType. \
130
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
131
- * this enum contains the known values that the service supports.
132
- * ### Known values supported by the service
133
- * **User** \
134
- * **Application** \
135
- * **ManagedIdentity** \
136
- * **Key**
137
- */
138
- export declare type CreatedByType = string;
139
-
140
- /** Interface representing a DpsCertificate. */
141
- export declare interface DpsCertificate {
142
- /**
143
- * Get the certificate from the provisioning service.
144
- * @param certificateName Name of the certificate to retrieve.
145
- * @param resourceGroupName Resource group identifier.
146
- * @param provisioningServiceName Name of the provisioning service the certificate is associated with.
147
- * @param options The options parameters.
148
- */
149
- get(certificateName: string, resourceGroupName: string, provisioningServiceName: string, options?: DpsCertificateGetOptionalParams): Promise<DpsCertificateGetResponse>;
150
- /**
151
- * Add new certificate or update an existing certificate.
152
- * @param resourceGroupName Resource group identifier.
153
- * @param provisioningServiceName The name of the provisioning service.
154
- * @param certificateName The name of the certificate create or update.
155
- * @param certificateDescription The certificate body.
156
- * @param options The options parameters.
157
- */
158
- createOrUpdate(resourceGroupName: string, provisioningServiceName: string, certificateName: string, certificateDescription: CertificateResponse, options?: DpsCertificateCreateOrUpdateOptionalParams): Promise<DpsCertificateCreateOrUpdateResponse>;
159
- /**
160
- * Deletes the specified certificate associated with the Provisioning Service
161
- * @param resourceGroupName Resource group identifier.
162
- * @param ifMatch ETag of the certificate
163
- * @param provisioningServiceName The name of the provisioning service.
164
- * @param certificateName This is a mandatory field, and is the logical name of the certificate that
165
- * the provisioning service will access by.
166
- * @param options The options parameters.
167
- */
168
- delete(resourceGroupName: string, ifMatch: string, provisioningServiceName: string, certificateName: string, options?: DpsCertificateDeleteOptionalParams): Promise<void>;
169
- /**
170
- * Get all the certificates tied to the provisioning service.
171
- * @param resourceGroupName Name of resource group.
172
- * @param provisioningServiceName Name of provisioning service to retrieve certificates for.
173
- * @param options The options parameters.
174
- */
175
- list(resourceGroupName: string, provisioningServiceName: string, options?: DpsCertificateListOptionalParams): Promise<DpsCertificateListResponse>;
176
- /**
177
- * Generate verification code for Proof of Possession.
178
- * @param certificateName The mandatory logical name of the certificate, that the provisioning service
179
- * uses to access.
180
- * @param ifMatch ETag of the certificate. This is required to update an existing certificate, and
181
- * ignored while creating a brand new certificate.
182
- * @param resourceGroupName name of resource group.
183
- * @param provisioningServiceName Name of provisioning service.
184
- * @param options The options parameters.
185
- */
186
- generateVerificationCode(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, options?: DpsCertificateGenerateVerificationCodeOptionalParams): Promise<DpsCertificateGenerateVerificationCodeResponse>;
187
- /**
188
- * Verifies the certificate's private key possession by providing the leaf cert issued by the verifying
189
- * pre uploaded certificate.
190
- * @param certificateName The mandatory logical name of the certificate, that the provisioning service
191
- * uses to access.
192
- * @param ifMatch ETag of the certificate.
193
- * @param resourceGroupName Resource group name.
194
- * @param provisioningServiceName Provisioning service name.
195
- * @param request The name of the certificate
196
- * @param options The options parameters.
197
- */
198
- verifyCertificate(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, request: VerificationCodeRequest, options?: DpsCertificateVerifyCertificateOptionalParams): Promise<DpsCertificateVerifyCertificateResponse>;
199
- }
200
-
201
- /** Optional parameters. */
202
- export declare interface DpsCertificateCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
203
- /** ETag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate. */
204
- ifMatch?: string;
205
- }
206
-
207
- /** Contains response data for the createOrUpdate operation. */
208
- export declare type DpsCertificateCreateOrUpdateResponse = CertificateResponse;
209
-
210
- /** Optional parameters. */
211
- export declare interface DpsCertificateDeleteOptionalParams extends coreClient.OperationOptions {
212
- /** This is optional, and it is the Common Name of the certificate. */
213
- certificateName1?: string;
214
- /** Raw data within the certificate. */
215
- certificateRawBytes?: Uint8Array;
216
- /** Indicates if certificate has been verified by owner of the private key. */
217
- certificateIsVerified?: boolean;
218
- /** A description that mentions the purpose of the certificate. */
219
- certificatePurpose?: CertificatePurpose;
220
- /** Time the certificate is created. */
221
- certificateCreated?: Date;
222
- /** Time the certificate is last updated. */
223
- certificateLastUpdated?: Date;
224
- /** Indicates if the certificate contains a private key. */
225
- certificateHasPrivateKey?: boolean;
226
- /** Random number generated to indicate Proof of Possession. */
227
- certificateNonce?: string;
228
- }
229
-
230
- /** Optional parameters. */
231
- export declare interface DpsCertificateGenerateVerificationCodeOptionalParams extends coreClient.OperationOptions {
232
- /** Common Name for the certificate. */
233
- certificateName1?: string;
234
- /** Raw data of certificate. */
235
- certificateRawBytes?: Uint8Array;
236
- /** Indicates if the certificate has been verified by owner of the private key. */
237
- certificateIsVerified?: boolean;
238
- /** Description mentioning the purpose of the certificate. */
239
- certificatePurpose?: CertificatePurpose;
240
- /** Certificate creation time. */
241
- certificateCreated?: Date;
242
- /** Certificate last updated time. */
243
- certificateLastUpdated?: Date;
244
- /** Indicates if the certificate contains private key. */
245
- certificateHasPrivateKey?: boolean;
246
- /** Random number generated to indicate Proof of Possession. */
247
- certificateNonce?: string;
248
- }
249
-
250
- /** Contains response data for the generateVerificationCode operation. */
251
- export declare type DpsCertificateGenerateVerificationCodeResponse = VerificationCodeResponse;
252
-
253
- /** Optional parameters. */
254
- export declare interface DpsCertificateGetOptionalParams extends coreClient.OperationOptions {
255
- /** ETag of the certificate. */
256
- ifMatch?: string;
257
- }
258
-
259
- /** Contains response data for the get operation. */
260
- export declare type DpsCertificateGetResponse = CertificateResponse;
261
-
262
- /** Optional parameters. */
263
- export declare interface DpsCertificateListOptionalParams extends coreClient.OperationOptions {
264
- }
265
-
266
- /** Contains response data for the list operation. */
267
- export declare type DpsCertificateListResponse = CertificateListDescription;
268
-
269
- /** Optional parameters. */
270
- export declare interface DpsCertificateVerifyCertificateOptionalParams extends coreClient.OperationOptions {
271
- /** Common Name for the certificate. */
272
- certificateName1?: string;
273
- /** Raw data of certificate. */
274
- certificateRawBytes?: Uint8Array;
275
- /** Indicates if the certificate has been verified by owner of the private key. */
276
- certificateIsVerified?: boolean;
277
- /** Describe the purpose of the certificate. */
278
- certificatePurpose?: CertificatePurpose;
279
- /** Certificate creation time. */
280
- certificateCreated?: Date;
281
- /** Certificate last updated time. */
282
- certificateLastUpdated?: Date;
283
- /** Indicates if the certificate contains private key. */
284
- certificateHasPrivateKey?: boolean;
285
- /** Random number generated to indicate Proof of Possession. */
286
- certificateNonce?: string;
287
- }
288
-
289
- /** Contains response data for the verifyCertificate operation. */
290
- export declare type DpsCertificateVerifyCertificateResponse = CertificateResponse;
291
-
292
- /** Error details. */
293
- export declare interface ErrorDetails {
294
- /**
295
- * The error code.
296
- * NOTE: This property will not be serialized. It can only be populated by the server.
297
- */
298
- readonly code?: number;
299
- /**
300
- * The HTTP status code.
301
- * NOTE: This property will not be serialized. It can only be populated by the server.
302
- */
303
- readonly httpStatusCode?: string;
304
- /**
305
- * The error message.
306
- * NOTE: This property will not be serialized. It can only be populated by the server.
307
- */
308
- readonly message?: string;
309
- /**
310
- * The error details.
311
- * NOTE: This property will not be serialized. It can only be populated by the server.
312
- */
313
- readonly details?: string;
314
- }
315
-
316
- /** Error response containing message and code. */
317
- export declare interface ErrorMessage {
318
- /** standard error code */
319
- code?: string;
320
- /** standard error description */
321
- message?: string;
322
- /** detailed summary of error */
323
- details?: string;
324
- }
325
-
326
- /**
327
- * Given the last `.value` produced by the `byPage` iterator,
328
- * returns a continuation token that can be used to begin paging from
329
- * that point later.
330
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
331
- * @returns The continuation token that can be passed into byPage() during future calls.
332
- */
333
- export declare function getContinuationToken(page: unknown): string | undefined;
334
-
335
- /** The group information for creating a private endpoint on a provisioning service */
336
- export declare interface GroupIdInformation {
337
- /**
338
- * The resource identifier.
339
- * NOTE: This property will not be serialized. It can only be populated by the server.
340
- */
341
- readonly id?: string;
342
- /**
343
- * The resource name.
344
- * NOTE: This property will not be serialized. It can only be populated by the server.
345
- */
346
- readonly name?: string;
347
- /**
348
- * The resource type.
349
- * NOTE: This property will not be serialized. It can only be populated by the server.
350
- */
351
- readonly type?: string;
352
- /** The properties for a group information object */
353
- properties: GroupIdInformationProperties;
354
- }
355
-
356
- /** The properties for a group information object */
357
- export declare interface GroupIdInformationProperties {
358
- /** The group id */
359
- groupId?: string;
360
- /** The required members for a specific group id */
361
- requiredMembers?: string[];
362
- /** The required DNS zones for a specific group id */
363
- requiredZoneNames?: string[];
364
- }
365
-
366
- export declare class IotDpsClient extends coreClient.ServiceClient {
367
- $host: string;
368
- apiVersion: string;
369
- subscriptionId: string;
370
- /**
371
- * Initializes a new instance of the IotDpsClient class.
372
- * @param credentials Subscription credentials which uniquely identify client subscription.
373
- * @param subscriptionId The subscription identifier.
374
- * @param options The parameter options
375
- */
376
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: IotDpsClientOptionalParams);
377
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
378
- private addCustomApiVersionPolicy;
379
- operations: Operations;
380
- dpsCertificate: DpsCertificate;
381
- iotDpsResource: IotDpsResource;
382
- }
383
-
384
- /** Optional parameters. */
385
- export declare interface IotDpsClientOptionalParams extends coreClient.ServiceClientOptions {
386
- /** server parameter */
387
- $host?: string;
388
- /** Api Version */
389
- apiVersion?: string;
390
- /** Overrides client endpoint. */
391
- endpoint?: string;
392
- }
393
-
394
- /** the service specific properties of a provisioning service, including keys, linked iot hubs, current state, and system generated properties such as hostname and idScope */
395
- export declare interface IotDpsPropertiesDescription {
396
- /** Current state of the provisioning service. */
397
- state?: State;
398
- /** Whether requests from Public Network are allowed */
399
- publicNetworkAccess?: PublicNetworkAccess;
400
- /** The IP filter rules. */
401
- ipFilterRules?: IpFilterRule[];
402
- /** Private endpoint connections created on this IotHub */
403
- privateEndpointConnections?: PrivateEndpointConnection[];
404
- /** The ARM provisioning state of the provisioning service. */
405
- provisioningState?: string;
406
- /** List of IoT hubs associated with this provisioning service. */
407
- iotHubs?: IotHubDefinitionDescription[];
408
- /** Allocation policy to be used by this provisioning service. */
409
- allocationPolicy?: AllocationPolicy;
410
- /**
411
- * Service endpoint for provisioning service.
412
- * NOTE: This property will not be serialized. It can only be populated by the server.
413
- */
414
- readonly serviceOperationsHostName?: string;
415
- /**
416
- * Device endpoint for this provisioning service.
417
- * NOTE: This property will not be serialized. It can only be populated by the server.
418
- */
419
- readonly deviceProvisioningHostName?: string;
420
- /**
421
- * Unique identifier of this provisioning service.
422
- * NOTE: This property will not be serialized. It can only be populated by the server.
423
- */
424
- readonly idScope?: string;
425
- /** List of authorization keys for a provisioning service. */
426
- authorizationPolicies?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
427
- /**
428
- * Optional.
429
- * Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.
430
- */
431
- enableDataResidency?: boolean;
432
- /** Portal endpoint to enable CORS for this provisioning service. */
433
- portalOperationsHostName?: string;
434
- }
435
-
436
- /** Interface representing a IotDpsResource. */
437
- export declare interface IotDpsResource {
438
- /**
439
- * List all the provisioning services for a given subscription id.
440
- * @param options The options parameters.
441
- */
442
- listBySubscription(options?: IotDpsResourceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
443
- /**
444
- * Get a list of all provisioning services in the given resource group.
445
- * @param resourceGroupName Resource group identifier.
446
- * @param options The options parameters.
447
- */
448
- listByResourceGroup(resourceGroupName: string, options?: IotDpsResourceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
449
- /**
450
- * Gets the list of valid SKUs and tiers for a provisioning service.
451
- * @param provisioningServiceName Name of provisioning service.
452
- * @param resourceGroupName Name of resource group.
453
- * @param options The options parameters.
454
- */
455
- listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListValidSkusOptionalParams): PagedAsyncIterableIterator<IotDpsSkuDefinition>;
456
- /**
457
- * List the primary and secondary keys for a provisioning service.
458
- * @param provisioningServiceName The provisioning service name to get the shared access keys for.
459
- * @param resourceGroupName resource group name
460
- * @param options The options parameters.
461
- */
462
- listKeys(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListKeysOptionalParams): PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRuleAccessRightsDescription>;
463
- /**
464
- * Get the metadata of the provisioning service without SAS keys.
465
- * @param resourceGroupName Resource group name.
466
- * @param provisioningServiceName Name of the provisioning service to retrieve.
467
- * @param options The options parameters.
468
- */
469
- get(resourceGroupName: string, provisioningServiceName: string, options?: IotDpsResourceGetOptionalParams): Promise<IotDpsResourceGetResponse>;
470
- /**
471
- * Create or update the metadata of the provisioning service. The usual pattern to modify a property is
472
- * to retrieve the provisioning service metadata and security metadata, and then combine them with the
473
- * modified values in a new body to update the provisioning service.
474
- * @param resourceGroupName Resource group identifier.
475
- * @param provisioningServiceName Name of provisioning service to create or update.
476
- * @param iotDpsDescription Description of the provisioning service to create or update.
477
- * @param options The options parameters.
478
- */
479
- beginCreateOrUpdate(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceCreateOrUpdateResponse>, IotDpsResourceCreateOrUpdateResponse>>;
480
- /**
481
- * Create or update the metadata of the provisioning service. The usual pattern to modify a property is
482
- * to retrieve the provisioning service metadata and security metadata, and then combine them with the
483
- * modified values in a new body to update the provisioning service.
484
- * @param resourceGroupName Resource group identifier.
485
- * @param provisioningServiceName Name of provisioning service to create or update.
486
- * @param iotDpsDescription Description of the provisioning service to create or update.
487
- * @param options The options parameters.
488
- */
489
- beginCreateOrUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<IotDpsResourceCreateOrUpdateResponse>;
490
- /**
491
- * Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method
492
- * @param resourceGroupName Resource group identifier.
493
- * @param provisioningServiceName Name of provisioning service to create or update.
494
- * @param provisioningServiceTags Updated tag information to set into the provisioning service
495
- * instance.
496
- * @param options The options parameters.
497
- */
498
- beginUpdate(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceUpdateResponse>, IotDpsResourceUpdateResponse>>;
499
- /**
500
- * Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method
501
- * @param resourceGroupName Resource group identifier.
502
- * @param provisioningServiceName Name of provisioning service to create or update.
503
- * @param provisioningServiceTags Updated tag information to set into the provisioning service
504
- * instance.
505
- * @param options The options parameters.
506
- */
507
- beginUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<IotDpsResourceUpdateResponse>;
508
- /**
509
- * Deletes the Provisioning Service.
510
- * @param resourceGroupName Resource group identifier.
511
- * @param provisioningServiceName Name of provisioning service to delete.
512
- * @param options The options parameters.
513
- */
514
- beginDelete(resourceGroupName: string, provisioningServiceName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
515
- /**
516
- * Deletes the Provisioning Service.
517
- * @param resourceGroupName Resource group identifier.
518
- * @param provisioningServiceName Name of provisioning service to delete.
519
- * @param options The options parameters.
520
- */
521
- beginDeleteAndWait(resourceGroupName: string, provisioningServiceName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<void>;
522
- /**
523
- * Gets the status of a long running operation, such as create, update or delete a provisioning
524
- * service.
525
- * @param operationId Operation id corresponding to long running operation. Use this to poll for the
526
- * status.
527
- * @param resourceGroupName Resource group identifier.
528
- * @param provisioningServiceName Name of provisioning service that the operation is running on.
529
- * @param asyncinfo Async header used to poll on the status of the operation, obtained while creating
530
- * the long running operation.
531
- * @param options The options parameters.
532
- */
533
- getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: IotDpsResourceGetOperationResultOptionalParams): Promise<IotDpsResourceGetOperationResultResponse>;
534
- /**
535
- * Check if a provisioning service name is available. This will validate if the name is syntactically
536
- * valid and if the name is usable
537
- * @param argumentsParam Set the name parameter in the OperationInputs structure to the name of the
538
- * provisioning service to check.
539
- * @param options The options parameters.
540
- */
541
- checkProvisioningServiceNameAvailability(argumentsParam: OperationInputs, options?: IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams): Promise<IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
542
- /**
543
- * List primary and secondary keys for a specific key name
544
- * @param provisioningServiceName Name of the provisioning service.
545
- * @param keyName Logical key name to get key-values for.
546
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
547
- * @param options The options parameters.
548
- */
549
- listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: IotDpsResourceListKeysForKeyNameOptionalParams): Promise<IotDpsResourceListKeysForKeyNameResponse>;
550
- /**
551
- * List private link resources for the given provisioning service
552
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
553
- * @param resourceName The name of the provisioning service.
554
- * @param options The options parameters.
555
- */
556
- listPrivateLinkResources(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceListPrivateLinkResourcesResponse>;
557
- /**
558
- * Get the specified private link resource for the given provisioning service
559
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
560
- * @param resourceName The name of the provisioning service.
561
- * @param groupId The name of the private link resource
562
- * @param options The options parameters.
563
- */
564
- getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options?: IotDpsResourceGetPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceGetPrivateLinkResourcesResponse>;
565
- /**
566
- * List private endpoint connection properties
567
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
568
- * @param resourceName The name of the provisioning service.
569
- * @param options The options parameters.
570
- */
571
- listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateEndpointConnectionsOptionalParams): Promise<IotDpsResourceListPrivateEndpointConnectionsResponse>;
572
- /**
573
- * Get private endpoint connection properties
574
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
575
- * @param resourceName The name of the provisioning service.
576
- * @param privateEndpointConnectionName The name of the private endpoint connection
577
- * @param options The options parameters.
578
- */
579
- getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceGetPrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceGetPrivateEndpointConnectionResponse>;
580
- /**
581
- * Create or update the status of a private endpoint connection with the specified name
582
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
583
- * @param resourceName The name of the provisioning service.
584
- * @param privateEndpointConnectionName The name of the private endpoint connection
585
- * @param privateEndpointConnection The private endpoint connection with updated properties
586
- * @param options The options parameters.
587
- */
588
- beginCreateOrUpdatePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>>;
589
- /**
590
- * Create or update the status of a private endpoint connection with the specified name
591
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
592
- * @param resourceName The name of the provisioning service.
593
- * @param privateEndpointConnectionName The name of the private endpoint connection
594
- * @param privateEndpointConnection The private endpoint connection with updated properties
595
- * @param options The options parameters.
596
- */
597
- beginCreateOrUpdatePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>;
598
- /**
599
- * Delete private endpoint connection with the specified name
600
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
601
- * @param resourceName The name of the provisioning service.
602
- * @param privateEndpointConnectionName The name of the private endpoint connection
603
- * @param options The options parameters.
604
- */
605
- beginDeletePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceDeletePrivateEndpointConnectionResponse>, IotDpsResourceDeletePrivateEndpointConnectionResponse>>;
606
- /**
607
- * Delete private endpoint connection with the specified name
608
- * @param resourceGroupName The name of the resource group that contains the provisioning service.
609
- * @param resourceName The name of the provisioning service.
610
- * @param privateEndpointConnectionName The name of the private endpoint connection
611
- * @param options The options parameters.
612
- */
613
- beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceDeletePrivateEndpointConnectionResponse>;
614
- }
615
-
616
- /** Optional parameters. */
617
- export declare interface IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams extends coreClient.OperationOptions {
618
- }
619
-
620
- /** Contains response data for the checkProvisioningServiceNameAvailability operation. */
621
- export declare type IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse = NameAvailabilityInfo;
622
-
623
- /** Optional parameters. */
624
- export declare interface IotDpsResourceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
625
- /** Delay to wait until next poll, in milliseconds. */
626
- updateIntervalInMs?: number;
627
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
628
- resumeFrom?: string;
629
- }
630
-
631
- /** Optional parameters. */
632
- export declare interface IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
633
- /** Delay to wait until next poll, in milliseconds. */
634
- updateIntervalInMs?: number;
635
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
636
- resumeFrom?: string;
637
- }
638
-
639
- /** Contains response data for the createOrUpdatePrivateEndpointConnection operation. */
640
- export declare type IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse = PrivateEndpointConnection;
641
-
642
- /** Contains response data for the createOrUpdate operation. */
643
- export declare type IotDpsResourceCreateOrUpdateResponse = ProvisioningServiceDescription;
644
-
645
- /** Optional parameters. */
646
- export declare interface IotDpsResourceDeleteOptionalParams extends coreClient.OperationOptions {
647
- /** Delay to wait until next poll, in milliseconds. */
648
- updateIntervalInMs?: number;
649
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
650
- resumeFrom?: string;
651
- }
652
-
653
- /** Defines headers for IotDpsResource_deletePrivateEndpointConnection operation. */
654
- export declare interface IotDpsResourceDeletePrivateEndpointConnectionHeaders {
655
- /** Operation Status Location URI */
656
- azureAsyncOperation?: string;
657
- /** Operation Status Location URI */
658
- location?: string;
659
- /** Retry After */
660
- retryAfter?: string;
661
- }
662
-
663
- /** Optional parameters. */
664
- export declare interface IotDpsResourceDeletePrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
665
- /** Delay to wait until next poll, in milliseconds. */
666
- updateIntervalInMs?: number;
667
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
668
- resumeFrom?: string;
669
- }
670
-
671
- /** Contains response data for the deletePrivateEndpointConnection operation. */
672
- export declare type IotDpsResourceDeletePrivateEndpointConnectionResponse = PrivateEndpointConnection;
673
-
674
- /** Optional parameters. */
675
- export declare interface IotDpsResourceGetOperationResultOptionalParams extends coreClient.OperationOptions {
676
- }
677
-
678
- /** Contains response data for the getOperationResult operation. */
679
- export declare type IotDpsResourceGetOperationResultResponse = AsyncOperationResult;
680
-
681
- /** Optional parameters. */
682
- export declare interface IotDpsResourceGetOptionalParams extends coreClient.OperationOptions {
683
- }
684
-
685
- /** Optional parameters. */
686
- export declare interface IotDpsResourceGetPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
687
- }
688
-
689
- /** Contains response data for the getPrivateEndpointConnection operation. */
690
- export declare type IotDpsResourceGetPrivateEndpointConnectionResponse = PrivateEndpointConnection;
691
-
692
- /** Optional parameters. */
693
- export declare interface IotDpsResourceGetPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {
694
- }
695
-
696
- /** Contains response data for the getPrivateLinkResources operation. */
697
- export declare type IotDpsResourceGetPrivateLinkResourcesResponse = GroupIdInformation;
698
-
699
- /** Contains response data for the get operation. */
700
- export declare type IotDpsResourceGetResponse = ProvisioningServiceDescription;
701
-
702
- /** Optional parameters. */
703
- export declare interface IotDpsResourceListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
704
- }
705
-
706
- /** Contains response data for the listByResourceGroupNext operation. */
707
- export declare type IotDpsResourceListByResourceGroupNextResponse = ProvisioningServiceDescriptionListResult;
708
-
709
- /** Optional parameters. */
710
- export declare interface IotDpsResourceListByResourceGroupOptionalParams extends coreClient.OperationOptions {
711
- }
712
-
713
- /** Contains response data for the listByResourceGroup operation. */
714
- export declare type IotDpsResourceListByResourceGroupResponse = ProvisioningServiceDescriptionListResult;
715
-
716
- /** Optional parameters. */
717
- export declare interface IotDpsResourceListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
718
- }
719
-
720
- /** Contains response data for the listBySubscriptionNext operation. */
721
- export declare type IotDpsResourceListBySubscriptionNextResponse = ProvisioningServiceDescriptionListResult;
722
-
723
- /** Optional parameters. */
724
- export declare interface IotDpsResourceListBySubscriptionOptionalParams extends coreClient.OperationOptions {
725
- }
726
-
727
- /** Contains response data for the listBySubscription operation. */
728
- export declare type IotDpsResourceListBySubscriptionResponse = ProvisioningServiceDescriptionListResult;
729
-
730
- /** Optional parameters. */
731
- export declare interface IotDpsResourceListKeysForKeyNameOptionalParams extends coreClient.OperationOptions {
732
- }
733
-
734
- /** Contains response data for the listKeysForKeyName operation. */
735
- export declare type IotDpsResourceListKeysForKeyNameResponse = SharedAccessSignatureAuthorizationRuleAccessRightsDescription;
736
-
737
- /** Optional parameters. */
738
- export declare interface IotDpsResourceListKeysNextOptionalParams extends coreClient.OperationOptions {
739
- }
740
-
741
- /** Contains response data for the listKeysNext operation. */
742
- export declare type IotDpsResourceListKeysNextResponse = SharedAccessSignatureAuthorizationRuleListResult;
743
-
744
- /** Optional parameters. */
745
- export declare interface IotDpsResourceListKeysOptionalParams extends coreClient.OperationOptions {
746
- }
747
-
748
- /** Contains response data for the listKeys operation. */
749
- export declare type IotDpsResourceListKeysResponse = SharedAccessSignatureAuthorizationRuleListResult;
750
-
751
- /** Optional parameters. */
752
- export declare interface IotDpsResourceListPrivateEndpointConnectionsOptionalParams extends coreClient.OperationOptions {
753
- }
754
-
755
- /** Contains response data for the listPrivateEndpointConnections operation. */
756
- export declare type IotDpsResourceListPrivateEndpointConnectionsResponse = PrivateEndpointConnection[];
757
-
758
- /** Optional parameters. */
759
- export declare interface IotDpsResourceListPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {
760
- }
761
-
762
- /** Contains response data for the listPrivateLinkResources operation. */
763
- export declare type IotDpsResourceListPrivateLinkResourcesResponse = PrivateLinkResources;
764
-
765
- /** Optional parameters. */
766
- export declare interface IotDpsResourceListValidSkusNextOptionalParams extends coreClient.OperationOptions {
767
- }
768
-
769
- /** Contains response data for the listValidSkusNext operation. */
770
- export declare type IotDpsResourceListValidSkusNextResponse = IotDpsSkuDefinitionListResult;
771
-
772
- /** Optional parameters. */
773
- export declare interface IotDpsResourceListValidSkusOptionalParams extends coreClient.OperationOptions {
774
- }
775
-
776
- /** Contains response data for the listValidSkus operation. */
777
- export declare type IotDpsResourceListValidSkusResponse = IotDpsSkuDefinitionListResult;
778
-
779
- /** Optional parameters. */
780
- export declare interface IotDpsResourceUpdateOptionalParams extends coreClient.OperationOptions {
781
- /** Delay to wait until next poll, in milliseconds. */
782
- updateIntervalInMs?: number;
783
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
784
- resumeFrom?: string;
785
- }
786
-
787
- /** Contains response data for the update operation. */
788
- export declare type IotDpsResourceUpdateResponse = ProvisioningServiceDescription;
789
-
790
- /**
791
- * Defines values for IotDpsSku. \
792
- * {@link KnownIotDpsSku} can be used interchangeably with IotDpsSku,
793
- * this enum contains the known values that the service supports.
794
- * ### Known values supported by the service
795
- * **S1**
796
- */
797
- export declare type IotDpsSku = string;
798
-
799
- /** Available SKUs of tier and units. */
800
- export declare interface IotDpsSkuDefinition {
801
- /** Sku name. */
802
- name?: IotDpsSku;
803
- }
804
-
805
- /** List of available SKUs. */
806
- export declare interface IotDpsSkuDefinitionListResult {
807
- /** The list of SKUs */
808
- value?: IotDpsSkuDefinition[];
809
- /**
810
- * The next link.
811
- * NOTE: This property will not be serialized. It can only be populated by the server.
812
- */
813
- readonly nextLink?: string;
814
- }
815
-
816
- /** List of possible provisioning service SKUs. */
817
- export declare interface IotDpsSkuInfo {
818
- /** Sku name. */
819
- name?: IotDpsSku;
820
- /**
821
- * Pricing tier name of the provisioning service.
822
- * NOTE: This property will not be serialized. It can only be populated by the server.
823
- */
824
- readonly tier?: string;
825
- /** The number of units to provision */
826
- capacity?: number;
827
- }
828
-
829
- /** Description of the IoT hub. */
830
- export declare interface IotHubDefinitionDescription {
831
- /** flag for applying allocationPolicy or not for a given iot hub. */
832
- applyAllocationPolicy?: boolean;
833
- /** weight to apply for a given iot h. */
834
- allocationWeight?: number;
835
- /**
836
- * Host name of the IoT hub.
837
- * NOTE: This property will not be serialized. It can only be populated by the server.
838
- */
839
- readonly name?: string;
840
- /** Connection string of the IoT hub. */
841
- connectionString: string;
842
- /** ARM region of the IoT hub. */
843
- location: string;
844
- }
845
-
846
- /** Defines values for IpFilterActionType. */
847
- export declare type IpFilterActionType = "Accept" | "Reject";
848
-
849
- /** The IP filter rules for a provisioning Service. */
850
- export declare interface IpFilterRule {
851
- /** The name of the IP filter rule. */
852
- filterName: string;
853
- /** The desired action for requests captured by this rule. */
854
- action: IpFilterActionType;
855
- /** A string that contains the IP address range in CIDR notation for the rule. */
856
- ipMask: string;
857
- /** Target for requests captured by this rule. */
858
- target?: IpFilterTargetType;
859
- }
860
-
861
- /** Defines values for IpFilterTargetType. */
862
- export declare type IpFilterTargetType = "all" | "serviceApi" | "deviceApi";
863
-
864
- /** Known values of {@link AccessRightsDescription} that the service accepts. */
865
- export declare enum KnownAccessRightsDescription {
866
- /** ServiceConfig */
867
- ServiceConfig = "ServiceConfig",
868
- /** EnrollmentRead */
869
- EnrollmentRead = "EnrollmentRead",
870
- /** EnrollmentWrite */
871
- EnrollmentWrite = "EnrollmentWrite",
872
- /** DeviceConnect */
873
- DeviceConnect = "DeviceConnect",
874
- /** RegistrationStatusRead */
875
- RegistrationStatusRead = "RegistrationStatusRead",
876
- /** RegistrationStatusWrite */
877
- RegistrationStatusWrite = "RegistrationStatusWrite"
878
- }
879
-
880
- /** Known values of {@link AllocationPolicy} that the service accepts. */
881
- export declare enum KnownAllocationPolicy {
882
- /** Hashed */
883
- Hashed = "Hashed",
884
- /** GeoLatency */
885
- GeoLatency = "GeoLatency",
886
- /** Static */
887
- Static = "Static"
888
- }
889
-
890
- /** Known values of {@link CertificatePurpose} that the service accepts. */
891
- export declare enum KnownCertificatePurpose {
892
- /** ClientAuthentication */
893
- ClientAuthentication = "clientAuthentication",
894
- /** ServerAuthentication */
895
- ServerAuthentication = "serverAuthentication"
896
- }
897
-
898
- /** Known values of {@link CreatedByType} that the service accepts. */
899
- export declare enum KnownCreatedByType {
900
- /** User */
901
- User = "User",
902
- /** Application */
903
- Application = "Application",
904
- /** ManagedIdentity */
905
- ManagedIdentity = "ManagedIdentity",
906
- /** Key */
907
- Key = "Key"
908
- }
909
-
910
- /** Known values of {@link IotDpsSku} that the service accepts. */
911
- export declare enum KnownIotDpsSku {
912
- /** S1 */
913
- S1 = "S1"
914
- }
915
-
916
- /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
917
- export declare enum KnownManagedServiceIdentityType {
918
- /** None */
919
- None = "None",
920
- /** SystemAssigned */
921
- SystemAssigned = "SystemAssigned",
922
- /** UserAssigned */
923
- UserAssigned = "UserAssigned",
924
- /** SystemAssignedUserAssigned */
925
- SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
926
- }
927
-
928
- /** Known values of {@link NameUnavailabilityReason} that the service accepts. */
929
- export declare enum KnownNameUnavailabilityReason {
930
- /** Invalid */
931
- Invalid = "Invalid",
932
- /** AlreadyExists */
933
- AlreadyExists = "AlreadyExists"
934
- }
935
-
936
- /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
937
- export declare enum KnownPrivateLinkServiceConnectionStatus {
938
- /** Pending */
939
- Pending = "Pending",
940
- /** Approved */
941
- Approved = "Approved",
942
- /** Rejected */
943
- Rejected = "Rejected",
944
- /** Disconnected */
945
- Disconnected = "Disconnected"
946
- }
947
-
948
- /** Known values of {@link PublicNetworkAccess} that the service accepts. */
949
- export declare enum KnownPublicNetworkAccess {
950
- /** Enabled */
951
- Enabled = "Enabled",
952
- /** Disabled */
953
- Disabled = "Disabled"
954
- }
955
-
956
- /** Known values of {@link State} that the service accepts. */
957
- export declare enum KnownState {
958
- /** Activating */
959
- Activating = "Activating",
960
- /** Active */
961
- Active = "Active",
962
- /** Deleting */
963
- Deleting = "Deleting",
964
- /** Deleted */
965
- Deleted = "Deleted",
966
- /** ActivationFailed */
967
- ActivationFailed = "ActivationFailed",
968
- /** DeletionFailed */
969
- DeletionFailed = "DeletionFailed",
970
- /** Transitioning */
971
- Transitioning = "Transitioning",
972
- /** Suspending */
973
- Suspending = "Suspending",
974
- /** Suspended */
975
- Suspended = "Suspended",
976
- /** Resuming */
977
- Resuming = "Resuming",
978
- /** FailingOver */
979
- FailingOver = "FailingOver",
980
- /** FailoverFailed */
981
- FailoverFailed = "FailoverFailed"
982
- }
983
-
984
- /** Managed service identity (system assigned and/or user assigned identities) */
985
- export declare interface ManagedServiceIdentity {
986
- /**
987
- * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
988
- * NOTE: This property will not be serialized. It can only be populated by the server.
989
- */
990
- readonly principalId?: string;
991
- /**
992
- * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
993
- * NOTE: This property will not be serialized. It can only be populated by the server.
994
- */
995
- readonly tenantId?: string;
996
- /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
997
- type: ManagedServiceIdentityType;
998
- /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
999
- userAssignedIdentities?: {
1000
- [propertyName: string]: UserAssignedIdentity | null;
1001
- };
1002
- }
1003
-
1004
- /**
1005
- * Defines values for ManagedServiceIdentityType. \
1006
- * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
1007
- * this enum contains the known values that the service supports.
1008
- * ### Known values supported by the service
1009
- * **None** \
1010
- * **SystemAssigned** \
1011
- * **UserAssigned** \
1012
- * **SystemAssigned,UserAssigned**
1013
- */
1014
- export declare type ManagedServiceIdentityType = string;
1015
-
1016
- /** Description of name availability. */
1017
- export declare interface NameAvailabilityInfo {
1018
- /** specifies if a name is available or not */
1019
- nameAvailable?: boolean;
1020
- /** specifies the reason a name is unavailable */
1021
- reason?: NameUnavailabilityReason;
1022
- /** message containing a detailed reason name is unavailable */
1023
- message?: string;
1024
- }
1025
-
1026
- /**
1027
- * Defines values for NameUnavailabilityReason. \
1028
- * {@link KnownNameUnavailabilityReason} can be used interchangeably with NameUnavailabilityReason,
1029
- * this enum contains the known values that the service supports.
1030
- * ### Known values supported by the service
1031
- * **Invalid** \
1032
- * **AlreadyExists**
1033
- */
1034
- export declare type NameUnavailabilityReason = string;
1035
-
1036
- /** Provisioning Service REST API operation. */
1037
- export declare interface Operation {
1038
- /**
1039
- * Operation name: {provider}/{resource}/{read | write | action | delete}
1040
- * NOTE: This property will not be serialized. It can only be populated by the server.
1041
- */
1042
- readonly name?: string;
1043
- /** The object that represents the operation. */
1044
- display?: OperationDisplay;
1045
- }
1046
-
1047
- /** The object that represents the operation. */
1048
- export declare interface OperationDisplay {
1049
- /**
1050
- * Service provider: Microsoft Devices.
1051
- * NOTE: This property will not be serialized. It can only be populated by the server.
1052
- */
1053
- readonly provider?: string;
1054
- /**
1055
- * Resource Type: ProvisioningServices.
1056
- * NOTE: This property will not be serialized. It can only be populated by the server.
1057
- */
1058
- readonly resource?: string;
1059
- /**
1060
- * Name of the operation.
1061
- * NOTE: This property will not be serialized. It can only be populated by the server.
1062
- */
1063
- readonly operation?: string;
1064
- }
1065
-
1066
- /** Input values for operation results call. */
1067
- export declare interface OperationInputs {
1068
- /** The name of the Provisioning Service to check. */
1069
- name: string;
1070
- }
1071
-
1072
- /** Result of the request to list provisioning service operations. It contains a list of operations and a URL link to get the next set of results. */
1073
- export declare interface OperationListResult {
1074
- /**
1075
- * Provisioning service operations supported by the Microsoft.Devices resource provider.
1076
- * NOTE: This property will not be serialized. It can only be populated by the server.
1077
- */
1078
- readonly value?: Operation[];
1079
- /**
1080
- * URL to get the next set of operation list results if there are any.
1081
- * NOTE: This property will not be serialized. It can only be populated by the server.
1082
- */
1083
- readonly nextLink?: string;
1084
- }
1085
-
1086
- /** Interface representing a Operations. */
1087
- export declare interface Operations {
1088
- /**
1089
- * Lists all of the available Microsoft.Devices REST API operations.
1090
- * @param options The options parameters.
1091
- */
1092
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1093
- }
1094
-
1095
- /** Optional parameters. */
1096
- export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1097
- }
1098
-
1099
- /** Contains response data for the listNext operation. */
1100
- export declare type OperationsListNextResponse = OperationListResult;
1101
-
1102
- /** Optional parameters. */
1103
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1104
- }
1105
-
1106
- /** Contains response data for the list operation. */
1107
- export declare type OperationsListResponse = OperationListResult;
1108
-
1109
- /** The private endpoint property of a private endpoint connection */
1110
- export declare interface PrivateEndpoint {
1111
- /**
1112
- * The resource identifier.
1113
- * NOTE: This property will not be serialized. It can only be populated by the server.
1114
- */
1115
- readonly id?: string;
1116
- }
1117
-
1118
- /** The private endpoint connection of a provisioning service */
1119
- export declare interface PrivateEndpointConnection {
1120
- /**
1121
- * The resource identifier.
1122
- * NOTE: This property will not be serialized. It can only be populated by the server.
1123
- */
1124
- readonly id?: string;
1125
- /**
1126
- * The resource name.
1127
- * NOTE: This property will not be serialized. It can only be populated by the server.
1128
- */
1129
- readonly name?: string;
1130
- /**
1131
- * The resource type.
1132
- * NOTE: This property will not be serialized. It can only be populated by the server.
1133
- */
1134
- readonly type?: string;
1135
- /** The properties of a private endpoint connection */
1136
- properties: PrivateEndpointConnectionProperties;
1137
- /**
1138
- * Metadata pertaining to creation and last modification of the resource.
1139
- * NOTE: This property will not be serialized. It can only be populated by the server.
1140
- */
1141
- readonly systemData?: SystemData;
1142
- }
1143
-
1144
- /** The properties of a private endpoint connection */
1145
- export declare interface PrivateEndpointConnectionProperties {
1146
- /** The private endpoint property of a private endpoint connection */
1147
- privateEndpoint?: PrivateEndpoint;
1148
- /** The current state of a private endpoint connection */
1149
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
1150
- }
1151
-
1152
- /** The available private link resources for a provisioning service */
1153
- export declare interface PrivateLinkResources {
1154
- /** The list of available private link resources for a provisioning service */
1155
- value?: GroupIdInformation[];
1156
- }
1157
-
1158
- /** The current state of a private endpoint connection */
1159
- export declare interface PrivateLinkServiceConnectionState {
1160
- /** The status of a private endpoint connection */
1161
- status: PrivateLinkServiceConnectionStatus;
1162
- /** The description for the current state of a private endpoint connection */
1163
- description: string;
1164
- /** Actions required for a private endpoint connection */
1165
- actionsRequired?: string;
1166
- }
1167
-
1168
- /**
1169
- * Defines values for PrivateLinkServiceConnectionStatus. \
1170
- * {@link KnownPrivateLinkServiceConnectionStatus} can be used interchangeably with PrivateLinkServiceConnectionStatus,
1171
- * this enum contains the known values that the service supports.
1172
- * ### Known values supported by the service
1173
- * **Pending** \
1174
- * **Approved** \
1175
- * **Rejected** \
1176
- * **Disconnected**
1177
- */
1178
- export declare type PrivateLinkServiceConnectionStatus = string;
1179
-
1180
- /** The description of the provisioning service. */
1181
- export declare interface ProvisioningServiceDescription extends Resource {
1182
- /** The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. */
1183
- etag?: string;
1184
- /** Service specific properties for a provisioning service */
1185
- properties: IotDpsPropertiesDescription;
1186
- /** Sku info for a provisioning Service. */
1187
- sku: IotDpsSkuInfo;
1188
- /**
1189
- * Metadata pertaining to creation and last modification of the resource.
1190
- * NOTE: This property will not be serialized. It can only be populated by the server.
1191
- */
1192
- readonly systemData?: SystemData;
1193
- /** The managed identities for a provisioning service. */
1194
- identity?: ManagedServiceIdentity;
1195
- }
1196
-
1197
- /** List of provisioning service descriptions. */
1198
- export declare interface ProvisioningServiceDescriptionListResult {
1199
- /** List of provisioning service descriptions. */
1200
- value?: ProvisioningServiceDescription[];
1201
- /**
1202
- * the next link
1203
- * NOTE: This property will not be serialized. It can only be populated by the server.
1204
- */
1205
- readonly nextLink?: string;
1206
- }
1207
-
1208
- /**
1209
- * Defines values for PublicNetworkAccess. \
1210
- * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1211
- * this enum contains the known values that the service supports.
1212
- * ### Known values supported by the service
1213
- * **Enabled** \
1214
- * **Disabled**
1215
- */
1216
- export declare type PublicNetworkAccess = string;
1217
-
1218
- /** The common properties of an Azure resource. */
1219
- export declare interface Resource {
1220
- /**
1221
- * The resource identifier.
1222
- * NOTE: This property will not be serialized. It can only be populated by the server.
1223
- */
1224
- readonly id?: string;
1225
- /**
1226
- * The resource name.
1227
- * NOTE: This property will not be serialized. It can only be populated by the server.
1228
- */
1229
- readonly name?: string;
1230
- /**
1231
- * The resource type.
1232
- * NOTE: This property will not be serialized. It can only be populated by the server.
1233
- */
1234
- readonly type?: string;
1235
- /** The resource location. */
1236
- location: string;
1237
- /** The resource group of the resource. */
1238
- resourcegroup?: string;
1239
- /** The subscription id of the resource. */
1240
- subscriptionid?: string;
1241
- /** The resource tags. */
1242
- tags?: {
1243
- [propertyName: string]: string;
1244
- };
1245
- }
1246
-
1247
- /** Description of the shared access key. */
1248
- export declare interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription {
1249
- /** Name of the key. */
1250
- keyName: string;
1251
- /** Primary SAS key value. */
1252
- primaryKey?: string;
1253
- /** Secondary SAS key value. */
1254
- secondaryKey?: string;
1255
- /** Rights that this key has. */
1256
- rights: AccessRightsDescription;
1257
- }
1258
-
1259
- /** List of shared access keys. */
1260
- export declare interface SharedAccessSignatureAuthorizationRuleListResult {
1261
- /** The list of shared access policies. */
1262
- value?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
1263
- /**
1264
- * The next link.
1265
- * NOTE: This property will not be serialized. It can only be populated by the server.
1266
- */
1267
- readonly nextLink?: string;
1268
- }
1269
-
1270
- /**
1271
- * Defines values for State. \
1272
- * {@link KnownState} can be used interchangeably with State,
1273
- * this enum contains the known values that the service supports.
1274
- * ### Known values supported by the service
1275
- * **Activating** \
1276
- * **Active** \
1277
- * **Deleting** \
1278
- * **Deleted** \
1279
- * **ActivationFailed** \
1280
- * **DeletionFailed** \
1281
- * **Transitioning** \
1282
- * **Suspending** \
1283
- * **Suspended** \
1284
- * **Resuming** \
1285
- * **FailingOver** \
1286
- * **FailoverFailed**
1287
- */
1288
- export declare type State = string;
1289
-
1290
- /** Metadata pertaining to creation and last modification of the resource. */
1291
- export declare interface SystemData {
1292
- /** The identity that created the resource. */
1293
- createdBy?: string;
1294
- /** The type of identity that created the resource. */
1295
- createdByType?: CreatedByType;
1296
- /** The timestamp of resource creation (UTC). */
1297
- createdAt?: Date;
1298
- /** The identity that last modified the resource. */
1299
- lastModifiedBy?: string;
1300
- /** The type of identity that last modified the resource. */
1301
- lastModifiedByType?: CreatedByType;
1302
- /** The timestamp of resource last modification (UTC) */
1303
- lastModifiedAt?: Date;
1304
- }
1305
-
1306
- /** A container holding only the Tags for a resource, allowing the user to update the tags on a Provisioning Service instance. */
1307
- export declare interface TagsResource {
1308
- /** Resource tags */
1309
- tags?: {
1310
- [propertyName: string]: string;
1311
- };
1312
- }
1313
-
1314
- /** User assigned identity properties */
1315
- export declare interface UserAssignedIdentity {
1316
- /**
1317
- * The principal ID of the assigned identity.
1318
- * NOTE: This property will not be serialized. It can only be populated by the server.
1319
- */
1320
- readonly principalId?: string;
1321
- /**
1322
- * The client ID of the assigned identity.
1323
- * NOTE: This property will not be serialized. It can only be populated by the server.
1324
- */
1325
- readonly clientId?: string;
1326
- }
1327
-
1328
- /** The JSON-serialized leaf certificate */
1329
- export declare interface VerificationCodeRequest {
1330
- /** base-64 representation of X509 certificate .cer file or just .pem file content. */
1331
- certificate?: string;
1332
- }
1333
-
1334
- /** Description of the response of the verification code. */
1335
- export declare interface VerificationCodeResponse {
1336
- /**
1337
- * Name of certificate.
1338
- * NOTE: This property will not be serialized. It can only be populated by the server.
1339
- */
1340
- readonly name?: string;
1341
- /**
1342
- * Request etag.
1343
- * NOTE: This property will not be serialized. It can only be populated by the server.
1344
- */
1345
- readonly etag?: string;
1346
- /**
1347
- * The resource identifier.
1348
- * NOTE: This property will not be serialized. It can only be populated by the server.
1349
- */
1350
- readonly id?: string;
1351
- /**
1352
- * The resource type.
1353
- * NOTE: This property will not be serialized. It can only be populated by the server.
1354
- */
1355
- readonly type?: string;
1356
- properties?: VerificationCodeResponseProperties;
1357
- }
1358
-
1359
- export declare interface VerificationCodeResponseProperties {
1360
- /** Verification code. */
1361
- verificationCode?: string;
1362
- /** Certificate subject. */
1363
- subject?: string;
1364
- /** Code expiry. */
1365
- expiry?: string;
1366
- /** Certificate thumbprint. */
1367
- thumbprint?: string;
1368
- /** Indicate if the certificate is verified by owner of private key. */
1369
- isVerified?: boolean;
1370
- /** base-64 representation of X509 certificate .cer file or just .pem file content. */
1371
- certificate?: Uint8Array;
1372
- /** Certificate created time. */
1373
- created?: string;
1374
- /** Certificate updated time. */
1375
- updated?: string;
1376
- }
1377
-
1378
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Result of the request to list provisioning service operations. It contains a list of operations and a URL link to get the next set of results. */
3
+ export interface OperationListResult {
4
+ /**
5
+ * Provisioning service operations supported by the Microsoft.Devices resource provider.
6
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7
+ */
8
+ readonly value?: Operation[];
9
+ /**
10
+ * URL to get the next set of operation list results if there are any.
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly nextLink?: string;
14
+ }
15
+ /** Provisioning Service REST API operation. */
16
+ export interface Operation {
17
+ /**
18
+ * Operation name: {provider}/{resource}/{read | write | action | delete}
19
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
+ */
21
+ readonly name?: string;
22
+ /** The object that represents the operation. */
23
+ display?: OperationDisplay;
24
+ }
25
+ /** The object that represents the operation. */
26
+ export interface OperationDisplay {
27
+ /**
28
+ * Service provider: Microsoft Devices.
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly provider?: string;
32
+ /**
33
+ * Resource Type: ProvisioningServices.
34
+ * NOTE: This property will not be serialized. It can only be populated by the server.
35
+ */
36
+ readonly resource?: string;
37
+ /**
38
+ * Name of the operation.
39
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
+ */
41
+ readonly operation?: string;
42
+ }
43
+ /** Error details. */
44
+ export interface ErrorDetails {
45
+ /**
46
+ * The error code.
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
48
+ */
49
+ readonly code?: number;
50
+ /**
51
+ * The HTTP status code.
52
+ * NOTE: This property will not be serialized. It can only be populated by the server.
53
+ */
54
+ readonly httpStatusCode?: string;
55
+ /**
56
+ * The error message.
57
+ * NOTE: This property will not be serialized. It can only be populated by the server.
58
+ */
59
+ readonly message?: string;
60
+ /**
61
+ * The error details.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly details?: string;
65
+ }
66
+ /** The X509 Certificate. */
67
+ export interface CertificateResponse {
68
+ /** properties of a certificate */
69
+ properties?: CertificateProperties;
70
+ /**
71
+ * The resource identifier.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly id?: string;
75
+ /**
76
+ * The name of the certificate.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
+ */
79
+ readonly name?: string;
80
+ /**
81
+ * The entity tag.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly etag?: string;
85
+ /**
86
+ * The resource type.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly type?: string;
90
+ /**
91
+ * Metadata pertaining to creation and last modification of the resource.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
+ */
94
+ readonly systemData?: SystemData;
95
+ }
96
+ /** The description of an X509 CA Certificate. */
97
+ export interface CertificateProperties {
98
+ /**
99
+ * The certificate's subject name.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly subject?: string;
103
+ /**
104
+ * The certificate's expiration date and time.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly expiry?: Date;
108
+ /**
109
+ * The certificate's thumbprint.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly thumbprint?: string;
113
+ /** Determines whether certificate has been verified. */
114
+ isVerified?: boolean;
115
+ /** base-64 representation of X509 certificate .cer file or just .pem file content. */
116
+ certificate?: Uint8Array;
117
+ /**
118
+ * The certificate's creation date and time.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
+ */
121
+ readonly created?: Date;
122
+ /**
123
+ * The certificate's last update date and time.
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
125
+ */
126
+ readonly updated?: Date;
127
+ }
128
+ /** Metadata pertaining to creation and last modification of the resource. */
129
+ export interface SystemData {
130
+ /** The identity that created the resource. */
131
+ createdBy?: string;
132
+ /** The type of identity that created the resource. */
133
+ createdByType?: CreatedByType;
134
+ /** The timestamp of resource creation (UTC). */
135
+ createdAt?: Date;
136
+ /** The identity that last modified the resource. */
137
+ lastModifiedBy?: string;
138
+ /** The type of identity that last modified the resource. */
139
+ lastModifiedByType?: CreatedByType;
140
+ /** The timestamp of resource last modification (UTC) */
141
+ lastModifiedAt?: Date;
142
+ }
143
+ /** the service specific properties of a provisioning service, including keys, linked iot hubs, current state, and system generated properties such as hostname and idScope */
144
+ export interface IotDpsPropertiesDescription {
145
+ /** Current state of the provisioning service. */
146
+ state?: State;
147
+ /** Whether requests from Public Network are allowed */
148
+ publicNetworkAccess?: PublicNetworkAccess;
149
+ /** The IP filter rules. */
150
+ ipFilterRules?: IpFilterRule[];
151
+ /** Private endpoint connections created on this IotHub */
152
+ privateEndpointConnections?: PrivateEndpointConnection[];
153
+ /** The ARM provisioning state of the provisioning service. */
154
+ provisioningState?: string;
155
+ /** List of IoT hubs associated with this provisioning service. */
156
+ iotHubs?: IotHubDefinitionDescription[];
157
+ /** Allocation policy to be used by this provisioning service. */
158
+ allocationPolicy?: AllocationPolicy;
159
+ /**
160
+ * Service endpoint for provisioning service.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
162
+ */
163
+ readonly serviceOperationsHostName?: string;
164
+ /**
165
+ * Device endpoint for this provisioning service.
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
167
+ */
168
+ readonly deviceProvisioningHostName?: string;
169
+ /**
170
+ * Unique identifier of this provisioning service.
171
+ * NOTE: This property will not be serialized. It can only be populated by the server.
172
+ */
173
+ readonly idScope?: string;
174
+ /** List of authorization keys for a provisioning service. */
175
+ authorizationPolicies?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
176
+ /**
177
+ * Optional.
178
+ * Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.
179
+ */
180
+ enableDataResidency?: boolean;
181
+ /** Portal endpoint to enable CORS for this provisioning service. */
182
+ portalOperationsHostName?: string;
183
+ }
184
+ /** The IP filter rules for a provisioning Service. */
185
+ export interface IpFilterRule {
186
+ /** The name of the IP filter rule. */
187
+ filterName: string;
188
+ /** The desired action for requests captured by this rule. */
189
+ action: IpFilterActionType;
190
+ /** A string that contains the IP address range in CIDR notation for the rule. */
191
+ ipMask: string;
192
+ /** Target for requests captured by this rule. */
193
+ target?: IpFilterTargetType;
194
+ }
195
+ /** The private endpoint connection of a provisioning service */
196
+ export interface PrivateEndpointConnection {
197
+ /**
198
+ * The resource identifier.
199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
+ */
201
+ readonly id?: string;
202
+ /**
203
+ * The resource name.
204
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
+ */
206
+ readonly name?: string;
207
+ /**
208
+ * The resource type.
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
+ */
211
+ readonly type?: string;
212
+ /** The properties of a private endpoint connection */
213
+ properties: PrivateEndpointConnectionProperties;
214
+ /**
215
+ * Metadata pertaining to creation and last modification of the resource.
216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
+ */
218
+ readonly systemData?: SystemData;
219
+ }
220
+ /** The properties of a private endpoint connection */
221
+ export interface PrivateEndpointConnectionProperties {
222
+ /** The private endpoint property of a private endpoint connection */
223
+ privateEndpoint?: PrivateEndpoint;
224
+ /** The current state of a private endpoint connection */
225
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
226
+ }
227
+ /** The private endpoint property of a private endpoint connection */
228
+ export interface PrivateEndpoint {
229
+ /**
230
+ * The resource identifier.
231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
232
+ */
233
+ readonly id?: string;
234
+ }
235
+ /** The current state of a private endpoint connection */
236
+ export interface PrivateLinkServiceConnectionState {
237
+ /** The status of a private endpoint connection */
238
+ status: PrivateLinkServiceConnectionStatus;
239
+ /** The description for the current state of a private endpoint connection */
240
+ description: string;
241
+ /** Actions required for a private endpoint connection */
242
+ actionsRequired?: string;
243
+ }
244
+ /** Description of the IoT hub. */
245
+ export interface IotHubDefinitionDescription {
246
+ /** flag for applying allocationPolicy or not for a given iot hub. */
247
+ applyAllocationPolicy?: boolean;
248
+ /** weight to apply for a given iot h. */
249
+ allocationWeight?: number;
250
+ /**
251
+ * Host name of the IoT hub.
252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
253
+ */
254
+ readonly name?: string;
255
+ /** Connection string of the IoT hub. */
256
+ connectionString: string;
257
+ /** ARM region of the IoT hub. */
258
+ location: string;
259
+ }
260
+ /** Description of the shared access key. */
261
+ export interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription {
262
+ /** Name of the key. */
263
+ keyName: string;
264
+ /** Primary SAS key value. */
265
+ primaryKey?: string;
266
+ /** Secondary SAS key value. */
267
+ secondaryKey?: string;
268
+ /** Rights that this key has. */
269
+ rights: AccessRightsDescription;
270
+ }
271
+ /** List of possible provisioning service SKUs. */
272
+ export interface IotDpsSkuInfo {
273
+ /** Sku name. */
274
+ name?: IotDpsSku;
275
+ /**
276
+ * Pricing tier name of the provisioning service.
277
+ * NOTE: This property will not be serialized. It can only be populated by the server.
278
+ */
279
+ readonly tier?: string;
280
+ /** The number of units to provision */
281
+ capacity?: number;
282
+ }
283
+ /** Managed service identity (system assigned and/or user assigned identities) */
284
+ export interface ManagedServiceIdentity {
285
+ /**
286
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
+ */
289
+ readonly principalId?: string;
290
+ /**
291
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
+ */
294
+ readonly tenantId?: string;
295
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
296
+ type: ManagedServiceIdentityType;
297
+ /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
298
+ userAssignedIdentities?: {
299
+ [propertyName: string]: UserAssignedIdentity | null;
300
+ };
301
+ }
302
+ /** User assigned identity properties */
303
+ export interface UserAssignedIdentity {
304
+ /**
305
+ * The principal ID of the assigned identity.
306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
+ */
308
+ readonly principalId?: string;
309
+ /**
310
+ * The client ID of the assigned identity.
311
+ * NOTE: This property will not be serialized. It can only be populated by the server.
312
+ */
313
+ readonly clientId?: string;
314
+ }
315
+ /** The common properties of an Azure resource. */
316
+ export interface Resource {
317
+ /**
318
+ * The resource identifier.
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
+ */
321
+ readonly id?: string;
322
+ /**
323
+ * The resource name.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly name?: string;
327
+ /**
328
+ * The resource type.
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly type?: string;
332
+ /** The resource location. */
333
+ location: string;
334
+ /** The resource group of the resource. */
335
+ resourcegroup?: string;
336
+ /** The subscription id of the resource. */
337
+ subscriptionid?: string;
338
+ /** The resource tags. */
339
+ tags?: {
340
+ [propertyName: string]: string;
341
+ };
342
+ }
343
+ /** A container holding only the Tags for a resource, allowing the user to update the tags on a Provisioning Service instance. */
344
+ export interface TagsResource {
345
+ /** Resource tags */
346
+ tags?: {
347
+ [propertyName: string]: string;
348
+ };
349
+ }
350
+ /** The JSON-serialized array of Certificate objects. */
351
+ export interface CertificateListDescription {
352
+ /** The array of Certificate objects. */
353
+ value?: CertificateResponse[];
354
+ }
355
+ /** List of provisioning service descriptions. */
356
+ export interface ProvisioningServiceDescriptionListResult {
357
+ /** List of provisioning service descriptions. */
358
+ value?: ProvisioningServiceDescription[];
359
+ /**
360
+ * the next link
361
+ * NOTE: This property will not be serialized. It can only be populated by the server.
362
+ */
363
+ readonly nextLink?: string;
364
+ }
365
+ /** Result of a long running operation. */
366
+ export interface AsyncOperationResult {
367
+ /** current status of a long running operation. */
368
+ status?: string;
369
+ /** Error message containing code, description and details */
370
+ error?: ErrorMessage;
371
+ }
372
+ /** Error response containing message and code. */
373
+ export interface ErrorMessage {
374
+ /** standard error code */
375
+ code?: string;
376
+ /** standard error description */
377
+ message?: string;
378
+ /** detailed summary of error */
379
+ details?: string;
380
+ }
381
+ /** List of available SKUs. */
382
+ export interface IotDpsSkuDefinitionListResult {
383
+ /** The list of SKUs */
384
+ value?: IotDpsSkuDefinition[];
385
+ /**
386
+ * The next link.
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
388
+ */
389
+ readonly nextLink?: string;
390
+ }
391
+ /** Available SKUs of tier and units. */
392
+ export interface IotDpsSkuDefinition {
393
+ /** Sku name. */
394
+ name?: IotDpsSku;
395
+ }
396
+ /** Description of the response of the verification code. */
397
+ export interface VerificationCodeResponse {
398
+ /**
399
+ * Name of certificate.
400
+ * NOTE: This property will not be serialized. It can only be populated by the server.
401
+ */
402
+ readonly name?: string;
403
+ /**
404
+ * Request etag.
405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
+ */
407
+ readonly etag?: string;
408
+ /**
409
+ * The resource identifier.
410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
+ */
412
+ readonly id?: string;
413
+ /**
414
+ * The resource type.
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly type?: string;
418
+ properties?: VerificationCodeResponseProperties;
419
+ }
420
+ export interface VerificationCodeResponseProperties {
421
+ /** Verification code. */
422
+ verificationCode?: string;
423
+ /** Certificate subject. */
424
+ subject?: string;
425
+ /** Code expiry. */
426
+ expiry?: string;
427
+ /** Certificate thumbprint. */
428
+ thumbprint?: string;
429
+ /** Indicate if the certificate is verified by owner of private key. */
430
+ isVerified?: boolean;
431
+ /** base-64 representation of X509 certificate .cer file or just .pem file content. */
432
+ certificate?: Uint8Array;
433
+ /** Certificate created time. */
434
+ created?: string;
435
+ /** Certificate updated time. */
436
+ updated?: string;
437
+ }
438
+ /** The JSON-serialized leaf certificate */
439
+ export interface VerificationCodeRequest {
440
+ /** base-64 representation of X509 certificate .cer file or just .pem file content. */
441
+ certificate?: string;
442
+ }
443
+ /** Input values for operation results call. */
444
+ export interface OperationInputs {
445
+ /** The name of the Provisioning Service to check. */
446
+ name: string;
447
+ }
448
+ /** Description of name availability. */
449
+ export interface NameAvailabilityInfo {
450
+ /** specifies if a name is available or not */
451
+ nameAvailable?: boolean;
452
+ /** specifies the reason a name is unavailable */
453
+ reason?: NameUnavailabilityReason;
454
+ /** message containing a detailed reason name is unavailable */
455
+ message?: string;
456
+ }
457
+ /** List of shared access keys. */
458
+ export interface SharedAccessSignatureAuthorizationRuleListResult {
459
+ /** The list of shared access policies. */
460
+ value?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
461
+ /**
462
+ * The next link.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly nextLink?: string;
466
+ }
467
+ /** The available private link resources for a provisioning service */
468
+ export interface PrivateLinkResources {
469
+ /** The list of available private link resources for a provisioning service */
470
+ value?: GroupIdInformation[];
471
+ }
472
+ /** The group information for creating a private endpoint on a provisioning service */
473
+ export interface GroupIdInformation {
474
+ /**
475
+ * The resource identifier.
476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
477
+ */
478
+ readonly id?: string;
479
+ /**
480
+ * The resource name.
481
+ * NOTE: This property will not be serialized. It can only be populated by the server.
482
+ */
483
+ readonly name?: string;
484
+ /**
485
+ * The resource type.
486
+ * NOTE: This property will not be serialized. It can only be populated by the server.
487
+ */
488
+ readonly type?: string;
489
+ /** The properties for a group information object */
490
+ properties: GroupIdInformationProperties;
491
+ }
492
+ /** The properties for a group information object */
493
+ export interface GroupIdInformationProperties {
494
+ /** The group id */
495
+ groupId?: string;
496
+ /** The required members for a specific group id */
497
+ requiredMembers?: string[];
498
+ /** The required DNS zones for a specific group id */
499
+ requiredZoneNames?: string[];
500
+ }
501
+ /** The JSON-serialized X509 Certificate. */
502
+ export interface CertificateBodyDescription {
503
+ /** Base-64 representation of the X509 leaf certificate .cer file or just .pem file content. */
504
+ certificate?: string;
505
+ /** True indicates that the certificate will be created in verified state and proof of possession will not be required. */
506
+ isVerified?: boolean;
507
+ }
508
+ /** The description of the provisioning service. */
509
+ export interface ProvisioningServiceDescription extends Resource {
510
+ /** The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. */
511
+ etag?: string;
512
+ /** Service specific properties for a provisioning service */
513
+ properties: IotDpsPropertiesDescription;
514
+ /** Sku info for a provisioning Service. */
515
+ sku: IotDpsSkuInfo;
516
+ /**
517
+ * Metadata pertaining to creation and last modification of the resource.
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
519
+ */
520
+ readonly systemData?: SystemData;
521
+ /** The managed identities for a provisioning service. */
522
+ identity?: ManagedServiceIdentity;
523
+ }
524
+ /** Defines headers for IotDpsResource_deletePrivateEndpointConnection operation. */
525
+ export interface IotDpsResourceDeletePrivateEndpointConnectionHeaders {
526
+ /** Operation Status Location URI */
527
+ azureAsyncOperation?: string;
528
+ /** Operation Status Location URI */
529
+ location?: string;
530
+ /** Retry After */
531
+ retryAfter?: string;
532
+ }
533
+ /** Known values of {@link CreatedByType} that the service accepts. */
534
+ export declare enum KnownCreatedByType {
535
+ /** User */
536
+ User = "User",
537
+ /** Application */
538
+ Application = "Application",
539
+ /** ManagedIdentity */
540
+ ManagedIdentity = "ManagedIdentity",
541
+ /** Key */
542
+ Key = "Key"
543
+ }
544
+ /**
545
+ * Defines values for CreatedByType. \
546
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
547
+ * this enum contains the known values that the service supports.
548
+ * ### Known values supported by the service
549
+ * **User** \
550
+ * **Application** \
551
+ * **ManagedIdentity** \
552
+ * **Key**
553
+ */
554
+ export type CreatedByType = string;
555
+ /** Known values of {@link CertificatePurpose} that the service accepts. */
556
+ export declare enum KnownCertificatePurpose {
557
+ /** ClientAuthentication */
558
+ ClientAuthentication = "clientAuthentication",
559
+ /** ServerAuthentication */
560
+ ServerAuthentication = "serverAuthentication"
561
+ }
562
+ /**
563
+ * Defines values for CertificatePurpose. \
564
+ * {@link KnownCertificatePurpose} can be used interchangeably with CertificatePurpose,
565
+ * this enum contains the known values that the service supports.
566
+ * ### Known values supported by the service
567
+ * **clientAuthentication** \
568
+ * **serverAuthentication**
569
+ */
570
+ export type CertificatePurpose = string;
571
+ /** Known values of {@link State} that the service accepts. */
572
+ export declare enum KnownState {
573
+ /** Activating */
574
+ Activating = "Activating",
575
+ /** Active */
576
+ Active = "Active",
577
+ /** Deleting */
578
+ Deleting = "Deleting",
579
+ /** Deleted */
580
+ Deleted = "Deleted",
581
+ /** ActivationFailed */
582
+ ActivationFailed = "ActivationFailed",
583
+ /** DeletionFailed */
584
+ DeletionFailed = "DeletionFailed",
585
+ /** Transitioning */
586
+ Transitioning = "Transitioning",
587
+ /** Suspending */
588
+ Suspending = "Suspending",
589
+ /** Suspended */
590
+ Suspended = "Suspended",
591
+ /** Resuming */
592
+ Resuming = "Resuming",
593
+ /** FailingOver */
594
+ FailingOver = "FailingOver",
595
+ /** FailoverFailed */
596
+ FailoverFailed = "FailoverFailed"
597
+ }
598
+ /**
599
+ * Defines values for State. \
600
+ * {@link KnownState} can be used interchangeably with State,
601
+ * this enum contains the known values that the service supports.
602
+ * ### Known values supported by the service
603
+ * **Activating** \
604
+ * **Active** \
605
+ * **Deleting** \
606
+ * **Deleted** \
607
+ * **ActivationFailed** \
608
+ * **DeletionFailed** \
609
+ * **Transitioning** \
610
+ * **Suspending** \
611
+ * **Suspended** \
612
+ * **Resuming** \
613
+ * **FailingOver** \
614
+ * **FailoverFailed**
615
+ */
616
+ export type State = string;
617
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
618
+ export declare enum KnownPublicNetworkAccess {
619
+ /** Enabled */
620
+ Enabled = "Enabled",
621
+ /** Disabled */
622
+ Disabled = "Disabled"
623
+ }
624
+ /**
625
+ * Defines values for PublicNetworkAccess. \
626
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
627
+ * this enum contains the known values that the service supports.
628
+ * ### Known values supported by the service
629
+ * **Enabled** \
630
+ * **Disabled**
631
+ */
632
+ export type PublicNetworkAccess = string;
633
+ /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
634
+ export declare enum KnownPrivateLinkServiceConnectionStatus {
635
+ /** Pending */
636
+ Pending = "Pending",
637
+ /** Approved */
638
+ Approved = "Approved",
639
+ /** Rejected */
640
+ Rejected = "Rejected",
641
+ /** Disconnected */
642
+ Disconnected = "Disconnected"
643
+ }
644
+ /**
645
+ * Defines values for PrivateLinkServiceConnectionStatus. \
646
+ * {@link KnownPrivateLinkServiceConnectionStatus} can be used interchangeably with PrivateLinkServiceConnectionStatus,
647
+ * this enum contains the known values that the service supports.
648
+ * ### Known values supported by the service
649
+ * **Pending** \
650
+ * **Approved** \
651
+ * **Rejected** \
652
+ * **Disconnected**
653
+ */
654
+ export type PrivateLinkServiceConnectionStatus = string;
655
+ /** Known values of {@link AllocationPolicy} that the service accepts. */
656
+ export declare enum KnownAllocationPolicy {
657
+ /** Hashed */
658
+ Hashed = "Hashed",
659
+ /** GeoLatency */
660
+ GeoLatency = "GeoLatency",
661
+ /** Static */
662
+ Static = "Static"
663
+ }
664
+ /**
665
+ * Defines values for AllocationPolicy. \
666
+ * {@link KnownAllocationPolicy} can be used interchangeably with AllocationPolicy,
667
+ * this enum contains the known values that the service supports.
668
+ * ### Known values supported by the service
669
+ * **Hashed** \
670
+ * **GeoLatency** \
671
+ * **Static**
672
+ */
673
+ export type AllocationPolicy = string;
674
+ /** Known values of {@link AccessRightsDescription} that the service accepts. */
675
+ export declare enum KnownAccessRightsDescription {
676
+ /** ServiceConfig */
677
+ ServiceConfig = "ServiceConfig",
678
+ /** EnrollmentRead */
679
+ EnrollmentRead = "EnrollmentRead",
680
+ /** EnrollmentWrite */
681
+ EnrollmentWrite = "EnrollmentWrite",
682
+ /** DeviceConnect */
683
+ DeviceConnect = "DeviceConnect",
684
+ /** RegistrationStatusRead */
685
+ RegistrationStatusRead = "RegistrationStatusRead",
686
+ /** RegistrationStatusWrite */
687
+ RegistrationStatusWrite = "RegistrationStatusWrite"
688
+ }
689
+ /**
690
+ * Defines values for AccessRightsDescription. \
691
+ * {@link KnownAccessRightsDescription} can be used interchangeably with AccessRightsDescription,
692
+ * this enum contains the known values that the service supports.
693
+ * ### Known values supported by the service
694
+ * **ServiceConfig** \
695
+ * **EnrollmentRead** \
696
+ * **EnrollmentWrite** \
697
+ * **DeviceConnect** \
698
+ * **RegistrationStatusRead** \
699
+ * **RegistrationStatusWrite**
700
+ */
701
+ export type AccessRightsDescription = string;
702
+ /** Known values of {@link IotDpsSku} that the service accepts. */
703
+ export declare enum KnownIotDpsSku {
704
+ /** S1 */
705
+ S1 = "S1"
706
+ }
707
+ /**
708
+ * Defines values for IotDpsSku. \
709
+ * {@link KnownIotDpsSku} can be used interchangeably with IotDpsSku,
710
+ * this enum contains the known values that the service supports.
711
+ * ### Known values supported by the service
712
+ * **S1**
713
+ */
714
+ export type IotDpsSku = string;
715
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
716
+ export declare enum KnownManagedServiceIdentityType {
717
+ /** None */
718
+ None = "None",
719
+ /** SystemAssigned */
720
+ SystemAssigned = "SystemAssigned",
721
+ /** UserAssigned */
722
+ UserAssigned = "UserAssigned",
723
+ /** SystemAssignedUserAssigned */
724
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
725
+ }
726
+ /**
727
+ * Defines values for ManagedServiceIdentityType. \
728
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
729
+ * this enum contains the known values that the service supports.
730
+ * ### Known values supported by the service
731
+ * **None** \
732
+ * **SystemAssigned** \
733
+ * **UserAssigned** \
734
+ * **SystemAssigned,UserAssigned**
735
+ */
736
+ export type ManagedServiceIdentityType = string;
737
+ /** Known values of {@link NameUnavailabilityReason} that the service accepts. */
738
+ export declare enum KnownNameUnavailabilityReason {
739
+ /** Invalid */
740
+ Invalid = "Invalid",
741
+ /** AlreadyExists */
742
+ AlreadyExists = "AlreadyExists"
743
+ }
744
+ /**
745
+ * Defines values for NameUnavailabilityReason. \
746
+ * {@link KnownNameUnavailabilityReason} can be used interchangeably with NameUnavailabilityReason,
747
+ * this enum contains the known values that the service supports.
748
+ * ### Known values supported by the service
749
+ * **Invalid** \
750
+ * **AlreadyExists**
751
+ */
752
+ export type NameUnavailabilityReason = string;
753
+ /** Defines values for IpFilterActionType. */
754
+ export type IpFilterActionType = "Accept" | "Reject";
755
+ /** Defines values for IpFilterTargetType. */
756
+ export type IpFilterTargetType = "all" | "serviceApi" | "deviceApi";
757
+ /** Optional parameters. */
758
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
759
+ }
760
+ /** Contains response data for the list operation. */
761
+ export type OperationsListResponse = OperationListResult;
762
+ /** Optional parameters. */
763
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
764
+ }
765
+ /** Contains response data for the listNext operation. */
766
+ export type OperationsListNextResponse = OperationListResult;
767
+ /** Optional parameters. */
768
+ export interface DpsCertificateGetOptionalParams extends coreClient.OperationOptions {
769
+ /** ETag of the certificate. */
770
+ ifMatch?: string;
771
+ }
772
+ /** Contains response data for the get operation. */
773
+ export type DpsCertificateGetResponse = CertificateResponse;
774
+ /** Optional parameters. */
775
+ export interface DpsCertificateCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
776
+ /** ETag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate. */
777
+ ifMatch?: string;
778
+ }
779
+ /** Contains response data for the createOrUpdate operation. */
780
+ export type DpsCertificateCreateOrUpdateResponse = CertificateResponse;
781
+ /** Optional parameters. */
782
+ export interface DpsCertificateDeleteOptionalParams extends coreClient.OperationOptions {
783
+ /** This is optional, and it is the Common Name of the certificate. */
784
+ certificateName1?: string;
785
+ /** Raw data within the certificate. */
786
+ certificateRawBytes?: Uint8Array;
787
+ /** Indicates if certificate has been verified by owner of the private key. */
788
+ certificateIsVerified?: boolean;
789
+ /** A description that mentions the purpose of the certificate. */
790
+ certificatePurpose?: CertificatePurpose;
791
+ /** Time the certificate is created. */
792
+ certificateCreated?: Date;
793
+ /** Time the certificate is last updated. */
794
+ certificateLastUpdated?: Date;
795
+ /** Indicates if the certificate contains a private key. */
796
+ certificateHasPrivateKey?: boolean;
797
+ /** Random number generated to indicate Proof of Possession. */
798
+ certificateNonce?: string;
799
+ }
800
+ /** Optional parameters. */
801
+ export interface DpsCertificateListOptionalParams extends coreClient.OperationOptions {
802
+ }
803
+ /** Contains response data for the list operation. */
804
+ export type DpsCertificateListResponse = CertificateListDescription;
805
+ /** Optional parameters. */
806
+ export interface DpsCertificateGenerateVerificationCodeOptionalParams extends coreClient.OperationOptions {
807
+ /** Common Name for the certificate. */
808
+ certificateName1?: string;
809
+ /** Raw data of certificate. */
810
+ certificateRawBytes?: Uint8Array;
811
+ /** Indicates if the certificate has been verified by owner of the private key. */
812
+ certificateIsVerified?: boolean;
813
+ /** Description mentioning the purpose of the certificate. */
814
+ certificatePurpose?: CertificatePurpose;
815
+ /** Certificate creation time. */
816
+ certificateCreated?: Date;
817
+ /** Certificate last updated time. */
818
+ certificateLastUpdated?: Date;
819
+ /** Indicates if the certificate contains private key. */
820
+ certificateHasPrivateKey?: boolean;
821
+ /** Random number generated to indicate Proof of Possession. */
822
+ certificateNonce?: string;
823
+ }
824
+ /** Contains response data for the generateVerificationCode operation. */
825
+ export type DpsCertificateGenerateVerificationCodeResponse = VerificationCodeResponse;
826
+ /** Optional parameters. */
827
+ export interface DpsCertificateVerifyCertificateOptionalParams extends coreClient.OperationOptions {
828
+ /** Common Name for the certificate. */
829
+ certificateName1?: string;
830
+ /** Raw data of certificate. */
831
+ certificateRawBytes?: Uint8Array;
832
+ /** Indicates if the certificate has been verified by owner of the private key. */
833
+ certificateIsVerified?: boolean;
834
+ /** Describe the purpose of the certificate. */
835
+ certificatePurpose?: CertificatePurpose;
836
+ /** Certificate creation time. */
837
+ certificateCreated?: Date;
838
+ /** Certificate last updated time. */
839
+ certificateLastUpdated?: Date;
840
+ /** Indicates if the certificate contains private key. */
841
+ certificateHasPrivateKey?: boolean;
842
+ /** Random number generated to indicate Proof of Possession. */
843
+ certificateNonce?: string;
844
+ }
845
+ /** Contains response data for the verifyCertificate operation. */
846
+ export type DpsCertificateVerifyCertificateResponse = CertificateResponse;
847
+ /** Optional parameters. */
848
+ export interface IotDpsResourceGetOptionalParams extends coreClient.OperationOptions {
849
+ }
850
+ /** Contains response data for the get operation. */
851
+ export type IotDpsResourceGetResponse = ProvisioningServiceDescription;
852
+ /** Optional parameters. */
853
+ export interface IotDpsResourceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
854
+ /** Delay to wait until next poll, in milliseconds. */
855
+ updateIntervalInMs?: number;
856
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
857
+ resumeFrom?: string;
858
+ }
859
+ /** Contains response data for the createOrUpdate operation. */
860
+ export type IotDpsResourceCreateOrUpdateResponse = ProvisioningServiceDescription;
861
+ /** Optional parameters. */
862
+ export interface IotDpsResourceUpdateOptionalParams extends coreClient.OperationOptions {
863
+ /** Delay to wait until next poll, in milliseconds. */
864
+ updateIntervalInMs?: number;
865
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
866
+ resumeFrom?: string;
867
+ }
868
+ /** Contains response data for the update operation. */
869
+ export type IotDpsResourceUpdateResponse = ProvisioningServiceDescription;
870
+ /** Optional parameters. */
871
+ export interface IotDpsResourceDeleteOptionalParams extends coreClient.OperationOptions {
872
+ /** Delay to wait until next poll, in milliseconds. */
873
+ updateIntervalInMs?: number;
874
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
875
+ resumeFrom?: string;
876
+ }
877
+ /** Optional parameters. */
878
+ export interface IotDpsResourceListBySubscriptionOptionalParams extends coreClient.OperationOptions {
879
+ }
880
+ /** Contains response data for the listBySubscription operation. */
881
+ export type IotDpsResourceListBySubscriptionResponse = ProvisioningServiceDescriptionListResult;
882
+ /** Optional parameters. */
883
+ export interface IotDpsResourceListByResourceGroupOptionalParams extends coreClient.OperationOptions {
884
+ }
885
+ /** Contains response data for the listByResourceGroup operation. */
886
+ export type IotDpsResourceListByResourceGroupResponse = ProvisioningServiceDescriptionListResult;
887
+ /** Optional parameters. */
888
+ export interface IotDpsResourceGetOperationResultOptionalParams extends coreClient.OperationOptions {
889
+ }
890
+ /** Contains response data for the getOperationResult operation. */
891
+ export type IotDpsResourceGetOperationResultResponse = AsyncOperationResult;
892
+ /** Optional parameters. */
893
+ export interface IotDpsResourceListValidSkusOptionalParams extends coreClient.OperationOptions {
894
+ }
895
+ /** Contains response data for the listValidSkus operation. */
896
+ export type IotDpsResourceListValidSkusResponse = IotDpsSkuDefinitionListResult;
897
+ /** Optional parameters. */
898
+ export interface IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams extends coreClient.OperationOptions {
899
+ }
900
+ /** Contains response data for the checkProvisioningServiceNameAvailability operation. */
901
+ export type IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse = NameAvailabilityInfo;
902
+ /** Optional parameters. */
903
+ export interface IotDpsResourceListKeysOptionalParams extends coreClient.OperationOptions {
904
+ }
905
+ /** Contains response data for the listKeys operation. */
906
+ export type IotDpsResourceListKeysResponse = SharedAccessSignatureAuthorizationRuleListResult;
907
+ /** Optional parameters. */
908
+ export interface IotDpsResourceListKeysForKeyNameOptionalParams extends coreClient.OperationOptions {
909
+ }
910
+ /** Contains response data for the listKeysForKeyName operation. */
911
+ export type IotDpsResourceListKeysForKeyNameResponse = SharedAccessSignatureAuthorizationRuleAccessRightsDescription;
912
+ /** Optional parameters. */
913
+ export interface IotDpsResourceListPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {
914
+ }
915
+ /** Contains response data for the listPrivateLinkResources operation. */
916
+ export type IotDpsResourceListPrivateLinkResourcesResponse = PrivateLinkResources;
917
+ /** Optional parameters. */
918
+ export interface IotDpsResourceGetPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {
919
+ }
920
+ /** Contains response data for the getPrivateLinkResources operation. */
921
+ export type IotDpsResourceGetPrivateLinkResourcesResponse = GroupIdInformation;
922
+ /** Optional parameters. */
923
+ export interface IotDpsResourceListPrivateEndpointConnectionsOptionalParams extends coreClient.OperationOptions {
924
+ }
925
+ /** Contains response data for the listPrivateEndpointConnections operation. */
926
+ export type IotDpsResourceListPrivateEndpointConnectionsResponse = PrivateEndpointConnection[];
927
+ /** Optional parameters. */
928
+ export interface IotDpsResourceGetPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
929
+ }
930
+ /** Contains response data for the getPrivateEndpointConnection operation. */
931
+ export type IotDpsResourceGetPrivateEndpointConnectionResponse = PrivateEndpointConnection;
932
+ /** Optional parameters. */
933
+ export interface IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
934
+ /** Delay to wait until next poll, in milliseconds. */
935
+ updateIntervalInMs?: number;
936
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
937
+ resumeFrom?: string;
938
+ }
939
+ /** Contains response data for the createOrUpdatePrivateEndpointConnection operation. */
940
+ export type IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse = PrivateEndpointConnection;
941
+ /** Optional parameters. */
942
+ export interface IotDpsResourceDeletePrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
943
+ /** Delay to wait until next poll, in milliseconds. */
944
+ updateIntervalInMs?: number;
945
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
946
+ resumeFrom?: string;
947
+ }
948
+ /** Contains response data for the deletePrivateEndpointConnection operation. */
949
+ export type IotDpsResourceDeletePrivateEndpointConnectionResponse = PrivateEndpointConnection;
950
+ /** Optional parameters. */
951
+ export interface IotDpsResourceListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
952
+ }
953
+ /** Contains response data for the listBySubscriptionNext operation. */
954
+ export type IotDpsResourceListBySubscriptionNextResponse = ProvisioningServiceDescriptionListResult;
955
+ /** Optional parameters. */
956
+ export interface IotDpsResourceListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
957
+ }
958
+ /** Contains response data for the listByResourceGroupNext operation. */
959
+ export type IotDpsResourceListByResourceGroupNextResponse = ProvisioningServiceDescriptionListResult;
960
+ /** Optional parameters. */
961
+ export interface IotDpsResourceListValidSkusNextOptionalParams extends coreClient.OperationOptions {
962
+ }
963
+ /** Contains response data for the listValidSkusNext operation. */
964
+ export type IotDpsResourceListValidSkusNextResponse = IotDpsSkuDefinitionListResult;
965
+ /** Optional parameters. */
966
+ export interface IotDpsResourceListKeysNextOptionalParams extends coreClient.OperationOptions {
967
+ }
968
+ /** Contains response data for the listKeysNext operation. */
969
+ export type IotDpsResourceListKeysNextResponse = SharedAccessSignatureAuthorizationRuleListResult;
970
+ /** Optional parameters. */
971
+ export interface IotDpsClientOptionalParams extends coreClient.ServiceClientOptions {
972
+ /** server parameter */
973
+ $host?: string;
974
+ /** Api Version */
975
+ apiVersion?: string;
976
+ /** Overrides client endpoint. */
977
+ endpoint?: string;
978
+ }
979
+ //# sourceMappingURL=index.d.ts.map