@azure/arm-attestation 2.1.1-alpha.20241230.1 → 2.1.1-alpha.20250108.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/{dist-esm/src → dist/browser}/attestationManagementClient.d.ts +2 -2
  2. package/dist/browser/attestationManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/attestationManagementClient.js +15 -18
  4. package/dist/browser/attestationManagementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/models/index.js.map +1 -0
  10. package/dist/browser/models/mappers.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  12. package/dist/browser/models/parameters.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/attestationProviders.d.ts +3 -3
  14. package/dist/browser/operations/attestationProviders.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/attestationProviders.js +2 -2
  16. package/dist/browser/operations/attestationProviders.js.map +1 -0
  17. package/dist/browser/operations/index.d.ts +4 -0
  18. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  19. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  20. package/dist/browser/operations/index.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  22. package/dist/browser/operations/operations.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  24. package/dist/browser/operations/operations.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  26. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
  28. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operationsInterfaces/attestationProviders.d.ts +1 -1
  30. package/dist/browser/operationsInterfaces/attestationProviders.d.ts.map +1 -0
  31. package/dist/browser/operationsInterfaces/attestationProviders.js.map +1 -0
  32. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  34. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  35. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  37. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  38. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  40. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  42. package/dist/browser/package.json +3 -0
  43. package/dist/browser/pagingHelper.js.map +1 -0
  44. package/dist/commonjs/attestationManagementClient.d.ts +22 -0
  45. package/dist/commonjs/attestationManagementClient.d.ts.map +1 -0
  46. package/dist/commonjs/attestationManagementClient.js +104 -0
  47. package/dist/commonjs/attestationManagementClient.js.map +1 -0
  48. package/dist/commonjs/index.d.ts +5 -0
  49. package/dist/commonjs/index.d.ts.map +1 -0
  50. package/dist/commonjs/index.js +19 -0
  51. package/dist/commonjs/index.js.map +1 -0
  52. package/{types/arm-attestation.d.ts → dist/commonjs/models/index.d.ts} +403 -590
  53. package/dist/commonjs/models/index.d.ts.map +1 -0
  54. package/dist/commonjs/models/index.js +55 -0
  55. package/dist/commonjs/models/index.js.map +1 -0
  56. package/dist/commonjs/models/mappers.d.ts +21 -0
  57. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  58. package/dist/commonjs/models/mappers.js +566 -0
  59. package/dist/commonjs/models/mappers.js.map +1 -0
  60. package/dist/commonjs/models/parameters.d.ts +15 -0
  61. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  62. package/dist/commonjs/models/parameters.js +141 -0
  63. package/dist/commonjs/models/parameters.js.map +1 -0
  64. package/dist/commonjs/operations/attestationProviders.d.ts +65 -0
  65. package/dist/commonjs/operations/attestationProviders.d.ts.map +1 -0
  66. package/dist/commonjs/operations/attestationProviders.js +259 -0
  67. package/dist/commonjs/operations/attestationProviders.js.map +1 -0
  68. package/dist/commonjs/operations/index.d.ts +4 -0
  69. package/dist/commonjs/operations/index.d.ts.map +1 -0
  70. package/dist/commonjs/operations/index.js +14 -0
  71. package/dist/commonjs/operations/index.js.map +1 -0
  72. package/dist/commonjs/operations/operations.d.ts +18 -0
  73. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  74. package/dist/commonjs/operations/operations.js +51 -0
  75. package/dist/commonjs/operations/operations.js.map +1 -0
  76. package/dist/commonjs/operations/privateEndpointConnections.d.ts +58 -0
  77. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  78. package/dist/commonjs/operations/privateEndpointConnections.js +226 -0
  79. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  80. package/dist/commonjs/operationsInterfaces/attestationProviders.d.ts +57 -0
  81. package/dist/commonjs/operationsInterfaces/attestationProviders.d.ts.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/attestationProviders.js +10 -0
  83. package/dist/commonjs/operationsInterfaces/attestationProviders.js.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  85. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  87. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  89. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  90. package/{src/operations/index.ts → dist/commonjs/operationsInterfaces/operations.js} +3 -4
  91. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
  93. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  95. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  96. package/dist/commonjs/package.json +3 -0
  97. package/dist/commonjs/pagingHelper.d.ts +13 -0
  98. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  99. package/dist/commonjs/pagingHelper.js +36 -0
  100. package/dist/commonjs/pagingHelper.js.map +1 -0
  101. package/dist/esm/attestationManagementClient.d.ts +22 -0
  102. package/dist/esm/attestationManagementClient.d.ts.map +1 -0
  103. package/dist/esm/attestationManagementClient.js +99 -0
  104. package/dist/esm/attestationManagementClient.js.map +1 -0
  105. package/dist/esm/index.d.ts +5 -0
  106. package/dist/esm/index.d.ts.map +1 -0
  107. package/{src/index.ts → dist/esm/index.js} +5 -5
  108. package/dist/esm/index.js.map +1 -0
  109. package/dist/esm/models/index.d.ts +403 -0
  110. package/dist/esm/models/index.d.ts.map +1 -0
  111. package/dist/esm/models/index.js +52 -0
  112. package/dist/esm/models/index.js.map +1 -0
  113. package/dist/esm/models/mappers.d.ts +21 -0
  114. package/dist/esm/models/mappers.d.ts.map +1 -0
  115. package/dist/esm/models/mappers.js +563 -0
  116. package/dist/esm/models/mappers.js.map +1 -0
  117. package/dist/esm/models/parameters.d.ts +15 -0
  118. package/dist/esm/models/parameters.d.ts.map +1 -0
  119. package/dist/esm/models/parameters.js +138 -0
  120. package/dist/esm/models/parameters.js.map +1 -0
  121. package/dist/esm/operations/attestationProviders.d.ts +65 -0
  122. package/dist/esm/operations/attestationProviders.d.ts.map +1 -0
  123. package/dist/esm/operations/attestationProviders.js +254 -0
  124. package/dist/esm/operations/attestationProviders.js.map +1 -0
  125. package/dist/esm/operations/index.d.ts +4 -0
  126. package/dist/esm/operations/index.d.ts.map +1 -0
  127. package/dist/esm/operations/index.js +11 -0
  128. package/dist/esm/operations/index.js.map +1 -0
  129. package/dist/esm/operations/operations.d.ts +18 -0
  130. package/dist/esm/operations/operations.d.ts.map +1 -0
  131. package/dist/esm/operations/operations.js +46 -0
  132. package/dist/esm/operations/operations.js.map +1 -0
  133. package/dist/esm/operations/privateEndpointConnections.d.ts +58 -0
  134. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  135. package/dist/esm/operations/privateEndpointConnections.js +222 -0
  136. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  137. package/dist/esm/operationsInterfaces/attestationProviders.d.ts +57 -0
  138. package/dist/esm/operationsInterfaces/attestationProviders.d.ts.map +1 -0
  139. package/dist/esm/operationsInterfaces/attestationProviders.js +9 -0
  140. package/dist/esm/operationsInterfaces/attestationProviders.js.map +1 -0
  141. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  142. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  143. package/dist/esm/operationsInterfaces/index.js +11 -0
  144. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  145. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  146. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  147. package/dist/esm/operationsInterfaces/operations.js +9 -0
  148. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  149. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
  150. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  151. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  152. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  153. package/dist/esm/package.json +3 -0
  154. package/dist/esm/pagingHelper.d.ts +13 -0
  155. package/dist/esm/pagingHelper.d.ts.map +1 -0
  156. package/dist/esm/pagingHelper.js +32 -0
  157. package/dist/esm/pagingHelper.js.map +1 -0
  158. package/dist/react-native/attestationManagementClient.d.ts +22 -0
  159. package/dist/react-native/attestationManagementClient.d.ts.map +1 -0
  160. package/dist/react-native/attestationManagementClient.js +99 -0
  161. package/dist/react-native/attestationManagementClient.js.map +1 -0
  162. package/dist/react-native/index.d.ts +5 -0
  163. package/dist/react-native/index.d.ts.map +1 -0
  164. package/dist/react-native/index.js +13 -0
  165. package/dist/react-native/index.js.map +1 -0
  166. package/dist/react-native/models/index.d.ts +403 -0
  167. package/dist/react-native/models/index.d.ts.map +1 -0
  168. package/dist/react-native/models/index.js +52 -0
  169. package/dist/react-native/models/index.js.map +1 -0
  170. package/dist/react-native/models/mappers.d.ts +21 -0
  171. package/dist/react-native/models/mappers.d.ts.map +1 -0
  172. package/dist/react-native/models/mappers.js +563 -0
  173. package/dist/react-native/models/mappers.js.map +1 -0
  174. package/dist/react-native/models/parameters.d.ts +15 -0
  175. package/dist/react-native/models/parameters.d.ts.map +1 -0
  176. package/dist/react-native/models/parameters.js +138 -0
  177. package/dist/react-native/models/parameters.js.map +1 -0
  178. package/dist/react-native/operations/attestationProviders.d.ts +65 -0
  179. package/dist/react-native/operations/attestationProviders.d.ts.map +1 -0
  180. package/dist/react-native/operations/attestationProviders.js +254 -0
  181. package/dist/react-native/operations/attestationProviders.js.map +1 -0
  182. package/dist/react-native/operations/index.d.ts +4 -0
  183. package/dist/react-native/operations/index.d.ts.map +1 -0
  184. package/dist/react-native/operations/index.js +11 -0
  185. package/dist/react-native/operations/index.js.map +1 -0
  186. package/dist/react-native/operations/operations.d.ts +18 -0
  187. package/dist/react-native/operations/operations.d.ts.map +1 -0
  188. package/dist/react-native/operations/operations.js +46 -0
  189. package/dist/react-native/operations/operations.js.map +1 -0
  190. package/dist/react-native/operations/privateEndpointConnections.d.ts +58 -0
  191. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  192. package/dist/react-native/operations/privateEndpointConnections.js +222 -0
  193. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  194. package/dist/react-native/operationsInterfaces/attestationProviders.d.ts +57 -0
  195. package/dist/react-native/operationsInterfaces/attestationProviders.d.ts.map +1 -0
  196. package/dist/react-native/operationsInterfaces/attestationProviders.js +9 -0
  197. package/dist/react-native/operationsInterfaces/attestationProviders.js.map +1 -0
  198. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  199. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  200. package/dist/react-native/operationsInterfaces/index.js +11 -0
  201. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  202. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  203. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  204. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  205. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  206. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
  207. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  208. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  209. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  210. package/dist/react-native/package.json +3 -0
  211. package/dist/react-native/pagingHelper.d.ts +13 -0
  212. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  213. package/dist/react-native/pagingHelper.js +32 -0
  214. package/dist/react-native/pagingHelper.js.map +1 -0
  215. package/package.json +58 -28
  216. package/dist/index.js +0 -1439
  217. package/dist/index.js.map +0 -1
  218. package/dist/index.min.js +0 -1
  219. package/dist/index.min.js.map +0 -1
  220. package/dist-esm/samples-dev/attestationProvidersCreateSample.d.ts +0 -2
  221. package/dist-esm/samples-dev/attestationProvidersCreateSample.d.ts.map +0 -1
  222. package/dist-esm/samples-dev/attestationProvidersCreateSample.js +0 -32
  223. package/dist-esm/samples-dev/attestationProvidersCreateSample.js.map +0 -1
  224. package/dist-esm/samples-dev/attestationProvidersDeleteSample.d.ts +0 -2
  225. package/dist-esm/samples-dev/attestationProvidersDeleteSample.d.ts.map +0 -1
  226. package/dist-esm/samples-dev/attestationProvidersDeleteSample.js +0 -31
  227. package/dist-esm/samples-dev/attestationProvidersDeleteSample.js.map +0 -1
  228. package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.d.ts +0 -2
  229. package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.d.ts.map +0 -1
  230. package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.js +0 -30
  231. package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.js.map +0 -1
  232. package/dist-esm/samples-dev/attestationProvidersGetSample.d.ts +0 -2
  233. package/dist-esm/samples-dev/attestationProvidersGetSample.d.ts.map +0 -1
  234. package/dist-esm/samples-dev/attestationProvidersGetSample.js +0 -31
  235. package/dist-esm/samples-dev/attestationProvidersGetSample.js.map +0 -1
  236. package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.js +0 -30
  239. package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.js.map +0 -1
  240. package/dist-esm/samples-dev/attestationProvidersListDefaultSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/attestationProvidersListDefaultSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/attestationProvidersListDefaultSample.js +0 -29
  243. package/dist-esm/samples-dev/attestationProvidersListDefaultSample.js.map +0 -1
  244. package/dist-esm/samples-dev/attestationProvidersListSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/attestationProvidersListSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/attestationProvidersListSample.js +0 -29
  247. package/dist-esm/samples-dev/attestationProvidersListSample.js.map +0 -1
  248. package/dist-esm/samples-dev/attestationProvidersUpdateSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/attestationProvidersUpdateSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/attestationProvidersUpdateSample.js +0 -34
  251. package/dist-esm/samples-dev/attestationProvidersUpdateSample.js.map +0 -1
  252. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/operationsListSample.js +0 -29
  255. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  256. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -38
  259. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +0 -1
  260. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -32
  263. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  264. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -32
  267. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  268. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  269. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  270. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -47
  271. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  272. package/dist-esm/src/attestationManagementClient.d.ts.map +0 -1
  273. package/dist-esm/src/attestationManagementClient.js.map +0 -1
  274. package/dist-esm/src/index.d.ts +0 -5
  275. package/dist-esm/src/index.js.map +0 -1
  276. package/dist-esm/src/models/index.js.map +0 -1
  277. package/dist-esm/src/models/mappers.js.map +0 -1
  278. package/dist-esm/src/models/parameters.js.map +0 -1
  279. package/dist-esm/src/operations/attestationProviders.d.ts.map +0 -1
  280. package/dist-esm/src/operations/attestationProviders.js.map +0 -1
  281. package/dist-esm/src/operations/index.d.ts +0 -4
  282. package/dist-esm/src/operations/index.js.map +0 -1
  283. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  284. package/dist-esm/src/operations/operations.js.map +0 -1
  285. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  286. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  287. package/dist-esm/src/operationsInterfaces/attestationProviders.d.ts.map +0 -1
  288. package/dist-esm/src/operationsInterfaces/attestationProviders.js.map +0 -1
  289. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  290. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  291. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  292. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  293. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  294. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  295. package/dist-esm/src/pagingHelper.js.map +0 -1
  296. package/dist-esm/test/attestation_examples.d.ts +0 -4
  297. package/dist-esm/test/attestation_examples.d.ts.map +0 -1
  298. package/dist-esm/test/attestation_examples.js +0 -96
  299. package/dist-esm/test/attestation_examples.js.map +0 -1
  300. package/src/attestationManagementClient.ts +0 -152
  301. package/src/models/index.ts +0 -457
  302. package/src/models/mappers.ts +0 -599
  303. package/src/models/parameters.ts +0 -160
  304. package/src/operations/attestationProviders.ts +0 -344
  305. package/src/operations/operations.ts +0 -59
  306. package/src/operations/privateEndpointConnections.ts +0 -287
  307. package/src/operationsInterfaces/attestationProviders.ts +0 -111
  308. package/src/operationsInterfaces/index.ts +0 -11
  309. package/src/operationsInterfaces/operations.ts +0 -21
  310. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -78
  311. package/src/pagingHelper.ts +0 -39
  312. package/tsconfig.json +0 -33
  313. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  314. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  315. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  316. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  317. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  318. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  319. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  320. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  321. /package/{dist-esm/src → dist/browser}/operationsInterfaces/attestationProviders.js +0 -0
  322. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  323. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  324. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  325. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  326. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  327. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Operations, AttestationProviders, PrivateEndpointConnections } from "./operationsInterfaces";
