@azure/arm-agrifood 1.0.0-beta.4 → 1.0.0-beta.6

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 (357) hide show
  1. package/CHANGELOG.md +26 -10
  2. package/LICENSE +4 -4
  3. package/README.md +26 -18
  4. package/{dist-esm/src → dist/commonjs}/agriFoodMgmtClient.d.ts +2 -2
  5. package/dist/commonjs/agriFoodMgmtClient.d.ts.map +1 -0
  6. package/dist/commonjs/agriFoodMgmtClient.js +123 -0
  7. package/dist/commonjs/agriFoodMgmtClient.js.map +1 -0
  8. package/dist/commonjs/index.d.ts +5 -0
  9. package/dist/commonjs/index.d.ts.map +1 -0
  10. package/dist/commonjs/index.js +19 -0
  11. package/dist/commonjs/index.js.map +1 -0
  12. package/dist/commonjs/lroImpl.js +37 -0
  13. package/dist/commonjs/lroImpl.js.map +1 -0
  14. package/{dist-esm/src → dist/commonjs}/models/index.d.ts +32 -32
  15. package/{dist-esm/src → dist/commonjs}/models/index.d.ts.map +1 -1
  16. package/dist/commonjs/models/index.js +91 -0
  17. package/dist/commonjs/models/index.js.map +1 -0
  18. package/dist/commonjs/models/mappers.js +1059 -0
  19. package/dist/commonjs/models/mappers.js.map +1 -0
  20. package/dist/commonjs/models/parameters.js +274 -0
  21. package/dist/commonjs/models/parameters.js.map +1 -0
  22. package/{dist-esm/src → dist/commonjs}/operations/extensions.d.ts +3 -3
  23. package/dist/commonjs/operations/extensions.d.ts.map +1 -0
  24. package/dist/commonjs/operations/extensions.js +278 -0
  25. package/dist/commonjs/operations/extensions.js.map +1 -0
  26. package/{dist-esm/src → dist/commonjs}/operations/farmBeatsExtensions.d.ts +3 -3
  27. package/dist/commonjs/operations/farmBeatsExtensions.d.ts.map +1 -0
  28. package/dist/commonjs/operations/farmBeatsExtensions.js +160 -0
  29. package/dist/commonjs/operations/farmBeatsExtensions.js.map +1 -0
  30. package/{dist-esm/src → dist/commonjs}/operations/farmBeatsModels.d.ts +3 -3
  31. package/dist/commonjs/operations/farmBeatsModels.d.ts.map +1 -0
  32. package/dist/commonjs/operations/farmBeatsModels.js +461 -0
  33. package/dist/commonjs/operations/farmBeatsModels.js.map +1 -0
  34. package/dist/commonjs/operations/index.d.ts +8 -0
  35. package/dist/commonjs/operations/index.d.ts.map +1 -0
  36. package/dist/commonjs/operations/index.js +18 -0
  37. package/dist/commonjs/operations/index.js.map +1 -0
  38. package/{dist-esm/src → dist/commonjs}/operations/locations.d.ts +3 -3
  39. package/dist/commonjs/operations/locations.d.ts.map +1 -0
  40. package/dist/commonjs/operations/locations.js +55 -0
  41. package/dist/commonjs/operations/locations.js.map +1 -0
  42. package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +3 -3
  43. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  44. package/dist/commonjs/operations/operations.js +122 -0
  45. package/dist/commonjs/operations/operations.js.map +1 -0
  46. package/{dist-esm/src → dist/commonjs}/operations/privateEndpointConnections.d.ts +3 -3
  47. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  48. package/dist/commonjs/operations/privateEndpointConnections.js +260 -0
  49. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  50. package/{dist-esm/src → dist/commonjs}/operations/privateLinkResources.d.ts +3 -3
  51. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  52. package/dist/commonjs/operations/privateLinkResources.js +129 -0
  53. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  54. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/extensions.d.ts +1 -1
  55. package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
  56. package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
  57. package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
  58. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/farmBeatsExtensions.d.ts +1 -1
  59. package/dist/commonjs/operationsInterfaces/farmBeatsExtensions.d.ts.map +1 -0
  60. package/dist/commonjs/operationsInterfaces/farmBeatsExtensions.js +10 -0
  61. package/dist/commonjs/operationsInterfaces/farmBeatsExtensions.js.map +1 -0
  62. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/farmBeatsModels.d.ts +1 -1
  63. package/dist/commonjs/operationsInterfaces/farmBeatsModels.d.ts.map +1 -0
  64. package/dist/commonjs/operationsInterfaces/farmBeatsModels.js +10 -0
  65. package/dist/commonjs/operationsInterfaces/farmBeatsModels.js.map +1 -0
  66. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  67. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  68. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  69. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  70. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/locations.d.ts +1 -1
  71. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/locations.d.ts.map +1 -1
  72. package/dist/commonjs/operationsInterfaces/locations.js +10 -0
  73. package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
  74. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +1 -1
  75. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts.map +1 -1
  76. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  77. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  78. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  79. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  80. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  81. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  82. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  83. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  85. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  86. package/dist/commonjs/package.json +3 -0
  87. package/dist/commonjs/pagingHelper.js +34 -0
  88. package/dist/commonjs/pagingHelper.js.map +1 -0
  89. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  90. package/dist/esm/agriFoodMgmtClient.d.ts +26 -0
  91. package/dist/esm/agriFoodMgmtClient.d.ts.map +1 -0
  92. package/{dist-esm/src → dist/esm}/agriFoodMgmtClient.js +36 -24
  93. package/dist/esm/agriFoodMgmtClient.js.map +1 -0
  94. package/dist/esm/index.d.ts +5 -0
  95. package/dist/esm/index.d.ts.map +1 -0
  96. package/{dist-esm/src → dist/esm}/index.js +4 -4
  97. package/dist/esm/index.js.map +1 -0
  98. package/dist/esm/lroImpl.d.ts +16 -0
  99. package/dist/esm/lroImpl.d.ts.map +1 -0
  100. package/{dist-esm/src → dist/esm}/lroImpl.js +13 -9
  101. package/dist/esm/lroImpl.js.map +1 -0
  102. package/{types/arm-agrifood.d.ts → dist/esm/models/index.d.ts} +829 -1167
  103. package/dist/esm/models/index.d.ts.map +1 -0
  104. package/dist/esm/models/index.js.map +1 -0
  105. package/dist/esm/models/mappers.d.ts +35 -0
  106. package/dist/esm/models/mappers.d.ts.map +1 -0
  107. package/{dist-esm/src → dist/esm}/models/mappers.js +81 -37
  108. package/dist/esm/models/mappers.js.map +1 -0
  109. package/dist/esm/models/parameters.d.ts +26 -0
  110. package/dist/esm/models/parameters.d.ts.map +1 -0
  111. package/{dist-esm/src → dist/esm}/models/parameters.js +1 -1
  112. package/dist/esm/models/parameters.js.map +1 -0
  113. package/dist/esm/operations/extensions.d.ts +70 -0
  114. package/dist/esm/operations/extensions.d.ts.map +1 -0
  115. package/{dist-esm/src → dist/esm}/operations/extensions.js +26 -41
  116. package/dist/esm/operations/extensions.js.map +1 -0
  117. package/dist/esm/operations/farmBeatsExtensions.d.ts +38 -0
  118. package/dist/esm/operations/farmBeatsExtensions.d.ts.map +1 -0
  119. package/{dist-esm/src → dist/esm}/operations/farmBeatsExtensions.js +26 -41
  120. package/dist/esm/operations/farmBeatsExtensions.js.map +1 -0
  121. package/dist/esm/operations/farmBeatsModels.d.ts +100 -0
  122. package/dist/esm/operations/farmBeatsModels.d.ts.map +1 -0
  123. package/{dist-esm/src → dist/esm}/operations/farmBeatsModels.js +87 -116
  124. package/dist/esm/operations/farmBeatsModels.js.map +1 -0
  125. package/dist/esm/operations/index.d.ts +8 -0
  126. package/dist/esm/operations/index.d.ts.map +1 -0
  127. package/dist/esm/operations/index.js +15 -0
  128. package/dist/esm/operations/index.js.map +1 -0
  129. package/dist/esm/operations/locations.d.ts +19 -0
  130. package/dist/esm/operations/locations.d.ts.map +1 -0
  131. package/{dist-esm/src → dist/esm}/operations/locations.js +3 -2
  132. package/dist/esm/operations/locations.js.map +1 -0
  133. package/dist/esm/operations/operations.d.ts +32 -0
  134. package/dist/esm/operations/operations.d.ts.map +1 -0
  135. package/{dist-esm/src → dist/esm}/operations/operations.js +26 -41
  136. package/dist/esm/operations/operations.js.map +1 -0
  137. package/dist/esm/operations/privateEndpointConnections.d.ts +64 -0
  138. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  139. package/{dist-esm/src → dist/esm}/operations/privateEndpointConnections.js +56 -70
  140. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  141. package/dist/esm/operations/privateLinkResources.d.ts +38 -0
  142. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  143. package/{dist-esm/src → dist/esm}/operations/privateLinkResources.js +12 -27
  144. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  145. package/dist/esm/operationsInterfaces/extensions.d.ts +45 -0
  146. package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
  147. package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
  148. package/dist/esm/operationsInterfaces/farmBeatsExtensions.d.ts +17 -0
  149. package/dist/esm/operationsInterfaces/farmBeatsExtensions.d.ts.map +1 -0
  150. package/dist/esm/operationsInterfaces/farmBeatsExtensions.js.map +1 -0
  151. package/dist/esm/operationsInterfaces/farmBeatsModels.d.ts +64 -0
  152. package/dist/esm/operationsInterfaces/farmBeatsModels.d.ts.map +1 -0
  153. package/dist/esm/operationsInterfaces/farmBeatsModels.js.map +1 -0
  154. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  155. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  156. package/dist/esm/operationsInterfaces/index.js +15 -0
  157. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/locations.d.ts +11 -0
  159. package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
  160. package/dist/esm/operationsInterfaces/locations.js.map +1 -0
  161. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  162. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  163. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  164. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +47 -0
  165. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  166. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  167. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +21 -0
  168. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  169. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  170. package/dist/esm/package.json +3 -0
  171. package/dist/esm/pagingHelper.d.ts +13 -0
  172. package/dist/esm/pagingHelper.d.ts.map +1 -0
  173. package/{dist-esm/src → dist/esm}/pagingHelper.js +2 -4
  174. package/dist/esm/pagingHelper.js.map +1 -0
  175. package/package.json +70 -78
  176. package/dist/index.js +0 -3099
  177. package/dist/index.js.map +0 -1
  178. package/dist/index.min.js +0 -1
  179. package/dist/index.min.js.map +0 -1
  180. package/dist-esm/samples-dev/extensionsCreateSample.d.ts +0 -2
  181. package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
  182. package/dist-esm/samples-dev/extensionsCreateSample.js +0 -32
  183. package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
  184. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
  185. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
  186. package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -32
  187. package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
  188. package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
  189. package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
  190. package/dist-esm/samples-dev/extensionsGetSample.js +0 -32
  191. package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
  192. package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.d.ts +0 -2
  193. package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.d.ts.map +0 -1
  194. package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.js +0 -45
  195. package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.js.map +0 -1
  196. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +0 -2
  197. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +0 -1
  198. package/dist-esm/samples-dev/extensionsUpdateSample.js +0 -32
  199. package/dist-esm/samples-dev/extensionsUpdateSample.js.map +0 -1
  200. package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.d.ts +0 -2
  201. package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.d.ts.map +0 -1
  202. package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.js +0 -30
  203. package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.js.map +0 -1
  204. package/dist-esm/samples-dev/farmBeatsExtensionsListSample.d.ts +0 -2
  205. package/dist-esm/samples-dev/farmBeatsExtensionsListSample.d.ts.map +0 -1
  206. package/dist-esm/samples-dev/farmBeatsExtensionsListSample.js +0 -43
  207. package/dist-esm/samples-dev/farmBeatsExtensionsListSample.js.map +0 -1
  208. package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.d.ts +0 -2
  209. package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.d.ts.map +0 -1
  210. package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.js +0 -35
  211. package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.js.map +0 -1
  212. package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.d.ts +0 -2
  213. package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.d.ts.map +0 -1
  214. package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.js +0 -31
  215. package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.js.map +0 -1
  216. package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.d.ts +0 -2
  217. package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.d.ts.map +0 -1
  218. package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.js +0 -32
  219. package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.js.map +0 -1
  220. package/dist-esm/samples-dev/farmBeatsModelsGetSample.d.ts +0 -2
  221. package/dist-esm/samples-dev/farmBeatsModelsGetSample.d.ts.map +0 -1
  222. package/dist-esm/samples-dev/farmBeatsModelsGetSample.js +0 -31
  223. package/dist-esm/samples-dev/farmBeatsModelsGetSample.js.map +0 -1
  224. package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.d.ts +0 -2
  225. package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.d.ts.map +0 -1
  226. package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.js +0 -44
  227. package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.js.map +0 -1
  228. package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.d.ts +0 -2
  229. package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.d.ts.map +0 -1
  230. package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.js +0 -43
  231. package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.js.map +0 -1
  232. package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.d.ts +0 -2
  233. package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.d.ts.map +0 -1
  234. package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.js +0 -57
  235. package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.js.map +0 -1
  236. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
  237. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -53
  239. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
  240. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/operationsListSample.js +0 -43
  243. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  244. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -38
  247. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
  248. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -32
  251. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  252. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -32
  255. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  256. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +0 -45
  259. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +0 -1
  260. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +0 -32
  263. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
  264. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +0 -45
  267. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js.map +0 -1
  268. package/dist-esm/src/agriFoodMgmtClient.d.ts.map +0 -1
  269. package/dist-esm/src/agriFoodMgmtClient.js.map +0 -1
  270. package/dist-esm/src/index.d.ts +0 -6
  271. package/dist-esm/src/index.d.ts.map +0 -1
  272. package/dist-esm/src/index.js.map +0 -1
  273. package/dist-esm/src/lroImpl.js.map +0 -1
  274. package/dist-esm/src/models/index.js.map +0 -1
  275. package/dist-esm/src/models/mappers.js.map +0 -1
  276. package/dist-esm/src/models/parameters.js.map +0 -1
  277. package/dist-esm/src/operations/extensions.d.ts.map +0 -1
  278. package/dist-esm/src/operations/extensions.js.map +0 -1
  279. package/dist-esm/src/operations/farmBeatsExtensions.d.ts.map +0 -1
  280. package/dist-esm/src/operations/farmBeatsExtensions.js.map +0 -1
  281. package/dist-esm/src/operations/farmBeatsModels.d.ts.map +0 -1
  282. package/dist-esm/src/operations/farmBeatsModels.js.map +0 -1
  283. package/dist-esm/src/operations/index.d.ts +0 -8
  284. package/dist-esm/src/operations/index.d.ts.map +0 -1
  285. package/dist-esm/src/operations/index.js +0 -15
  286. package/dist-esm/src/operations/index.js.map +0 -1
  287. package/dist-esm/src/operations/locations.d.ts.map +0 -1
  288. package/dist-esm/src/operations/locations.js.map +0 -1
  289. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  290. package/dist-esm/src/operations/operations.js.map +0 -1
  291. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  292. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  293. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  294. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  295. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
  296. package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
  297. package/dist-esm/src/operationsInterfaces/farmBeatsExtensions.d.ts.map +0 -1
  298. package/dist-esm/src/operationsInterfaces/farmBeatsExtensions.js.map +0 -1
  299. package/dist-esm/src/operationsInterfaces/farmBeatsModels.d.ts.map +0 -1
  300. package/dist-esm/src/operationsInterfaces/farmBeatsModels.js.map +0 -1
  301. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  302. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  303. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  304. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  305. package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
  306. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  307. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  308. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  309. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  310. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  311. package/dist-esm/src/pagingHelper.js.map +0 -1
  312. package/dist-esm/test/sampleTest.d.ts +0 -2
  313. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  314. package/dist-esm/test/sampleTest.js +0 -38
  315. package/dist-esm/test/sampleTest.js.map +0 -1
  316. package/rollup.config.js +0 -122
  317. package/src/agriFoodMgmtClient.ts +0 -168
  318. package/src/index.ts +0 -13
  319. package/src/lroImpl.ts +0 -34
  320. package/src/models/index.ts +0 -943
  321. package/src/models/mappers.ts +0 -1090
  322. package/src/models/parameters.ts +0 -305
  323. package/src/operations/extensions.ts +0 -389
  324. package/src/operations/farmBeatsExtensions.ts +0 -198
  325. package/src/operations/farmBeatsModels.ts +0 -624
  326. package/src/operations/index.ts +0 -15
  327. package/src/operations/locations.ts +0 -68
  328. package/src/operations/operations.ts +0 -150
  329. package/src/operations/privateEndpointConnections.ts +0 -369
  330. package/src/operations/privateLinkResources.ts +0 -189
  331. package/src/operationsInterfaces/extensions.ts +0 -88
  332. package/src/operationsInterfaces/farmBeatsExtensions.ts +0 -36
  333. package/src/operationsInterfaces/farmBeatsModels.ts +0 -125
  334. package/src/operationsInterfaces/index.ts +0 -15
  335. package/src/operationsInterfaces/locations.ts +0 -26
  336. package/src/operationsInterfaces/operations.ts +0 -22
  337. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -89
  338. package/src/operationsInterfaces/privateLinkResources.ts +0 -44
  339. package/src/pagingHelper.ts +0 -39
  340. package/tsconfig.json +0 -33
  341. /package/{dist-esm/src → dist/commonjs}/lroImpl.d.ts +0 -0
  342. /package/{dist-esm/src → dist/commonjs}/lroImpl.d.ts.map +0 -0
  343. /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +0 -0
  344. /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts.map +0 -0
  345. /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +0 -0
  346. /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts.map +0 -0
  347. /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
  348. /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +0 -0
  349. /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
  350. /package/{dist-esm/src → dist/esm}/operationsInterfaces/extensions.js +0 -0
  351. /package/{dist-esm/src → dist/esm}/operationsInterfaces/farmBeatsExtensions.js +0 -0
  352. /package/{dist-esm/src → dist/esm}/operationsInterfaces/farmBeatsModels.js +0 -0
  353. /package/{dist-esm/src → dist/esm}/operationsInterfaces/locations.js +0 -0
  354. /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
  355. /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateEndpointConnections.js +0 -0
  356. /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateLinkResources.js +0 -0
  357. /package/review/{arm-agrifood.api.md → arm-agrifood-node.api.md} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,23 +1,39 @@
1
1
  # Release History
2
-
2
+
3
+ ## 1.0.0-beta.6 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
13
+ ## 1.0.0-beta.5 (2024-04-08)
14
+
15
+ ### Bugs Fixed
16
+
17
+ - Release a beta version to fix latest tag issue
18
+
3
19
  ## 1.0.0-beta.4 (2022-11-14)
4
-
5
- **Features**
6
20
 
7
- - Bugs Fixed
8
-
21
+ ### Features Added
22
+
23
+ - Bugs Fixed
24
+
9
25
  ## 1.0.0-beta.3 (2022-10-08)
10
26
 
11
- **Bugs Fixed**
27
+ ### Bugs Fixed
12
28
 
13
- - revert credential scopes
29
+ - revert credential scopes
14
30
 
15
31
  ## 1.0.0-beta.2 (2022-09-30)
16
32
 
17
- **Bugs Fixed**
33
+ ### Bugs Fixed
18
34
 
19
- - fix better user experience of credential scopes in government cloud
35
+ - fix better user experience of credential scopes in government cloud
20
36
 
21
37
  ## 1.0.0-beta.1 (2022-08-31)
22
38
 
23
- The package of @azure/arm-agrifood is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
39
+ The package of @azure/arm-agrifood is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,7 +6,7 @@ APIs documentation for Azure AgFoodPlatform Resource Provider Service.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/arm-agrifood) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-agrifood) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-agrifood?view=azure-node-preview) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-agrifood?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
@@ -46,26 +46,35 @@ npm install @azure/identity
46
46
  You will also need to **register a new AAD application and grant access to Azure AgriFoodMgmt** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