4
- import { AttestationManagementClientOptionalParams } from "./models";
3
+ import { Operations, AttestationProviders, PrivateEndpointConnections } from "./operationsInterfaces/index.js";
4
+ import { AttestationManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class AttestationManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationManagementClient.d.ts","sourceRoot":"","sources":["../../src/attestationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,yCAAyC,EAAE,MAAM,mBAAmB,CAAC;AAE9E,qBAAa,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,yCAAyC;IA8ErD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,0BAA0B,EAAE,0BAA0B,CAAC;CACxD"}
@@ -5,10 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { OperationsImpl, AttestationProvidersImpl, PrivateEndpointConnectionsImpl } from "./operations";
10
+ import { OperationsImpl, AttestationProvidersImpl, PrivateEndpointConnectionsImpl } from "./operations/index.js";
12
11
  export class AttestationManagementClient extends coreClient.ServiceClient {
13
12
  /**
14
13
  * Initializes a new instance of the AttestationManagementClient class.
@@ -78,22 +77,20 @@ export class AttestationManagementClient extends coreClient.ServiceClient {
78
77
  }
79
78
  const apiVersionPolicy = {
80
79
  name: "CustomApiVersionPolicy",
81
- sendRequest(request, next) {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- const param = request.url.split("?");
84
- if (param.length > 1) {
85
- const newParams = param[1].split("&").map((item) => {
86
- if (item.indexOf("api-version") > -1) {
87
- return "api-version=" + apiVersion;
88
- }
89
- else {
90
- return item;
91
- }
92
- });
93
- request.url = param[0] + "?" + newParams.join("&");
94
- }
95
- return next(request);
96
- });
80
+ async sendRequest(request, next) {
81
+ const param = request.url.split("?");
82
+ if (param.length > 1) {
83
+ const newParams = param[1].split("&").map((item) => {
84
+ if (item.indexOf("api-version") > -1) {
85
+ return "api-version=" + apiVersion;
86
+ }
87
+ else {
88
+ return item;
89
+ }
90
+ });
91
+ request.url = param[0] + "?" + newParams.join("&");
92
+ }
93
+ return next(request);
97
94
  }
98
95
  };
99
96
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationManagementClient.js","sourceRoot":"","sources":["../../src/attestationManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,OAAO,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IAKvE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAmD;;QAEnD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA8C;YAC1D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,gCAAgC,CAAC;QACxD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAA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AAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAKF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AttestationProvidersImpl,\n PrivateEndpointConnectionsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n AttestationProviders,\n PrivateEndpointConnections\n} from \"./operationsInterfaces/index.js\";\nimport { AttestationManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AttestationManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AttestationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AttestationManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AttestationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-attestation/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2020-10-01\";\n this.operations = new OperationsImpl(this);\n this.attestationProviders = new AttestationProvidersImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n attestationProviders: AttestationProviders;\n privateEndpointConnections: PrivateEndpointConnections;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { AttestationManagementClient } from "./attestationManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { AttestationManagementClient } from "./attestationManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { AttestationManagementClient } from "./attestationManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AttestationManagementClient } from \"./attestationManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA0QH,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAcD,iFAAiF;AACjF,MAAM,CAAN,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACvC,YAAY;IACZ,gDAAe,CAAA;IACf,eAAe;IACf,sDAAqB,CAAA;IACrB,YAAY;IACZ,gDAAe,CAAA;AACjB,CAAC,EAPW,6BAA6B,KAA7B,6BAA6B,QAOxC;AAaD,+FAA+F;AAC/F,MAAM,CAAN,IAAY,2CAOX;AAPD,WAAY,2CAA2C;IACrD,cAAc;IACd,kEAAmB,CAAA;IACnB,eAAe;IACf,oEAAqB,CAAA;IACrB,eAAe;IACf,oEAAqB,CAAA;AACvB,CAAC,EAPW,2CAA2C,KAA3C,2CAA2C,QAOtD;AAaD,mGAAmG;AACnG,MAAM,CAAN,IAAY,+CASX;AATD,WAAY,+CAA+C;IACzD,gBAAgB;IAChB,0EAAuB,CAAA;IACvB,eAAe;IACf,wEAAqB,CAAA;IACrB,eAAe;IACf,wEAAqB,CAAA;IACrB,aAAa;IACb,oEAAiB,CAAA;AACnB,CAAC,EATW,+CAA+C,KAA/C,+CAA+C,QAS1D","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** List of supported operations. */\nexport interface OperationList {\n /**\n * The system metadata relating to this resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** List of supported operations. */\n value?: OperationsDefinition[];\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Definition object with the name and properties of an operation. */\nexport interface OperationsDefinition {\n /** Name of the operation. */\n name?: string;\n /** Display object with properties of the operation. */\n display?: OperationsDisplayDefinition;\n}\n\n/** Display object with properties of the operation. */\nexport interface OperationsDisplayDefinition {\n /** Resource provider of the operation. */\n provider?: string;\n /** Resource for the operation. */\n resource?: string;\n /** Short description of the operation. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** An error response from Attestation. */\nexport interface CloudError {\n /** An error response from Attestation. */\n error?: CloudErrorBody;\n}\n\n/** An error response from Attestation. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for displaying in a user interface. */\n message?: string;\n}\n\n/** The Private Endpoint resource. */\nexport interface PrivateEndpoint {\n /**\n * The ARM identifier for Private Endpoint\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionState {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatus;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** Parameters for creating an attestation provider */\nexport interface AttestationServiceCreationParams {\n /** The supported Azure location where the attestation provider should be created. */\n location: string;\n /** The tags that will be assigned to the attestation provider. */\n tags?: { [propertyName: string]: string };\n /** Properties of the attestation provider */\n properties: AttestationServiceCreationSpecificParams;\n}\n\n/** Client supplied parameters used to create a new attestation provider. */\nexport interface AttestationServiceCreationSpecificParams {\n /** JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations */\n policySigningCertificates?: JsonWebKeySet;\n}\n\nexport interface JsonWebKeySet {\n /**\n * The value of the \"keys\" parameter is an array of JWK values. By\n * default, the order of the JWK values within the array does not imply\n * an order of preference among them, although applications of JWK Sets\n * can choose to assign a meaning to the order for their purposes, if\n * desired.\n */\n keys?: JsonWebKey[];\n}\n\nexport interface JsonWebKey {\n /**\n * The \"alg\" (algorithm) parameter identifies the algorithm intended for\n * use with the key. The values used should either be registered in the\n * IANA \"JSON Web Signature and Encryption Algorithms\" registry\n * established by [JWA] or be a value that contains a Collision-\n * Resistant Name.\n */\n alg?: string;\n /** The \"crv\" (curve) parameter identifies the curve type */\n crv?: string;\n /** RSA private exponent or ECC private key */\n d?: string;\n /** RSA Private Key Parameter */\n dp?: string;\n /** RSA Private Key Parameter */\n dq?: string;\n /** RSA public exponent, in Base64 */\n e?: string;\n /** Symmetric key */\n k?: string;\n /**\n * The \"kid\" (key ID) parameter is used to match a specific key. This\n * is used, for instance, to choose among a set of keys within a JWK Set\n * during key rollover. The structure of the \"kid\" value is\n * unspecified. When \"kid\" values are used within a JWK Set, different\n * keys within the JWK Set SHOULD use distinct \"kid\" values. (One\n * example in which different keys might use the same \"kid\" value is if\n * they have different \"kty\" (key type) values but are considered to be\n * equivalent alternatives by the application using them.) The \"kid\"\n * value is a case-sensitive string.\n */\n kid?: string;\n /**\n * The \"kty\" (key type) parameter identifies the cryptographic algorithm\n * family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\n * either be registered in the IANA \"JSON Web Key Types\" registry\n * established by [JWA] or be a value that contains a Collision-\n * Resistant Name. The \"kty\" value is a case-sensitive string.\n */\n kty: string;\n /** RSA modulus, in Base64 */\n n?: string;\n /** RSA secret prime */\n p?: string;\n /** RSA secret prime, with p < q */\n q?: string;\n /** RSA Private Key Parameter */\n qi?: string;\n /**\n * Use (\"public key use\") identifies the intended use of\n * the public key. The \"use\" parameter is employed to indicate whether\n * a public key is used for encrypting data or verifying the signature\n * on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).\n */\n use?: string;\n /** X coordinate for the Elliptic Curve point */\n x?: string;\n /**\n * The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\n * or more PKIX certificates [RFC5280]. The certificate chain is\n * represented as a JSON array of certificate value strings. Each\n * string in the array is a base64-encoded (Section 4 of [RFC4648] --\n * not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\n * The PKIX certificate containing the key value MUST be the first\n * certificate.\n */\n x5C?: string[];\n /** Y coordinate for the Elliptic Curve point */\n y?: string;\n}\n\n/** Parameters for patching an attestation provider */\nexport interface AttestationServicePatchParams {\n /** The tags that will be assigned to the attestation provider. */\n tags?: { [propertyName: string]: string };\n}\n\n/** List of private endpoint connection associated with the specified storage account */\nexport interface PrivateEndpointConnectionListResult {\n /** Array of private endpoint connections */\n value?: PrivateEndpointConnection[];\n}\n\n/** Attestation Providers List. */\nexport interface AttestationProviderListResult {\n /**\n * The system metadata relating to this resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Attestation Provider array. */\n value?: AttestationProvider[];\n}\n\n/** The Private Endpoint Connection resource. */\nexport interface PrivateEndpointConnection extends Resource {\n /** The resource of private end point. */\n privateEndpoint?: PrivateEndpoint;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;\n /**\n * The provisioning state of the private endpoint connection resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningState;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Attestation service response message. */\nexport interface AttestationProvider extends TrackedResource {\n /**\n * The system metadata relating to this resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Trust model for the attestation provider. */\n trustModel?: string;\n /** Status of attestation service. */\n status?: AttestationServiceStatus;\n /** Gets the uri of attestation service */\n attestUri?: string;\n /**\n * List of private endpoint connections associated with the attestation provider.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly privateEndpointConnections?: PrivateEndpointConnection[];\n}\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link AttestationServiceStatus} that the service accepts. */\nexport enum KnownAttestationServiceStatus {\n /** Ready */\n Ready = \"Ready\",\n /** NotReady */\n NotReady = \"NotReady\",\n /** Error */\n Error = \"Error\"\n}\n\n/**\n * Defines values for AttestationServiceStatus. \\\n * {@link KnownAttestationServiceStatus} can be used interchangeably with AttestationServiceStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Ready** \\\n * **NotReady** \\\n * **Error**\n */\nexport type AttestationServiceStatus = string;\n\n/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */\nexport enum KnownPrivateEndpointServiceConnectionStatus {\n /** Pending */\n Pending = \"Pending\",\n /** Approved */\n Approved = \"Approved\",\n /** Rejected */\n Rejected = \"Rejected\"\n}\n\n/**\n * Defines values for PrivateEndpointServiceConnectionStatus. \\\n * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending** \\\n * **Approved** \\\n * **Rejected**\n */\nexport type PrivateEndpointServiceConnectionStatus = string;\n\n/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */\nexport enum KnownPrivateEndpointConnectionProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Creating */\n Creating = \"Creating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Failed */\n Failed = \"Failed\"\n}\n\n/**\n * Defines values for PrivateEndpointConnectionProvisioningState. \\\n * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Creating** \\\n * **Deleting** \\\n * **Failed**\n */\nexport type PrivateEndpointConnectionProvisioningState = string;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationList;\n\n/** Optional parameters. */\nexport interface AttestationProvidersGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AttestationProvidersGetResponse = AttestationProvider;\n\n/** Optional parameters. */\nexport interface AttestationProvidersCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type AttestationProvidersCreateResponse = AttestationProvider;\n\n/** Optional parameters. */\nexport interface AttestationProvidersUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type AttestationProvidersUpdateResponse = AttestationProvider;\n\n/** Optional parameters. */\nexport interface AttestationProvidersDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface AttestationProvidersListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AttestationProvidersListResponse = AttestationProviderListResult;\n\n/** Optional parameters. */\nexport interface AttestationProvidersListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type AttestationProvidersListByResourceGroupResponse = AttestationProviderListResult;\n\n/** Optional parameters. */\nexport interface AttestationProvidersListDefaultOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listDefault operation. */\nexport type AttestationProvidersListDefaultResponse = AttestationProviderListResult;\n\n/** Optional parameters. */\nexport interface AttestationProvidersGetDefaultByLocationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getDefaultByLocation operation. */\nexport type AttestationProvidersGetDefaultByLocationResponse = AttestationProvider;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface AttestationManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW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ACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationList\",\n modelProperties: {\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OperationsDefinition\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const OperationsDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsDefinition\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationsDisplayDefinition\"\n }\n }\n }\n }\n};\n\nexport const OperationsDisplayDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsDisplayDefinition\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PrivateEndpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PrivateEndpoint\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PrivateLinkServiceConnectionState\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n actionsRequired: {\n serializedName: \"actionsRequired\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AttestationServiceCreationParams: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AttestationServiceCreationParams\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"AttestationServiceCreationSpecificParams\"\n }\n }\n }\n }\n};\n\nexport const AttestationServiceCreationSpecificParams: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AttestationServiceCreationSpecificParams\",\n modelProperties: {\n policySigningCertificates: {\n serializedName: \"policySigningCertificates\",\n type: {\n name: \"Composite\",\n className: \"JsonWebKeySet\"\n }\n }\n }\n }\n};\n\nexport const JsonWebKeySet: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JsonWebKeySet\",\n modelProperties: {\n keys: {\n serializedName: \"keys\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"JsonWebKey\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const JsonWebKey: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JsonWebKey\",\n modelProperties: {\n alg: {\n serializedName: \"alg\",\n type: {\n name: \"String\"\n }\n },\n crv: {\n serializedName: \"crv\",\n type: {\n name: \"String\"\n }\n },\n d: {\n serializedName: \"d\",\n type: {\n name: \"String\"\n }\n },\n dp: {\n serializedName: \"dp\",\n type: {\n name: \"String\"\n }\n },\n dq: {\n serializedName: \"dq\",\n type: {\n name: \"String\"\n }\n },\n e: {\n serializedName: \"e\",\n type: {\n name: \"String\"\n }\n },\n k: {\n serializedName: \"k\",\n type: {\n name: \"String\"\n }\n },\n kid: {\n serializedName: \"kid\",\n type: {\n name: \"String\"\n }\n },\n kty: {\n serializedName: \"kty\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n n: {\n serializedName: \"n\",\n type: {\n name: \"String\"\n }\n },\n p: {\n serializedName: \"p\",\n type: {\n name: \"String\"\n }\n },\n q: {\n serializedName: \"q\",\n type: {\n name: \"String\"\n }\n },\n qi: {\n serializedName: \"qi\",\n type: {\n name: \"String\"\n }\n },\n use: {\n serializedName: \"use\",\n type: {\n name: \"String\"\n }\n },\n x: {\n serializedName: \"x\",\n type: {\n name: \"String\"\n }\n },\n x5C: {\n serializedName: \"x5c\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n y: {\n serializedName: \"y\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AttestationServicePatchParams: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AttestationServicePatchParams\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PrivateEndpointConnectionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PrivateEndpointConnection\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AttestationProviderListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AttestationProviderListResult\",\n modelProperties: {\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AttestationProvider\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const PrivateEndpointConnection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PrivateEndpointConnection\",\n modelProperties: {\n ...Resource.type.modelProperties,\n privateEndpoint: {\n serializedName: \"properties.privateEndpoint\",\n type: {\n name: \"Composite\",\n className: \"PrivateEndpoint\"\n }\n },\n privateLinkServiceConnectionState: {\n serializedName: \"properties.privateLinkServiceConnectionState\",\n type: {\n name: \"Composite\",\n className: \"PrivateLinkServiceConnectionState\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AttestationProvider: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AttestationProvider\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n trustModel: {\n serializedName: \"properties.trustModel\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"properties.status\",\n type: {\n name: \"String\"\n }\n },\n attestUri: {\n serializedName: \"properties.attestUri\",\n type: {\n name: \"String\"\n }\n },\n privateEndpointConnections: {\n serializedName: \"properties.privateEndpointConnections\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PrivateEndpointConnection\"\n }\n }\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { AttestationServiceCreationParams as AttestationServiceCreationParamsMapper, AttestationServicePatchParams as AttestationServicePatchParamsMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper } from "../models/mappers";
8
+ import { AttestationServiceCreationParams as AttestationServiceCreationParamsMapper, AttestationServicePatchParams as AttestationServicePatchParamsMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -0,0 +1 @@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,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAA0B;IAClE,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE;QACN,cAAc,EAAE,+BAA+B;QAC/C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+BAA+B;CACxC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n AttestationServiceCreationParams as AttestationServiceCreationParamsMapper,\n AttestationServicePatchParams as AttestationServicePatchParamsMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const providerName: OperationURLParameter = {\n parameterPath: \"providerName\",\n mapper: {\n serializedName: \"providerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const creationParams: OperationParameter = {\n parameterPath: \"creationParams\",\n mapper: AttestationServiceCreationParamsMapper\n};\n\nexport const updateParams: OperationParameter = {\n parameterPath: \"updateParams\",\n mapper: AttestationServicePatchParamsMapper\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const providerName1: OperationURLParameter = {\n parameterPath: \"providerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9-]{3,24}$\")\n },\n serializedName: \"providerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: PrivateEndpointConnectionMapper\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { AttestationProviders } from "../operationsInterfaces";
2
- import { AttestationManagementClient } from "../attestationManagementClient";
3
- import { AttestationProvidersGetOptionalParams, AttestationProvidersGetResponse, AttestationServiceCreationParams, AttestationProvidersCreateOptionalParams, AttestationProvidersCreateResponse, AttestationServicePatchParams, AttestationProvidersUpdateOptionalParams, AttestationProvidersUpdateResponse, AttestationProvidersDeleteOptionalParams, AttestationProvidersListOptionalParams, AttestationProvidersListResponse, AttestationProvidersListByResourceGroupOptionalParams, AttestationProvidersListByResourceGroupResponse, AttestationProvidersListDefaultOptionalParams, AttestationProvidersListDefaultResponse, AttestationProvidersGetDefaultByLocationOptionalParams, AttestationProvidersGetDefaultByLocationResponse } from "../models";
1
+ import { AttestationProviders } from "../operationsInterfaces/index.js";
2
+ import { AttestationManagementClient } from "../attestationManagementClient.js";
3
+ import { AttestationProvidersGetOptionalParams, AttestationProvidersGetResponse, AttestationServiceCreationParams, AttestationProvidersCreateOptionalParams, AttestationProvidersCreateResponse, AttestationServicePatchParams, AttestationProvidersUpdateOptionalParams, AttestationProvidersUpdateResponse, AttestationProvidersDeleteOptionalParams, AttestationProvidersListOptionalParams, AttestationProvidersListResponse, AttestationProvidersListByResourceGroupOptionalParams, AttestationProvidersListByResourceGroupResponse, AttestationProvidersListDefaultOptionalParams, AttestationProvidersListDefaultResponse, AttestationProvidersGetDefaultByLocationOptionalParams, AttestationProvidersGetDefaultByLocationResponse } from "../models/index.js";
4
4
  /** Class containing AttestationProviders operations. */
5
5
  export declare class AttestationProvidersImpl implements AttestationProviders {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationProviders.d.ts","sourceRoot":"","sources":["../../../src/operations/attestationProviders.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,qCAAqC,EACrC,+BAA+B,EAC/B,gCAAgC,EAChC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EACxC,sCAAsC,EACtC,gCAAgC,EAChC,qDAAqD,EACrD,+CAA+C,EAC/C,6CAA6C,EAC7C,uCAAuC,EACvC,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,oBAAoB,C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
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing AttestationProviders operations. */
12
12
  export class AttestationProvidersImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationProviders.js","sourceRoot":"","sources":["../../../src/operations/attestationProviders.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAsBtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,iBAAyB,EACzB,YAAoB,EACpB,cAAgD,EAChD,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,EAC5D,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,iBAAyB,EACzB,YAAoB,EACpB,YAA2C,EAC3C,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO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,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EACF,kFAAkF;IACpF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EACF,sGAAsG;IACxG,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { AttestationProviders } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AttestationManagementClient } from \"../attestationManagementClient.js\";\nimport {\n AttestationProvidersGetOptionalParams,\n AttestationProvidersGetResponse,\n AttestationServiceCreationParams,\n AttestationProvidersCreateOptionalParams,\n AttestationProvidersCreateResponse,\n AttestationServicePatchParams,\n AttestationProvidersUpdateOptionalParams,\n AttestationProvidersUpdateResponse,\n AttestationProvidersDeleteOptionalParams,\n AttestationProvidersListOptionalParams,\n AttestationProvidersListResponse,\n AttestationProvidersListByResourceGroupOptionalParams,\n AttestationProvidersListByResourceGroupResponse,\n AttestationProvidersListDefaultOptionalParams,\n AttestationProvidersListDefaultResponse,\n AttestationProvidersGetDefaultByLocationOptionalParams,\n AttestationProvidersGetDefaultByLocationResponse\n} from \"../models/index.js\";\n\n/** Class containing AttestationProviders operations. */\nexport class AttestationProvidersImpl implements AttestationProviders {\n private readonly client: AttestationManagementClient;\n\n /**\n * Initialize a new instance of the class AttestationProviders class.\n * @param client Reference to the service client\n */\n constructor(client: AttestationManagementClient) {\n this.client = client;\n }\n\n /**\n * Get the status of Attestation Provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation provider.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n options?: AttestationProvidersGetOptionalParams\n ): Promise<AttestationProvidersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates a new Attestation Provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation provider.\n * @param creationParams Client supplied parameters.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n providerName: string,\n creationParams: AttestationServiceCreationParams,\n options?: AttestationProvidersCreateOptionalParams\n ): Promise<AttestationProvidersCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, creationParams, options },\n createOperationSpec\n );\n }\n\n /**\n * Updates the Attestation Provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation provider.\n * @param updateParams Client supplied parameters.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n providerName: string,\n updateParams: AttestationServicePatchParams,\n options?: AttestationProvidersUpdateOptionalParams\n ): Promise<AttestationProvidersUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, updateParams, options },\n updateOperationSpec\n );\n }\n\n /**\n * Delete Attestation Service.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation service\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n options?: AttestationProvidersDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns a list of attestation providers in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: AttestationProvidersListOptionalParams\n ): Promise<AttestationProvidersListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Returns attestation providers list in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AttestationProvidersListByResourceGroupOptionalParams\n ): Promise<AttestationProvidersListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Get the default provider\n * @param options The options parameters.\n */\n listDefault(\n options?: AttestationProvidersListDefaultOptionalParams\n ): Promise<AttestationProvidersListDefaultResponse> {\n return this.client.sendOperationRequest(\n { options },\n listDefaultOperationSpec\n );\n }\n\n /**\n * Get the default provider by location.\n * @param location The location of the default provider.\n * @param options The options parameters.\n */\n getDefaultByLocation(\n location: string,\n options?: AttestationProvidersGetDefaultByLocationOptionalParams\n ): Promise<AttestationProvidersGetDefaultByLocationResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n getDefaultByLocationOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProvider\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProvider\n },\n 201: {\n bodyMapper: Mappers.AttestationProvider\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.creationParams,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProvider\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.updateParams,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProviderListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProviderListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listDefaultOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/defaultProviders\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProviderListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getDefaultByLocationOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/locations/{location}/defaultProvider\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationProvider\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./operations.js";
2
+ export * from "./attestationProviders.js";
3
+ export * from "./privateEndpointConnections.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./operations";
9
- export * from "./attestationProviders";
10
- export * from "./privateEndpointConnections";
8
+ export * from "./operations.js";
9
+ export * from "./attestationProviders.js";
10
+ export * from "./privateEndpointConnections.js";
11
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./attestationProviders.js\";\nexport * from \"./privateEndpointConnections.js\";\n"]}
@@ -1,6 +1,6 @@
1
- import { Operations } from "../operationsInterfaces";
2
- import { AttestationManagementClient } from "../attestationManagementClient";
3
- import { OperationsListOptionalParams, OperationsListResponse } from "../models";
1
+ import { Operations } from "../operationsInterfaces/index.js";
2
+ import { AttestationManagementClient } from "../attestationManagementClient.js";
3
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
4
4
  /** Class containing Operations operations. */
5
5
  export declare class OperationsImpl implements Operations {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing Operations operations. */
12
12
  export class OperationsImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6CAA6C;IACnD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AttestationManagementClient } from \"../attestationManagementClient.js\";\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: AttestationManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: AttestationManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure attestation operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Attestation/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationList\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateEndpointConnections } from "../operationsInterfaces";
3
- import { AttestationManagementClient } from "../attestationManagementClient";
4
- import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsCreateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
2
+ import { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
3
+ import { AttestationManagementClient } from "../attestationManagementClient.js";
4
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsCreateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
5
5
  /** Class containing PrivateEndpointConnections operations. */
6
6
  export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,yBAAyB,EACzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC;YAuBzC,cAAc;YAWd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CAWjB"}
@@ -7,8 +7,8 @@
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
12
  /// <reference lib="esnext.asynciterable" />
13
13
  /** Class containing PrivateEndpointConnections operations. */
14
14
  export class PrivateEndpointConnectionsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAatD,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CA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AC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AttestationManagementClient } from \"../attestationManagementClient.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsCreateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections {\n private readonly client: AttestationManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: AttestationManagementClient) {\n this.client = client;\n }\n\n /**\n * List all the private endpoint connections associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n providerName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, providerName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n providerName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n providerName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n result = await this._list(resourceGroupName, providerName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n providerName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n providerName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List all the private endpoint connections associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n providerName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n privateEndpointConnectionName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n providerName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n privateEndpointConnectionName,\n properties,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n privateEndpointConnectionName,\n options\n },\n deleteOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName1,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName1,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName1,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { AttestationProvidersGetOptionalParams, AttestationProvidersGetResponse, AttestationServiceCreationParams, AttestationProvidersCreateOptionalParams, AttestationProvidersCreateResponse, AttestationServicePatchParams, AttestationProvidersUpdateOptionalParams, AttestationProvidersUpdateResponse, AttestationProvidersDeleteOptionalParams, AttestationProvidersListOptionalParams, AttestationProvidersListResponse, AttestationProvidersListByResourceGroupOptionalParams, AttestationProvidersListByResourceGroupResponse, AttestationProvidersListDefaultOptionalParams, AttestationProvidersListDefaultResponse, AttestationProvidersGetDefaultByLocationOptionalParams, AttestationProvidersGetDefaultByLocationResponse } from "../models";
1
+ import { AttestationProvidersGetOptionalParams, AttestationProvidersGetResponse, AttestationServiceCreationParams, AttestationProvidersCreateOptionalParams, AttestationProvidersCreateResponse, AttestationServicePatchParams, AttestationProvidersUpdateOptionalParams, AttestationProvidersUpdateResponse, AttestationProvidersDeleteOptionalParams, AttestationProvidersListOptionalParams, AttestationProvidersListResponse, AttestationProvidersListByResourceGroupOptionalParams, AttestationProvidersListByResourceGroupResponse, AttestationProvidersListDefaultOptionalParams, AttestationProvidersListDefaultResponse, AttestationProvidersGetDefaultByLocationOptionalParams, AttestationProvidersGetDefaultByLocationResponse } from "../models/index.js";
2
2
  /** Interface representing a AttestationProviders. */
3
3
  export interface AttestationProviders {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationProviders.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/attestationProviders.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qCAAqC,EACrC,+BAA+B,EAC/B,gCAAgC,EAChC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EACxC,sCAAsC,EACtC,gCAAgC,EAChC,qDAAqD,EACrD,+CAA+C,EAC/C,6CAA6C,EAC7C,uCAAuC,EACvC,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,oBAAoB,CAAC;AAE5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,gCAAgC,EAChD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,6BAA6B,EAC3C,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC,CAAC;IAC5D;;;OAGG;IACH,WAAW,CACT,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;OAIG;IACH,oBAAoB,CAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;CAC9D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationProviders.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/attestationProviders.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n AttestationProvidersGetOptionalParams,\n AttestationProvidersGetResponse,\n AttestationServiceCreationParams,\n AttestationProvidersCreateOptionalParams,\n AttestationProvidersCreateResponse,\n AttestationServicePatchParams,\n AttestationProvidersUpdateOptionalParams,\n AttestationProvidersUpdateResponse,\n AttestationProvidersDeleteOptionalParams,\n AttestationProvidersListOptionalParams,\n AttestationProvidersListResponse,\n AttestationProvidersListByResourceGroupOptionalParams,\n AttestationProvidersListByResourceGroupResponse,\n AttestationProvidersListDefaultOptionalParams,\n AttestationProvidersListDefaultResponse,\n AttestationProvidersGetDefaultByLocationOptionalParams,\n AttestationProvidersGetDefaultByLocationResponse\n} from \"../models/index.js\";\n\n/** Interface representing a AttestationProviders. */\nexport interface AttestationProviders {\n /**\n * Get the status of Attestation Provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation provider.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n options?: AttestationProvidersGetOptionalParams\n ): Promise<AttestationProvidersGetResponse>;\n /**\n * Creates a new Attestation Provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation provider.\n * @param creationParams Client supplied parameters.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n providerName: string,\n creationParams: AttestationServiceCreationParams,\n options?: AttestationProvidersCreateOptionalParams\n ): Promise<AttestationProvidersCreateResponse>;\n /**\n * Updates the Attestation Provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation provider.\n * @param updateParams Client supplied parameters.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n providerName: string,\n updateParams: AttestationServicePatchParams,\n options?: AttestationProvidersUpdateOptionalParams\n ): Promise<AttestationProvidersUpdateResponse>;\n /**\n * Delete Attestation Service.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName Name of the attestation service\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n options?: AttestationProvidersDeleteOptionalParams\n ): Promise<void>;\n /**\n * Returns a list of attestation providers in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: AttestationProvidersListOptionalParams\n ): Promise<AttestationProvidersListResponse>;\n /**\n * Returns attestation providers list in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AttestationProvidersListByResourceGroupOptionalParams\n ): Promise<AttestationProvidersListByResourceGroupResponse>;\n /**\n * Get the default provider\n * @param options The options parameters.\n */\n listDefault(\n options?: AttestationProvidersListDefaultOptionalParams\n ): Promise<AttestationProvidersListDefaultResponse>;\n /**\n * Get the default provider by location.\n * @param location The location of the default provider.\n * @param options The options parameters.\n */\n getDefaultByLocation(\n location: string,\n options?: AttestationProvidersGetDefaultByLocationOptionalParams\n ): Promise<AttestationProvidersGetDefaultByLocationResponse>;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./operations.js";
2
+ export * from "./attestationProviders.js";
3
+ export * from "./privateEndpointConnections.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./operations";
9
- export * from "./attestationProviders";
10
- export * from "./privateEndpointConnections";
8
+ export * from "./operations.js";
9
+ export * from "./attestationProviders.js";
10
+ export * from "./privateEndpointConnections.js";
11
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./attestationProviders.js\";\nexport * from \"./privateEndpointConnections.js\";\n"]}
@@ -1,4 +1,4 @@
1
- import { OperationsListOptionalParams, OperationsListResponse } from "../models";
1
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
2
2
  /** Interface representing a Operations. */
3
3
  export interface Operations {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CAC/E"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Azure attestation operations.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsCreateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
2
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsCreateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a PrivateEndpointConnections. */
4
4
  export interface PrivateEndpointConnections {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,4CAA4C,EAC5C,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsCreateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * List all the private endpoint connections associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n providerName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection>;\n /**\n * Gets the specified private endpoint connection associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Update the state of specified private endpoint connection associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n providerName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateResponse>;\n /**\n * Deletes the specified private endpoint connection associated with the attestation provider.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param providerName The name of the attestation provider.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}