48
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { AgriFoodMgmtClient } = require("@azure/arm-agrifood");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:CreateAgriFoodMgmtClient_Node
54
+ import { AgriFoodMgmtClient } from "@azure/arm-agrifood";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
58
  const client = new AgriFoodMgmtClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new AgriFoodMgmtClient(credential, subscriptionId);
65
59
  ```
66
60
 
61
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62
+
63
+ ```ts snippet:CreateAgriFoodMgmtClient_Browser
64
+ import { InteractiveBrowserCredential } from "@azure/identity";
65
+ import { AgriFoodMgmtClient } from "@azure/arm-agrifood";
66
+
67
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+
73
+ const client = new AgriFoodMgmtClient(credential, subscriptionId);
74
+ ```
67
75
 
68
76
  ### JavaScript Bundle
77
+
69
78
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
79
 
71
80
  ## Key concepts
@@ -80,8 +89,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
89
 
81
90
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
91
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
92
+ ```ts snippet:SetLogLevel
93
+ import { setLogLevel } from "@azure/logger";
94
+
85
95
  setLogLevel("info");
86
96
  ```
87
97
 
@@ -99,9 +109,7 @@ If you'd like to contribute to this library, please read the [contributing guide
99
109
 
100
110
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
111
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fagrifood%2Farm-agrifood%2FREADME.png)
103
-
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
112
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
113
  [azure_sub]: https://azure.microsoft.com/free/
106
114
  [azure_sub]: https://azure.microsoft.com/free/
107
115
  [azure_portal]: https://portal.azure.com
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Extensions, FarmBeatsExtensions, FarmBeatsModels, Locations, Operations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces";
4
- import { AgriFoodMgmtClientOptionalParams } from "./models";
3
+ import { Extensions, FarmBeatsExtensions, FarmBeatsModels, Locations, Operations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces/index.js";
4
+ import { AgriFoodMgmtClientOptionalParams } from "./models/index.js";
5
5
  export declare class AgriFoodMgmtClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  subscriptionId: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agriFoodMgmtClient.d.ts","sourceRoot":"","sources":["../../src/agriFoodMgmtClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,SAAS,EACT,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAC;AAErE,qBAAa,kBAAmB,SAAQ,UAAU,CAAC,aAAa;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC;IAkF5C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AgriFoodMgmtClient = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
+ const index_js_1 = require("./operations/index.js");
15
+ class AgriFoodMgmtClient extends coreClient.ServiceClient {
16
+ $host;
17
+ subscriptionId;
18
+ apiVersion;
19
+ /**
20
+ * Initializes a new instance of the AgriFoodMgmtClient class.
21
+ * @param credentials Subscription credentials which uniquely identify client subscription.
22
+ * @param subscriptionId The ID of the target subscription.
23
+ * @param options The parameter options
24
+ */
25
+ constructor(credentials, subscriptionId, options) {
26
+ if (credentials === undefined) {
27
+ throw new Error("'credentials' cannot be null");
28
+ }
29
+ if (subscriptionId === undefined) {
30
+ throw new Error("'subscriptionId' cannot be null");
31
+ }
32
+ // Initializing default values for options
33
+ if (!options) {
34
+ options = {};
35
+ }
36
+ const defaults = {
37
+ requestContentType: "application/json; charset=utf-8",
38
+ credential: credentials
39
+ };
40
+ const packageDetails = `azsdk-js-arm-agrifood/1.0.0-beta.6`;
41
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
42
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
43
+ : `${packageDetails}`;
44
+ const optionsWithDefaults = {
45
+ ...defaults,
46
+ ...options,
47
+ userAgentOptions: {
48
+ userAgentPrefix
49
+ },
50
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
51
+ };
52
+ super(optionsWithDefaults);
53
+ let bearerTokenAuthenticationPolicyFound = false;
54
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
55
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
56
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
57
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
58
+ }
59
+ if (!options ||
60
+ !options.pipeline ||
61
+ options.pipeline.getOrderedPolicies().length == 0 ||
62
+ !bearerTokenAuthenticationPolicyFound) {
63
+ this.pipeline.removePolicy({
64
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
65
+ });
66
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
67
+ credential: credentials,
68
+ scopes: optionsWithDefaults.credentialScopes ??
69
+ `${optionsWithDefaults.endpoint}/.default`,
70
+ challengeCallbacks: {
71
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
72
+ }
73
+ }));
74
+ }
75
+ // Parameter assignments
76
+ this.subscriptionId = subscriptionId;
77
+ // Assigning values to Constant parameters
78
+ this.$host = options.$host || "https://management.azure.com";
79
+ this.apiVersion = options.apiVersion || "2021-09-01-preview";
80
+ this.extensions = new index_js_1.ExtensionsImpl(this);
81
+ this.farmBeatsExtensions = new index_js_1.FarmBeatsExtensionsImpl(this);
82
+ this.farmBeatsModels = new index_js_1.FarmBeatsModelsImpl(this);
83
+ this.locations = new index_js_1.LocationsImpl(this);
84
+ this.operations = new index_js_1.OperationsImpl(this);
85
+ this.privateEndpointConnections = new index_js_1.PrivateEndpointConnectionsImpl(this);
86
+ this.privateLinkResources = new index_js_1.PrivateLinkResourcesImpl(this);
87
+ this.addCustomApiVersionPolicy(options.apiVersion);
88
+ }
89
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
90
+ addCustomApiVersionPolicy(apiVersion) {
91
+ if (!apiVersion) {
92
+ return;
93
+ }
94
+ const apiVersionPolicy = {
95
+ name: "CustomApiVersionPolicy",
96
+ async sendRequest(request, next) {
97
+ const param = request.url.split("?");
98
+ if (param.length > 1) {
99
+ const newParams = param[1].split("&").map((item) => {
100
+ if (item.indexOf("api-version") > -1) {
101
+ return "api-version=" + apiVersion;
102
+ }
103
+ else {
104
+ return item;
105
+ }
106
+ });
107
+ request.url = param[0] + "?" + newParams.join("&");
108
+ }
109
+ return next(request);
110
+ }
111
+ };
112
+ this.pipeline.addPolicy(apiVersionPolicy);
113
+ }
114
+ extensions;
115
+ farmBeatsExtensions;
116
+ farmBeatsModels;
117
+ locations;
118
+ operations;
119
+ privateEndpointConnections;
120
+ privateLinkResources;
121
+ }
122
+ exports.AgriFoodMgmtClient = AgriFoodMgmtClient;
123
+ //# sourceMappingURL=agriFoodMgmtClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agriFoodMgmtClient.js","sourceRoot":"","sources":["../../src/agriFoodMgmtClient.ts"],"names":[],"mappings":"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","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 ExtensionsImpl,\n FarmBeatsExtensionsImpl,\n FarmBeatsModelsImpl,\n LocationsImpl,\n OperationsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl\n} from \"./operations/index.js\";\nimport {\n Extensions,\n FarmBeatsExtensions,\n FarmBeatsModels,\n Locations,\n Operations,\n PrivateEndpointConnections,\n PrivateLinkResources\n} from \"./operationsInterfaces/index.js\";\nimport { AgriFoodMgmtClientOptionalParams } from \"./models/index.js\";\n\nexport class AgriFoodMgmtClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the AgriFoodMgmtClient 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?: AgriFoodMgmtClientOptionalParams\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: AgriFoodMgmtClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-agrifood/1.0.0-beta.6`;\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 || \"2021-09-01-preview\";\n this.extensions = new ExtensionsImpl(this);\n this.farmBeatsExtensions = new FarmBeatsExtensionsImpl(this);\n this.farmBeatsModels = new FarmBeatsModelsImpl(this);\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(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 extensions: Extensions;\n farmBeatsExtensions: FarmBeatsExtensions;\n farmBeatsModels: FarmBeatsModels;\n locations: Locations;\n operations: Operations;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { AgriFoodMgmtClient } from "./agriFoodMgmtClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AgriFoodMgmtClient = exports.getContinuationToken = void 0;
11
+ const tslib_1 = require("tslib");
12
+ /// <reference lib="esnext.asynciterable" />
13
+ var pagingHelper_js_1 = require("./pagingHelper.js");
14
+ Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
15
+ tslib_1.__exportStar(require("./models/index.js"), exports);
16
+ var agriFoodMgmtClient_js_1 = require("./agriFoodMgmtClient.js");
17
+ Object.defineProperty(exports, "AgriFoodMgmtClient", { enumerable: true, get: function () { return agriFoodMgmtClient_js_1.AgriFoodMgmtClient; } });
18
+ tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
19
+ //# 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,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,iEAA6D;AAApD,2HAAA,kBAAkB,OAAA;AAC3B,0EAAgD","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 { AgriFoodMgmtClient } from \"./agriFoodMgmtClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LroImpl = void 0;
11
+ class LroImpl {
12
+ sendOperationFn;
13
+ args;
14
+ spec;
15
+ requestPath;
16
+ requestMethod;
17
+ constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
18
+ this.sendOperationFn = sendOperationFn;
19
+ this.args = args;
20
+ this.spec = spec;
21
+ this.requestPath = requestPath;
22
+ this.requestMethod = requestMethod;
23
+ }
24
+ async sendInitialRequest() {
25
+ return this.sendOperationFn(this.args, this.spec);
26
+ }
27
+ async sendPollRequest(path) {
28
+ const { requestBody, ...restSpec } = this.spec;
29
+ return this.sendOperationFn(this.args, {
30
+ ...restSpec,
31
+ path,
32
+ httpMethod: "GET"
33
+ });
34
+ }
35
+ }
36
+ exports.LroImpl = LroImpl;
37
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH,MAAa,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,0BAuBC","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
@@ -473,7 +473,7 @@ export declare enum KnownCreatedByType {
473
473
  * **ManagedIdentity** \
474
474
  * **Key**
475
475
  */
476
- export declare type CreatedByType = string;
476
+ export type CreatedByType = string;
477
477
  /** Known values of {@link ProvisioningState} that the service accepts. */
478
478
  export declare enum KnownProvisioningState {
479
479
  /** Creating */
@@ -498,7 +498,7 @@ export declare enum KnownProvisioningState {
498
498
  * **Succeeded** \
499
499
  * **Failed**
500
500
  */
501
- export declare type ProvisioningState = string;
501
+ export type ProvisioningState = string;
502
502
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
503
503
  export declare enum KnownPublicNetworkAccess {
504
504
  /** Enabled */
@@ -514,7 +514,7 @@ export declare enum KnownPublicNetworkAccess {
514
514
  * **Enabled** \
515
515
  * **Hybrid**
516
516
  */
517
- export declare type PublicNetworkAccess = string;
517
+ export type PublicNetworkAccess = string;
518
518
  /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
519
519
  export declare enum KnownPrivateEndpointServiceConnectionStatus {
520
520
  /** Pending */
@@ -533,7 +533,7 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
533
533
  * **Approved** \
534
534
  * **Rejected**
535
535
  */
536
- export declare type PrivateEndpointServiceConnectionStatus = string;
536
+ export type PrivateEndpointServiceConnectionStatus = string;
537
537
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
538
538
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
539
539
  /** Succeeded */
@@ -555,7 +555,7 @@ export declare enum KnownPrivateEndpointConnectionProvisioningState {
555
555
  * **Deleting** \
556
556
  * **Failed**
557
557
  */
558
- export declare type PrivateEndpointConnectionProvisioningState = string;
558
+ export type PrivateEndpointConnectionProvisioningState = string;
559
559
  /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
560
560
  export declare enum KnownCheckNameAvailabilityReason {
561
561
  /** Invalid */
@@ -571,7 +571,7 @@ export declare enum KnownCheckNameAvailabilityReason {
571
571
  * **Invalid** \
572
572
  * **AlreadyExists**
573
573
  */
574
- export declare type CheckNameAvailabilityReason = string;
574
+ export type CheckNameAvailabilityReason = string;
575
575
  /** Known values of {@link Origin} that the service accepts. */
576
576
  export declare enum KnownOrigin {
577
577
  /** User */
@@ -590,7 +590,7 @@ export declare enum KnownOrigin {
590
590
  * **system** \
591
591
  * **user,system**
592
592
  */
593
- export declare type Origin = string;
593
+ export type Origin = string;
594
594
  /** Known values of {@link ActionType} that the service accepts. */
595
595
  export declare enum KnownActionType {
596
596
  /** Internal */
@@ -603,22 +603,22 @@ export declare enum KnownActionType {
603
603
  * ### Known values supported by the service
604
604
  * **Internal**
605
605
  */
606
- export declare type ActionType = string;
606
+ export type ActionType = string;
607
607
  /** Optional parameters. */
608
608
  export interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
609
609
  }
610
610
  /** Contains response data for the create operation. */
611
- export declare type ExtensionsCreateResponse = Extension;
611
+ export type ExtensionsCreateResponse = Extension;
612
612
  /** Optional parameters. */
613
613
  export interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
614
614
  }
615
615
  /** Contains response data for the get operation. */
616
- export declare type ExtensionsGetResponse = Extension;
616
+ export type ExtensionsGetResponse = Extension;
617
617
  /** Optional parameters. */
618
618
  export interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
619
619
  }
620
620
  /** Contains response data for the update operation. */
621
- export declare type ExtensionsUpdateResponse = Extension;
621
+ export type ExtensionsUpdateResponse = Extension;
622
622
  /** Optional parameters. */
623
623
  export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
624
624
  }
@@ -637,7 +637,7 @@ export interface ExtensionsListByFarmBeatsOptionalParams extends coreClient.Oper
637
637
  skipToken?: string;
638
638
  }
639
639
  /** Contains response data for the listByFarmBeats operation. */
640
- export declare type ExtensionsListByFarmBeatsResponse = ExtensionListResponse;
640
+ export type ExtensionsListByFarmBeatsResponse = ExtensionListResponse;
641
641
  /** Optional parameters. */
642
642
  export interface ExtensionsListByFarmBeatsNextOptionalParams extends coreClient.OperationOptions {
643
643
  /** Installed extension ids. */
@@ -653,7 +653,7 @@ export interface ExtensionsListByFarmBeatsNextOptionalParams extends coreClient.
653
653
  skipToken?: string;
654
654
  }
655
655
  /** Contains response data for the listByFarmBeatsNext operation. */
656
- export declare type ExtensionsListByFarmBeatsNextResponse = ExtensionListResponse;
656
+ export type ExtensionsListByFarmBeatsNextResponse = ExtensionListResponse;
657
657
  /** Optional parameters. */
658
658
  export interface FarmBeatsExtensionsListOptionalParams extends coreClient.OperationOptions {
659
659
  /** Extension categories. */
@@ -671,12 +671,12 @@ export interface FarmBeatsExtensionsListOptionalParams extends coreClient.Operat
671
671
  publisherIds?: string[];
672
672
  }
673
673
  /** Contains response data for the list operation. */
674
- export declare type FarmBeatsExtensionsListResponse = FarmBeatsExtensionListResponse;
674
+ export type FarmBeatsExtensionsListResponse = FarmBeatsExtensionListResponse;
675
675
  /** Optional parameters. */
676
676
  export interface FarmBeatsExtensionsGetOptionalParams extends coreClient.OperationOptions {
677
677
  }
678
678
  /** Contains response data for the get operation. */
679
- export declare type FarmBeatsExtensionsGetResponse = FarmBeatsExtension;
679
+ export type FarmBeatsExtensionsGetResponse = FarmBeatsExtension;
680
680
  /** Optional parameters. */
681
681
  export interface FarmBeatsExtensionsListNextOptionalParams extends coreClient.OperationOptions {
682
682
  /** Extension categories. */
@@ -694,17 +694,17 @@ export interface FarmBeatsExtensionsListNextOptionalParams extends coreClient.Op
694
694
  publisherIds?: string[];
695
695
  }
696
696
  /** Contains response data for the listNext operation. */
697
- export declare type FarmBeatsExtensionsListNextResponse = FarmBeatsExtensionListResponse;
697
+ export type FarmBeatsExtensionsListNextResponse = FarmBeatsExtensionListResponse;
698
698
  /** Optional parameters. */
699
699
  export interface FarmBeatsModelsGetOptionalParams extends coreClient.OperationOptions {
700
700
  }
701
701
  /** Contains response data for the get operation. */
702
- export declare type FarmBeatsModelsGetResponse = FarmBeats;
702
+ export type FarmBeatsModelsGetResponse = FarmBeats;
703
703
  /** Optional parameters. */
704
704
  export interface FarmBeatsModelsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
705
705
  }
706
706
  /** Contains response data for the createOrUpdate operation. */
707
- export declare type FarmBeatsModelsCreateOrUpdateResponse = FarmBeats;
707
+ export type FarmBeatsModelsCreateOrUpdateResponse = FarmBeats;
708
708
  /** Optional parameters. */
709
709
  export interface FarmBeatsModelsUpdateOptionalParams extends coreClient.OperationOptions {
710
710
  /** Delay to wait until next poll, in milliseconds. */
@@ -713,7 +713,7 @@ export interface FarmBeatsModelsUpdateOptionalParams extends coreClient.Operatio
713
713
  resumeFrom?: string;
714
714
  }
715
715
  /** Contains response data for the update operation. */
716
- export declare type FarmBeatsModelsUpdateResponse = FarmBeats;
716
+ export type FarmBeatsModelsUpdateResponse = FarmBeats;
717
717
  /** Optional parameters. */
718
718
  export interface FarmBeatsModelsDeleteOptionalParams extends coreClient.OperationOptions {
719
719
  }
@@ -728,7 +728,7 @@ export interface FarmBeatsModelsListBySubscriptionOptionalParams extends coreCli
728
728
  skipToken?: string;
729
729
  }
730
730
  /** Contains response data for the listBySubscription operation. */
731
- export declare type FarmBeatsModelsListBySubscriptionResponse = FarmBeatsListResponse;
731
+ export type FarmBeatsModelsListBySubscriptionResponse = FarmBeatsListResponse;
732
732
  /** Optional parameters. */
733
733
  export interface FarmBeatsModelsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
734
734
  /**
@@ -740,12 +740,12 @@ export interface FarmBeatsModelsListByResourceGroupOptionalParams extends coreCl
740
740
  skipToken?: string;
741
741
  }
742
742
  /** Contains response data for the listByResourceGroup operation. */
743
- export declare type FarmBeatsModelsListByResourceGroupResponse = FarmBeatsListResponse;
743
+ export type FarmBeatsModelsListByResourceGroupResponse = FarmBeatsListResponse;
744
744
  /** Optional parameters. */
745
745
  export interface FarmBeatsModelsGetOperationResultOptionalParams extends coreClient.OperationOptions {
746
746
  }
747
747
  /** Contains response data for the getOperationResult operation. */
748
- export declare type FarmBeatsModelsGetOperationResultResponse = ArmAsyncOperation;
748
+ export type FarmBeatsModelsGetOperationResultResponse = ArmAsyncOperation;
749
749
  /** Optional parameters. */
750
750
  export interface FarmBeatsModelsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
751
751
  /**
@@ -757,7 +757,7 @@ export interface FarmBeatsModelsListBySubscriptionNextOptionalParams extends cor
757
757
  skipToken?: string;
758
758
  }
759
759
  /** Contains response data for the listBySubscriptionNext operation. */
760
- export declare type FarmBeatsModelsListBySubscriptionNextResponse = FarmBeatsListResponse;
760
+ export type FarmBeatsModelsListBySubscriptionNextResponse = FarmBeatsListResponse;
761
761
  /** Optional parameters. */
762
762
  export interface FarmBeatsModelsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
763
763
  /**
@@ -769,32 +769,32 @@ export interface FarmBeatsModelsListByResourceGroupNextOptionalParams extends co
769
769
  skipToken?: string;
770
770
  }
771
771
  /** Contains response data for the listByResourceGroupNext operation. */
772
- export declare type FarmBeatsModelsListByResourceGroupNextResponse = FarmBeatsListResponse;
772
+ export type FarmBeatsModelsListByResourceGroupNextResponse = FarmBeatsListResponse;
773
773
  /** Optional parameters. */
774
774
  export interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
775
775
  }
776
776
  /** Contains response data for the checkNameAvailability operation. */
777
- export declare type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
777
+ export type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
778
778
  /** Optional parameters. */
779
779
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
780
780
  }
781
781
  /** Contains response data for the list operation. */
782
- export declare type OperationsListResponse = OperationListResult;
782
+ export type OperationsListResponse = OperationListResult;
783
783
  /** Optional parameters. */
784
784
  export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
785
785
  }
786
786
  /** Contains response data for the listNext operation. */
787
- export declare type OperationsListNextResponse = OperationListResult;
787
+ export type OperationsListNextResponse = OperationListResult;
788
788
  /** Optional parameters. */
789
789
  export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
790
790
  }
791
791
  /** Contains response data for the createOrUpdate operation. */
792
- export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
792
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
793
793
  /** Optional parameters. */
794
794
  export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
795
795
  }
796
796
  /** Contains response data for the get operation. */
797
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
797
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
798
798
  /** Optional parameters. */
799
799
  export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
800
800
  /** Delay to wait until next poll, in milliseconds. */
@@ -806,17 +806,17 @@ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClie
806
806
  export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
807
807
  }
808
808
  /** Contains response data for the listByResource operation. */
809
- export declare type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
809
+ export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
810
810
  /** Optional parameters. */
811
811
  export interface PrivateLinkResourcesListByResourceOptionalParams extends coreClient.OperationOptions {
812
812
  }
813
813
  /** Contains response data for the listByResource operation. */
814
- export declare type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourceListResult;
814
+ export type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourceListResult;
815
815
  /** Optional parameters. */
816
816
  export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
817
817
  }
818
818
  /** Contains response data for the get operation. */
819
- export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
819
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
820
820
  /** Optional parameters. */
821
821
  export interface AgriFoodMgmtClientOptionalParams extends coreClient.ServiceClientOptions {
822
822
  /** server parameter */